[csw-maintainers] Announce support for pkgutil

Peter Bonivart bonivart at opencsw.org
Sat Apr 14 21:17:11 CEST 2012


2012/4/14 Maciej (Matchek) Bliziński <maciej at opencsw.org>:
> Hi Peter,
>
> Here's a proposed bit of logic for pkgutil: if it tries to get the
> catalog file and gets a 404, it could look for 00ANNOUNCE and if it's
> present, display the contents to the user and exit with status code >
> 0. It would handle this kind of a situation:
> http://buildfarm.opencsw.org/opencsw/stable-mockup/
>
> More context: killing stable release in the wintercamp minutes.
> https://docs.google.com/document/d/1C1uTlJj2-0H3kNZzEQUUjZL298WOxz6kQTr72zIiEe8/edit
>
> What do you think?

I'm not sure wget can really tell me a 404 occurred, I think it's just
an exit code for "server error" which I think we can assume is a 404
and try for 00ANNOUNCE. If there's a more serious error the worst case
is that wget will fail again I guess.

/peter


More information about the maintainers mailing list