* On 2026 02 Mar 17:02 -0600, Greg Troxel wrote:
> Vince Skahan <[email protected]> writes:
> 
> > We've seen this years ago.  The problem is "5.3.0" is before "5.3.0b1" 
> > alphabetically so it's considered earlier.
> >
> > Make a file containing the following:
> >    5.3.0b1
> >    5.3.0
> >    5.3.0a1
> >
> > Then run it through 'sort' and that returns:
> >    5.3.0
> >    5.3.0a1
> >    5.3.0b1
> 
> Wow, and if  that's it, it points out that
> 
>   packaging systems need to have sorting that works with package
>   versions used by upstreams
> 
>   releases need to use a limited set of numbering plans that work with
>   packaging systems
> 
> but...    a1, b1, rc1 are very very normal and a packaging system that
> mis-sorts them seems like a bug.
> 
> Long ago, when having your very own microVAX in your grad student office
> was exciting, GNU conventions were that alpha, beta, rc for 5.3.0 would
> be
> 
>   5.2.71 alpha1
>   5.2.81 beta1
>   5.2.91 rc1
> 
> which sorted correctly.

I'm not expert on Debian packaging, but might this be a good use for the
"conflicts" stanza?  The release could be set to conflict to any prior
alpha/beta/rc of the same version number.

Maybe it doesn't work that way.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/fvgeub4we7b4h4is6ibzrxnsbs7urle7ogmg4xv5w4cwfovlo4%4063aozahsedbk.

Attachment: signature.asc
Description: PGP signature

Reply via email to