6875 Commits

Author SHA1 Message Date
Stephan Kulow
8e2e22a2fc project-installcheck: Fix off by one error 2022-03-29 08:43:22 +02:00
Stephan Kulow
cc1b2e9d6d project-installcheck: Fix syntax error 2022-03-29 08:18:16 +02:00
Stephan Kulow
53f00a2b26
Merge pull request #2776 from coolo/fix_prjinstall
project-installcheck: Only add comments for the run in openSUSE:Factory
2022-03-29 08:16:27 +02:00
Stephan Kulow
31e653f63f project-installcheck: Only add comments for the run in openSUSE:Factory 2022-03-29 08:12:53 +02:00
Stephan Kulow
5a25094e1f
Merge pull request #2774 from coolo/fail_reminder
Repo checker escalation
2022-03-29 06:56:10 +02:00
Stephan Kulow
c6d6df6b9c
Merge pull request #2775 from coolo/fix_prjinstall
project-installcheck: Remove problems for gone packages
2022-03-28 20:01:57 +02:00
Stephan Kulow
00451e3762 project-installcheck: Comment into openSUSE:Factory packages 2022-03-28 19:37:17 +02:00
Stephan Kulow
0299ad062d project-installcheck: Remove problems for gone packages 2022-03-28 14:59:14 +02:00
Stephan Kulow
fb6f4798a7 Extend build-fail-reminder to notify about uninstallable packages 2022-03-28 12:02:38 +02:00
Stephan Kulow
205e07a9d4
Merge pull request #2773 from coolo/fix_dual_patch
Do not decline requests with download_files errors
2022-03-25 12:53:21 +01:00
Stephan Kulow
e4cb06a692 Do not decline requests with download_files errors
The URLs might suffer from flaky networks, so just block the request
from accepted for now (and extend the review comment to make it
discoverable why factory-auto didn't approve)

Fixes #2666
2022-03-25 12:11:35 +01:00
Stephan Kulow
45c2fb1efa
Merge pull request #2772 from coolo/fix_dual_patch
check_source: Allow a .changes line to mention 2 patches
2022-03-25 11:48:12 +01:00
Stephan Kulow
55c4081ec0 check_source: Allow a .changes line to mention 2 patches 2022-03-25 11:26:53 +01:00
Stephan Kulow
939beac7fe
Merge pull request #2771 from coolo/fix_minversion
Stay with minversion 3.6 (and require module we already use elsewhere)
2022-03-25 10:47:21 +01:00
Stephan Kulow
1f0c9fd151
Merge pull request #2769 from coolo/split_source_checker
Move remains of check_source.pl into python
2022-03-25 09:51:11 +01: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
ae658fefe2 Move download URL check to check_source.py
And with that, check_source.pl is gone
2022-03-25 09:19:24 +01:00
Stephan Kulow
ed87520710 Ignore patches that are listed as sources
The patch live cycle does not apply to them
2022-03-25 07:39:17 +01:00
Stephan Kulow
c8531891a1 Move the 'patch in changes' check from check_source.pl to .py 2022-03-24 21:20:07 +01:00
Stephan Kulow
e25e4b7cee
Merge pull request #2767 from coolo/split_source_checker
More source checker refactoring
2022-03-24 18:35:19 +01:00
Stephan Kulow
6931c44099 Run source_validator scripts from check_source.py directly 2022-03-24 17:42:52 +01:00
Stephan Kulow
88749aa5b4 Move license check from check_source.pl to .py 2022-03-24 17:42:52 +01:00
Stephan Kulow
b558e2617c Move changes check from check_source.pl to .py 2022-03-24 17:42:52 +01:00
Stephan Kulow
d1ddbc5831 Move spec file checks from check_source.pl to .py 2022-03-24 17:42:52 +01:00
Stephan Kulow
7083c3346b Unskip test for remote services - miniobs got updated 2022-03-24 17:42:52 +01:00
Stephan Kulow
9dc35be954
Merge pull request #2768 from coolo/fix_staging_accept
Fix staging accept approving package list changes
2022-03-24 16:55:41 +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
20d1bcbd1b
Merge pull request #2766 from coolo/split_source_checker
Refactoring and tests in check_source
2022-03-24 10:47:53 +01:00
Stephan Kulow
e7c7a4097b Add test for remote services in factory-auto
Can't test it atm, need to have miniobs updated first
2022-03-24 10:31:34 +01:00
Stephan Kulow
0457bad967 dist: Enable the ability to run services in miniobs
I went for recompress and format_spec_file - all other services will
result in broken packages
2022-03-24 10:13:46 +01:00
Stephan Kulow
f77f726419 Add test for setBadness in check_source
As this is a security feature, we better make sure it's not breaking
2022-03-24 09:10:01 +01:00
Stephan Kulow
296b78f9ec Move check for generated files from check_source.pl to .py 2022-03-24 08:48:06 +01:00
Stephan Kulow
23af9a0b72 Move rpmlintrc checking from check_source.pl to .py 2022-03-24 08:39:20 +01:00
Stephan Kulow
3a497700f0 Remove diff preparations from check_source.pl
It's dead since #1073 but weren't removed with the actual diffing
2022-03-24 08:32:08 +01:00
Stephan Kulow
1e2565ce50 Move service check from check_source.pl to .py 2022-03-24 08:25:32 +01:00
Stephan Kulow
f414161a1e Remove unused repo_checker config entries 2022-03-24 08:05:34 +01:00
Stephan Kulow
bd3365863f
Merge pull request #2765 from coolo/remove_security_feature
Remove rpmlint.log parsing feature from factory-auto
2022-03-23 16:41:56 +01:00
Stephan Kulow
2c9f124d01
Merge pull request #2762 from DimStar77/pcheck
Add osc-pcheck: support devel prj maintainers
2022-03-23 16:41:32 +01:00
Stephan Kulow
76308e96aa Remove rpmlint check from check_source
Reverts #2153 and
Fixes #2192
2022-03-23 16:12:09 +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
ad923e6f6e
Merge pull request #2761 from coolo/pkglist_parser
Change 000package-groups on staging accept
2022-03-23 11:33:59 +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
b91b18c534
Add osc-pcheck: support devel prj maintainers 2022-03-23 09:46:36 +01:00
Stephan Kulow
e78b535271
Merge pull request #2763 from coolo/exit_installcheck
staging-installcheck: Exit 1 for the letter stagings
2022-03-22 15:28:11 +01:00
Stephan Kulow
2d9211743b staging-installcheck: Exit 1 for the letter stagings
e52d4180361d8aab02eb8a2c0bae7d985f11d8d8 removed the exit 1 with adi
checker in mind (where one failed adi is not reason to be red on
dashboard). But for letter stagings we want to stop the pipeline
if installcheck failed (and not calculcate package lists or enable
images repo)
2022-03-22 15:05:35 +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
Stephan Kulow
4833385205
Merge pull request #2760 from DimStar77/cycle-help
osc-cycle: add option list to help output
2022-03-21 17:38:05 +01:00
1a26c02020
osc-cycle: add option list to help output 2022-03-21 14:55:27 +01:00
Stephan Kulow
0b6739ce5c
Merge pull request #2757 from coolo/disable_repo
Disable images repo on accepting stagings
2022-03-21 13:27:51 +01:00