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
Tomas Kopecek
637be55ef4
cli: drop unneeded activate_session
...
Fixes: https://pagure.io/koji/issue/2070
2020-05-22 09:36:21 +02:00
Ken Dreyer
235018eca6
cli: improve grant-permission --new --help message
...
The --new option only creates a new permission if the permission does
not already exist. Update the --help message to indicate this.
2020-04-29 10:13:44 +02:00
Tomas Kopecek
04f6ba886e
fix tests
2020-04-22 14:54:10 +02:00
Tomas Kopecek
0132313f92
replace logging.warn with warning
...
call is deprected in python 3.7
Fixes: https://pagure.io/koji/issue/2135
2020-04-22 13:47:15 +02:00
Tomas Kopecek
bba9907fc4
Fix automatic trailing-space removal
2020-04-15 11:19:32 +02:00
Tomas Kopecek
a85f51db3a
fix tests
2020-04-14 09:09:49 +02:00
Tomas Kopecek
b8d56fa920
fix ordering for retagged builds
2020-04-14 09:09:49 +02:00
Tomas Kopecek
af14fc4a69
overtag existing builds
2020-04-14 09:09:49 +02:00
Tomas Kopecek
bd9ce26461
clone-tag --no-delete mode
...
Fixes: https://pagure.io/koji/issue/1384
2020-04-14 09:09:49 +02:00
Tomas Kopecek
7970e78092
drop "keys" field
2020-04-07 12:27:56 +02:00
Tomas Kopecek
09da0aa1e4
fix typo
2020-04-07 12:27:56 +02:00