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

Maciej (Matchek) Bliziński maciej at opencsw.org
Sun Sep 11 11:32:06 CEST 2011


2011/9/11 Ben Walton <bwalton at opencsw.org>:
> 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.

That's unfortunate.

> 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

If alternatives don't work for a single package, this scenario sounds
good. You mentioned in the other email that there could be a separate
package with the deprecated pkg-get, but it would be an overkill.  The
version in experimental looks good.

Maciej


More information about the maintainers mailing list