3339 Commits

Author SHA1 Message Date
f5bc6b6c73
Merge pull request #1238 from nilxam/vdelreq_command
osc vdelreq: new command lists pending virtually accepted delete request status
2017-11-03 16:42:10 +08:00
6efaa1d3e6 vdelreq: add to the package 2017-11-02 15:53:45 +08:00
3468fe8c1e osc vdelreq: new command lists pending virtually accepted delete request status 2017-11-02 15:28:37 +08:00
0a45aba664
Merge pull request #1234 from nilxam/remove_2nd_specfile_ring
accept_command: remove the ring package if it is 2nd specfile is removed
2017-11-02 14:57:41 +08:00
ab21d5f0e1
Merge pull request #1233 from nilxam/force_must_be_force
accept_command: force to accept the staging if --force parameter is given
2017-11-02 14:57:26 +08:00
Jimmy Berry
d8cd193c99
Merge pull request #1231 from jberry-suse/devel-project-list-retry
systemd/devel-list: allow three retry attempts to handle regular OBS crash.
2017-10-31 20:01:10 -05:00
Jimmy Berry
990be5dbb3 systemd/devel-list: allow three retry attempts to handle regular OBS crash. 2017-10-31 20:00:34 -05:00
Jimmy Berry
0e1733f868
Merge pull request #1229 from jberry-suse/repo_checker-build-state
repo_checker: store and compare build hash to skip more aggressively (similar check for project_only)
2017-10-31 19:34:58 -05:00
Jimmy Berry
9aeb0a4c8e repo_checker: add newline to cycles comment to format properly. 2017-10-31 18:51:56 -05:00
Jimmy Berry
8767f73eca repo_checker: project_only place dashboard update behind dryrun check. 2017-10-31 18:51:56 -05:00
Jimmy Berry
b9bb3ce224 repo_checker: project_only ensure project repository is published. 2017-10-31 18:51:56 -05:00
Jimmy Berry
31cf49a09e repo_checker: store and compare build hash to skip more aggressively. 2017-10-31 18:51:38 -05:00
Jimmy Berry
c32b59bd55
Merge pull request #1230 from jberry-suse/devel-project-search-get_review_list
devel-project: override osc.core.search() to include withfullhistory for get_review_list().
2017-10-31 17:21:12 -05:00
b9bc629a4d accept_command: remove the ring package if it is 2nd specfile is removed 2017-10-31 19:46:53 +08:00
6ffe02ce94 accept_command: force to accept the staging if --force parameter is given
If --force parameter is given, it must to force to change the request state,
otherwise --force does not work if still had pending review.
2017-10-31 13:27:29 +08:00
Stephan Kulow
9cded5cf2d
Merge pull request #1228 from lnussel/pkglistgen
pkglistgen: also output suggested packages
2017-10-28 12:55:11 +02:00
Jimmy Berry
c2955c0233 devel-project: override osc.core.search() to include withfullhistory for get_review_list().
#1206 was a bit to optimistic as the deficiency was only half resolved.
2017-10-27 19:19:58 -05:00
Ludwig Nussel
ee81a524d1 pkglistgen: also output suggested packages 2017-10-27 17:18:37 +02:00
Ludwig Nussel
63cde2632d Merge pull request #1227 from lnussel/pkglistgen
pkglistgen: don't export skip_releases
2017-10-27 16:47:45 +02:00
Ludwig Nussel
319af34c90 pkglistgen: don't export skip_releases
would spoil next iteration in loop
2017-10-26 11:54:59 +02:00
Jimmy Berry
42b8b4d191 Merge pull request #1225 from jberry-suse/memoize-key-include-all-args
osclib/memoize: include first argument, sometimes instance, in cache key.
2017-10-25 17:51:10 -05:00
Jimmy Berry
e39a51821e osclib/memoize: include first argument, sometimes instance, in cache key.
Otherwise, multiple StagingAPI instances which are unique per project
will share caches for short-hand projects. For example:

StagingAPI.project_status('adi:1') called on two different instances will
share a cache.
2017-10-25 17:43:17 -05:00
Jimmy Berry
32d1a97241 Merge pull request #1207 from jberry-suse/obs-docker-compose-test-rebase
Provide local OBS setup, base data creation, test harness, and initial set of tests.
2017-10-24 18:17:25 -05:00
Jimmy Berry
e3150a7626 tests/OBSLocal: invoke scripts using coverage to include in report. 2017-10-24 18:06:33 -05:00
Jimmy Berry
e0491e3aae tests/OBSLocal: split out execute() to provide osc and generic versions. 2017-10-24 18:05:48 -05:00
Jimmy Berry
476fbcd818 tests/OBSLocal: include assertOBS() to clarify OBS status before test.
Otherwise, end up with first OBS call in test failing which does not make
the issue as clear to understand.
2017-10-24 18:05:48 -05:00
Jimmy Berry
6faebca998 tests/OBSLocal: add email and include spaces in generated oscrc file. 2017-10-24 18:05:48 -05:00
Jimmy Berry
69a02fde86 tests/OBSLocal: rework OSCRC handling to use non-default file. 2017-10-24 18:05:38 -05:00
Jimmy Berry
c5cf186d18 tests/OBSLocal: add workaround for obs.py leakage. 2017-10-24 18:00:47 -05:00
Jimmy Berry
cdb42bf5a4 travis: before_cache: include -R in chmod .docker-tmp. 2017-10-24 17:58:16 -05:00
Jimmy Berry
b51119822e obs_clone: remove whole repositories rather than just path when fenced. 2017-10-24 17:55:32 -05:00
Jimmy Berry
a0f3191568 obs_clone: provide --cache feature. 2017-10-24 17:55:32 -05:00
Jimmy Berry
7f5fbd5b4b osclib/cache: allow ttl of 0 to prevent caching. 2017-10-24 17:55:32 -05:00
Jimmy Berry
7bb1f44359 dist/spec: disable make check during %check until integration tests resolved. 2017-10-24 17:55:32 -05:00
Jimmy Berry
495878ff0f Exclude .open-build-service/ from docker, flake8, and git. 2017-10-24 17:55:32 -05:00
Jimmy Berry
c4d8661f1c travis: provide local OBS setup and clone base data. 2017-10-24 17:55:32 -05:00
Jimmy Berry
ed662be413 tests/devel_project: provide basic test against local OBS. 2017-10-24 17:55:31 -05:00
Jimmy Berry
35bbaf3a66 tests/OBSLocal: provide based class for testing against local OBS. 2017-10-24 17:52:42 -05:00
Jimmy Berry
a2e4d58e49 obs_clone: clone projects and dependencies between OBS instances. 2017-10-24 17:43:41 -05:00
Jimmy Berry
a6d397e88f devel-project: list: only remove self if in devel project list. 2017-10-24 16:23:04 -05:00
Jimmy Berry
443b432699 Merge pull request #1219 from jberry-suse/conffile-over-env
osclib/conf: prefer already parsed conffile over OSC_CONFIG env variable.
2017-10-24 15:15:33 -05:00
Jimmy Berry
4d13526b70 Merge pull request #1218 from jberry-suse/tests-obs-cache-fix
tests/obs: move Cache.delete_all() after CACHE_DIR changed.
2017-10-24 15:14:39 -05:00
1c17971d6a Merge pull request #1220 from dirkmueller/master
Blacklist new warnings introduced by flake8 3.5.0
2017-10-24 11:33:24 +02:00
ba253a61f3 Blacklist new warnings introduced by flake8 3.5.0
The module isn't ready for this yet. Fixes #1217
2017-10-24 11:08:27 +02:00
Stephan Kulow
737d39a1db Merge pull request #1216 from lnussel/pkglistgen
pkglistgen: skip one cycle when undeleting
2017-10-24 06:32:14 +02:00
Jimmy Berry
f8225a3d48 osclib/conf: prefer already parsed conffile over OSC_CONFIG env variable.
This is consistent with expected behavior when using:
  osc.core.conf.get_config(override_conffile...)

Also removes the need to change the environment in OBS() which removes a
leak.
2017-10-23 23:03:24 -05:00
Jimmy Berry
4eecb9c5c0 tests/obs: move Cache.delete_all() after CACHE_DIR changed.
Otherwise, the real caches are cleared whenever tests are run.
2017-10-23 23:00:44 -05:00
Ludwig Nussel
7529c30194 pkglistgen: dont mirror debug packages 2017-10-23 17:44:02 +02:00
Ludwig Nussel
b0256d048c pkglistgen: skip one cycle when undeleting 2017-10-23 17:44:02 +02:00
Ludwig Nussel
9465b2f6ea Merge pull request #1196 from lnussel/pkglistgen
pkglistgen: shell scripts to actually commit
2017-10-21 09:26:51 +02:00