19 Commits

Author SHA1 Message Date
Stephan Kulow
e52dc6ce2b Harmonize imports on using lxml for XML parsing 2022-02-18 11:16:01 +01:00
Josef Reidinger
f383bb8116
do not use oscrc from fixtures (should fix #1989) 2021-09-03 16:53:09 +02:00
ad06348dcf More flake8 cleanups 2019-12-10 12:50:57 +01:00
ea3b07568c Fix E203
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00
8483632683 Some flake8 improvements
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Stephan Kulow
70dd0ef20f Simplify httpretty usage
Don't pass regexps but real URLs, otherwise the matching won't work.
On travis and leap 15.1 we have httpretty 0.9.5 which won't uncover
the problem, but on Tumbleweed we have 0.9.6 that shows it
2019-05-05 10:49:05 +02:00
Stephan Kulow
58d6d7ca16 Python3 fixes 2019-05-04 15:44:44 +02:00
Stephan Kulow
cedff89286 Replace urlparse.urlparse for python3 2018-11-17 10:51:36 +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
a40ebc1544 ReviewBot: provide comment command override.
For example:

  @leaper override accept
  @repo-checker override decline
2018-03-06 16:42:12 -06:00
Jimmy Berry
f98a78c1ae Remove Vim config in favor of EditorConfig. 2018-01-23 00:48:00 -06:00
Jimmy Berry
c87c3b02e2 ReviewBot: update tests s/withhistory/withfullhistory/. 2017-07-12 15:31:30 -05:00
Jimmy Berry
4813734ab0 MaintenanceChecker: include project in owner query to utilize local devel.
For Leap the devel project may override the Factory one.
2017-04-26 17:12:49 -05:00
Jimmy Berry
7621d4f7f6 tests: add missing creator attribute to requests to satisfy osc. 2017-04-13 15:08:15 -05:00
Jimmy Berry
8054c0c35e ReviewBot: update factory_source and maintenance tests for encoding fix. 2017-03-03 15:31:51 -06:00
Alberto Planas
c9d1e06ca8 Refactor configuration parameters into configuration file. 2015-02-19 11:39:05 +01:00
Ludwig Nussel
cfd6641f82 rename CPE -> Backports 2015-02-04 16:43:56 +01:00
Ludwig Nussel
a2cf55aaff fix double review, add testcase
closes #278
2015-01-26 11:42:00 +01:00
Ludwig Nussel
a590787e33 new review bots factory-source and maintbot
factory-source checks if submissions contain sources already accepted in
Factory. maintbot makes sure maintenance submissions are authored by the
Factory package maintainer.

Both are based on a new generic ReviewBot.py class that can serve as
common framework for review bots.
2014-11-25 14:36:22 +01:00