[csw-maintainers] the future of pkg-get...

Ben Walton bwalton at opencsw.org
Sun Sep 11 04:42:52 CEST 2011


Excerpts from Maciej (Matchek) Bliziński's message of Sat Sep 10 12:39:00 -0400 2011:
> 2011/9/8 Ben Walton <bwalton at opencsw.org>:

> > If we use alternatives, presumably we'd set the deprecated version
> > as higher priority. Sites would then need to change scripts or run
> > a command to switch the alternative.
> 
> Yes, exactly.  This way you learn that this version is deprecated,
> but you have the option of still using the tool, if you really want
> to.

Ironically, as Phil never fixed the bug in his alternatives
implementation, delivering multiple alternatives with the same name in
a single package isn't feasible.  The files are delivered and
registered properly, but switching the alternatives doesn't work.

I've dropped alternatives and opted to simply deliver two binaries,
the normal name being our "switch!" script and pkg-get.deprecated
being the original tool.

How does it look?

http://buildfarm.opencsw.org/experimental.html#pkgget

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302



More information about the maintainers mailing list