1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00
github.com_openSUSE_osc/osc
Bernhard M. Wiedemann f1f6e9501d speedup osc status
by using mtime metadata
before checking digests.
This slightly changes the semantic by assuming that modified files
will always have updated timestamps.

With this change it is possible to do osc status
on a checkout of openSUSE:Factory that contains 40GB of source tarballs
in seconds instead of minutes:
time .../osc/osc-wrapper.py status > /dev/null

real    0m33.652s
user    0m32.590s
sys     0m1.060s

Without the patch it took 22x as long:
real    12m14.545s
user    1m50.084s
sys     0m20.566s
2017-08-12 22:07:25 +02:00
..
util Support arm packages in pkg-prefer 2016-08-08 10:35:14 +02:00
__init__.py add vim mode lines to avoid evil tab characters :-) 2010-02-25 09:53:45 +01:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py Fix URLGrabError exception handling. 2017-01-17 23:27:08 +00:00
build.py Set build files for fissile 2017-08-01 15:01:53 +02:00
checker.py Resolve PEP8 issue W291 2014-08-12 15:01:16 +02:00
cmdln.py Allow to override man-page date 2017-06-17 17:40:42 +02:00
commandline.py Fix computation of files dict in Osc._commit 2017-08-04 14:48:01 +02:00
conf.py Add compatibility with Debian's obs-build 2017-07-07 17:47:43 +01:00
core.py speedup osc status 2017-08-12 22:07:25 +02:00
fetch.py Container support: use multiple container extensions when checking the cache 2017-08-02 11:02:14 +02:00
meter.py python3 compatibility: print function 2013-04-16 10:51:41 +02:00
OscConfigParser.py - OscConfigParser: added "proper" parameter to the has_option method 2014-06-04 15:29:50 +02:00
oscerr.py Fix "args" handling in class PackageNotInstalled 2016-09-09 13:14:35 +02:00
oscssl.py Fix SSL.Connection instantiation in case of an old M2Crypto 2017-03-09 13:34:17 +01:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00