Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 159031 Details for
Bug 230249
repoman performs badly in svn repositories
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
avoid the performance hit if vcs == "svn" and repolevel < 3 and options.mode != "commit"
disable_noadded_check.patch (text/plain), 1.19 KB, created by
Zac Medico
on 2008-06-30 22:24:21 UTC
(
hide
)
Description:
avoid the performance hit if vcs == "svn" and repolevel < 3 and options.mode != "commit"
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-06-30 22:24:21 UTC
Size:
1.19 KB
patch
obsolete
>Index: bin/repoman >=================================================================== >--- bin/repoman (revision 10859) >+++ bin/repoman (revision 10861) >@@ -771,6 +771,12 @@ > arch_xmatch_caches = {} > shared_xmatch_caches = {"cp-list":{}} > >+# Disable the "ebuild.notadded" check when not in commit mode and >+# running `svn list` and `svn status` calls in every package dir >+# will be too expensive. >+check_ebuild_notadded = not \ >+ (vcs == "svn" and repolevel < 3 and options.mode != "commit") >+ > for x in scanlist: > #ebuilds and digests added to cvs respectively. > logging.info("checking package %s" % x) >@@ -867,7 +873,7 @@ > if not os.path.isdir(os.path.join(checkdir, "files")): > has_filesdir = False > >- if vcs: >+ if vcs and check_ebuild_notadded: > try: > if vcs == "cvs": > myf=open(checkdir+"/CVS/Entries","r") >@@ -1070,7 +1076,7 @@ > if stat.S_IMODE(os.stat(full_path).st_mode) & 0111: > stats["file.executable"] += 1 > fails["file.executable"].append(x+"/"+y+".ebuild") >- if vcs and y not in eadded: >+ if vcs and check_ebuild_notadded and y not in eadded: > #ebuild not added to vcs > stats["ebuild.notadded"]=stats["ebuild.notadded"]+1 > fails["ebuild.notadded"].append(x+"/"+y+".ebuild")
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 230249
: 159031