Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 270108 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +5 lines)
Line  Link Here
0
-- bin/repoman~
0
++ bin/repoman
Lines 88-93 Link Here
88
max_desc_len = 100
88
max_desc_len = 100
89
allowed_filename_chars="a-zA-Z0-9._-+:"
89
allowed_filename_chars="a-zA-Z0-9._-+:"
90
disallowed_filename_chars_re = re.compile(r'[^a-zA-Z0-9._\-+:]')
90
disallowed_filename_chars_re = re.compile(r'[^a-zA-Z0-9._\-+:]')
91
pv_toolong_re = re.compile(r'[0-9]{19,}')
91
bad = create_color_func("BAD")
92
bad = create_color_func("BAD")
92
93
93
# A sane umask is needed for files that portage creates.
94
# A sane umask is needed for files that portage creates.
Lines 1353-1359 Link Here
1353
			stats["ebuild.notadded"]=stats["ebuild.notadded"]+1
1354
			stats["ebuild.notadded"]=stats["ebuild.notadded"]+1
1354
			fails["ebuild.notadded"].append(x+"/"+y+".ebuild")
1355
			fails["ebuild.notadded"].append(x+"/"+y+".ebuild")
1355
		myesplit=portage.pkgsplit(y)
1356
		myesplit=portage.pkgsplit(y)
1356
		if myesplit is None or myesplit[0] != x.split("/")[-1]:
1357
		if myesplit is None or myesplit[0] != x.split("/")[-1] \
1358
			    or pv_toolong_re.search(myesplit[1]) \
1359
			    or pv_toolong_re.search(myesplit[2]):
1357
			stats["ebuild.invalidname"]=stats["ebuild.invalidname"]+1
1360
			stats["ebuild.invalidname"]=stats["ebuild.invalidname"]+1
1358
			fails["ebuild.invalidname"].append(x+"/"+y+".ebuild")
1361
			fails["ebuild.invalidname"].append(x+"/"+y+".ebuild")
1359
			continue
1362
			continue

Return to bug 270108