Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160145 Details for
Bug 199788
GLEP56: metadata DTD updates for USE flag descriptions & validate metadata.xml at commit
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
repoman changes to implement GLEP 56
repoman-glep-56.patch (text/plain), 889 bytes, created by
Doug Goldstein (RETIRED)
on 2008-07-11 21:42:46 UTC
(
hide
)
Description:
repoman changes to implement GLEP 56
Filename:
MIME Type:
Creator:
Doug Goldstein (RETIRED)
Created:
2008-07-11 21:42:46 UTC
Size:
889 bytes
patch
obsolete
>--- /usr/bin/repoman 2008-06-20 09:10:06.000000000 -0400 >+++ /home/doug/repoman 2008-07-11 17:05:22.000000000 -0400 >@@ -1057,6 +1057,16 @@ > stats["metadata.bad"]+=1 > fails["metadata.bad"].append(x+"/metadata.xml") > >+ #load USE flags from metadata.xml >+ muselist=[] >+ try: >+ f = open(os.path.join(checkdir, "metadata.xml")) >+ utilities.parse_metadata_use(f, muselist) >+ f.close() >+ except (IOError, OSError, ParseError), e: >+ logging.exception("Couldn't read from metadata.xml", e) >+ sys.exit(1) >+ > allmasked = True > > for y in ebuildlist: >@@ -1322,6 +1332,11 @@ > if flag_name not in uselist: > myuse.append(flag_name) > >+ # uselist checks - metadata >+ for mypos in range(len(myuse)-1,-1,-1): >+ if myuse[mypos] and (myuse[mypos] in muselist): >+ del myuse[mypos] >+ > # uselist checks - local > mykey = portage.dep_getkey(catpkg) > if luselist.has_key(mykey):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199788
:
136492
|
137127
|
137138
|
160085
|
160087
|
160144
| 160145 |
160377
|
160458
|
160472
|
160476