-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dne 27.1.2011 18:16, Ciaran McCreesh napsal(a):
> On Thu, 27 Jan 2011 18:07:30 +0100
> Tomáa Chvátal <scarab...@gentoo.org> wrote:
>> Ok bad example on the posix-sh file. But anyway even you can check
>> what stuff the thing does and decide upon it. Anyway even tho you
>> nitpick on something you don't need to.
>> There is at minimal the binary files example where you just place them
>> somewhere into $DATADIR, and oh cp a
>> $DESTDIR/$DATADIR/$PN/mybinaryfile (image/pdfstuff/whatever) is so
>> unportable... So we already know that it might have use now lets
>> focus onto finding out if there is enough consumers it is worth to
>> provide something easier than keywording it all archs and then
>> stabling them, shall we?
> 
> A long long time ago, Gentoo had a developer who keyworded lots of
> things that he thought were "probably portable" ~sparc. Needless to say,
> he was often wrong, despite being considerably more experienced on
> portability issues than most package maintainers. Clearing that mess up
> took several years of hard work...
> 
> What you're proposing will make things harder for arch teams, not
> easier. It will also make things harder for package maintainers when
> they suddenly have to switch their packages from being noarch to being
> most but not all archs. It will also make things harder for users, who
> accept ~noarch for a package which then gets changed to use ~archs
> instead, resulting in a downgrade.
> 
Ok example implementation and solution:
If ebuild contains ~noarch in KEYWORDS it is not permitted to contain
anything else.
~noarch located in KEYWORDS is translated as full testing keywords for
every known architecture by package manager. If depgraph is to be found
broken for such architecture it is shadowed (or treated as without
keywords, whatever we find to like in our implementation in package
manager) and not permitted to be emerged on said architecture.
If noarch is to be found in KEYWORDS the package is treated the same way
as ~noarch expect that it pose and use under stable tree. If noarch
package can satisfy its depgraph in ~ but not in stable tree it is
posing as testing for said architecture.

Adding ebuilds with noarch keyword must be preceded with:
All ebuilds seeking to have this feature implemented must be discussed
on #gentoo-dev mailing list and proven not having portability issues.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1BspkACgkQHB6c3gNBRYezWACdGy16k/2XdOQAnltswSUufYb1
uF4AoL9zv474aLoHqhJgAxJ1vopkeHaL
=bVNH
-----END PGP SIGNATURE-----

Reply via email to