7 Commits

Author SHA1 Message Date
Martin Pluskal
e8fcc31ad2
Add hardware:sdr to whitelist
See https://lists.opensuse.org/opensuse-factory/2017-03/msg00337.html
2017-03-08 10:47:25 +01:00
BOT Admin
9acbc463df Add network:cluster:ohpc to whitelist 2017-03-07 19:01:52 +01:00
cc09fe3d0b
check_source: declare devel:CaaSP as devel project 2017-02-08 19:44:45 +01:00
Matthias Mailänder
8c1c587543 Add X11:Solus 2017-01-27 09:25:33 +01:00
Ludwig Nussel
ce01ceec23 Add FATE devel project to white list
In anticipation of a fate client submission
2017-01-19 16:55:21 +01:00
26fb7a884f Added X11:GNUstep as project. 2017-01-13 11:18:01 +01:00
Jimmy Berry
8db3461a00 Port osc-check_source.py to ReviewBot as check_source.py.
In the process of porting many improvements and bug fixes were added. Usage
follows the standard ReviewBot format and allows for new execution styles,
but the following examples replicate previous usage.

# Review all requests assigned to factory-auto.
./check_source.py --group factory-auto review

# Review request 13370.
./check_source.py --group factory-auto id 13370

# --project translates to project command.
# No longer automatically includes $project:NonFree.
./check_source.py --group factory-auto project openSUSE:Factory

New options available are:

--ignore-devel          ignore devel projects for target package
--devel-whitelist=FILE  file containing whitelisted projects (one per line)
--review-team=GROUP     review team group added to requests with > 8 diff
--repo-checker=USER     repo checker user added after accepted review

Note that --ignore-devel used to be provided as env[IGNORE_DEVEL_PROJECTS].

Some highlights about what was cleaned up:
- cryptic variable names replaced
- replaced custom osc queries with osc.core calls where applicable
- removed the need to load package information for all packages within
  target project which cuts runtime in half for single review
- removed extraneous code that performed extra steps for no reason
  os.path.dirname(os.path.realpath(__file__.replace('.pyc', '.py')))
  os.path.dirname(os.path.realpath(__file__))
  and _checker_prepare_dir() which needlessly chdir() twice.
- one logic branch failed to cleanup checkout directory
- new flags provide additional flexibility
2017-01-10 19:33:41 -06:00