Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 23661
Collapse All | Expand All

(-)/usr/bin/repoman.old (+16 lines)
Lines 51-56 Link Here
51
"changelog.missing",
51
"changelog.missing",
52
"changelog.notadded","ebuild.notadded","digest.notadded",
52
"changelog.notadded","ebuild.notadded","digest.notadded",
53
"ebuild.disjointed","digest.disjointed",
53
"ebuild.disjointed","digest.disjointed",
54
"digest.unmatch",
54
"DEPEND.bad","RDEPEND.bad",
55
"DEPEND.bad","RDEPEND.bad",
55
"DEPEND.badmasked","RDEPEND.badmasked",
56
"DEPEND.badmasked","RDEPEND.badmasked",
56
"ebuild.syntax","ebuild.output",
57
"ebuild.syntax","ebuild.output",
Lines 67-72 Link Here
67
"digest.notadded",
68
"digest.notadded",
68
"digest.disjointed",
69
"digest.disjointed",
69
"digest.missing",
70
"digest.missing",
71
"digest.unmatch",
70
"DEPEND.badmasked",
72
"DEPEND.badmasked",
71
"RDEPEND.badmasked",
73
"RDEPEND.badmasked",
72
"IUSE.invalid"
74
"IUSE.invalid"
Lines 87-92 Link Here
87
	"ebuild.disjointed":"Ebuilds not added to cvs when the matching digest has been added",
89
	"ebuild.disjointed":"Ebuilds not added to cvs when the matching digest has been added",
88
	"digest.disjointed":"Digests not added to cvs when the matching ebuild has been added",
90
	"digest.disjointed":"Digests not added to cvs when the matching ebuild has been added",
89
	"digest.notadded":"Digests that exist but have not been added to cvs",
91
	"digest.notadded":"Digests that exist but have not been added to cvs",
92
	"digest.unmatch":"Digests which are incomplete (please check if your USE/ARCH includes all files)",
90
	"ebuild.notadded":"Ebuilds that exist but have not been added to cvs",
93
	"ebuild.notadded":"Ebuilds that exist but have not been added to cvs",
91
	"changelog.notadded":"ChangeLogs that exist but have not been added to cvs",
94
	"changelog.notadded":"ChangeLogs that exist but have not been added to cvs",
92
	"KEYWORDS.missing":"Ebuilds that have a missing KEYWORDS variable",
95
	"KEYWORDS.missing":"Ebuilds that have a missing KEYWORDS variable",
Lines 401-406 Link Here
401
					if y[7:] in eadded:
404
					if y[7:] in eadded:
402
						stats["digest.disjointed"]=stats["digest.disjointed"]+1
405
						stats["digest.disjointed"]=stats["digest.disjointed"]+1
403
						fails["digest.disjointed"].append(x+"/files/"+y)
406
						fails["digest.disjointed"].append(x+"/files/"+y)
407
				else:
408
					mydigests=portage.digestParseFile(checkdir+"/files/"+y)
409
					mykey = catdir + "/" + y[7:]
410
					myuris = portage.db["/"]["porttree"].dbapi.aux_get(mykey,["SRC_URI"])[0]
411
					alluris=portage.flatten(portage.evaluate(portage.tokenize(myuris),[],1))
412
					allfiles=[]
413
					for tmp in alluris:
414
						allfiles.append(os.path.basename(tmp))
415
416
					for tmpfile in allfiles:
417
						if not mydigests.has_key(tmpfile):
418
							stats["digest.unmatch"]=stats["digest.unmatch"]+1
419
							fails["digest.unmatch"].append(x+"/files/"+y)
404
				if y[7:] not in ebuildlist:
420
				if y[7:] not in ebuildlist:
405
					#stray digest
421
					#stray digest
406
					if mymode=="fix":
422
					if mymode=="fix":

Return to bug 23661