Jana Cupova
c3e89500f2
Add and upfate CLI unit tests
...
Fixes: https://pagure.io/koji/issue/729
2021-11-29 15:39:10 +01:00
Jana Cupova
9b235763cd
Add CLI unit tests
2021-10-18 13:01:54 +02:00
mprahl
cd1b928a5f
Add the ability to specify custom metadata on an RPM build
...
This adds the `--custom-user-metadata` option to the
CLI `build` command. This is then stored under the
"extra.custom_user_metadata" field on the resulting build.
Signed-off-by: mprahl <mprahl@redhat.com>
2021-06-02 15:48:51 +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
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
04f6ba886e
fix tests
2020-04-22 14:54:10 +02:00
Mike McLean
067d30080e
more grammar changes
2020-04-02 10:55:30 +02:00
Tomas Kopecek
21b461ec25
fix test
2020-04-02 10:55:30 +02:00
Tomas Kopecek
4bf09bd398
Better help for build/latest-build
...
People can be confused by buildtag/desttag/target. Shed some light in
these commands' helps.
Fixes: https://pagure.io/koji/issue/1808
2020-04-02 10:55:30 +02:00
Tomas Kopecek
718321298e
allow to skip SRPM rebuild for scratch builds
...
Fixes: https://pagure.io/koji/issue/1719
2020-03-19 15:40:55 +01:00
Tomas Kopecek
418376dc81
build can wait for actual repo
...
New options --wait-for-build and --wait-for-repo for build command are
simplification of using wait-repo + build command succession. They have
same semantices as the original one.
Fixes: https://pagure.io/koji/issue/1619
2019-12-12 15:29:27 +01:00
Tomas Kopecek
502e7ed2ca
fix tests
2019-12-11 11:47:02 +01: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
Tomas Kopecek
647978bb70
update test
2017-09-18 16:56:22 -04:00
Tomas Kopecek
c02eb739aa
update cli tests
2017-06-13 11:42:04 +02:00
Tomas Kopecek
b4c7433cc4
StringIO to six
2017-06-01 09:39:23 +02:00
Tomas Kopecek
8962c26080
python-modernize -f libmodernize.fixes.fix_import
2017-06-01 09:39:23 +02:00
Yuming Zhu
edbed0a167
ut: format testcases
2016-11-21 10:52:32 -05:00
Yuming Zhu
ae90e278d0
remove unused code
2016-10-26 13:41:12 -04:00
Yuming Zhu
ebf4e88d7d
ut: cli - test_build
2016-10-26 13:41:12 -04:00