Jana Cupova
f4bc5ef3a3
unify error messages for web
...
Fixes: https://pagure.io/koji/issue/2720
2021-04-07 10:49:03 +02:00
Jana Cupova
b9f261d8de
cli: buildinfo returns error for non exist build
...
Fixes: https://pagure.io/koji/issue/2762
2021-03-29 11:24:26 +02:00
Jana Cupova
9dc0efd476
api getLastHostUpdate returns timestamp
...
fixes: https://pagure.io/koji/issue/2497
2021-03-29 11:23:06 +02:00
Tomas Kopecek
7333a8e174
cli: use multicall for cancel command
...
Fixes: https://pagure.io/koji/issue/2607
2021-03-22 15:12:01 +01:00
Mike McLean
362c3e5cc6
more rmtree unit tests
2021-03-18 15:46:16 +01:00
Mike McLean
08139a9e39
update unit tests
2021-03-18 15:46:16 +01:00
Jana Cupova
de09faca6c
cli: hostinfo with non-exist host
...
Fixes: https://pagure.io/koji/issue/2763
2021-03-18 10:50:36 +01:00
Tomas Kopecek
8ed86e86ee
tests: fix locale setting
...
Fixes: https://pagure.io/koji/issue/2767
2021-03-18 10:11:51 +01:00
Jana Cupova
9c6483f197
API: createWinBuild with wrong win/build info
...
createWinBuild returns an error when win info is empty, is not a dict or
doesn't contain platform key
createWinBuild returns an error when build info is string and build is
not existing
Fixes: https://pagure.io/koji/issue/1103
Fixes: https://pagure.io/koji/issue/1102
2021-03-17 10:12:45 +01:00
Jana Cupova
0c9c8c6a81
cli: rpminfo with non-exist rpm
...
Fixes: https://pagure.io/koji/issue/2643
2021-03-17 10:11:03 +01:00
Jana Cupova
36284cdea9
api: createMavenBuild wrong buildinfo/maveninfo
...
Fixes: https://pagure.io/koji/issue/1104
Fixes: https://pagure.io/koji/issue/1105
2021-03-16 15:25:15 +01:00
Jana Cupova
8a24a70159
api: createImageBuild non-existing build wrong buildinfo
...
createImageBuild returns an error when build is not existing and buildinfo
is not a dict
Fixes: https://pagure.io/koji/issue/1106
2021-03-16 13:08:57 +01: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
66a1ef2ab7
tests: stop mocks in DBQueryTest setUp
...
Fixes: https://pagure.io/koji/issue/2758
2021-03-15 11:01:08 +01:00
Tomas Kopecek
29a34f31a5
cli: show connection exception
...
For anonymous calls (whose use ensure_connection) is now shown also
original exception if --debug is specified.
Fixes: https://pagure.io/koji/issue/2592
2021-03-10 15:31:11 +01:00
Jana Cupova
ffc9bedd00
cli: list-untagged returns error non-exist package
...
When package is not existing, list-untagged returns an error.
Fixes: https://pagure.io/koji/issue/2601
2021-03-10 14:38:39 +01:00
Tomas Kopecek
b6bdad7d50
cli: fix help message formatting
...
Related: https://pagure.io/koji/issue/2718
2021-03-05 15:36:12 +01:00
Jana Cupova
b96935c2cc
Fix progname
2021-02-24 17:08:19 +01:00
Jana Cupova
5f23b8e814
cli: list-history error non-exist channel, host
...
When channel or host are non-existing, list-history returns error.
Fixes: https://pagure.io/koji/issue/2599
2021-02-23 13:09:59 +01:00
Jana Cupova
dc5230c4ba
cli: mock-config error for non existing buildroot
...
When buildroot is not existing, mock-config returns an error.
Fixes: https://pagure.io/koji/issue/2642
2021-02-22 13:52:19 +01:00
lrossett
1014ad08b7
adding invalid target name error message
2021-02-22 13:38:07 +01:00
Tomas Kopecek
c6e69b4f8b
backport py27 compatible file open with encoding
...
client and builder needs to run on py27 which doesn't support
open(encoding='utf-8')
Related: https://pagure.io/koji/issue/2641
2021-02-16 14:13:03 +01:00
Tomas Kopecek
72cf4a02de
cli: fix tests
...
PR #2654 changed the help output but tests were not updated.
Related: https://pagure.io/koji/issue/2620
2021-02-02 14:13:49 +01:00
Tomas Kopecek
96ae0ecef5
explicit encoding for text file operations
...
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Tomas Kopecek
e63508f8a0
cli: hide import-sig --write option
...
It is no more used, hide it from the user.
Fixes: https://pagure.io/koji/issue/2620
2021-01-19 13:37:56 +01:00
Tomas Kopecek
b3732c508b
lower batches in clone-tag multicalls
...
Fixes: https://pagure.io/koji/issue/2616
2021-01-13 16:17:10 +01:00
Tomas Kopecek
8ff5759b21
lib: better argument checking for eventFromOpts
...
Fixes: https://pagure.io/koji/issue/2513
2021-01-04 10:43:30 +01:00
Tomas Kopecek
254c766b1f
cli: create after/before OptionParser helper
2020-12-01 14:40:51 +01:00
Tomas Kopecek
0256282a84
cli: list-task --after/--before/--all
...
allow querying for closed tasks
Fixes: https://pagure.io/koji/issue/2565
2020-12-01 13:02:25 +01:00
Tomas Kopecek
0809a924d7
fix tests
2020-11-30 17:35:32 +01:00
Tomas Kopecek
24bd694865
external repos can have specified arch list
...
Fixes: https://pagure.io/koji/issue/2538
2020-11-24 13:56:29 +01:00
Tomas Kopecek
0f56d39487
remove deprecated --ca option
...
Fixes: https://pagure.io/koji/issue/2192
2020-11-23 11:03:38 +01:00
Brendan Reilly
b97813d6e2
Add option to use repos from kickstart for livemedia builds
...
Fixes: https://pagure.io/koji/issue/2260
2020-11-12 15:48:47 +01:00
Tomas Kopecek
7b27889122
fix test
2020-11-05 14:16:02 +01:00
Brendan Reilly
c62f15172f
Add nomacboot option for spin-livemedia
...
Fixes: https://pagure.io/koji/issue/2259
2020-10-27 14:37:01 +01:00
Tomas Kopecek
5b8e87da7a
hub: fix tests
...
Related: https://pagure.io/koji/pull-request/2544
2020-10-27 14:33:46 +01:00
Tomas Kopecek
b030b46f74
remove unittest2
2020-10-06 15:00:23 +02:00
Tomas Kopecek
2518e8106f
cli: fix tests
...
Related: https://pagure.io/koji/issue/1870
2020-10-06 14:58:15 +02:00
Tomas Kopecek
2a8fc19600
cli: clone-tag --config clones also extra info
...
Fixes: https://pagure.io/koji/issue/2371
2020-10-06 14:02:44 +02:00
Tomas Kopecek
0b5638ccec
tests: fix test for getTag(..., blocked)
...
Related: https://pagure.io/koji/issue/2283
2020-10-06 13:59:14 +02:00
Tomas Kopecek
fedf3ee9f9
extend to config_inheritance
2020-10-05 12:35:07 +02:00
Tomas Kopecek
73aa437d45
flake8 fix
2020-10-05 12:34:59 +02:00
Tomas Kopecek
172c861442
hub: getBuildConfig - return inheritance info
2020-10-05 12:34:57 +02:00
Yu Ming Zhu
52a63f732d
util: [rmtree] try best to catch errors for race condition
...
fixes : #2481
This approach is ugly, but just working.
ENOENT and ESTALE errors are catched in `chdir`, `listdir` calls to stomach the deletion by other process/thread
ENOTEMPTY is catched when calling `os.rmdir(path)` in `rmtree()` too. It happens when `path` is on an NFS like where ESTALE happens.
2020-10-05 10:14:34 +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
5f472413c9
drop host versions
2020-09-30 10:43:19 +02:00
Tomas Kopecek
ba908fd2de
report versions of components
...
Fixes: https://pagure.io/koji/issue/2430
2020-09-30 10:43:19 +02:00
Tomas Kopecek
8c253396e8
proton: persistent message queue
...
Fixes: https://pagure.io/koji/issue/2230
2020-09-30 10:14:49 +02:00
Tomas Kopecek
08494de774
block inherited extra tag info
...
Fixes: https://pagure.io/koji/issue/2283
2020-09-28 11:03:43 +02:00
Tomas Kopecek
59b97d56f1
hub: deleteBuild should skip deleted builds
...
We can return ASAP from the call if build is already deleted.
Fixes: https://pagure.io/koji/issue/2475
2020-09-10 13:24:02 +02:00