Commit graph

5596 commits

Author SHA1 Message Date
Tomas Kopecek
f1b6cdc401 doc: api docs
Fixes: https://pagure.io/koji/issue/2110
2020-10-23 09:06:23 +02:00
Tomas Kopecek
6dd313b97c PR#2526: sidetag: remove double "usage"
Merges #2526
https://pagure.io/koji/pull-request/2526

Fixes: #2489
https://pagure.io/koji/issue/2489
CLI *-sidetag help message with double 'usage'
2020-10-22 11:46:37 +02:00
Tomas Kopecek
4b81f559da sidetag: remove double "usage"
Fixes: https://pagure.io/koji/issue/2489
2020-10-22 11:46:30 +02:00
Tomas Kopecek
fca5b28d80 PR#2507: Release notes 1.23
Merges #2507
https://pagure.io/koji/pull-request/2507

Fixes: #2446
https://pagure.io/koji/issue/2446
 koji 1.23 release notes
2020-10-22 09:46:35 +02:00
Mike McLean
42d6ade87e formatting 2020-10-22 09:46:29 +02:00
Mike McLean
01260ffca4 update migration notes 2020-10-22 09:46:29 +02:00
Mike McLean
43f36df46c update release notes 2020-10-22 09:46:29 +02:00
Tomas Kopecek
5e216d9567 Release notes 1.23
Fixes: https://pagure.io/koji/issue/2446
2020-10-22 09:46:29 +02:00
Tomas Kopecek
e6a5b8f532 PR#2544: builder: fix error logging to accept more types
Merges #2544
https://pagure.io/koji/pull-request/2544
2020-10-22 09:42:42 +02:00
Tomas Kopecek
309c4e0a62 builder: fix error logging to accept more types 2020-10-21 17:03:05 +02:00
Tomas Kopecek
846a903d2b PR#2537: lib: detect non-installed rpm lib
Merges #2537
https://pagure.io/koji/pull-request/2537

Fixes: #2536
https://pagure.io/koji/issue/2536
download_rpm should be replaced with simple download, when rpm is not installed
2020-10-13 12:00:22 +02:00
Tomas Kopecek
a8d676b5a5 lib: detect non-installed rpm lib
Fixed: https://pagure.io/koji/issue/2536
2020-10-12 15:07:43 +02:00
Tomas Kopecek
14d1d347e0 PR#2527: don't fail on missing directory
Merges #2527
https://pagure.io/koji/pull-request/2527

Relates: #2481
https://pagure.io/koji/issue/2481
koji.util.rmtree() is not multi-process/thread safe
2020-10-07 13:14:58 +02:00
Tomas Kopecek
0ab92c5825 PR#2490: Drop py 2.6 support (RHEL6)
Merges #2490
https://pagure.io/koji/pull-request/2490

Fixes: #2155
https://pagure.io/koji/issue/2155
Drop py 2.6 support (RHEL6)
2020-10-06 15:12:08 +02:00
Tomas Kopecek
5a4efd6d07 fix merge problems 2020-10-06 15:10:22 +02:00
Tomas Kopecek
0c833c1236 remove sysv from Makefiles 2020-10-06 15:00:23 +02:00
Tomas Kopecek
1e53261394 docs update 2020-10-06 15:00:23 +02:00
Tomas Kopecek
25641d18a8 remove systemd conds 2020-10-06 15:00:23 +02:00
Tomas Kopecek
63931f2f18 drop py26 test requirements 2020-10-06 15:00:23 +02:00
Tomas Kopecek
48434f4393 vm in py3 2020-10-06 15:00:23 +02:00
Tomas Kopecek
e711e7dbe5 utils in py3 2020-10-06 15:00:23 +02:00
Tomas Kopecek
894b080da1 devtools in py3 2020-10-06 15:00:23 +02:00
Tomas Kopecek
18f5a29ead packaging 2020-10-06 15:00:23 +02:00
Tomas Kopecek
a9108584b7 timezones for py 2.7 2020-10-06 15:00:23 +02:00
Tomas Kopecek
dce2ce2aa7 gzip now can be context manager 2020-10-06 15:00:23 +02:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Tomas Kopecek
878284c85c PR#2531: cli: fix tests
Merges #2531
https://pagure.io/koji/pull-request/2531

Fixes: #1870
https://pagure.io/koji/issue/1870
a new API to get tag extra with / without inheritance
2020-10-06 14:59:12 +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
041de1a7c8 PR#2525: cli: load plugins also from /usr/lib64
Merges #2525
https://pagure.io/koji/pull-request/2525

Fixes: #2524
https://pagure.io/koji/issue/2524
CLI looks only to /usr/lib for plugins
2020-10-06 14:23:28 +02:00
Tomas Kopecek
34f2cbd272 cli: load plugins also from /usr/lib64
Fixes: https://pagure.io/koji/issue/2524
2020-10-06 14:23:22 +02:00
Tomas Kopecek
3b0e0dfdde PR#2472: cli: clone-tag --config clones also extra info
Merges #2472
https://pagure.io/koji/pull-request/2472

Fixes: #2371
https://pagure.io/koji/issue/2371
cli: [clone-tag] should be able to clone extra configs
2020-10-06 14:02:52 +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
0bbb817765 PR#2530: tests: fix test for getTag(..., blocked)
Merges #2530
https://pagure.io/koji/pull-request/2530

Fixes: #2283
https://pagure.io/koji/issue/2283
No way to unset/block inherited tag.extra values
2020-10-06 14:01:26 +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
9e4de57c81 don't fail on missing directory
Related: https://pagure.io/koji/issue/2481
2020-10-05 13:15:51 +02:00
Tomas Kopecek
bfd3034141 PR#2493: getBuildConfig returns inheritance history
Merges #2493
https://pagure.io/koji/pull-request/2493

Fixes: #1870
https://pagure.io/koji/issue/1870
a new API to get tag extra with / without inheritance
2020-10-05 12:36:12 +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
90ab8e7266 fix backward compatibility 2020-10-05 12:34:59 +02:00
Tomas Kopecek
c2570f76bd cli: taginfo displays inherited extra
Fixes: https://pagure.io/koji/issue/1870
2020-10-05 12:34:59 +02:00
Tomas Kopecek
172c861442 hub: getBuildConfig - return inheritance info 2020-10-05 12:34:57 +02:00
Tomas Kopecek
146d3c0766 PR#2500: doc: livecd/livemedia updates
Merges #2500
https://pagure.io/koji/pull-request/2500

Fixes: #2094
https://pagure.io/koji/issue/2094
Docs refer to spin-livecd which is deprecated in favor of spin-livemedia
2020-10-05 11:20:25 +02:00
Tomas Kopecek
87146dc4b9 doc: livecd/livemedia updates
Fixes: https://pagure.io/koji/issue/2094
2020-10-05 11:20:19 +02:00
Tomas Kopecek
dcf235e845 PR#2523: move migration to correct script
Merges #2523
https://pagure.io/koji/pull-request/2523

Fixes: #2521
https://pagure.io/koji/issue/2521
tag_extra schema change in wrong upgrade script
2020-10-05 10:26:22 +02:00
Tomas Kopecek
1a2efb49f1 move migration to correct script
Fixes: https://pagure.io/koji/issue/2521
2020-10-05 10:25:18 +02:00
Tomas Kopecek
9191474888 PR#2518: util: [rmtree] try best to catch errors for race condition
Merges #2518
https://pagure.io/koji/pull-request/2518

Fixes: #2481
https://pagure.io/koji/issue/2481
koji.util.rmtree() is not multi-process/thread safe
2020-10-05 10:14:41 +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
Mike McLean
fa56a5b25b PR#2505: cli: show log urls for failed tasks
Merges #2505
https://pagure.io/koji/pull-request/2505

Fixes: #2188
https://pagure.io/koji/issue/2188
RFE: provide direct URL to logfile when a failure occurs
2020-10-02 12:44:11 -04: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
30e87348b8 PR#2512: proton: missing default value for timestamp
Merges #2512
https://pagure.io/koji/pull-request/2512

Fixes: #2230
https://pagure.io/koji/issue/2230
protonmsg persistent message queue
2020-10-01 09:24:07 +02:00