From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D40441381F3 for ; Mon, 21 Oct 2013 17:03:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46C31E0AB8; Mon, 21 Oct 2013 17:03:48 +0000 (UTC) Received: from juliette.telenet-ops.be (juliette.telenet-ops.be [195.130.137.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 24C04E0AAD for ; Mon, 21 Oct 2013 17:03:46 +0000 (UTC) Received: from TOMWIJ-GENTOO ([94.226.55.127]) by juliette.telenet-ops.be with bizsmtp id ft3m1m01E2khLEN06t3mKY; Mon, 21 Oct 2013 19:03:46 +0200 Date: Mon, 21 Oct 2013 19:03:32 +0200 From: Tom Wijsman To: jer@gentoo.org Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: [Bug 488318] media-video/mpv[luajit] - Keyword request on alpha, arm, ppc, ppc64, sparc Message-ID: <20131021190332.433169d6@TOMWIJ-GENTOO> In-Reply-To: <20131021183143.431a7f40@marga.jer-c2.orkz.net> References: <20131019190144.7858709c@marga.jer-c2.orkz.net> <20131019194329.41f538b0@TOMWIJ-GENTOO> <5263ADEC.9000000@gentoo.org> <5263B32F.1080302@gentoo.org> <5263C14E.8020709@gentoo.org> <20131020143056.0f775b7b@TOMWIJ-GENTOO> <20131021155034.629be51a@marga.jer-c2.orkz.net> <20131021173203.2e1fc19c@TOMWIJ-GENTOO> <20131021183143.431a7f40@marga.jer-c2.orkz.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/yIcHwogEMt2H6Fm+w1OxgfS"; protocol="application/pgp-signature" X-Archives-Salt: eb87a18f-d3b4-44d6-8abb-047d28420ec7 X-Archives-Hash: af8ceede2a017b7677f9bc7630503966 --Sig_/yIcHwogEMt2H6Fm+w1OxgfS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 21 Oct 2013 18:31:43 +0200 Jeroen Roovers wrote: > "I planned to unkeyword the USE flags instead" - this is wrong. The > policy (see below for the link - you seem to have trouble finding it > every time I point it out) is to drop keywords (that is entries in the > KEYWORDS variable, see below for an extra explanation since you seem > to be confused as to what it means). >=20 > > > The default policy (did you read the devmanual yet?) > >=20 > > Which policy are you referring to? (Did you refer me to anything?) >=20 > http://devmanual.gentoo.org/keywording/index.html >=20 > "Sometimes you may need to remove a keyword because of new > unresolved dependencies. If you do this, you *must* file a bug > notifying the relevant arch teams." >=20 > > > is to DROP KEYWORDS (and let arch teams re-add them) > >=20 > > Which is what I exactly did for the USE flags on most of the arches; > > and a bug was planned to be filed, such that they can decide on it. >=20 > You are apparently confusing "dropping keywords" (entries in the > KEYWORDS variable in an ebuild) with "masking USE flags". Why would > you do that? I know you are smarter than this. TL;DR: Clarified my misunderstanding, I agree now that I understand. Because the end result (a change in visibility) is mostly the same. I agree that "keywording" and "masking" are not the same; I however have considered that "masking is the scope of an arch" equals to "unkeywording" for that particular architecture. The difference in what happens towards the end result here is thus quite small; but now that you point it out, I do now understand that the words can carry quite a different meaning. A meaning that depends on how they are understood. Thanks you for highlighting that. > > > -unless- that is really cumbersome (when you need to drop more and > > > more keywords as a result). > >=20 > > Please do not make additional exceptions, we have enough of them. >=20 > What do you mean? This common sense policy has been in place for > years. If dropping one keyword breaks many (rev-)deps and is > therefore not an option, it's quite the norm to either file a keyword > request bug well in advance of anything in the tree breaking, or > temporarily mask either ebuilds or USE flags, generally or > specifically for an arch profile, and inform the arch teams. +1 Sorry, I was thinking about an end package as opposed to a library. > > Right; bug reference added, I see no other problem here. >=20 > That should also tell you that it helps to inform arch teams by > filing a bug report -before- you drop keywords or mess up the > profiles. This is what I've almost always have done; but I went wrong here by off sourcing it this time to the proxy maintainer, will not do that again. > > Two entries will continue to be two entries; so, I do not see where > > the difference in work comes from. Can you now please explain the > > exception? >=20 > There is no exception. You've made that bit up. http://gentoo.2317880.n4.nabble.com/best-way-to-use-profiles-and-package-us= e-mask-td16465.html =46rom that thread I get that half of the people agree and that half of the people don't; looking at the package.use.mask I have seen non-arch members touch them from time to time, so while it might not necessarily be the exception I'm not so sure if it is the rule. Regardless of that view on it, I find your argument that you give below about the amount of files changed (adding + removing) and the difference between keywording and masking both requiring more work quite convincing; so I totally agree with you on that. > The proper procedure is to ask arch teams to re-keyword the ebuild you > had to drop their keyword for. If that is impossible, several other > scenarios can be played out, such as use.masking to cover up a > deficiency in porting to said arch, dropping keywords for that arch > altogether, or whatever might work. The point is that you shouldn't be > making that decision - you just maintain the package, not the arch > profile, and you ran into a problem which you didn't propose they fix > - you just covered it all up. >=20 > The difference in work would amount to editing two files in the > profiles/ subdir per architecture you want to abuse profiles/ for > instead of asking their actual opinion, then later both undoing all > that work and simply changing the files that matter, the ebuilds and > auxiliary files (some 6 files in the example). >=20 > For an arch developer wanting to test if the new dep should really be > masked, or actually works just fine on his arch and should have been > keyworded long ago, the improper procedure involves both unmasking the > new dep in package.keywords as well as unmasking the USE flag on the > test system, and then reversing the profile change and adding the > keyword to the new dep. > > With just the dropped keyword, everything is normally much simpler. I > don't see how you count up "entries" here - from experience re-adding > keywords is a lot easier than removing profile masks. I was reading your example from an user perspective the first time; in that perspective the user's work stays the same, I've mislead myself. :( Thank you very much for elaborating. --=20 With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : TomWij@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D --Sig_/yIcHwogEMt2H6Fm+w1OxgfS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJSZV5kAAoJEJWyH81tNOV9AMoH/RtAwUq6RDiG9Jirr7p+oPn9 D5CVQ4miGmXdf59jB4X0fe8m0+WvwMmGctOAOj0u2OV4gOiOa0HY0cyE3a278OeY 2oNIY3Mt16zL89XMBc5X3CRuszDlkClEutZawVEiCOAkOUUyDGxTLDjVNaDSUGGN AhLChlwiQKYjUN2GFtsVOC/Fe0bQHL9TOgouLW9X4pSMS1HygL+P3Zn7kHfJ2xuJ azH84XBPPEJn11Uqi7yywH7Nv6p1nJDmiSdLiBUroAOsslBdzek4App+5p/wGQ+9 tTE0uw6pG3VzuGMvyFjl1aGWGiw2Q7jVd3fuxqfqqorxg3/yde/WcgZ7AcwMhFQ= =jfa2 -----END PGP SIGNATURE----- --Sig_/yIcHwogEMt2H6Fm+w1OxgfS--