Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309963 - Update devmanual for automatic generation of use.local.desc
Summary: Update devmanual for automatic generation of use.local.desc
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Inclusion
: 273607 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-17 16:41 UTC by Christian Faulhammer (RETIRED)
Modified: 2010-08-10 14:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Explain that use.local.desc is regenerated manually (devmanual_use_local_desc.patch,2.11 KB, patch)
2010-03-17 16:42 UTC, Christian Faulhammer (RETIRED)
Details | Diff
Updated patch (devmanual_use_local_desc.patch,2.49 KB, patch)
2010-03-23 23:05 UTC, Christian Faulhammer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2010-03-17 16:41:50 UTC
Thomas Kahle spotted this flaw in the devmanual and I prepared a patch, which will follow.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-17 16:42:15 UTC
Created attachment 224023 [details, diff]
Explain that use.local.desc is regenerated manually
Comment 2 Ulrich Müller gentoo-dev 2010-03-18 13:37:18 UTC
(In reply to comment #1)
> Created an attachment (id=224023) [details]
> Explain that use.local.desc is regenerated manually

It still says (in line 135): "All USE flags must be described in either use.desc or use.local.desc". Shouldn't the word "either" be dropped, if we want to allow local USE flag descriptions to supersede global ones? See also discussion in bug 235708.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-18 14:59:23 UTC

*** This bug has been marked as a duplicate of bug 273607 ***
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-18 14:59:52 UTC
Damn, yes, ulm, you are right.  It should.  Have no time for this today or tomorrow.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-18 15:00:04 UTC
*** Bug 273607 has been marked as a duplicate of this bug. ***
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-23 23:05:49 UTC
Created attachment 224987 [details, diff]
Updated patch

Revised patch.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2010-06-09 16:28:40 UTC
I'd made more clear that in case USE flag is describe both in use.desc and metadata.xml these descriptions should not contradict each other and that global USE flag descript still applies even in such case. Also note bug 235708 (that I closed right now).
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-08-10 14:29:23 UTC
some version of this was committed.

http://sources.gentoo.org/gitweb/?p=devmanual.git;a=commit;h=a3b5a189862d7cc74a5f3676988048953c502933

I'll close this bug then even though I'm not in QA team.