Re: Renaming pythonXY packages to pythonX.Y (e.g. python39 to python3.9)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le mercredi 29 avril 2020 à 19:43 +0200, Miro Hrončok a écrit :
> On 29. 04. 20 19:37, Nicolas Mailhot wrote:
> > Le mercredi 29 avril 2020 à 19:18 +0200, Miro Hrončok a écrit :
> > 
> > > All [compat packages] MUST include the base name suffixed by
> > > either:
> > Well we are not creating a compat package here and not adding an
> > hyphen
> > creates an artificial numeric/non numeric special case.
> > 
> > But, I see someone formalised the special case in compat
> > guidelines,
> > ignoring distribution history that showed versionned naming could
> > easily be done without special cases that annoys humans and break
> > automation and scripts for years afterwards, therefore, do as you
> > want.
> 
> I don't agree that "python3.9" as a package name annoys humans or
> break  automation scripts. How does it?

As soon as you have a different naming convention for numeric and non
numeric qualifiers all the code that manipulates your package names
must test if the qualifier is numeric or not, to add the hyphen or not.

It is much simpler to just assume -<qualifier> everywhere, without
testing <qualifier> in any way.

That’s why

%package XXX

will create foo-XXX by default, and not ask you to split hairs and test
if XXX is numeric or not (yes the hyphen separator is built in rpm core
logic)

-- 
Nicolas Mailhot
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux