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
Tomas Kopecek
df8ce93699
fix test
2020-09-09 14:02:42 +02:00
Tomas Kopecek
aa16b5ccea
cli: don't require --config in clone-tag
...
Fixes: https://pagure.io/koji/issue/2012
2020-09-08 11:00:38 +02:00
Yu Ming Zhu
62f389d445
hub: unittest for multicall
2020-09-01 11:23:04 +02:00
Ken Dreyer
e35b571196
util: handle ENOENT in _stripcwd() listdir loop
...
After we call listdir(), another thread or process might delete files
from the current directory. We cannot always expect lstat() to succeed
in a loop over the initial listdir entries.
If lstat() raises ENOENT, consider this file deleted and move on.
2020-08-27 13:36:27 +02:00
Tomas Kopecek
9f3f5ff37a
fix test
2020-08-26 09:26:00 +02:00
Tomas Kopecek
c754713818
fix tests
2020-08-26 09:26:00 +02:00
Tomas Kopecek
7855b98ca2
formatTime/Long can handle timestamp
...
Also replaced *_time with *_ts wherever possible.
2020-08-26 09:26:00 +02:00
Tomas Kopecek
b0efed5e37
Fix time formatting for timezone values
...
Fixes: https://pagure.io/koji/issue/2423
2020-08-26 09:26:00 +02:00
Tomas Kopecek
bcdf0165c9
remove deprecated list-tag-history / tagHistory
...
Fixes: https://pagure.io/koji/issue/2215
2020-08-18 16:31:21 +02:00
Mike McLean
d6d342a74b
fix unit test
2020-07-29 15:47:02 +02:00
Simo Sorce
2c663f0b73
Use requests_gssapi instead of requests_kerberos
...
Retain ability to use the old requests_kerberos where request_gssapi is
not available yet.
Signed-off-by: Simo Sorce <simo@redhat.com>
2020-07-24 15:32:42 -04:00
Tomas Kopecek
f8419e3626
remove deprecated krbV support
...
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Tomas Kopecek
72c701225b
turn off dnf_warning in mock.cfg
...
Related: https://pagure.io/koji/issue/2026
2020-07-21 23:57:20 -04:00
Tomas Kopecek
f4d9194ff6
fix tests
2020-07-15 12:06:55 -04:00
Yuming Zhu
45a4867e67
cli clone-tag - get srctag info with event
...
So that tag config and extra honor `event` for clone-tag cmd
fixes : #2101
2020-07-15 11:44:02 -04:00
Tomas Kopecek
d47a45f576
cli: fix image-build-indirection --wait
...
Fixes: https://pagure.io/koji/issue/2046
2020-07-15 11:17:43 -04:00
Tomas Kopecek
1cbc9340db
cli: --wait for download-task
...
If task is not finished yet, wait for it and download output then.
Fixes: https://pagure.io/koji/issue/2052
2020-07-02 14:23:42 +02:00
Tomas Kopecek
50bcb6f3bc
replace md5 with sha256
2020-06-24 14:42:01 +02:00
Tomas Kopecek
51358cfd09
simplify py3 tests
2020-06-18 15:41:35 +02:00
Tomas Kopecek
2bb460bc23
cli: output extra['rpm.macro.*'] to mock-config
...
Fixes: https://pagure.io/koji/issue/1859
2020-06-16 10:13:12 +02:00
Tomas Kopecek
a4863c0f26
lib: check consistency of rpm from openRemoteFile
...
Fixes: https://pagure.io/koji/issue/2130
2020-06-05 10:58:38 +02:00
Tomas Kopecek
8ea4a7245b
lib: retry openRemoteFile and check size
2020-06-05 10:58:38 +02:00