Re: debian-cd CVS back online - new jigdo fallback generation feature
At Thu, 18 Dec 2003 11:37:33 +0100,
Richard Atterer <firstname.lastname@example.org> wrote:
> [1 <text/plain; iso-8859-15 (quoted-printable)>]
> On Thu, Dec 18, 2003 at 10:45:15AM +0100, Raphael Hertzog wrote:
> > the debian-cd CVS repository is back online (after a check of its
> > integrity).
> Thanks, Rapha�l!
> I've just committed some code which makes the generation of fallback
> mirrors much easier. Furthermore, it produces relative template URLs in
> jigdo files by default.
> However, Phil, this /might/ break your publish_cds script - it is intended
> to replace publish_cds.
> With this feature, you can make debian-cd generate a directory with
> fallback links not after, but *during* template generation. This is done
> with jigdo-file's --match-exec switch, which executes a user-defined
> command whenever a file is found in the image.
Fine, publish_cds only replaces what's in there already, so I can
either remove that code, or make it so that the replacement is also
relative. I still need publish CDs to move the images from the
staging area to the published area, and generate the MD5SUMS files,
but it would become pretty trivial if it didn't have to do the
> Advantages over publish_cds: Better integrated into debian-cd, less of a
> hack. ;)
The nice thing about setting it at publish time is that you can run
publish_cds with a version number of "pre-release-test" say, and if it
works, re-run it with "3.X_rY" on the same images, with no oportunity
to screw up. ;-)
Not that I do that sort of test, now that publish_cds works.
Oh the other thing that you may not have noticed is that I have a
hacked up version of publish_cds, called build_snapshot, that I run on
raff to build the matching snapshot for us.cdimage.d.o.
Since the bulk of fallback requests go to raff, I don't see the nasty
hack going away too soon I'm afraid :-/
I should tidy build_snapshot up, take the funcionality out of
publish_cds, and put build_snapshot into CVS really, so others can
build snapshots (although I'm not sure how useful that is, given that
there are only two places that the jigdos point at)