Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230249 - repoman performs badly in svn repositories
Summary: repoman performs badly in svn repositories
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 210077
  Show dependency tree
 
Reported: 2008-06-30 20:28 UTC by Santiago M. Mola (RETIRED)
Modified: 2008-07-23 07:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
avoid the performance hit if vcs == "svn" and repolevel < 3 and options.mode != "commit" (disable_noadded_check.patch,1.19 KB, patch)
2008-06-30 22:24 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2008-06-30 20:28:11 UTC
When running repoman in the root of a svn repository (like sunrise), it runs 'svn list' for every package (more than two seconds for each one). That makes repoman totally unusable for these purposes.

We need a faster solution. If it can't be implemented for 2.2, at least add a command line option for disabling svn handling.
Comment 1 Zac Medico gentoo-dev 2008-06-30 22:24:21 UTC
Created attachment 159031 [details, diff]
avoid the performance hit if vcs == "svn" and repolevel < 3 and options.mode != "commit"

Does this patch help for the sunrise use case? If not can we make-do with something like this?
Comment 2 Santiago M. Mola (RETIRED) gentoo-dev 2008-06-30 23:01:53 UTC
Note that I don't work on sunrise, the original problem was reported by Tommy[D].

Anyway, IMO your patch is good as a temporary solution.

BTW, read #-portage backlog! some people were talking about rewritting vcs support for future portage releases ;-)
Comment 3 Thomas Sachau gentoo-dev 2008-07-01 20:11:19 UTC
I tested the patch with sunrise and it does help a lot (4-5 times faster)
Comment 4 Zac Medico gentoo-dev 2008-07-23 07:58:54 UTC
Thanks, this is fixed in 2.2_rc2.