3007 Commits

Author SHA1 Message Date
Jimmy Berry
ca13855d2e ReviewBot: comment_write(): pull dryrun protected bit out individually. 2017-08-23 15:17:44 -05:00
Jimmy Berry
757d31cf35 ReviewBot: comment_write(): place debug_key at the end for consistency. 2017-08-23 15:15:02 -05:00
Jimmy Berry
55aeefacb4 Merge pull request #1073 from jberry-suse/check_source-remove-diff
check_source: remove DIFFCOUNT algorithm and instead always add review_team.
2017-08-22 17:06:59 -05:00
Jimmy Berry
2873a27ef1 Merge pull request #1075 from jberry-suse/owner_fallback-startswith
core.owner_fallback(): check if startswith() instead of equal.
2017-08-22 17:02:20 -05:00
09b046f852 Merge pull request #1076 from jberry-suse/ReviewBot-get_devel_project-raise
ReviewBot: get_devel_project(): correct error handling to only allow 404.
2017-08-22 18:24:30 +08:00
9bd2789d08 Merge pull request #1077 from nilxam/links_only_valid
stagingapi: Ensure the links is valid before processing
2017-08-22 17:04:47 +08:00
940edfea4b Merge pull request #1078 from Vogtinator/staging-d
Adjust for staging :D
2017-08-22 17:00:55 +08:00
2ad8e87c9b Remove sw_management_kde pattern from test-2 DVD
Merged into kde_yast.
2017-08-22 10:07:35 +02:00
05f20c2fbd Add amarok to test-2 DVD
It's installed by the test runs so needs to be available.
2017-08-22 10:06:24 +02:00
29939067bf stagingapi: Ensure the links is valid before processing
Make sure the links of package in Rings must are valid before processing,
otherwise someone had package linked to the Ring package in somewhere else than
Rings will breaks select/delete/rm_to_prj, ie. _link will be created. Therefore,
only return the candidate if it has proper linked from another ring and have
different package name.
2017-08-22 04:52:30 +08:00
Jimmy Berry
164b04903c ReviewBot: add_review(): remove left-over print() line. 2017-08-18 17:35:05 -05:00
Jimmy Berry
d565f46123 ReviewBot: get_devel_project(): correct error handling to only allow 404.
The original intent was clearly to allow 404 (package does not exist for
new packages), but crash on anything else. Instead it consumes all
exceptions and does nothing different even with the e.code condition.
2017-08-18 17:34:32 -05:00
Jimmy Berry
702f6a6243 core.owner_fallback(): check if startswith() instead of equal.
This allows for cases where the requested project was something like
openSUSE:Leap:42.3:Update and the returned project was openSUSE:Leap:42.3.
With this change the fallback will be triggered and the global maintainer
will then be used.
2017-08-18 16:03:04 -05:00
Jimmy Berry
6afbc550ad check_source: rename perl and asciidoc to match name. 2017-08-18 15:18:04 -05:00
Jimmy Berry
0980989206 check_source: remove DIFFCOUNT algorithm and instead always add review_team. 2017-08-18 15:15:26 -05:00
Jimmy Berry
f230438237 Merge pull request #1072 from jberry-suse/dist-dockerfile-dup
dist/ci/Dockerfile: include `dup` before `in` to handle major base changes.
2017-08-18 15:06:08 -05:00
Jimmy Berry
4c8c478fca dist/ci/Dockerfile: include dup before in to handle major base changes. 2017-08-18 15:00:40 -05:00
Jimmy Berry
bf1662b7df Merge pull request #1051 from jberry-suse/ReviewBot-add_review-duplicate-check
ReviewBot: add_review(): raise exception on failure and avoid duplicate reviews
2017-08-18 14:42:45 -05:00
Jimmy Berry
54fcc901f4 Merge pull request #1057 from jberry-suse/fcc_submitter-drop-add_review
FccSubmitter: drop add_review() since never used and handled by other bots.
2017-08-18 12:29:40 -05:00
Jimmy Berry
60f8bf86a4 Merge pull request #1059 from jberry-suse/repo_checker-package-lookup-ignore
repo_checker: ignore non-existant binaries during lookup.
2017-08-18 12:28:20 -05:00
52cce8dd1d Merge pull request #1070 from nilxam/improve_suppkg_rebuild
suppkg_rebuild: Clean up supportpkg list also
2017-08-18 19:37:08 +08:00
14f21b0f0c suppkg_rebuild: Clean up supportpkg list also
Have to clean up supportpkg list also during accepting staging project,
otherwise suppkg_rebuild can not handle it correct in case next time staged
package in the same staging project had the same supportpkg list.
2017-08-18 18:54:32 +08:00
f0ab1b4aec Merge pull request #1066 from DimStar77/glibc.i586
Staging DVDs: add x86 pattern to the media
2017-08-17 21:31:28 +08:00
5b7cd4dfe2 Merge pull request #1065 from DimStar77/kubic
totest-manager: update Kubic name to openSUSE-Tumbleweed-Kubic
2017-08-17 21:23:13 +08:00
37b9247068
Staging DVDs: add x86 pattern to the media 2017-08-17 15:07:09 +02:00
660c3bf6bf
totest-manager: update Kubic name to openSUSE-Tumbleweed-Kubic 2017-08-17 14:56:03 +02:00
91e0718e75 Merge pull request #1064 from nilxam/switch_to_php7
switch to php7 in staging project
2017-08-17 14:53:28 +02:00
9a1364927f switch to php7 in staging project 2017-08-17 20:35:42 +08:00
Jimmy Berry
00309b5ee2 repo_checker: ignore non-existant binaries during lookup. 2017-08-16 10:30:20 -05:00
Jimmy Berry
8fc981d1fa FccSubmitter: drop add_review() since never used and handled by other bots. 2017-08-15 22:30:56 -05:00
Jimmy Berry
078ec68697 ReviewBot: add_review(): provide allow_duplicate parameter and default of False.
Also update calls based on default behavior change. As described in the
comment above add_review() there seems to be no reason to ever add a
duplicate review.

The check in leaper would skip unless state == declined. In such a case
the review would automatically be reopened along with the request so that
logic is unnecessary.
2017-08-15 22:18:53 -05:00
Jimmy Berry
ef93709e16 ReviewBot: add_review(): raise exception instead of returning boolean.
This ensures that calling bots crash rather than continue which can cause
non-atomic state changes that miss reviews when OBS crashes or is
unavailable.
2017-08-15 21:43:02 -05:00
Jimmy Berry
8711b45f4a Merge pull request #1017 from jberry-suse/source_check-repo_checker-default
check_source: change repo_checker default to new OBS username.
2017-08-14 11:44:16 -05:00
Ludwig Nussel
1cefbfce34 Merge pull request #1047 from lnussel/master
update-crawler: handle devel projects
2017-08-11 13:44:07 +02:00
Ludwig Nussel
fff6edd87e update-crawler: handle devel projects
allow filtering by devel project too
2017-08-08 12:00:49 +02:00
Ludwig Nussel
c994bc83eb Merge pull request #1046 from lnussel/master
update crawler: latest_packages across instances
2017-08-08 12:00:34 +02:00
Ludwig Nussel
379eac8d9a update crawler: latest_packages across instances
Hack to make update crawler work for SLE15. Really needs refactoring on
ToolBase.
2017-08-07 14:19:38 +02:00
Ludwig Nussel
a64d27c5a0 Merge pull request #993 from lnussel/dups
Speed up duplicate binaries check
2017-08-07 14:18:09 +02:00
Ludwig Nussel
c4211e2521 Merge pull request #995 from lnussel/biarch
improve biarch tool
2017-08-07 14:17:39 +02:00
Stephan Kulow
2c08e40745 Merge pull request #1045 from coolo/sle15
The first steps toward sle15 :)
2017-08-07 11:40:53 +02:00
Stephan Kulow
abe7ea59b8 The first steps toward sle15 :) 2017-08-07 11:40:03 +02:00
Jimmy Berry
072d1eba52 Merge pull request #1042 from jberry-suse/repo_checker-project_only-post-comments
repo_checker: provide --post-comments option on project_only subcommand (and cleanups).
2017-08-04 15:20:06 -05:00
Jimmy Berry
9443c3de04 ReviewBot: comment_write(): include target in debug message when too similar. 2017-08-04 13:32:07 -05:00
Jimmy Berry
737273c38f repo_checker: truncate long messages to avoid crashing OBS. 2017-08-04 13:17:48 -05:00
Jimmy Berry
96977875d0 repo_checker: provide --post-comments option on project_only subcommand. 2017-08-04 13:17:48 -05:00
Jimmy Berry
e1bf4522af repo_checker: provide optional parsing of install check output and mapping to package. 2017-08-04 13:17:48 -05:00
Jimmy Berry
4f64386366 repo_checker: package_whitelist() does not need to support group splitting to find product. 2017-08-04 13:17:48 -05:00
Jimmy Berry
0f4abf058b osclib/core: provide package_binary_list() to efficiently obtain binary to package map. 2017-08-04 13:17:48 -05:00
Jimmy Berry
5c364b7967 osclib/core: add package to BinaryParsed tuple. 2017-08-04 13:17:44 -05:00
Jimmy Berry
5e120a6ac4 osclib/core: provide BINARY_REGEX named group pattern and utilize. 2017-08-04 13:17:18 -05:00