1490 Commits

Author SHA1 Message Date
Imobach González Sosa
632cbf92bc
Updates from code review 2021-07-13 16:30:53 +01:00
Ancor Gonzalez Sosa
1e868aa7ee
Check for maintainers in the source project
* It introduces a new configuration parameter 'required-source-maintainer'.
* If defined, it is expected to be a maintainer of the devel project.
* If that's not the case, the request is declined and an add_role
  request is created.

Co-authored-by: Ancor Gonzalez Sosa <ancor@suse.de>
Co-authored-by: Knut Alejandro Anderssen González <kanderssen@suse.com>
2021-07-13 11:41:13 +01:00
Ancor Gonzalez Sosa
4b1b262628
Small code reorganization in core.py 2021-07-08 14:38:05 +01:00
Fabian Vogt
c01337c486 osclib/conf.py: Don't use same config for openSUSE:Leap:15.3:ARM and :Images
Otherwise they both try to write into the same pseudometa.
2021-07-07 16:23:18 +02:00
Stephan Kulow
b376746fd8
Merge pull request #2530 from nilxam/no_date_product_version_leap
accept_command: use the value of attribute to set ProductVersion if always_set_productversion_to option presents
2021-06-22 13:07:11 +02:00
8bbf34352c accept_command: use the value of attribute to set ProductVersion if always_set_productversion_to option presents 2021-06-22 15:08:45 +08:00
d8cf2350b1 Fix Leap:15.3:ARM which was broken when Leap:15.3:ARM:Images has been introduced 2021-06-16 10:01:11 +02:00
Dirk Mueller
0dda4a83d0 Support Leap:15.3:ARM:Images as well
We need this to run TTM against :images and properly determine the
pseudometa package.
2021-06-07 15:16:29 +02:00
Dirk Mueller
397fcb9f85 Enable pkglistgen for openSUSE:Factory:ARM rings 2021-05-31 16:18:43 +02:00
32e8cf46ff
Update email address for Factory mailing list 2021-04-26 13:44:13 +02:00
Richard Brown
b0817c1741 Revert pkglistgen: ignore bootstrap_copy repo 2021-04-08 12:29:02 +02:00
Ludwig Nussel
1cf026aef5 pkglistgen: ignore bootstrap_copy repo
Never use the bootstrap_copy repo for package solving. Staging content
might be very different so don't confuse the solver.
2021-03-29 11:44:19 +02:00
Fabian Vogt
cd32d69bb8 Build containerfile and images repos against each other 2021-03-10 15:22:33 +01:00
Fabian Vogt
1ae33041ba Add a containerfile repo to adi stagings
It builds against the adi's images repo (if available) and standard as well.
2021-03-10 15:19:05 +01:00
a7bb286bd4
adi: stage Non-Ring delete requests in adi projects
This is now acceptable as the installcheck bot verifies that we
cannot remove binaries we still care for.
2021-02-23 14:59:28 +01:00
Stephan Kulow
734af63a1b Accept: Don't crash on actions that aren't submit/delete
If a change_devel request is grouped into a staging, it shouldn't crash
on it - the API will accept it, and we have no specific action for this
type

Fixes #2381
2021-01-19 16:29:06 +01:00
Fabian Vogt
63c7292ee8 Also add required checks to adi stagings after adding architectures
Otherwise the newly added archs don't have any required checks assigned.
2020-12-16 08:48:23 +01:00
4f6bf49a8b conf: general config for openSUSE Jump 2020-08-11 14:36:17 +08:00
Stephan Kulow
b11d1de918
Merge pull request #2448 from DimStar77/review
factory-auto: add opensuse-review-team on submits to NonFree
2020-07-16 14:46:03 +02:00
b826963d2f
Merge pull request #2461 from JanZerebecki/fix-cut-off-name
fix cutting off part of a stagings name
2020-07-14 16:59:23 +08:00
Jan Zerebecki
72d2446bf9
fix cutting off part of a stagings name
When self.cstaging is the empty string the first char is cut off. Fix
this by testing for that case.
2020-07-06 19:49:48 +02:00
16ae5de148 Update version attribute also in o:F:RISCV 2020-07-06 12:11:15 +02:00
8a8f0597cd
factory-auto: add opensuse-review-team on submits to NonFree
Packages submitted to openSUSE:*:NonFree did not end up on the queue
of the opensuse-review-team
2020-06-09 22:23:55 +02:00
Fabian Vogt
c5f65e117c Fix osc.core.repository_path_expand
The algorithm was wrong, it didn't add non-recursively entered paths to the
list. The correct algorithm even allows for a simpler implementation.
2020-06-05 14:53:36 +02:00
1bfbf08fe7 stagingapi: do not add multibuild flavor package to the ring package list 2020-04-29 22:33:48 +08:00
6c087e8a86 stagingapi: allow multibuild package spreads across ring 2020-04-29 22:32:15 +08:00
Stephan Kulow
f28b520a92 Wipe all multibuild flavors for delete requests
Fixes #1899
2020-03-25 16:07:19 +01:00
Stephan Kulow
0cef959328 Work around OBS issue 8994
Instead of declining the by_project review, unselect the request and
decline the group review. This way we avoid the OBS problem
2020-03-18 22:40:47 +01:00
Stephan Kulow
1b338c6507
Merge pull request #2412 from nilxam/py3_cleanup_rings
cleanup_rings: fix python3 bytes/string type error
2020-03-05 12:20:31 +01:00
Stephan Kulow
3a8b42b001
Merge pull request #2414 from coolo/make_rabbit_repoid_stable
Make rabbit repoid stable
2020-03-05 12:20:08 +01:00
Stephan Kulow
6e84bae03a Make rabbit-repoid more stable
Instead of fetching all OBS repos in one loop and running into a timeout,
slice this into 25 repos every 5 seconds until it's done
2020-03-04 12:58:52 +01:00
2f980076cc cleanup_rings: fix python3 bytes/string type error 2020-03-03 15:55:40 +08:00
28d3767e81
Replace declined requests
A common workflow is:
* pkg is being marked for deletion by repo-checker [botdel]
* User comes to the rescue and fixes the package, Submits the fix
* Commonly, the delreq is being declined (by factory-maintainer)
* factory-auto declines SR, as pkg now has a delreq and subreq pending
* factory-auto does not consider the 'declined' request as replacable
  and complains that it should be revoked (or superseded). Since the
  del req was created by repo-checker, 'nobody' has the credentials to
  revoke the request. The user, not having a role in the old SR, has
  no permission to supersede

So let's just accept a delete request in statet 'declined' as something
  that can be replaced by a submit request for the same package.
2020-02-28 12:52:01 +01:00
7a06008735
Merge pull request #2403 from Vogtinator/dodmirror
Support DoD repos in project-installcheck
2020-02-24 08:48:25 +01:00
Fabian Vogt
5458650f71 Fix typos 2020-02-19 13:57:16 +01:00
7c86e7f219 stagingapi: replace staging project URL to staging workflow on adi project 2020-02-19 20:08:11 +08:00
Fabian Vogt
4d05766e9a Some refactoring 2020-02-12 09:48:45 +01:00
Fabian Vogt
cb36beedcc Add support for DoD repos to installcheck 2020-02-11 14:43:21 +01:00
fc77bd123d
Staging accept: No longer set the version in .product files on accept
In the past, we had a dashboard reading the version of the current source from the .product file.
Not immediately updating this version after a checkin would have been confusing as the dashboard would
have shown incorrect/outdated information.

the new dashboard (https://factory-dashboard.opensuse.org) reads the source version directly from the
attribute, so this mis-match is eliminated.

The .product files will be updated by pkglistgen in due time.
2020-01-31 14:49:33 +01:00
7effeb49e5 stagingapi: StagingAPI doen't initial api itself 2019-12-10 18:20:20 +08:00
Stephan Kulow
1a22a59cb0
Merge pull request #2369 from coolo/fix_2368
Do not return after adi project is accepted
2019-12-10 10:55:42 +01:00
Stephan Kulow
271fa912ed Do not return after adi project is accepted
Fixes #2368
2019-12-10 09:55:10 +01:00
ec88760187 Fix Flake E241
One more step towards white space sanity. Next group is E20x.
2019-12-10 08:46:02 +01:00
52b46a8f47 Fix installcheck for arm architectures
armv6l/armv7l are the exception of the rule where the rpm architecture
specifying an abi marker that is not visible in the kernel uname
architecture (because the kernel can do either). The build service
decided to use the kernel architecture rather than the rpm architecture,
so we need to map armv6l (kernel arch) to armv6hl (hard float, rpm arch)
2019-12-10 08:36:19 +01:00
Stephan Kulow
a354d6c882 Always force accept into the API after checking for acceptable ourselves
This removes the 2nd line of defense, but there is no API to accept multiple
stagings at once to avoid the underlying problem.

Fixes #2364
2019-12-09 10:08:47 +01:00
Stephan Kulow
a7a7921c94 Have staging accept without argument take all green 2019-12-06 14:32:25 +01:00
Stephan Kulow
345321f98d Don't take multibuild packages as subpackage of itself 2019-12-06 11:43:59 +01:00
Stephan Kulow
00bacac61e
Merge pull request #2361 from coolo/remove_adi
Delete adi projects whenever we'd build disable them
2019-12-06 10:45:01 +01:00
Stephan Kulow
b60333075a Delete adi projects whenever we'd build disable them 2019-12-06 07:35:38 +01:00
Ludwig Nussel
0eb12a53c4 Improve _multibuild on accept 2019-12-05 16:52:05 +01:00