Ludwig Nussel
38fd846855
Merge pull request #1351 from jberry-suse/devel_project-shared
...
Replace all get_devel_project() implementations with common one in osclib.core.
2018-01-19 13:42:56 +01:00
Ludwig Nussel
809f4d2fb3
Merge pull request #1294 from lnussel/cleanup_rings
...
cleanup_rings: first attempt to fix for multibuild
2018-01-19 13:40:27 +01:00
Jimmy Berry
5e73e9498f
osclib/request_splitter: replace devel_project_get() with core.devel_project_fallback().
2018-01-17 18:12:42 -06:00
Jimmy Berry
62d432c7c8
osclib/stagingapi: replace get_devel_project() with core.devel_project_get().
...
This implementation does not handle the 404 correctly like ReviewBot did
originally.
2018-01-17 18:11:37 -06:00
Jimmy Berry
ce4cc65690
osclib/core: devel_project_fallback(): do not fallback if openSUSE:Factory.
2018-01-17 18:05:17 -06:00
Jimmy Berry
208af41f2d
osclib/core: provide devel_project_fallback() based on request_splitter.
2018-01-17 18:04:47 -06:00
Jimmy Berry
eeffffe7de
osclib/core: provide devel_project_get() adapted from ReviewBot.
...
Of the various implementations ReviewBot has the most functional and
correct version. Cleaned up a bit for readability.
2018-01-17 18:04:17 -06:00
Ludwig Nussel
a825608376
pkglistgen: delete kiwis by scope
...
Replace config option pkglistgen-delete-kiwis by
pkglistgen-delete-kiwis-$scope. The main project needs all kiwis while
in Rings and Stagings we don't want the ftp tree for example.
2018-01-17 14:33:36 +01:00
Ludwig Nussel
ad449c6d2c
Merge pull request #1344 from jberry-suse/request_splitter-special-config
...
osclib/request_splitter: allow special packages to be empty.
2018-01-15 14:57:45 +01:00
Jimmy Berry
55191625e8
osclib/request_splitter: rework quick strategy to handle Leap 15.0 workflow.
...
The addition of factory-auto and repo-checker reviews need to be allowed
since they are always present and do not constitute a non-quick review.
In an attempt to future proof the strategy the allowed review groups are
taken from the project configuration and repo-checker from config.
2018-01-12 16:52:49 -06:00
Jimmy Berry
3d43985d19
osclib/request_splitter: allow special packages to be empty.
2018-01-12 15:40:56 -06:00
Ludwig Nussel
67f2773e76
pkglistgen: typo locals vs locales
2018-01-10 17:19:15 +01:00
Jimmy Berry
09a98cddac
Merge pull request #1330 from jberry-suse/pkglistgen-sle
...
osclib/conf: intial SLE configuration for pkglistgen.
2018-01-09 16:26:24 -06:00
Jimmy Berry
b41bbd1777
Merge pull request #1328 from jberry-suse/pkglistgen-migrate-followup
...
pkglistgen: migrate bash scripts to python followup
2018-01-09 16:26:03 -06:00
Ludwig Nussel
ad5f69d0ee
cleanup_rings: Fix for 000product
2018-01-09 12:57:14 +01:00
Jimmy Berry
e915dc2780
osclib/conf: intial SLE configuration for pkglistgen.
2018-01-08 23:36:53 -06:00
Jimmy Berry
c06050ab89
osclib/conf: correct Leap 15.0 default locales-from from - to . product.
2018-01-08 22:43:16 -06:00
Jimmy Berry
61c83500d3
osclib/conf: allow devel projects to utilize tools that require conf.
2018-01-08 21:22:04 -06:00
Jimmy Berry
865750258c
osclib/conf: order config defaults by priority.
...
Ensures that less specific patterns do not overtake more specific patterns
by allowing for priority based ordering.
2018-01-08 21:21:51 -06:00
Ludwig Nussel
7eaed349b3
Revert "osclib/conf: allow devel projects to utilize tools that require conf."
...
Breaks SLE
This reverts commit 562743e906ca9fa1bc3beada77f3342f3841482b.
2018-01-05 09:42:32 +01:00
b0cd970dbe
Merge pull request #1321 from jberry-suse/check_source-gnome-fix
...
osclib/conf: allow devel projects to utilize tools that require conf.
2018-01-04 12:26:42 +01:00
Jimmy Berry
fa991556e3
osclib/stagingapi: detect baselibs.conf in adi package and ensure archs enabled.
...
Otherwise, the baselibs are not built and repo-checker cannot verify the
setup.
2018-01-03 20:09:28 -06:00
Jimmy Berry
562743e906
osclib/conf: allow devel projects to utilize tools that require conf.
2018-01-03 19:42:29 -06:00
Jimmy Berry
d68eff6293
osclib/stagingapi: load_file_content(): provide optional revision param.
2018-01-03 18:32:35 -06:00
Jimmy Berry
59c838f238
osclib/stagingapi: load_file_content(): convert to makeurl() query builder.
2018-01-03 18:32:09 -06:00
Ludwig Nussel
98a659c3fa
Merge pull request #1316 from jberry-suse/repo-checker-info_extra_identical
...
repo_checker: only update comment if published or message changed.
2018-01-02 11:39:25 +01:00
Ludwig Nussel
fcbe87135e
Merge pull request #1314 from lnussel/d
...
check_duplicate_binaries: better yaml
2018-01-02 11:38:10 +01:00
Jimmy Berry
1bd5b99028
ReviewBot: comment_write(): provide info_extra_identical parameter.
...
Allows for excluding info_extra from comment_find() and compares messages
after marker has been removed.
2017-12-29 18:32:43 -06:00
Ludwig Nussel
ced6093593
check_duplicate_binaries: better yaml
2017-12-22 13:38:45 +01:00
Jimmy Berry
5e9392f4a0
pkglistgen: migrate bash scripts to python.
2017-12-21 01:05:55 -06:00
Jimmy Berry
facb6fecf6
osclib/stagingapi: provide is_staging_bootstrapped() from request_splitter.
2017-12-21 00:31:01 -06:00
50f04f68e3
freeze_command: use result call to get proper multibuild package information for aggregatepac
2017-12-19 20:22:12 +08:00
Ludwig Nussel
5cff039fd5
cleanup_rings: first attempt to fix for multibuild
2017-12-08 15:44:04 +01:00
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
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
31cf49a09e
repo_checker: store and compare build hash to skip more aggressively.
2017-10-31 18:51:38 -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
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
7f5fbd5b4b
osclib/cache: allow ttl of 0 to prevent caching.
2017-10-24 17:55:32 -05: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
d1c4801578
Another set of low-noise flake8 cleanups
2017-10-20 20:46:44 +02:00
d04bc4fce1
Import all dependencies
2017-10-20 01:01:17 +02:00
1cec490d54
White space / consistent usage of spaces / indentation of 4 fixes
2017-10-20 00:58:05 +02:00
Jimmy Berry
a890767ddb
Merge pull request #1200 from jberry-suse/splitter-special
...
osclib/request_splitter: provide splitter-special-packages config variable.
2017-10-18 20:53:46 -05:00
Jimmy Berry
e8c2799156
osclib/request_splitter: reduce default list of special packages.
2017-10-16 16:48:45 -05:00
Jimmy Berry
c9743b5df0
osclib/request_splitter: provide splitter-special-packages config variable.
2017-10-16 16:48:17 -05: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