Ludwig Nussel
239c6314c7
staging: add exceptions for new 000* product files
2017-10-10 10:46:54 +02:00
Jimmy Berry
642f0536a1
ReviewBot: comment_write(): pre-truncate for correct comparison.
...
Otherwise, long comments that end up being truncated are re-posted.
2017-10-05 17:40:26 -05:00
a871cd2d25
conf: given default value to main_repo
2017-10-02 20:49:41 +08:00
078949df7f
conf: given default value to delreq_review
2017-10-02 20:14:31 +08:00
a3061818c1
Merge pull request #1136 from nilxam/virtual_accept
...
Implements virtually accept the delete request
2017-10-02 17:42:17 +08:00
5611411a6f
virtually accept: virtually accept the delete request
...
Implementation virtually accept the delete request, the delete request will be
added another delreq-review review and also wipes the binary in the main
project, the backend will sync 'nothing' to ToTest and Snapshot after all. Once
all repository has no binary then remove the package in real.
2017-10-02 17:15:55 +08:00
9f34c26540
adi_command: do not checking adi staging status if there is no selected_requests
...
Wihtout selected_requests then that adi staging project is an empty project,
adi command should clean it up rather than go through the logic to check the
project status. Since we have introduced a kind of frozenlinks adi staging,
the project status might be build broken or so but it doesn't have any request
staged in that staging actually, those kind of projects must be deleted.
2017-09-26 17:06:25 +08:00
Jimmy Berry
4011159df4
Merge pull request #1145 from jberry-suse/adi-delete-project-force
...
osclib/adi: include force=True when invoking delete_project().
2017-09-20 21:42:18 -05:00
Jimmy Berry
8d6251c6f5
osclib/adi: include force=True when invoking delete_project().
...
If users build against an adi project OBS will refuse to delete, but in
that case breaking other projects is fine as the branches should only be
used to work on fixes seen in adi stagings.
See #1142 for an example, details, and discussion.
2017-09-20 08:05:17 -05:00
Jimmy Berry
1a969c433e
osclib/stagingapi: accept_status_comment(): avoid making comments for empty projects.
2017-09-19 15:09:04 -05:00
035c367b86
Merge pull request #1139 from DimStar77/no-ppc
...
Disable ppc64le for now in Tumbleweed stagings
2017-09-18 17:44:21 +08:00
fc679683ec
rm_from_prj: always use the origin project path to set_review()
...
The variable project might got changed through
map_ring_package_to_subject(), according to release process, we have to
given the origin project path to set_review() always.
2017-09-16 18:59:07 +08:00
f10defda8c
Disable ppc64le for now in Tumbleweed stagings
2017-09-15 22:50:48 +02:00
6b1fad5000
Merge pull request #1110 from nilxam/refactor_get_sub_packages
...
stagingapi: refactor get_sub_packages() to support adi package
2017-09-15 15:38:03 +08:00
Jimmy Berry
92a3a28ac9
Merge pull request #1121 from jberry-suse/set_bugowner
...
Handle set_bugowner requests to avoid mixing them where they do not belong
2017-09-13 21:17:44 -05:00
Stephan Kulow
daaab3a546
Remove local config for sle15 - it's remote
2017-09-11 07:15:48 +02:00
831c73a3bc
stagingapi: submit_to_prj() create sub-package for adi request
...
* Create sub-package in case an adi request is multiple specfile package
* Use the consistent workflow in rm_from_prj(). The main package must to
through map_ring_package_to_subject() like what it did in
submit_to_prj()
2017-09-08 16:25:06 +08:00
2c9aa4eb98
stagingapi: rm_from_prj() remove the main package in the last
2017-09-08 16:18:33 +08:00
afe0f9af18
stagingapi: refactor get_sub_packages() to support adi package
...
The new logic is introduced, the description is below:
* If adi package: return sub-package list according to the specfiles
of main package.
* If ring package: return sub-package list by showlinked call and the
sub-package must be in another ring.
* The others: return empty list, no reason to return anything or even
checking it in the devel project. Otherwise selecting a non-ring
package to a letter staging probably would created unneededsub-package.
2017-09-08 16:13:51 +08:00
36f1995f59
Merge pull request #897 from jberry-suse/supersede-build-remain
...
stagingapi: carry over build state during supersede.
2017-09-07 10:49:33 +08:00
Jimmy Berry
00dee0daa6
stagingapi: carry over build state during supersede.
...
Allows for packages being added to rings to remain enabled after being
superseded.
2017-09-06 07:44:36 -05:00
08f3453cee
freeze_command: update product version for openSUSE only
...
Make freeze SLE Staging's DVD subproject can work. Update product version is
necessary for openSUSE only.
2017-09-04 16:35:05 +08:00
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