Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88373 Details for
Bug 135531
Request for repoman to disallow stable markings in live* ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds a VCS check for stable keywords
repoman-livevcs.patch (text/plain), 1.84 KB, created by
Alec Warner (RETIRED)
on 2006-06-04 12:50:59 UTC
(
hide
)
Description:
Adds a VCS check for stable keywords
Filename:
MIME Type:
Creator:
Alec Warner (RETIRED)
Created:
2006-06-04 12:50:59 UTC
Size:
1.84 KB
patch
obsolete
>Index: repoman >=================================================================== >--- repoman (revision 3414) >+++ repoman (working copy) >@@ -149,7 +149,8 @@ > "ebuild.output":"A simple sourcing of the ebuild produces output; this breaks ebuild policy.", > "ebuild.nesteddie":"Placing 'die' inside ( ) prints an error, but doesn't stop the ebuild.", > "variable.readonly":"Assigning a readonly variable", >- "IUSE.invalid":"This build has a variable in IUSE that is not in the use.desc or use.local.desc file", >+ "LIVEVCS.stable":"This ebuild is a live checkout from a VCS but has stable keywords.", >+ "IUSE.invalid":"This ebuild has a variable in IUSE that is not in the use.desc or use.local.desc file", > "LICENSE.invalid":"This ebuild is listing a license that doesnt exist in portages license/ dir.", > "KEYWORDS.invalid":"This ebuild contains KEYWORDS that are not listed in profiles/arch.list or for which no valid profile was found", > "ebuild.nostable":"There are no ebuilds that are marked as stable for your ARCH", >@@ -1009,7 +1010,19 @@ > if not haskeyword: > stats["KEYWORDS.stupid"] += 1 > fails["KEYWORDS.stupid"].append(x+"/"+y+".ebuild") >- >+ >+ """ >+ Ebuilds that inherit a "Live" eclasss (darcs,subversion,git,cvs,etc..) should >+ not be allowed to be marked stable >+ """ >+ bad_stable_keywords = [] >+ if set(["darcs","cvs","subversion","git"]).intersection(myaux["INHERITED"].split()): >+ bad_stable_keywords = [keyword for keyword in myaux["KEYWORDS"].split() if not keyword.startswith("~")] >+ if bad_stable_keywords: >+ stats["LIVEVCS.stable"] += 1 >+ fails["LIVEVCS.stable"].append(x+"/"+y+".ebuild with stable keywords:%s " % bad_stable_keywords) >+ del keyword, bad_stable_keywords >+ > if "--ignore-arches" in myoptions: > arches = [[repoman_settings["ARCH"], repoman_settings["ARCH"], > repoman_settings["ACCEPT_KEYWORDS"].split()]]
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 135531
: 88373