100 Commits

Author SHA1 Message Date
Steve Kowalik
326a087168 Switch to python3 shebang
With the python shebang remaining as Python 2, switch the scripts to
using Python 3. This also allows us to clean up some imports.
2021-02-03 14:53:42 +11:00
Ludwig Nussel
1e1b3a3d7c abi-checker: add prune command
deletes old records from the db
2019-12-19 14:13:56 +01:00
Ludwig Nussel
60e5fd94a2 abi-checker: recognize staging 2019-12-19 14:13:48 +01:00
Ludwig Nussel
12b2bce785 abi-checker: fix it
was not working at all
- python3 switch
- naming of debuginfo files changed
2019-12-19 14:13:42 +01:00
Stephan Kulow
732d9d9d30 Continue python3 port of abichecker 2019-09-04 17:07:38 +02:00
Stephan Kulow
fce313d504 Run abichecker on botmaster as well 2019-09-04 16:11:42 +02:00
Stephan Kulow
fec762e5a4 Avoid warning on using .warn (python3) 2019-05-11 14:25:02 +02:00
Jimmy Berry
7f873d810b abichecker: remove PkgCache usage and instead always download. 2019-04-30 08:37:45 -05:00
Stephan Kulow
ea9061ccf5 Import urllib2 python agnostic 2018-11-16 09:01:45 +01:00
Ludwig Nussel
dd9000b0ac abichecker: fix for updated osc api 2018-10-30 09:56:49 +01:00
Jimmy Berry
6069245350 Remove SUSE copyright, warranty, and license headers.
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.

Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
Jimmy Berry
39ef75493d Change references to osc-plugin-factory to openSUSE-release-tools. 2018-03-16 14:58:27 -05:00
Jimmy Berry
f98a78c1ae Remove Vim config in favor of EditorConfig. 2018-01-23 00:48:00 -06:00
1cec490d54 White space / consistent usage of spaces / indentation of 4 fixes 2017-10-20 00:58:05 +02:00
3cf49d9556 Python 2.6+ / 3.x style except clauses
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
Ludwig Nussel
c76f4bcd9c Fix access to undefined variable 2017-05-24 15:11:56 +02:00
Jimmy Berry
7431af4a72 Rework ReviewBot.CommandLineInterface to provide class option. (#622)
Alleviates the need for a lot of duplicate code, some of which is already
out-of-sync.
2017-01-02 09:34:13 +01:00
Ludwig Nussel
7794a9da10 Port abichecker to new osc API 2016-06-10 10:58:34 +02:00
Ludwig Nussel
8eb7b6ba8f Run abichecker in tmux
screen on SLE doesn't like too long user names
2016-05-19 17:18:17 +02:00
Ludwig Nussel
a9a6dcb617 Add access control to abichecker apache config
The apache config file for abichecker needs to include access control
rules, otherwise apache will deny access.
2016-04-05 16:12:23 +02:00
Ludwig Nussel
ff67574c43 Install tmpfiles config to clean up downloads 2016-04-01 16:06:44 +02:00
Ludwig Nussel
826516a9fb also add SLE-11-SP1 to blacklist 2015-10-19 17:22:08 +02:00
Ludwig Nussel
efbcd75064 move check by project function to ReviewBot 2015-09-29 08:44:30 +02:00
Ludwig Nussel
dc05bb63af don't check sle11
Requested by Marcus. SLE11 uses some imported incidents that seem to
confuse the current code.
2015-07-09 15:58:40 +02:00
Ludwig Nussel
ca46bb33a7 don't treat random build service failures as no build success 2015-07-09 15:01:23 +02:00
Ludwig Nussel
2c053222c6 fix error message for not matching maintenance link 2015-06-11 17:28:59 +02:00
Ludwig Nussel
8d8eb2cbbe actually cleanup 2015-06-10 10:40:01 +02:00
Ludwig Nussel
710ac59ba1 remove aarch64 from sle12
The repo is disabled in some maintenance incident projects
2015-06-08 16:30:14 +02:00
Ludwig Nussel
011e8b959f improve missing debug info text again 2015-06-08 16:23:50 +02:00
Ludwig Nussel
fa845d6237 fix fallback text summary 2015-06-08 16:12:46 +02:00
Ludwig Nussel
c07fc13155 set cwd for abi-compliance-checker to CACHEDIR
it wants to write logs always to cwd which is ro by default when run
from the package
2015-06-08 15:56:36 +02:00
Ludwig Nussel
aff3c8e61e add recheck command 2015-06-08 15:47:08 +02:00
Ludwig Nussel
ac3879dc82 fix templates 2015-06-08 14:53:34 +02:00
Ludwig Nussel
a320775113 handle exceptions from findrepo as well 2015-06-08 14:53:34 +02:00
Ludwig Nussel
41372ab612 None is actually an error here 2015-06-08 14:53:34 +02:00
Ludwig Nussel
8ade1601e3 ignore missing archs in maintenance incidents 2015-06-08 14:53:34 +02:00
Ludwig Nussel
3fce8575bc better error message for missing debug info 2015-06-08 14:53:34 +02:00
Ludwig Nussel
3fe6aa86c3 arch whitelist 2015-06-08 14:51:46 +02:00
Ludwig Nussel
c15ffe194e print error if there's more than one path 2015-05-28 17:31:26 +02:00
Ludwig Nussel
a0516129d0 also accept the snapshot repo as target 2015-05-28 17:31:01 +02:00
Ludwig Nussel
3fed5d6f66 reset request list on each invocation 2015-05-28 17:30:44 +02:00
Ludwig Nussel
7299abb972 add config table 2015-05-28 14:45:27 +02:00
Ludwig Nussel
179be636c0 save report always 2015-05-28 13:16:50 +02:00
Ludwig Nussel
6913325628 refactor maintenance handling 2015-05-28 13:16:50 +02:00
Ludwig Nussel
84b697e92b maintenance hack 2015-05-28 13:16:50 +02:00
Ludwig Nussel
3f29cf3c0e don't try to delete comment in dry run mode 2015-05-28 13:16:50 +02:00
Ludwig Nussel
2b1ce57479 update systemd file 2015-05-28 13:16:50 +02:00
Ludwig Nussel
fb87e9ce17 improve visualization 2015-05-28 13:16:50 +02:00
Ludwig Nussel
b021de5554 always save result, even if there is no binary check
useful to know what a request was about
2015-05-28 13:16:49 +02:00
Ludwig Nussel
9d65318414 handle locked code for release requests 2015-05-28 13:16:49 +02:00