1474 Commits

Author SHA1 Message Date
05711eeccd
Convert namedtuples into a typed NamedTuples 2023-06-29 11:27:24 +02:00
e842fd26b1
Add some type hints 2023-06-29 11:27:23 +02:00
Fabian Vogt
1d1a84e4e3 cleanup_rings.py: Add snobol4 to whitelist
Work around OBS not listing file deps in fileinfo_ext.
2023-04-11 10:50:58 +02:00
Fabian Vogt
641f65cb1d osclib: Skip debuginfo, debugsource and src rpms in fileinfo_ext_all
Makes it somewhat faster.
2023-03-28 12:39:24 +02:00
Fabian Vogt
e9e881f4f1 Remove try/catch around code which must not fail
If a failure is ignored here we'd ignore important dependencies.
2023-03-28 12:39:24 +02:00
Fabian Vogt
8af5fcf9f2 Rewrite core algorithm of cleanup_rings.py
Previously it went through each package's provides->required_by chain.
This does not deal with cycles correctly and there was only a hack to deal
with single-package cycles.

Instead, recursively walk through all required packages, starting from the
build enabled images and take note of all needed source packages.
This also handles _multibuild flavors as separate packages.
2023-03-28 12:39:24 +02:00
Fabian Vogt
8a3389e4ac cleanup_rings.py: Fix links handling
A dict mapping linked package to linking package won't work, there are multiple
linking packages which previously overwrote each other. Turn it around.
2023-03-24 10:25:57 +01:00
Fabian Vogt
74c6f46a99 cleanup_rings.py: Expand whitelist
No false positives anymore.
2023-03-22 17:06:48 +01:00
Fabian Vogt
47cc8919c0 cleanup_rings.py: Look at all enabled images
Don't just hardcode the openSUSE Test DVD.
2023-03-22 17:06:48 +01:00
Fabian Vogt
2c0e252832
Merge pull request #2923 from dirkmueller/deprecation_warning_osc1x
Add explicit deprecation warning
2023-01-25 19:20:26 +01:00
61fdf0f790
Merge pull request #2914 from DimStar77/tweak
accept_command: cleanup redundant ports_prjs assignment
2023-01-25 18:46:11 +01:00
1a368a38e7
Add explicit deprecation warning 2023-01-25 18:42:54 +01:00
8f97c9f36a
Restore old xpathsearch for fullhistory searches 2023-01-25 16:59:34 +01:00
5633240621 accept_command: cleanup redundant ports_prjs assignment 2023-01-18 13:02:53 +01:00
7d40d8668e
staging_accept: update Factory version in LegacyX86 port on accept 2022-11-30 14:38:25 +01:00
Enno Gotthold
20123a357a
osclib: Correct syntax error in typing 2022-10-17 14:32:19 +02:00
Enno Gotthold
f62c1332ee
osclib: Submit summary-staging.txt to the devel project 2022-10-17 14:32:19 +02:00
Enno Gotthold
04a6860c6d
osclib: Add typehints 2022-10-13 15:12:54 +02:00
Stephan Kulow
5e2a171600
Merge pull request #2877 from SchoolGuy/add_typing_hints
Add typing hints
2022-10-13 15:03:54 +02:00
Enno Gotthold
b9c84c5063
pkglistgen: Convert sections to class 2022-10-13 14:46:33 +02:00
Enno Gotthold
fac26fc6f4
osclib: Add type annotations 2022-10-13 14:46:33 +02:00
Stephan Kulow
a99f61d658 Fix the syncing of rebuild failures for multibuild flavors
Otherwise we don't notice test suites failing that were split out
2022-10-12 09:15:04 +02:00
b40d8c0053 Fix E275: missing whitespace around keywords 2022-08-18 11:05:55 +02:00
Stephan Kulow
9f802cc1cd Fix cache handling with osc from git master
osc master no longer wraps urlopen, so use the underlying function
2022-08-08 17:32:18 +02:00
e6de6a60d4
freeze: always disable images repository after freeze
After freeze, /standard needs to rebuild, which then triggers
the pipelines to perform installcheck, recalculate the media and
enable build of /images.

Fixes issue#2817
2022-06-20 16:55:53 +02:00
Stephan Kulow
de6a64c464 accept: Catch requests without description
Fixes #2799
2022-04-08 08:06:17 +02:00
Stephan Kulow
66bd39eab5 Accept_command: create set_bugowner requests 2022-04-05 19:00:05 +02:00
Stephan Kulow
27c4ae0a06 Don't play with the publish flag on freeze, images only switches build flag
Fix #2789 differently
2022-04-04 16:56:41 +02:00
Stephan Kulow
044f19b7dc Keep images repository disabled on freeze command
Fixes #2789
2022-04-01 10:45:48 +02:00
Stephan Kulow
6773c20695 Fix adi projects having no archs 2022-03-30 10:48:08 +02:00
Stephan Kulow
a0418aa4a0 Use all staging archs in adi projects
This replaces #1304 with a more brute force approach to fix not only
32bit libs but all failures we see on i586. We waste so much energy
retrying failed builds, it's really not worth it not trying i586 on
adi.
2022-03-29 13:55:58 +02:00
Stephan Kulow
fb6f4798a7 Extend build-fail-reminder to notify about uninstallable packages 2022-03-28 12:02:38 +02:00
Stephan Kulow
6f1314730c Stay with minversion 3.6 (and require module we already use elsewhere)
Fixes #2770
2022-03-25 09:43:56 +01:00
Stephan Kulow
ca27641a46 Fix staging accept approving package list changes
The order is important, look at the comments *before* deleting them
2022-03-24 16:33:15 +01:00
Stephan Kulow
f414161a1e Remove unused repo_checker config entries 2022-03-24 08:05:34 +01:00
Stephan Kulow
d01f79dc97 Small fixes for staging-installcheck
While I tried to enable rpmlint log parsing I refactored the config
handling. No harm done to leave that
2022-03-23 16:12:05 +01:00
Stephan Kulow
ce6112be09 Add some documentation for pkglistgen staging workflow
While writing it, I noticed that 'approve' also needs to change the exit
value of the pkglistgen pipeline step - fixed
2022-03-23 09:55:42 +01:00
Stephan Kulow
da3b74dba1 accept: Create pkglistgen .changes entry and commit 2022-03-22 13:42:49 +01:00
Stephan Kulow
92fad0708e Prepare applying pkglistgen diffs on staging accept
We will check if there are approved pkglistgen comments and if so, apply
them to the target. For this we need to parse the generated markdown, so
refactor both in a common class.

There diff is applied, but not yet commited in this commit
2022-03-22 09:28:02 +01:00
dbfe014f0e Staging accept: build-disable the images repository
With the current pipelines, we enable build of the images repository
once everything in /standard is build-succeeded and repo-checker passed.

Let's go the last mile and disable images when we check in the staging.

This should save some OBS build power (not building ISO images before the
stagings are actually ready) and also some openQA (not testing ISO images
before stagings settle)

I can foresee that sometimes an RM would still want to have preliminary
testing done - in which case the images repo can be manually build enabled
(or the pipeline be triggered to go beyond repo-checker, as it likely also
needs a recalculation of the content)
2022-03-19 08:33:54 +01:00
Stephan Kulow
fe847b43d5 Rename the pkglistgen config for ring1 as well
It's a little suprising fallout from 1870e989a4d7a1f846dc06895402dc1395b34c11,
but we don't have package lists in "rings" anymore, but only in one
ring.
2022-03-07 11:17:11 +01:00
Stephan Kulow
57322b2382
Merge pull request #2731 from coolo/fix_1611
pkglistgen: Deprecate scope 'all'
2022-03-04 12:10:54 +01:00
Stephan Kulow
313908293f pkglistgen: Deprecate scope 'all'
Within gocd we run each job on its own worker and don't rely on builtin
loop. So no need to care for a remote config
2022-03-04 11:27:12 +01:00
Stephan Kulow
a1f7a16e6f tests: Fix api_tests to mock attribute not mtime 2022-03-04 11:11:42 +01:00
Stephan Kulow
5c377d64d3 osclib: Add an helpful error on failed attribute save
It's stil throwing the exception but with some luck the user sees the
error and acts.
2022-03-04 09:48:06 +01:00
Stephan Kulow
66b778144f Make frozenage less reliant on changing _frozenlinks
The mtime of a file in OBS is the time this content was created for the
first time. As such if the target project isn't moving for a week,
staging select will keep asking you to freeze - even if you just froze.

So instead of relying on OBS to tell the true mtime, set an attribute
in the staging project and read from it. This also gives a way to check
in the webui for the last freeze time

Fixes #2462
2022-03-03 18:11:50 +01:00
Stephan Kulow
39bbc90c22
Merge pull request #2721 from coolo/origin_updater
More origin manager cleanup
2022-03-03 08:12:19 +01:00
Stephan Kulow
bc5a437bb7 freeze: Copy weakremovers.inc from target project to avoid bitrot
Fixes #1924
2022-02-25 14:10:59 +01:00
Stephan Kulow
95db8a0091 More origin manager cleanup
As we don't do automatic origin updates in no project, remove the
update monitors. Those have been paused on botmaster for half a year
and just no project relies on them any longer
2022-02-25 10:10:09 +01:00
Stephan Kulow
d6fb5d680c Remove sentry integration
It was introduced by #2159 because the various machines were hard to
monitor. Since we moved to botmaster there is no longer a problem with
that and if it ever served us is hard to say as the sentry project's
password is lost for years. So simplify the exception handling by just
throwing it
2022-02-21 14:41:33 +01:00