23 Commits

Author SHA1 Message Date
Jimmy Berry
b2861ae31a osclib/cycles: only cache target project builddepinfo to avoid excessive cache.
Keep on disk using caching mechanism to avoid keep entire graphs in memory
and expiring via existing code.
2017-11-30 16:30:16 -06:00
Jimmy Berry
57d9d2986b osclib/cycles: drop _get_builddepinfo and _get_builddepinfo_cycles since unused. 2017-11-30 13:30:55 -06:00
3cf49d9556 Python 2.6+ / 3.x style except clauses
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
Jimmy Berry
bf5ae3d366 Merge pull request #1093 from jberry-suse/repo_checker-ignore-from-staging-and-dvd
repo_checker: rework to handle multiple stagings per group and proper repo layering.
2017-08-24 22:25:09 -05:00
Jimmy Berry
a8919a516a cycle: cycles() rename group parameter to staging to better reflect usage. 2017-08-24 21:48:00 -05:00
Jimmy Berry
8ec224169c cycle: remove ugly ignore code from _get_builddepinfo_graph().
With the new repo_checker utilizing the staging process none of this
should be necessary.
2017-08-23 16:02:48 -05:00
Jimmy Berry
e8c6f2844e osclib/cycle: remove extra leading slash. 2017-08-02 10:35:56 -05:00
Jimmy Berry
4fafc29fa3 cycle: rework to compare two projects instead of a project and request list.
This removes the need to detect sub-packages and significantly simplifies
the code while providing the same result.
2017-07-12 15:31:30 -05:00
Alberto Planas
be4994bd84 Add --skipcycle option to skip the cycle check manually. 2015-03-05 12:44:57 +01:00
Alberto Planas
6aad8caeb2 Fix cycle detector for new packages. 2015-02-19 14:14:49 +01:00
Alberto Planas
c9d1e06ca8 Refactor configuration parameters into configuration file. 2015-02-19 11:39:05 +01:00
Alberto Planas
b867fb1f23 Detect if a cycle provides a new package, if not, ignore the cycle. 2015-02-12 11:27:39 +01:00
Alberto Planas
e50fb7e284 The cycle detector ignore updated packages. 2014-11-04 11:09:40 +01:00
0537cd1003 Fix the check_repo to takes care of shadow RQ. 2014-08-19 16:49:25 +02:00
29b8bcca6b Makes staging pluging Factory agnostic. 2014-08-07 12:58:47 +02:00
8f31dbe7e9 Change the way to recover goodrepos in the cycle detector. 2014-07-24 11:26:54 +02:00
Stephan Kulow
3b14b96a66 support delete requests
we track the target package to download the toignore tracking
2014-07-17 11:36:05 +02:00
4329ceff8b Improve pasteability. 2014-07-04 14:21:43 +02:00
da8dd705b0 A new way to make plans. 2014-07-01 19:55:17 +02:00
550e98d6c2 Refactor of check_one_request into checkrepo module. 2014-06-12 18:26:09 +02:00
17a7140ab0 Fix a bug in the yield value. 2014-06-05 17:46:38 +02:00
4e8173179b Return only cycles. 2014-06-04 11:04:37 +02:00
e96f85dc38 More refactoring:
- Extract all the graph and cycle logic.
- Extract memoize.
- Start with CheckRepo.
2014-06-04 11:04:37 +02:00