On Tue, 02 May 2017 14:32:13 +0200
Ulrich Mueller <u...@gentoo.org> wrote:

> >>>>> On Tue, 2 May 2017, Chí-Thanh Christopher Nguyễn wrote:  
> 
> > Also very common is that he changes fully qualified package names
> > (which is the correct syntax per [1]) into fully qualified package
> > atoms (which is the legacy syntax). Bug 616260 is one such
> > example.  
> 
> > [1] https://bugs.gentoo.org/page.cgi?id=fields.html  
> 
> Can't the stable-bot enforce the correct syntax?

Correct syntax, you say?

[1] says:
"""
= Version Dependencies =
Sometimes a particular version of a package is needed. Where this is
known, it should be specified. A simple example:

DEPEND=">=dev-libs/openssl-0.9.7d"
"""

What happens when you want an exact version? Can you write

"""
DEPEND="dev-libs/openssl-0.9.7d"
"""

instead? (Don't answer that, keep reading.)


[2] says:
"""
       Atom Prefix Operators [> >= = <= <]
              Sometimes you want to be able to depend on general
       versions rather than specifying exact versions all the time.
       Hence we provide standard boolean operators:

              Examples:
                   >media-libs/libgd-1.6
                   >=media-libs/libgd-1.6
                   =media-libs/libgd-1.6
                   <=media-libs/libgd-1.6
                   <media-libs/libgd-1.6
"""


PMS does not define what a valid atom looks like, except that it
somehow doesn't describe atoms to begin with, apparently because that
has yet to be replaced with something better, or is perhaps up to the
PM to define. Where the PM is sys-apps/portage, the syntax that someone
with the correct privileges managed to add to bugs.gentoo.org without
any reconciliation with the community.

As long as this is not resolved:

   # emerge -vp net-misc/youtube-dl-2017.05.01
   !!! 'net-misc/youtube-dl-2017.05.01' is not a valid package atom.
   !!! Please check ebuild(5) for full details.

and as long as this works:

   # emerge -vp =net-misc/youtube-dl-2017.05.01

   These are the packages that would be merged, in order:

   [ebuild     U ~] net-misc/youtube-dl-2017.05.01::gentoo
   [2017.04.26::gentoo] USE="offensive {-test}"
   PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6B

   Total: 1 package (1 upgrade), Size of downloads: 0 KiB


I suggest these privileged people try to come to their senses and stop
appropriating bits of the Gentoo Project because of differences in
opinion.

I also suggest that the people who half finished the work on getting
the Package list going also finish the work and implement rigorous
checks for sys-apps/portage compliance, which would actually help
present automated target lists to test systems that don't need
any mangling, ever again.


plz,
     jer


PS: It might be a week before I feel like reading the "don't touch my
stuff" cabal again, so please don't mind if I happen to touch your
stuff while you work out what's wrong with your attitude.



[1]
https://devmanual.gentoo.org/general-concepts/dependencies/index.html
[2] https://dev.gentoo.org/~zmedico/portage/doc/man/ebuild.5.html

Reply via email to