Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119669 Details for
Bug 176539
ebuild manifest shorthand
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add a "manifest" target to repoman
manifest.patch (text/plain), 1.74 KB, created by
Zac Medico
on 2007-05-19 04:38:05 UTC
(
hide
)
Description:
add a "manifest" target to repoman
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-05-19 04:38:05 UTC
Size:
1.74 KB
patch
obsolete
>Index: bin/repoman >=================================================================== >--- bin/repoman (revision 6553) >+++ bin/repoman (revision 6554) >@@ -93,6 +93,7 @@ > shortmodes={"ci":"commit"} > modeshelp={ > "scan" : "Scan directory tree for QA issues (default)", >+"manifest" : "Generate a Manifest (fetches files if necessary)", > "fix" : "Fix simple QA issues (stray digests, missing digests)", > "full" : "Scan directory tree for QA issues (full listing)", > "help" : "Show this screen", >@@ -498,7 +499,9 @@ > > def caterror(mycat): > err(mycat+" is not an official category. Skipping QA checks in this directory.\nPlease ensure that you add "+catdir+" to "+repodir+"/profiles/categories\nif it is a new category.") >-if "--pretend" in myoptions: >+if mymode == "manifest": >+ pass >+elif "--pretend" in myoptions: > print green("\nRepoMan does a once-over of the neighborhood...") > elif quiet < 1: > print green("\nRepoMan scours the neighborhood...") >@@ -722,7 +725,7 @@ > return True > return False > >- >+dofail = 0 > arch_caches={} > arch_xmatch_caches = {} > for x in scanlist: >@@ -733,6 +736,14 @@ > dadded=[] > catdir,pkgdir=x.split("/") > checkdir=repodir+"/"+x >+ >+ if mymode == "manifest": >+ repoman_settings["O"] = checkdir >+ if not portage.digestgen([], repoman_settings, myportdb=portdb): >+ print "Unable to generate manifest." >+ dofail = 1 >+ continue >+ > checkdirlist=os.listdir(checkdir) > ebuildlist=[] > for y in checkdirlist: >@@ -1387,6 +1398,9 @@ > stats["ebuild.allmasked"]+=1 > fails["ebuild.allmasked"].append(x) > >+if mymode == "manifest": >+ sys.exit(dofail) >+ > #Pickle and save results for instant reuse in last and lfull > if os.access(portage.const.CACHE_PATH, os.W_OK): > for myobj, fname in (stats, "repo.stats"), (fails, "repo.fails"):
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 176539
: 119669