The story with the repos

If you've been trying out jucr, you may have noticed that your packages are not appearing in pkg.opensolaris.org/pending, but rather jucr.opensolaris.org/pending. So, what's the reason for this? At the moment, there is no facility in IPS to authenticate a publisher, as in, someone sending a package to the repo. This means that any web facing repo must be run in read-only mode. This is the case with 'official' repos (pkg.opensolaris.org/pending and pkg.opensolaris.org/contrib). So, in order to get a package into either of these we need to:

  1. Publish to an invisible read-write copy of the repo
  2. Stop the read-write copy
  3. zfs snapshot the filesystem
  4. Halt the 'real' repo
  5. zfs send | zfs recv an incremental to the machine hosting the 'real' repo
  6. Re-start the 'real' repo

Which, as you can imagine, is something you don't want to do very often. Seeing as pushing to /pending will be frequent and pushing to /contrib infrequent, we decided to run a /pending repo ourselves but continue to use the official /contrib. We can do the zfs snapshot trickery a little more easily (the repos will be on the same machine). Plus, users will tolerate a delay for pushing packages into /contrib, but less so for /pending.

Comments:

With a little help, it would be nice to take 1000 or maybe 2000 packages from the Blastwave site and publish them. I don't know if you have this facility or not, or do you need to compile the packages there? I'm not too clear on how we would get this vast array of community built packages into your community IPS service.

Posted by Dennis Clarke on April 01, 2009 at 09:51 AM BST #

Dennis, how do you build these packages? SourceJuicer takes in spec files. Would be awesome to throw ~2k packages at it and see how quickly they build ;)

Posted by Christian Kelly on April 21, 2009 at 04:59 AM BST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Christian Kelly

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today