2643 Commits

Author SHA1 Message Date
Ludwig Nussel
2d3d5b8a04 Hardcode i586 only in a single place 2017-05-09 09:41:17 +02:00
Ludwig Nussel
a83900b35e Refactor package selecting 2017-05-09 09:41:17 +02:00
Ludwig Nussel
86e5ea9fad Merge pull request #885 from lnussel/announcer
Refactor announcer
2017-05-09 09:26:26 +02:00
5d7275d20f Merge pull request #884 from nilxam/comment_after_takeover
Labeled the job only the job has the bugref exists
2017-05-05 06:55:40 -05:00
28a0ee0c8e Merge pull request #881 from nilxam/map_rings_fix
Refactor map_ring_package_to_subject to support corner case
2017-05-05 06:55:32 -05:00
Ludwig Nussel
e785c740d9 Refactor announcer
- use argparse
- use logging
- allow to specify a config file for options
2017-05-05 13:06:45 +02:00
b7cea4615d Fix fixture for ring_pacakge get 2017-05-05 19:05:27 +08:00
edec29c6e1 Refactor map_ring_package_to_subject to support corner case
We have a corner case that package A in Ring2 and points to package B in Ring1,
map_ring_package_to_subject have to handle that as another non-inner project
link case, ie. the sub-package link must be created.

https://github.com/openSUSE/osc-plugin-factory/issues/876
2017-05-05 19:05:27 +08:00
6fe6ec6896 Labeled the job only the job has the bugref exists 2017-05-05 16:34:12 +08:00
Jimmy Berry
75ee7ef3e1 Merge pull request #872 from jberry-suse/unselect-cleanup-conditions
unselect: add conditions to obsolete filter used by --cleanup (along with refactor and tests).
2017-05-04 15:20:07 -05:00
Jimmy Berry
f70544ec81 unselect: extract filter conditions as config variables. 2017-05-04 15:08:41 -05:00
Jimmy Berry
931c8a2908 tests/unselect_tests: add test for cleanup fitler. 2017-05-04 15:08:13 -05:00
Jimmy Berry
412763bc81 tests/obs: define PROJECT as openSUSE:Factory. 2017-05-04 15:08:13 -05:00
Jimmy Berry
cf966f5053 unselect: add conditions to obsolete filter used by --cleanup. 2017-05-04 15:08:12 -05:00
Jimmy Berry
83aac77c6a stagingapi: project_status_requests(): provide filter function. 2017-05-04 15:00:04 -05:00
Jimmy Berry
ed1dc8b788 stagingapi: project_status_requests(): filter requests changed < 5 min ago. 2017-05-04 15:00:04 -05:00
Jimmy Berry
a86259e0e1 Merge pull request #879 from jberry-suse/obslock-hold-expire
obslock: cleanup hold logic and resolve inheriting an expired hold.
2017-05-04 12:18:48 -05:00
Jimmy Berry
32d22fa495 Merge pull request #882 from jberry-suse/cache-dashboard-both
cache: correction to match all dashboard file requests.
2017-05-04 11:18:22 -05:00
Jimmy Berry
c505e838cf cache: correction to match all dashboard file requests.
With the query PUTs are not match and thus the local cache is not cleared
until the next statistics/latest_updated call.
2017-05-04 11:13:12 -05:00
Jimmy Berry
28ce538ac0 Merge pull request #866 from jberry-suse/news-web-leap-format
factory-package-news-web: do not restrict version to int.
2017-05-04 10:34:16 -05:00
Jimmy Berry
1e511e9c85 obslock: delta.total_seconds() is more resilient than delta.seconds. 2017-05-03 20:38:09 -05:00
Jimmy Berry
73f0ed895f obslock: cleanup hold logic and resolve inheriting an expired hold. 2017-05-03 20:37:03 -05:00
Jimmy Berry
be89cc1d44 Merge pull request #878 from jberry-suse/ibs-skip-remote-config
conf: provide remote-config option and default to false for SLE.
2017-05-03 19:38:21 -05:00
Jimmy Berry
20fa52654f Merge pull request #870 from jberry-suse/check_repo-plugindir
check_repo: include PLUGINDIR for executing scripts.
2017-05-03 19:34:53 -05:00
Jimmy Berry
1a979d7e63 Merge pull request #867 from jberry-suse/project-from-dir
osc-staging: provide project from directory functionality.
2017-05-03 19:24:25 -05:00
Jimmy Berry
17e0089d5a conf: provide remote-config option and default to false for SLE. 2017-05-03 19:12:09 -05:00
Jimmy Berry
4fae904e01 osc-staging: provide project from directory functionality. 2017-05-02 16:10:20 -05:00
Jimmy Berry
8707c4c405 check_repo: include PLUGINDIR for executing scripts. 2017-05-02 15:32:49 -05:00
c921420a1f Merge pull request #869 from openSUSE/scarabeusiv-security-tls
Add security:tls project to the check_source project whitelist
2017-05-02 07:45:42 -05:00
Tomáš Chvátal
d16bce739c Add security:tls project to the check_source project whitelist 2017-05-02 14:42:14 +02:00
Jimmy Berry
016f34a524 Merge pull request #868 from jberry-suse/house-cleaning
conf: explicitly check if config is None (and test).
2017-05-01 22:37:21 -05:00
Jimmy Berry
cb282eaeac obslock-tests: correct class name. 2017-05-01 22:33:20 -05:00
Jimmy Berry
cabc9abf40 conf-tess: ensure a blank config is not rewritten (ie loop). 2017-05-01 22:33:20 -05:00
Jimmy Berry
e755c061aa conf: explicitly check if config is None.
Otherwise a blank file may repeatedly submitted.
2017-05-01 22:33:11 -05:00
Jimmy Berry
3fbeae9229 factory-package-news-web: do not restrict version to int.
Leap version numbers are currently formatted with a leading zero which is
stripped when converted to an int.
2017-05-01 20:57:27 -05:00
Jimmy Berry
bd0e8825ca Merge pull request #863 from jberry-suse/osc-staging-args
osc-staging: cleanup command and argument number checking (and check multiple projects)
2017-05-01 17:52:26 -05:00
Jimmy Berry
03fec52636 osc-staging: cleanup command and argument number checking. 2017-05-01 17:48:45 -05:00
Jimmy Berry
b79543849e check: support multiple specified projects. 2017-05-01 17:47:35 -05:00
Jimmy Berry
4cbc9f6679 osc-staging: correct arg count for list. 2017-05-01 17:47:35 -05:00
Jimmy Berry
a5ce3ce64e Merge pull request #862 from jberry-suse/remove-search-path-workaround
Drop sys.path plugindir workaround.
2017-05-01 17:46:50 -05:00
Jimmy Berry
d1978828dd Merge pull request #861 from jberry-suse/config-remote
osc-staging: implement remote config and expose more settings to config.
2017-05-01 17:45:15 -05:00
Jimmy Berry
bb2678dc00 config: implement tests suite. 2017-05-01 17:40:34 -05:00
Jimmy Berry
2f32bf8fbf conf: remove splitter-whitelist default in favor of remote config. 2017-05-01 17:40:33 -05:00
Jimmy Berry
9ea9a50c35 request_splitter: expose age thresholds to config. 2017-05-01 17:40:33 -05:00
Jimmy Berry
f6c31d7f59 cache: include dashboard files. 2017-05-01 17:40:33 -05:00
Jimmy Berry
d4a2af58c8 osc-staging: implement remote config. 2017-05-01 17:40:13 -05:00
Jimmy Berry
d3649f7903 Merge pull request #859 from jberry-suse/lock
lock: provide command to place a multi-command hold on a project (and lock reason).
2017-05-01 17:22:01 -05:00
Jimmy Berry
77b2185500 obslock: implement test suite. 2017-05-01 17:10:36 -05:00
Jimmy Berry
b2058120e6 obslock: actually implement locked property. 2017-05-01 17:09:43 -05:00
Jimmy Berry
53a79f2c05 lock: provide command to place a multi-command hold on a project. 2017-05-01 17:09:16 -05:00