6612 Commits

Author SHA1 Message Date
Stephan Kulow
93564783fe pkglistgen: Fix invalid import 2022-03-04 12:32:48 +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
ebe2c52823
Merge pull request #2729 from coolo/fix_2655
Make frozenage less reliant on changing _frozenlinks
2022-03-04 12:03:30 +01:00
Stephan Kulow
986ad21b86
Merge pull request #2730 from coolo/fix_2506
docs: Add note that the origin manager is unmaintained
2022-03-04 11:32:49 +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
2bcf304d26 docs: Add note that the origin manager is unmaintained
I decided not to reduce it's code because no one knows what the future
will bring exactly (and only then we should decide), but I'll close the
tickets mostly.
2022-03-04 10:45:54 +01:00
Stephan Kulow
00af16cc80 tests: Create OSRT:FreezeTime for all tests 2022-03-04 09:48:06 +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
003f010579
Merge pull request #2728 from coolo/fix_2655
Treat all group*.yml like groups.yml
2022-03-03 18:03:46 +01:00
Stephan Kulow
7a63f0c3bd Treat all group*.yml like groups.yml
Fixes #2655
2022-03-03 16:26:03 +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
c3ccfddaf0
Merge pull request #2726 from coolo/require_zstd
package: pkglistgen requires zstd
2022-03-03 08:12:06 +01:00
8ad4917770
Merge pull request #2727 from nilxam/respin_prior_to_update
skippkg-finder: use SLE update prior to GA for Respin
2022-03-03 01:14:52 +08:00
68873a50b4 skippkg-finder: use SLE update prior to GA for Respin
Since update project has different set up than GA project, it
should check content from update project prior to GA when run this
script for Leap Respin.
2022-03-03 00:29:48 +08:00
Stephan Kulow
e6adbc2aa1 package: pkglistgen requires zstd 2022-03-02 14:47:20 +01:00
Stephan Kulow
3654dc9144
Merge pull request #2724 from coolo/fix_opqa
Fix XML usage in openqa bot
2022-03-02 14:39:00 +01:00
Stephan Kulow
0abd54a8c1 Fix XML usage in openqa bot 2022-03-02 13:02:15 +01:00
Stephan Kulow
65cf38f740
Merge pull request #2722 from coolo/fix_1924
freeze: Copy weakremovers.inc from target project to avoid bitrot
2022-02-25 16:29:21 +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
970e958ea8
Merge pull request #2720 from coolo/fix_2693
pkglistgen: Also support zstd for weakremovers.inc
2022-02-25 11:19:10 +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
33da10611b pkglistgen: Also support zstd for weakremovers.inc 2022-02-25 09:43:34 +01:00
Stephan Kulow
e679863a88
Merge pull request #2719 from coolo/fix_2693
pkglistgen: Offer way to freeze EOL code stream
2022-02-24 15:09:15 +01:00
Stephan Kulow
7b329f1a57 pkglisten: Add option to remove refresh from target
- store new files in zstd compression

Fixes #2693
2022-02-24 11:44:17 +01:00
4d2a5a2ed3
Merge pull request #2718 from nilxam/empty_regex_list
skippkg_finder: fix unconditional matches if the first regex element is space
2022-02-23 01:44:22 +08:00
10cce44665 skippkg_finder: fix unconditional matches if the first regex element is space
In case regex list has not been defined any value, the first element
will be space only, this causes unconditional matched any binary name.
Exit the for loop if the first element is space only.
2022-02-23 00:40:38 +08:00
Stephan Kulow
31e0087399
Merge pull request #2717 from coolo/remove_operator
Remove the origin operator and its user scripts
2022-02-22 10:03:31 +01:00
Stephan Kulow
cc3734c88f Remove the origin operator and its user scripts
The service is down for 2 years and more and it was unused ever since.
The idea just never took off (also because it was pretty late in the
cycle and leap wasn't developed much longer the way it used to when
the design for this was created).

For the next SLE/Leap it's just very, very unclear how it will look
like and I'm 99% sure it's not going to go back to old Leap. So the
whole operator needs more work and maintenance than the current team
has, so keep it in the git history only.
2022-02-22 09:22:09 +01:00
Stephan Kulow
897039d3cf OBS Workflow: Fix project 2022-02-22 09:12:40 +01:00
Stephan Kulow
bb88862da8
Merge pull request #2715 from coolo/add_workflow
Use official OBS integration and retire osrt-puller
2022-02-22 09:01:43 +01:00
Stephan Kulow
a8b1fb4c69 Use official OBS integration and retire osrt-puller 2022-02-22 09:01:02 +01:00
Stephan Kulow
d8ef5897d5
Merge pull request #2713 from coolo/remove_sentry
Remove sentry integration
2022-02-22 08:41:46 +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
Stephan Kulow
3e14e55fde
Merge pull request #2712 from coolo/fix_project
Fix output of staging reviews
2022-02-21 12:28:02 +01:00
Stephan Kulow
d3eb40c589
Merge pull request #2711 from coolo/remove_f841
Unignore all flake error rules
2022-02-21 12:27:42 +01:00
Stephan Kulow
90d8cd6cf0 Fix output of staging reviews
The staging status doesn't provide the by_project and it's not
really important here, so simplify

Before:
adi:39 review: None/ekiga for ekiga[955924]

After:
adi:39 review: package:ekiga for ekiga[955924]
2022-02-20 12:57:39 +01:00
Stephan Kulow
aaab4af930 Target F401 - Unused imports 2022-02-18 18:29:27 +01:00
Stephan Kulow
f86579642b Target E501 - Line too long
https://www.flake8rules.com/rules/E501.html - but 79 characters is a
joke
2022-02-18 18:17:27 +01:00
Stephan Kulow
f38bd3a7ed Target E128 - Continuation line under-indented for visual indent
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
27c364b0c9 Target E251 - Unexpected spaces around keyword
https://www.flake8rules.com/rules/E251.html
2022-02-18 17:28:13 +01:00
Stephan Kulow
d8f5d0874e Remove E201 - Whitespace after '('
https://www.flake8rules.com/rules/E201.html
2022-02-18 17:23:19 +01:00
Stephan Kulow
54079e949f Target E202 - Whitespace before ')'
https://www.flake8rules.com/rules/E202.html
2022-02-18 17:18:29 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
4e9c8eabbe Target E305 - Have two empty lines of a class 2022-02-18 17:11:46 +01:00
Stephan Kulow
579145b52c Target F841 - Remove unused variables 2022-02-18 17:01:38 +01:00
Stephan Kulow
0561e06cb1 Target E261 - two spaces before inline comment 2022-02-18 16:39:16 +01:00
Stephan Kulow
a8623bb8d8 Handle E712 - don't compare with == to Booleans 2022-02-18 16:34:58 +01:00
Stephan Kulow
1383ae9725 Targetting E126 - Continuation line over-indented for hanging indent
https://www.flake8rules.com/rules/E126.html
2022-02-18 16:02:08 +01:00