Stephan Kulow
f86579642b
Target E501 - Line too long
...
https://www.flake8rules.com/rules/E501.html - but 79 characters is a
joke
2022-02-18 18:17:27 +01:00
Stephan Kulow
529d1dafae
Target E302 - add two comment lines before class
2022-02-18 17:15:48 +01:00
Stephan Kulow
0561e06cb1
Target E261 - two spaces before inline comment
2022-02-18 16:39:16 +01:00
Stephan Kulow
e52dc6ce2b
Harmonize imports on using lxml for XML parsing
2022-02-18 11:16:01 +01:00
Jimmy Berry
5b91d6bc84
osc-staging,issue-diff: open temporary file in write without binary mode.
...
Otherwise, all write calls complain about passing a string instead of
binary data. Given the yaml dump and subsequent comments are all strings
it makes more sense to change file mode.
2019-10-08 15:21:22 -05:00
Stephan Kulow
3f3bbb3e10
Run even more bots in python3
2019-05-16 06:59:25 +02:00
Stephan Kulow
595e84191e
More porting to python3
...
Travis changed default python to 3.6, which has impact on the way
flake8 checks. So make sure we run fine under flake8 of python 3
2019-04-20 21:16:50 +02:00
Jimmy Berry
1102e3cebc
issue-diff: utilize entity_mail() as adapted into osclib.core.
2018-04-10 22:55:40 -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
da7e0b43d6
issue-diff: rename --config-dir as --cache-dir to be more accurate.
2018-03-08 15:55:34 -06:00
Jimmy Berry
17b6f0b753
issue-diff: replace git sync functionality with osclib.git.
2018-03-08 15:53:01 -06:00
Jimmy Berry
664f3bbb90
Split EDITOR environment variable to handle flags in prefix.
2017-11-22 09:13:06 -06: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
Jimmy Berry
98397ea758
core: provide package_list() and utilize in issue-diff.py.
2017-06-14 23:50:28 -05:00
Jimmy Berry
eb0d96d7a2
issue-diff: provide --print-stats option.
2017-05-30 12:46:07 +02:00
Jimmy Berry
3e2469c5cc
issue-diff: bug_meta_get(): handle invalid bug numbers.
...
Package ibus-pinyin contains bnc#000000 which fails to load.
2017-05-30 11:22:00 +02:00
Jimmy Berry
d586c8748a
issue-diff: truncate messages longer than bugzilla limit.
2017-05-30 11:22:00 +02:00
Jimmy Berry
4f6b8cc1e5
issue-diff: handle multiple faults and new fault invalid username.
2017-05-30 11:22:00 +02:00
Jimmy Berry
ed4b652ae2
issue-diff: print progress message every 50 packages.
2017-05-30 11:21:53 +02:00
Jimmy Berry
7e53f4ddbc
issue-diff: reformat issue summary for bugzilla markdown if bsc tracker.
2017-05-29 14:38:58 +02:00
Jimmy Berry
8f5e5a94ba
issue-diff: allow whitelisting entire packages.
2017-05-29 13:59:05 +02:00
Jimmy Berry
2775792214
issue-diff: ignore unknown trackers.
2017-05-29 13:57:57 +02:00
Jimmy Berry
8fd17915d2
issue-diff: handle group owners for bugzilla assigned_to.
2017-05-29 12:46:09 +02:00
Jimmy Berry
bf729a524d
issue-diff: simplify bug summary.
2017-05-29 12:23:39 +02:00
Jimmy Berry
1c32dc48a0
issue-diff: update default product and version for SLE 15.
2017-05-29 12:20:07 +02:00
Jimmy Berry
a444ed2dba
issue-diff: drop # from bug id in output for easy of copy/paste.
2017-05-29 12:19:34 +02:00
Jimmy Berry
89961e770d
issue-diff: fallback to default component if failed to create bug.
2017-05-29 12:19:02 +02:00
Jimmy Berry
9e597fc502
issue-diff: only take component from referenced bug.
2017-05-29 12:18:22 +02:00
Jimmy Berry
1dbbb30b8c
issue-diff: shuffle package list instead of sorted.
2017-05-29 12:17:27 +02:00
Jimmy Berry
d44ea40707
issue-diff: update description to include a short reason and link.
2017-02-08 16:48:43 -06:00
Jimmy Berry
cff5a8e496
issue-diff: change default project to SLE-12-SP3.
2017-02-07 21:56:16 -06:00
Jimmy Berry
d9e7637a60
issue-diff: use bugowner or maintainer as assignee for bug.
2017-02-07 21:56:11 -06:00
Jimmy Berry
92f10b277f
Provide referenced issue diffing tool.
...
Compare packages from a project against factory for differences in
referenced issues and present changes to allow whitelisting before
creating bugzilla entries. A database is kept of previously handled
issues to avoid repeats and kept in sync via a git repository.
2017-01-21 00:05:06 -06:00