2011/9/11 Ben Walton <[email protected]>:
> Excerpts from Maciej (Matchek) Bliziński's message of Sat Sep 10 12:39:00 
> -0400 2011:
>> 2011/9/8 Ben Walton <[email protected]>:
>
>> > 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
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to