Commit graph

6765 commits

Author SHA1 Message Date
Tomas Kopecek
4ca03ffa47 update .gitignore 2022-10-07 14:54:21 +02:00
Tomas Kopecek
c3b6a3b549 PR#3488: CLI download-task more specific info for not CLOSED tasks.
Merges #3488
https://pagure.io/koji/pull-request/3488

Fixes: #3487
https://pagure.io/koji/issue/3487
CLI download-task returns 'Task XX has not finished yet.' for failed tasks
2022-10-07 14:31:14 +02:00
Jana Cupova
d2c580a3f8 CLI download-task more specific info for not CLOSED tasks.
Fixes: https://pagure.io/koji/issue/3487
2022-10-07 14:31:07 +02:00
Tomas Kopecek
ffb7af26d8 PR#3525: Koji 1.30.1 release notes
Merges #3525
https://pagure.io/koji/pull-request/3525

Fixes: #3522
https://pagure.io/koji/issue/3522
Release note 1.30.1
2022-10-07 14:09:55 +02:00
Tomas Kopecek
14c7dea3e0 Koji 1.30.1 release notes
Related: https://pagure.io/koji/issue/3522
2022-10-07 14:09:48 +02:00
Tomas Kopecek
1cc61ddae6 PR#3528: Increase CLI unit tests
Merges #3528
https://pagure.io/koji/pull-request/3528

Fixes: #3527
https://pagure.io/koji/issue/3527
Increase CLI unit tests
2022-10-05 13:26:20 +02:00
Jana Cupova
92590ce573 Increase CLI unit tests
Fixes: https://pagure.io/koji/issue/3527
2022-10-05 13:26:13 +02:00
Tomas Kopecek
52e70f8c03 PR#3521: spec: change license identifiers
Merges #3521
https://pagure.io/koji/pull-request/3521

Fixes: #3477
https://pagure.io/koji/issue/3477
Update license field in spec file
2022-10-05 12:37:36 +02:00
Tomas Kopecek
d120d0961d spec: change license identifiers
Use SPDX format for license identifiers

Related: https://pagure.io/koji/issue/3477
2022-10-04 11:41:01 +02:00
Tomas Kopecek
d0983b4244 PR#3502: Download all files, skip downloaded files
Merges #3502
https://pagure.io/koji/pull-request/3502

Fixes: #3499
https://pagure.io/koji/issue/3499
recent download-task changes incompatible with previous behavior
2022-10-03 11:42:10 +02:00
Jana Cupova
293f7508b4 Download all files, skip downloaded files
Fixes: https://pagure.io/koji/issue/3499
2022-10-03 11:42:04 +02:00
Tomas Kopecek
6e9a311c12 PR#3498: kiwi: Explicitly use koji-generated description
Merges #3498
https://pagure.io/koji/pull-request/3498

Fixes: #3497
https://pagure.io/koji/issue/3497
kiwi doesn't prefer .kiwi file
2022-10-03 11:40:21 +02:00
Tomas Kopecek
0570e46fb0 kiwi: Explicitely use koji-generated description
Related: https://pagure.io/koji/issue/3497
2022-10-03 11:39:03 +02:00
Tomas Kopecek
07d8dd5cfd PR#3496: kiwi: handle include protocols
Merges #3496
https://pagure.io/koji/pull-request/3496

Fixes: #3495
https://pagure.io/koji/issue/3495
kiwi includes doesn't handle prefixes correctly
2022-10-03 11:33:31 +02:00
Tomas Kopecek
d1d8f512c1 kiwi: handle include protocols
Related: https://pagure.io/koji/issue/3495
2022-09-29 15:40:38 +02:00
Tomas Kopecek
eec1b9ed39 PR#3464: cli: allow redirects for file size checking
Merges #3464
https://pagure.io/koji/pull-request/3464

Fixes: #3463
https://pagure.io/koji/issue/3463
download_file can check redirects
2022-09-27 14:11:50 +02:00
Tomas Kopecek
df44502792 cli: allow redirects for file size checking
Related: https://pagure.io/koji/issue/3463
2022-09-27 14:11:43 +02:00
Tomas Kopecek
f4bb294d4f PR#3513: Return data when query execute asList with transform
Merges #3513
https://pagure.io/koji/pull-request/3513

Fixes: #3512
https://pagure.io/koji/issue/3512
execute in QueryProcessor doesn't return data when is used 'asList' and 'transform'
2022-09-26 09:57:42 +02:00
Jana Cupova
0478d2f040 Return data when query execute asList with transform
Fixes: https://pagure.io/koji/issue/3512
2022-09-26 09:57:35 +02:00
Tomas Kopecek
a4c92f5128 PR#3518: doc: fix missing characters
Merges #3518
https://pagure.io/koji/pull-request/3518

Fixes: #3510
https://pagure.io/koji/issue/3510
Documentation error about Kerberos
2022-09-23 12:14:34 +02:00
Tomas Kopecek
a9912d39e7 doc: fix missing characters
Related: https://pagure.io/koji/issue/3510
2022-09-23 12:12:41 +02:00
Tomas Kopecek
76d307d97d PR#3492: Fix arch filter in list of hosts webUI
Merges #3492
https://pagure.io/koji/pull-request/3492

Fixes: #3491
https://pagure.io/koji/issue/3491
filter arches returns wrong list of hosts on webUI
2022-09-23 12:01:13 +02:00
Jana Cupova
3dfa3854d8 Fix arch filter in list of hosts webUI
Fixes: https://pagure.io/koji/issue/3491
2022-09-23 12:01:05 +02:00
Tomas Kopecek
d335ac05ae PR#3486: packaging: Block py3 compilation in py2 env
Merges #3486
https://pagure.io/koji/pull-request/3486

Relates: #3485
https://pagure.io/koji/issue/3485
rpm-build of koji shows errors
2022-09-22 14:10:37 +02:00
Tomas Kopecek
d1a9105179 packaging: Block py3 compilation in py2 env
Related: https://pagure.io/koji/issue/3485
2022-09-22 14:10:31 +02:00
Tomas Kopecek
924ad6f563 PR#3455: www: more generic taskinfo parameter handling
Merges #3455
https://pagure.io/koji/pull-request/3455

Fixes: #3454
https://pagure.io/koji/issue/3454
Simplify taskinfo page handling
2022-09-22 12:10:10 +02:00
Tomas Kopecek
589e49a663 www: more generic taskinfo parameter handling
Related: https://pagure.io/koji/issue/3454
2022-09-22 12:10:03 +02:00
Tomas Kopecek
891fce1259 PR#3507: kojivmd: cleanup VMs with UNDEFINE_NVRAM
Merges #3507
https://pagure.io/koji/pull-request/3507
2022-09-16 09:10:26 +02:00
Ken Dreyer
b194a9ad3c kojivmd: cleanup VMs with UNDEFINE_NVRAM
Newer virtual machines may use nvram, and libvirt needs a special flag
to clean these up. Prior to this change (with libvirt-8.0.0-8.1.el9_0):

  File "/usr/sbin/kojivmd", line 1072, in cleanupVM
    vm.undefine()
  File "/usr/lib64/python3.9/site-packages/libvirt.py", line 3178, in undefine
    raise libvirtError('virDomainUndefine() failed')
  libvirt.libvirtError: Requested operation is not valid: cannot undefine
    domain with nvram

RHEL 7 first introduced the libvirt.VIR_DOMAIN_UNDEFINE_NVRAM flag in
libvirt-python-1.2.8-7.el7 (rhbz#1144284)
2022-09-16 09:10:19 +02:00
Tomas Kopecek
041bbc3502 PR#3504: kojivmd: narrow error handling for missing VMs
Merges #3504
https://pagure.io/koji/pull-request/3504
2022-09-16 09:04:33 +02:00
Ken Dreyer
953bbba183 kojivmd: narrow error handling for missing VMs
lookupByName() could raise libvirt.libvirtError for many different
reasons (libvirt connection problems, etc).

If this kojivmd host does not have this VM available
(VIR_ERR_NO_DOMAIN), and we should log the "VM not available" message
and skip taking the task.

If the error is something else, this is unexpected, and we should raise
it in the logs so the administrator can see it at non-debug log levels.
2022-09-16 09:04:27 +02:00
Tomas Kopecek
90206e38b2 PR#3506: doc: explain waitrepo tasks in vm channel
Merges #3506
https://pagure.io/koji/pull-request/3506
2022-09-16 09:01:45 +02:00
Ken Dreyer
68a6036d45 doc: explain waitrepo tasks in vm channel
Explain how to handle waitrepo tasks in the vm channel.
2022-09-16 09:01:28 +02:00
Tomas Kopecek
bc3aa421cd PR#3503: kojivmd: import xmlrpc.server
Merges #3503
https://pagure.io/koji/pull-request/3503
2022-09-16 09:00:27 +02:00
Ken Dreyer
4db109cbaf kojivmd: import xmlrpc.server
The xmlrpc.server module is separate from the main xmlrpc module, and we
must explicitly import it in order to use it in DaemonXMLRPCServer.
2022-09-16 09:00:21 +02:00
Tomas Kopecek
9f71d3ca4d PR#3505: kojivmd: pass "-F qcow2" to qemu-img create
Merges #3505
https://pagure.io/koji/pull-request/3505
2022-09-16 08:59:00 +02:00
Ken Dreyer
fa5cba7117 kojivmd: pass "-F qcow2" to qemu-img create
In RHEL 9 (qemu-img-6.2.0-11.el9_0.3), the "qemu-img create" command
requires the "-F" flag that specifies the second image's format.

qemu-img-1.5.3-175.el7_9.6 recognizes this -F flag also, so it should be
safe to use on all supported platforms.
2022-09-15 11:58:04 -04:00
Tomas Kopecek
45a581eb16 PR#3469: Fix dist-repo repo.json url
Merges #3469
https://pagure.io/koji/pull-request/3469

Fixes: #3468
https://pagure.io/koji/issue/3468
www: wrong dist repo 'repo.json' url
2022-09-12 15:45:41 +02:00
Jana Cupova
611c073419 Fix dist-repo repo.json url
Fixes: https://pagure.io/koji/issue/3468
2022-09-12 15:45:34 +02:00
Tomas Kopecek
93ca7ff10b PR#3484: Use nextval function instead of query 'SELECT nextval'
Merges #3484
https://pagure.io/koji/pull-request/3484

Fixes: #3483
https://pagure.io/koji/issue/3483
use nextval() instead of SQL
2022-09-05 10:54:03 +02:00
Jana Cupova
3fc402d5f2 Use nextval function instead of query 'SELECT nextval'
Fixes: https://pagure.io/koji/issue/3483
2022-09-05 10:42:11 +02:00
Tomas Kopecek
06718df3f9 PR#3479: fix flake8 errors
Merges #3479
https://pagure.io/koji/pull-request/3479

Related #3480
https://pagure.io/koji/issue/3480
2022-08-29 15:03:48 +02:00
Tomas Kopecek
59f7f8642a fix flake8 errors
Related: https://pagure.io/koji/issue/3480
2022-08-29 15:03:05 +02:00
Tomas Kopecek
a4ae298162 PR#3481: Fix URLs to pull requests
Merges #3481
https://pagure.io/koji/pull-request/3481
2022-08-29 13:27:34 +02:00
Alex Iribarren
154decaff4
Fix URLs to pull requests 2022-08-29 13:10:22 +02:00
Tomas Kopecek
3de81ab8c4 PR#3467: Release notes koji 1.30
Merges #3467
https://pagure.io/koji/pull-request/3467

Fixes: #3465
https://pagure.io/koji/issue/3465
1.30 release notes
2022-08-29 09:38:20 +02:00
Tomas Kopecek
192458f08b emphasize clone-tag incompatibility 2022-08-29 09:37:47 +02:00
Tomas Kopecek
43fa6c7730 Release notes koji 1.30
Related: https://pagure.io/koji/issue/3465
2022-08-29 09:37:47 +02:00
Tomas Kopecek
20b809e01f PR#3478: Order download tasks and download only first srpm
Merges #3478
https://pagure.io/koji/pull-request/3478

Fixes: #3461
https://pagure.io/koji/issue/3461
koji changed behaviour when downloading task rpms
2022-08-25 13:33:31 +02:00
Jana Cupova
cb5515aca4 Order download tasks and download only first srpm
Fixes: https://pagure.io/koji/issue/3461
2022-08-25 13:33:23 +02:00