Stephan Kulow
bedca4c08d
Merge pull request #1120 from jberry-suse/request_splitter-devel-fallback
...
osclib/request_splitter: for SLE, fallback to openSUSE:Factory devel projects.
2017-09-02 08:25:12 +02:00
Stephan Kulow
ad0633d60a
Do not use direct flag for images
...
Products are too touchy - I had now 3 cases where the product would not
rebuild if a meta package changed
2017-09-01 13:53:44 +02:00
Jimmy Berry
0f869ab886
osclib/request_finder: restrict to submit and delete request types.
...
This avoid set_bugowner and change_devel requests from causing a select
command to die due to more than one request.
2017-08-31 16:35:30 -05:00
Jimmy Berry
77e70feef7
osclib/list: rework change_devel_requests to include set_bugowner.
...
Since set_bugowner requests are essentially equivalent to Factory
change_devel requests they should be presented in the same manor.
2017-08-31 16:35:30 -05:00
Jimmy Berry
4234706f30
osclib/list: only present submit and delete requests in main list.
2017-08-31 16:35:30 -05:00
Jimmy Berry
34dc6e73e6
osclib/list: strip openSUSE.org: prefix from source projects to reduce verbosity.
2017-08-31 16:22:02 -05:00
Jimmy Berry
4deab19da8
osclib/list: remove SUSE:SLE from hide_source now that devel groupings are used.
2017-08-31 16:21:56 -05:00
Jimmy Berry
de586a664f
osclib/request_splitter: for SLE, fallback to openSUSE:Factory devel projects.
2017-08-31 15:43:18 -05:00
Jimmy Berry
110ccf0ceb
osclib/stagingapi: lazy-load nocleanup-packages to allow for placement in remote config.
2017-08-31 11:41:58 -05:00
68da32557b
Merge pull request #1109 from jberry-suse/adi-use-pathru-project
...
osclib/stagingapi: create_adi_project(): use :Staging passthru project.
2017-08-30 18:18:46 +02:00
Jimmy Berry
a0613bdc74
osclib/stagingapi: create_adi_project(): add :Staging passthru project.
...
This allows for project configuration to be injected.
2017-08-30 08:35:06 -05:00
Stephan Kulow
7357c5f7a1
Merge pull request #1107 from coolo/build_sle_images
...
SUSE: wants to build test dvds on 'local' workers
2017-08-29 08:55:52 +02:00
Stephan Kulow
b7c9d1a79d
SUSE: wants to build test dvds on 'local' workers
2017-08-29 08:45:00 +02:00
Jimmy Berry
a01c210fbe
osclib/conf: do not disable remote config for SLE-15.
2017-08-28 16:05:16 -05:00
48885df63e
stagingapi: Fix typo in _frozenlinks
2017-08-25 18:51:18 +08: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
ffb81c445e
core: add memoize(session=True) to package_binary_list().
2017-08-24 21:47:09 -05:00
Jimmy Berry
cfc21469fd
stagingapi: provide staging_walk() to cleanly handle :DVD subproject.
2017-08-24 21:47:05 -05:00
Jimmy Berry
acced3a66c
osclib/conf: set staging-dvd-archs to empty for SUSE:* projects.
...
Currently none of the SUSE:* projects have :DVD subprojects and there is
no way to know short of checking if the project exists. This allows for
len(staging-dvd-archs) to be used to know.
2017-08-24 21:45:11 -05:00
Jimmy Berry
fc1b0dc124
Merge pull request #1090 from jberry-suse/cycle-drop-ignore
...
cycle: remove ugly ignore code from _get_builddepinfo_graph().
2017-08-24 20:51:01 -05:00
Jimmy Berry
1862f76891
Merge pull request #1089 from jberry-suse/commentapi-truncate
...
commentapi: provide truncate() and apply during add_comment() (and use in repo_checker).
2017-08-24 20:50:16 -05:00
Ludwig Nussel
7bbd005248
Merge pull request #1097 from lnussel/master
...
Use configured staging group for adi
2017-08-24 13:14:37 +02:00
Ludwig Nussel
adeb4c4dfe
Merge pull request #1080 from nilxam/freeze_adi
...
Freeze Cmd: Implement freezing adi staging project
2017-08-24 12:54:43 +02:00
Ludwig Nussel
8cbb51891d
Use configured staging group for adi
2017-08-24 12:01:13 +02: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
bf2832aaf2
commentapi: provide truncate() and apply during add_comment().
2017-08-23 15:59:22 -05:00
Jimmy Berry
7502d6ab74
Merge pull request #1082 from jberry-suse/stagingapi-update_status_comments-no-blank
...
stagingapi: avoid making an empty package-diff comment.
2017-08-23 15:05:47 -05:00
773ce3904b
Freeze Cmd: Implement freezing adi staging project
...
Since we have introduced the source project expand function in adi staging
project, a new function to freeze a adi staging project is needed as well.
2017-08-23 17:09:42 +08:00
Jimmy Berry
2873a27ef1
Merge pull request #1075 from jberry-suse/owner_fallback-startswith
...
core.owner_fallback(): check if startswith() instead of equal.
2017-08-22 17:02:20 -05:00
Jimmy Berry
65d0de2eca
stagingapi: avoid making an empty package-diff comment.
2017-08-22 15:33:03 -05:00
29939067bf
stagingapi: Ensure the links is valid before processing
...
Make sure the links of package in Rings must are valid before processing,
otherwise someone had package linked to the Ring package in somewhere else than
Rings will breaks select/delete/rm_to_prj, ie. _link will be created. Therefore,
only return the candidate if it has proper linked from another ring and have
different package name.
2017-08-22 04:52:30 +08:00
Jimmy Berry
702f6a6243
core.owner_fallback(): check if startswith() instead of equal.
...
This allows for cases where the requested project was something like
openSUSE:Leap:42.3:Update and the returned project was openSUSE:Leap:42.3.
With this change the fallback will be triggered and the global maintainer
will then be used.
2017-08-18 16:03:04 -05:00
14f21b0f0c
suppkg_rebuild: Clean up supportpkg list also
...
Have to clean up supportpkg list also during accepting staging project,
otherwise suppkg_rebuild can not handle it correct in case next time staged
package in the same staging project had the same supportpkg list.
2017-08-18 18:54:32 +08:00
Ludwig Nussel
a64d27c5a0
Merge pull request #993 from lnussel/dups
...
Speed up duplicate binaries check
2017-08-07 14:18:09 +02:00
Stephan Kulow
2c08e40745
Merge pull request #1045 from coolo/sle15
...
The first steps toward sle15 :)
2017-08-07 11:40:53 +02:00
Stephan Kulow
abe7ea59b8
The first steps toward sle15 :)
2017-08-07 11:40:03 +02:00
Jimmy Berry
0f4abf058b
osclib/core: provide package_binary_list() to efficiently obtain binary to package map.
2017-08-04 13:17:48 -05:00
Jimmy Berry
5c364b7967
osclib/core: add package to BinaryParsed tuple.
2017-08-04 13:17:44 -05:00
Jimmy Berry
5e120a6ac4
osclib/core: provide BINARY_REGEX named group pattern and utilize.
2017-08-04 13:17:18 -05:00
Ludwig Nussel
2bbbd6f465
Speed up duplicate binaries check
...
We can leverage an api call that returns all binaries.
2017-08-04 14:45:46 +02:00
Jimmy Berry
e8c6f2844e
osclib/cycle: remove extra leading slash.
2017-08-02 10:35:56 -05:00
Jimmy Berry
85dbc57f12
stagingapi: provide dashboard_content_{load,save,ensure}() and utilize.
2017-07-27 23:52:58 -05:00
Jimmy Berry
5b6ad33773
cache: unquote() all URLs before processing to ensure correctness.
...
It seems osc.core and similar generate both quoted and unquoted URLs that
are cached separately. Additionally, urlopen() handles quoted paths
differently from os.path.*() methods which can create issues for quoted
projects.
2017-07-18 23:51:22 -05:00
Jimmy Berry
af83befff3
Drop everything related to old osc-check_repo.py.
2017-07-12 15:31:30 -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
Jimmy Berry
03a8666fa4
core: adapt checkrepo.get_package_list_from_repository() as binary_list().
...
- utilize osc.core.get_binarylist() instead of building query manually
- return a namedtuple for increased readability
2017-07-12 15:31:30 -05:00
Jimmy Berry
c2e950eebd
core: provide request_staged() and request_when_staged().
...
Useful for determining if a request has an open staging project review
which makes it likely that it has been staged and avoids the need to
review each staging project.
2017-07-12 15:31:30 -05:00
Jimmy Berry
d4bea1f28d
core: owner_fallback(): rework to be consistent with other functions.
2017-07-12 15:31:30 -05:00
Jimmy Berry
cf1c6f5db3
core: provide depends_on().
2017-07-12 15:31:30 -05:00