Yuming Zhu
ca05418fb5
unittest: use unittest.mock instead of mock
...
because the absence of unittest.mock on python2.7, we still fallback to
mock
2024-10-23 16:35:30 +00:00
Tomas Kopecek
ad0566d7cc
distrepo will not skip rpm stat by default
...
There is also CLI option which can override this behaviour if needed.
Related: https://pagure.io/koji/issue/3829
2023-07-18 11:31:07 +02:00
Jana Cupova
d3ef00fff4
Dist-repo with write-signed-rpm option
...
Fixes: https://pagure.io/koji/issue/2806
2021-10-18 13:00:11 +02:00
Jana Cupova
31f0db591a
dist-repo takes inherited arch when arch is not set
...
Fixes: https://pagure.io/koji/issue/2805
2021-06-29 14:45:36 +02:00
Jana Cupova
56a2d86034
Consistent wait/nowait in all related functions
...
Fixes: https://pagure.io/koji/issue/2522
2021-05-10 09:17:26 +02:00
Jana Cupova
508b7aa8cd
unify warn messages
...
Fixes: https://pagure.io/koji/issue/2795
2021-04-19 15:14:28 +02:00
Jana Cupova
e784373000
Unify error messages
...
Unify error messages for CLI
Unify error messages for hub
Fixes: https://pagure.io/koji/issue/2720
2021-03-16 08:43:33 +01:00
Tomas Kopecek
b030b46f74
remove unittest2
2020-10-06 15:00:23 +02:00
Tomas Kopecek
bc478c2d68
cli: show log urls for failed tasks
...
Fixes: https://pagure.io/koji/issue/2188
2020-10-02 12:44:07 -04:00
Tomas Kopecek
ac42f9b8ba
basic zchunk support for dist-repo
...
Fixes: https://pagure.io/koji/issue/1198
2020-01-02 11:30:55 +01:00
Tomas Kopecek
4d03794657
limit distRepo tasks per tag
...
Introduces 'distrepo.cancel_others` extra flag for tags. If enabled, new
distRepo task will cancel previous non-finished ones leaving only new
one.
Fixes: https://pagure.io/koji/issue/1630
2020-01-02 11:26:20 +01:00
Tomas Kopecek
502e7ed2ca
fix tests
2019-12-11 11:47:02 +01:00
Mike McLean
d4a2e6fe65
fix unit test
2019-05-21 12:14:33 -04:00
Yuming Zhu
1c76cd0c0f
cli: rename _unique_path to unique_path, and deprecate the old one
2018-06-28 12:39:12 -04:00
Tomas Kopecek
c68396c059
Use unittest2 for rhel6 compatibility
...
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Mike McLean
0171027224
fix unit tests
2018-05-03 16:05:16 -04:00
Mike McLean
a93554139e
update unit test for new options
2018-05-03 16:05:16 -04:00
Franz Chih-Ping Hsieh
551ef9e254
add unit test for koji_cli.commands.handle_dist_repo
2017-12-19 09:52:45 -05:00