2844 Commits

Author SHA1 Message Date
Jimmy Berry
c42f13bd0d repo_checker: trust OBS instead of expensive double checking. 2017-07-12 15:31:30 -05:00
Jimmy Berry
7a0e3f78a6 repo_checker: provide initial version based on ReviewBot (only deletes). 2017-07-12 15:31:30 -05:00
Jimmy Berry
cf1c6f5db3 core: provide depends_on(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
84fc6fdc61 core: maintainers_get() provide option to get project maintainers. 2017-07-12 15:31:30 -05:00
Jimmy Berry
060b50f072 ReviewBot: add comment_handler option and use in leaper. 2017-07-12 15:31:30 -05:00
Jimmy Berry
2c1a21704d ReviewBot: copy default review messages before each review. 2017-07-12 15:31:30 -05:00
Jimmy Berry
3b1c11f45c ReviewBot: provide only_one_action option and use in leaper and check_source. 2017-07-12 15:31:30 -05:00
Jimmy Berry
7bcf94a35f ReviewBot: provide request_default_return option and use in leaper. 2017-07-12 15:31:30 -05:00
Jimmy Berry
7c6f67979a core: extract maintainers_get(), owner_fallback() from MaintenanceChecker.
Allows the code to be properly shared between checkrepo and
check_maintenance_incidents as a todo suggests. Given that the majority of
similar cases for code sharing are extension of osc.core it seems to make
sense to place them in osclib.core.
2017-07-12 15:31:30 -05:00
Jimmy Berry
ad81ff98f9 checkrepo: wait for accepts for all archs before final review accept. 2017-07-12 15:31:30 -05:00
Jimmy Berry
e434aee1c6 osc-check_repo: rework primary calls to loop over archs. 2017-07-12 15:31:30 -05:00
Jimmy Berry
8feb347022 osc-check_repo: protect staging project checks with arch conditions. 2017-07-12 15:31:30 -05:00
Jimmy Berry
ab226e6007 osc-check_repo: extract is_buildsuccess() check before _check_repo_group().
_check_repo_group() will become arch specific and is_buildsuccess() already
checks all applicable archs and does not need to be run multiple times.
2017-07-12 15:31:30 -05:00
Jimmy Berry
a947a03ab6 osc-check_repo: mirror all archs. 2017-07-12 15:31:30 -05:00
Jimmy Berry
4c6f84d842 checkrepo: convert remaining messages to use target_archs(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
64b762956f checkrepo: _whatdependson() and _builddepinfo(): utilize target_archs(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
f0a559947c checkrepo: is_buildsuccess(): utilize target_archs(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
d4639ea0e2 checkrepo: _toignore(): compress into arch loop. 2017-07-12 15:31:30 -05:00
Jimmy Berry
844cf64b6d checkrepo: repositories_to_check(): utilize target_archs().
Drastically simplify the logic while keeping the core the same and
utilizing archs from project instead of hard-coded.
2017-07-12 15:31:30 -05:00
Jimmy Berry
35e03460bf checkrepo: utilize the devel project for requests from Factory.
Assuming requests are forwarded to Leap after being accepted into Factory
the devel project can be reviewed just as when the requests were submitted
to Factory.
2017-07-12 15:31:30 -05:00
Jimmy Berry
e29f7e060b checkrepo: provide target_archs() method to determine relevant archs.
The default behavior is to return the archs for which the target project
is built against, but can be used to check any project (like stagings).
2017-07-12 15:31:30 -05:00
Jimmy Berry
13dba97ed7 checkrepo: do not decline for disabled builds.
This behavior is inconsistent in that no builds is ignored, but builds that
are disabled results in a decline. In order to allow for the request to be
evaluated in staging it should not be declined so early.
2017-07-12 15:31:30 -05:00
Jimmy Berry
0572d7482c checkrepo: some spelling and grammar fixes. 2017-07-12 15:31:30 -05:00
Jimmy Berry
45a1404bee Merge pull request #999 from jberry-suse/travis-cleanup
.travis.yml: document reason for pycurl and urlgrabber being installed explicitly.
2017-07-11 21:52:24 -05:00
Jimmy Berry
0240dd1fb4 .travis.yml: document reason for pycurl and urlgrabber being installed explicitly. 2017-07-11 21:49:56 -05:00
Ludwig Nussel
b9c36d3f74 Merge pull request #994 from lnussel/adi
Ignore failures to delete adi's
2017-07-11 17:47:17 +02:00
ebacdf657e Merge pull request #997 from jberry-suse/comment-avoid-nobody
comments: avoid attempt to delete non-existent parent comments.
2017-07-11 17:21:27 +02:00
Jimmy Berry
fe400a209b comments: avoid attempt to delete non-existent parent comments. 2017-07-10 17:12:37 -05:00
5800bb9da7 Merge pull request #992 from DimStar77/visualize-cycles
New osc plugin 'cycle': help visualizing build cycles
2017-07-10 10:16:21 +02:00
2d8122f12b
New osc plugin 'cycle': help visualizing build cycles
This new plugin creates dot files, visualizing the relation between the
package speciied on the command line. A major use case is visualizing
build cycles that are reported by OBS, but often not very clear to debug.
2017-07-08 12:11:13 +02:00
Stephan Kulow
17098f7349 Merge pull request #991 from coolo/skip_incidents
Skip staging and kgraft incidents for aggregation
2017-07-08 09:23:34 +02:00
Stephan Kulow
bd2e6d41f2 Skip staging and kgraft incidents for aggregation 2017-07-08 09:19:48 +02:00
Stephan Kulow
1d0a291d09 Merge pull request #996 from mimi1vx/pep8-bot
openqa-maintenance: Reformat to be more pep8 comfortable
2017-07-08 08:50:06 +02:00
Ludwig Nussel
692bdc7b31 Ignore failures to delete adi's
If someone branched the ADI we are not able to delete it. Just ignore that.
2017-07-07 16:06:45 +02:00
b325a895f3
openqa-maintenance: Reformat to be more pep8 comfortable 2017-07-07 10:04:15 +02:00
Ludwig Nussel
f6d08182dd Merge pull request #988 from DimStar77/product_versions
AcceptCommand: update version of all products found in the project
2017-07-07 08:38:25 +02:00
bd4e71e2b0
AcceptCommand: update version of all products found in the project
in opeSUSE:Factory, for example, there is also openSUS-Kubic.product and the
versions are supposed to stay in sync.

We newly find all product definitions inside a project and update all of them,
with the same limiation as before: only if version was a 8 digit version it will
be updated to the current date stamp

Additionally, this is a preparation for the new product builder, as _product is no
longer hardcoded, but found.
2017-07-06 12:50:16 +02:00
Ludwig Nussel
290490e6a2 Merge pull request #986 from lnussel/leaper
Turn off automatic submission from Factory
2017-07-04 11:26:14 +02:00
Ondřej Súkup
f7ca30b848 Merge pull request #987 from mimi1vx/grr
openqa-maintenance: dont start KGRAFT jobs in Server-DVD-Incidents
2017-07-03 21:09:18 +02:00
84917ab50f
openqa-maintenance: dont start KGRAFT jobs in Server-DVD-Incidents
FLAVOR
2017-07-03 21:06:44 +02:00
Ludwig Nussel
1c7a37bc0e Turn off automatic submission from Factory 2017-07-03 17:23:00 +02:00
Stephan Kulow
a96557d116 Merge pull request #985 from mimi1vx/kgr_fixes
openqa-maintenance: Quick fixes for kgraft jobs
2017-07-03 16:54:48 +02:00
4eb39bd6d7
openqa-maintenance: Quick fixes for kgraft jobs 2017-07-03 16:52:50 +02:00
Ondřej Súkup
59f906e82f Merge pull request #977 from mimi1vx/kernel_new
Server-DVD-Incidents-Kernel
2017-07-03 16:11:43 +02:00
Ludwig Nussel
dee7847f47 Merge pull request #952 from jberry-suse/duplicate-binary
Detect duplicate binaries within a project
2017-07-03 14:06:28 +02:00
Ludwig Nussel
50a567cd5b Merge pull request #984 from nilxam/textmode_423_staging
Enable textmode test on Leap staging project
2017-07-03 14:05:37 +02:00
142dc4f68e Enable textmode test on Leap staging project 2017-07-03 20:02:01 +08:00
9ffeee058b Require mariadb explicitly for ppc64 2017-07-03 20:01:31 +08:00
64a0b02ba2 Merge pull request #968 from nilxam/poo_19830
Use frozenlinks for submission from the specific project
2017-07-03 14:43:18 +08:00
330bfd08b0
openqa-maintenance: Add handling Server-DVD-Incidents-Kernel for LP and
kernel incidents
2017-07-01 10:22:44 +02:00