Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190815 Details for
Bug 269225
[PATCH] repoman should warn about virtuals with non-empty HOMEPAGE or LICENSE
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add warning for non-empty HOMEPAGE or LICENSE in virtuals
repoman.diff (text/plain), 1.92 KB, created by
Ulrich Müller
on 2009-05-10 08:53:44 UTC
(
hide
)
Description:
Add warning for non-empty HOMEPAGE or LICENSE in virtuals
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2009-05-10 08:53:44 UTC
Size:
1.92 KB
patch
obsolete
>--- bin/repoman~ >+++ bin/repoman >@@ -264,6 +264,7 @@ > "KEYWORDS.stable":"Ebuilds that have been added directly with stable KEYWORDS", > "KEYWORDS.stupid":"Ebuilds that use KEYWORDS=-* instead of package.mask", > "LICENSE.missing":"Ebuilds that have a missing or empty LICENSE variable", >+ "LICENSE.virtual":"Virtuals that have a non-empty LICENSE variable", > "DESCRIPTION.missing":"Ebuilds that have a missing or empty DESCRIPTION variable", > "DESCRIPTION.toolong":"DESCRIPTION is over %d characters" % max_desc_len, > "EAPI.definition":"EAPI is defined after an inherit call (must be defined before)", >@@ -271,6 +272,7 @@ > "EAPI.unsupported":"Ebuilds that have an unsupported EAPI version (you must upgrade portage)", > "SLOT.missing":"Ebuilds that have a missing or empty SLOT variable", > "HOMEPAGE.missing":"Ebuilds that have a missing or empty HOMEPAGE variable", >+ "HOMEPAGE.virtual":"Virtuals that have a non-empty HOMEPAGE variable", > "DEPEND.bad":"User-visible ebuilds with bad DEPEND settings (matched against *visible* ebuilds)", > "RDEPEND.bad":"User-visible ebuilds with bad RDEPEND settings (matched against *visible* ebuilds)", > "PDEPEND.bad":"User-visible ebuilds with bad PDEPEND settings (matched against *visible* ebuilds)", >@@ -337,6 +339,8 @@ > "DEPEND.badindev","RDEPEND.badindev","PDEPEND.badindev", > "DEPEND.badmaskedindev","RDEPEND.badmaskedindev","PDEPEND.badmaskedindev", > "DESCRIPTION.toolong", >+"HOMEPAGE.virtual", >+"LICENSE.virtual", > "KEYWORDS.dropped", > "KEYWORDS.stupid", > "KEYWORDS.missing", >@@ -1263,6 +1267,12 @@ > stats[myqakey]=stats[myqakey]+1 > fails[myqakey].append(x+"/"+y+".ebuild") > >+ for var in ("HOMEPAGE", "LICENSE"): >+ if catdir == "virtual" and myaux.get(var): >+ myqakey=var+".virtual" >+ stats[myqakey]=stats[myqakey]+1 >+ fails[myqakey].append(x+"/"+y+".ebuild") >+ > # 14 is the length of DESCRIPTION="" > if len(myaux['DESCRIPTION']) > max_desc_len: > stats['DESCRIPTION.toolong'] += 1
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 269225
: 190815