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

(-)bin/repoman (-2 / +8 lines)
Lines 771-776 Link Here
771
arch_xmatch_caches = {}
771
arch_xmatch_caches = {}
772
shared_xmatch_caches = {"cp-list":{}}
772
shared_xmatch_caches = {"cp-list":{}}
773
773
774
# Disable the "ebuild.notadded" check when not in commit mode and
775
# running `svn list` and `svn status` calls in every package dir
776
# will be too expensive.
777
check_ebuild_notadded = not \
778
	(vcs == "svn" and repolevel < 3 and options.mode != "commit")
779
774
for x in scanlist:
780
for x in scanlist:
775
	#ebuilds and digests added to cvs respectively.
781
	#ebuilds and digests added to cvs respectively.
776
	logging.info("checking package %s" % x)
782
	logging.info("checking package %s" % x)
Lines 867-873 Link Here
867
	if not os.path.isdir(os.path.join(checkdir, "files")):
873
	if not os.path.isdir(os.path.join(checkdir, "files")):
868
		has_filesdir = False
874
		has_filesdir = False
869
875
870
	if vcs:
876
	if vcs and check_ebuild_notadded:
871
		try:
877
		try:
872
			if vcs == "cvs":
878
			if vcs == "cvs":
873
				myf=open(checkdir+"/CVS/Entries","r")
879
				myf=open(checkdir+"/CVS/Entries","r")
Lines 1070-1076 Link Here
1070
		if stat.S_IMODE(os.stat(full_path).st_mode) & 0111:
1076
		if stat.S_IMODE(os.stat(full_path).st_mode) & 0111:
1071
			stats["file.executable"] += 1
1077
			stats["file.executable"] += 1
1072
			fails["file.executable"].append(x+"/"+y+".ebuild")
1078
			fails["file.executable"].append(x+"/"+y+".ebuild")
1073
		if vcs and y not in eadded:
1079
		if vcs and check_ebuild_notadded and y not in eadded:
1074
			#ebuild not added to vcs
1080
			#ebuild not added to vcs
1075
			stats["ebuild.notadded"]=stats["ebuild.notadded"]+1
1081
			stats["ebuild.notadded"]=stats["ebuild.notadded"]+1
1076
			fails["ebuild.notadded"].append(x+"/"+y+".ebuild")
1082
			fails["ebuild.notadded"].append(x+"/"+y+".ebuild")

Return to bug 230249