Commit graph

26 commits

Author SHA1 Message Date
Tomas Kopecek
323b221bbe fix flake8 2022-12-05 13:32:26 +01:00
Mike McLean
af183a2686 Emulate old list data 2022-12-05 13:32:26 +01:00
Mike McLean
7015da5f44 alternate approach 2022-12-05 13:32:26 +01:00
Tomas Kopecek
a8c4373c97 rpmdiff: replace deprecated rpm call
Related: https://pagure.io/koji/issue/3561
2022-12-05 13:32:26 +01:00
Yuming Zhu
cf34706f04 use Exception instead of BaseException for bare expection 2020-03-03 21:38:22 +08:00
Yuming Zhu
f1ba6cefd7 flake8: apply all rest E7 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
6ed30954b2 flake8: apply E71x rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
fa69c4904e flake8: apply E70x rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
0f727a2ab4 flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b flake8: apply E2 rules except E266 2020-03-03 21:38:21 +08:00
Yuming Zhu
97cfaa4fcf flake8: follow E265 rule 2020-03-03 21:35:08 +08:00
Yu Ming Zhu
4d29a87e9b sort imports in koji 2019-12-12 11:00:57 +00:00
Tomas Kopecek
426a8c2b16 rpm builds 2019-02-12 16:06:00 -05:00
Yu Ming Zhu
200951c9d6 fix zip for python3 2019-01-28 08:46:11 -05:00
Mike McLean
e559653ab5 simplify ignore logic in rpmdiff function 2018-08-10 15:47:46 -04:00
Tomas Kopecek
d1544e7f05 Correctly ignore all values in rpmdiff
Related: https://pagure.io/koji/issue/994
2018-08-10 15:47:46 -04:00
Franz Chih-Ping Hsieh
e25603dd97 copy data from static variable instead of use it directly to prevent caching.
also update test cases to verfiy this issue.

Fixes: #994
https://pagure.io/koji/issue/994
2018-08-10 15:47:46 -04:00
Tomas Kopecek
bcee24e50c python-modernize -f libmodernize.fixes.fix_dict_six 2018-07-11 17:37:39 -04:00
Mike McLean
79a59c9d47 account for ignored self-provides in rpmdiff hash 2018-04-27 11:53:37 -04:00
Tomas Kopecek
c67dcee3ad erase ignored fields 2018-04-27 11:53:37 -04:00
Tomas Kopecek
72d619929e use 'ignore' in hash computation 2018-04-27 11:53:37 -04:00
Tomas Kopecek
71d5bdc02d make rpmdiff.py lib only
Original sript-like behaviour is moved to koji-tools
https://pagure.io/koji-tools/pull-request/6
2018-04-27 11:53:37 -04:00
Mike McLean
2248b03406 TEST: add sanity check to rpmdiff main 2018-04-27 11:53:37 -04:00
Tomas Kopecek
af5f110d37 check for empty header 2018-04-27 11:53:37 -04:00
Tomas Kopecek
cb03d3ec9c typo 2018-04-27 11:53:37 -04:00
Tomas Kopecek
54e52e469e move rpmdiff to koji lib 2018-04-27 11:53:37 -04:00
Renamed from hub/rpmdiff (Browse further)