Yuming Zhu
417d230277
fix schema.sql introduced by moving owner from tag_packages to another table
...
related: https://pagure.io/koji/pull-request/1473
fixes: https://pagure.io/koji/issue/956
2019-09-26 17:21:31 +02:00
Tomas Kopecek
bf624f5699
PR#1589: query builds per chunks in prune-signed-builds
...
Merges #1589
https://pagure.io/koji/pull-request/1589
Fixes : #1587
https://pagure.io/koji/issue/1587
prune-signed-builds run out of memory
2019-09-26 16:00:12 +02:00
Tomas Kopecek
0b4f0fb3a1
query builds per chunks in prune-signed-builds
...
For bigger installations query all builds can run out of memory on hub
side. Query these in 50k chunks.
Fixes: https://pagure.io/koji/issue/1587
2019-09-26 16:00:08 +02:00
Mike McLean
a5af69c94b
PR#1653: Allow ClientSession objects to get cleaned up by the garbage collector
...
Merges #1653
https://pagure.io/koji/pull-request/1653
Fixes : #1652
https://pagure.io/koji/issue/1652
Requests sessions stay around after a koji.ClientSession object is out of scope
2019-09-23 09:58:55 -04:00
mprahl
a552a248db
Allow ClientSession objects to get cleaned up by the garbage collector
...
Fixes #1652
2019-09-20 11:51:44 -04:00
Tomas Kopecek
1e35e60c21
PR#1473: move tag/package owners to separate table
...
Merges #1473
https://pagure.io/koji/pull-request/1473
Fixes : #956
https://pagure.io/koji/issue/956
package ownership changes should not trigger repo regens
2019-08-29 15:44:28 +02:00
Tomas Kopecek
3de3f61fbb
move tag/package owners to separate table
...
Changing owner is triggering repo regeneration in kojira. As it is
something which doesn't have any effect on repodata, let's put it to
separate table and let kojira ignore these changes.
Fixes: https://pagure.io/koji/issue/956
2019-08-29 15:44:24 +02:00
Tomas Kopecek
bb8340df6c
PR#1430: koji-gc: Added basic email template
...
Merges #1430
https://pagure.io/koji/pull-request/1430
2019-08-29 10:42:55 +02:00
Alex Iribarren
a4cef55bc3
Added basic email template
2019-08-29 10:42:52 +02:00
Tomas Kopecek
0b7c1198dd
PR#1633: Fix lookup_name usage + tests
...
Merges #1633
https://pagure.io/koji/pull-request/1633
Fixes : #1632
https://pagure.io/koji/issue/1632
Wrong dict usage
2019-08-29 10:24:05 +02:00
Tomas Kopecek
bf5da96053
Fix lookup_name usage + tests
...
Fixes: https://pagure.io/koji/issue/1632
2019-08-28 15:46:02 +02:00
Tomas Kopecek
0b0e38aeb2
PR#1627: Don't allow archive imports that don't match build type
...
Merges #1627
https://pagure.io/koji/pull-request/1627
2019-08-28 15:17:30 +02:00
Mike McLean
da1153fc33
raise an error when adding an archive of the wrong type
2019-08-28 15:17:27 +02:00
Mike McLean
ba83f877ff
correct error text
2019-08-28 15:17:27 +02:00
Tomas Kopecek
22e606bd1e
PR#1618: write binary data to ks file
...
Merges #1618
https://pagure.io/koji/pull-request/1618
Fixes : #1617
https://pagure.io/koji/issue/1617
fetching kickstart fails on binary vs str under py 3
2019-08-28 15:16:25 +02:00
Tomas Kopecek
0c9ecf3f7c
write binary data to ks file
...
Fixes: https://pagure.io/koji/issue/1617
2019-08-28 15:16:20 +02:00
Tomas Kopecek
650d748757
PR#1623: Extend help message to clarify clone-tag usage
...
Merges #1623
https://pagure.io/koji/pull-request/1623
2019-08-28 15:00:36 +02:00
Brendan Reilly
95875f0c80
fix tests for clone tag
2019-08-28 15:00:34 +02:00
Brendan Reilly
8b59f488d5
Extend help message to clarify clone-tag usage
2019-08-28 15:00:34 +02:00
Mike McLean
916e70c1aa
PR#1621: rework update of reserved builds
...
Merges #1621
https://pagure.io/koji/pull-request/1621
Fixes : #1603
https://pagure.io/koji/issue/1603
Possible double update in CG_Importer.get_build()
2019-08-21 15:30:06 -04:00
Mike McLean
b67de2c26e
pass correct buildinfo to callbacks
2019-08-19 11:07:43 -04:00
Mike McLean
a5f2d582cc
rework update of reserved builds
...
Fixes: https://pagure.io/koji/issue/1603
2019-08-16 17:19:57 -04:00
Mike McLean
92fcb60e79
PR#1508: fix btype lookup in list_archive_files()
...
Merges #1508
https://pagure.io/koji/pull-request/1508
Fixes : #1507
https://pagure.io/koji/issue/1507
list_archive_files does not handle multi-type builds
2019-08-15 17:04:21 -04:00
Mike McLean
f8b5f7da73
fix unit test
2019-08-15 17:00:51 -04:00
Mike McLean
2a00b1a7a2
fix btype lookup in list_archive_files()
...
Fixes: https://pagure.io/koji/issue/1507
2019-08-15 17:00:51 -04:00
Mike McLean
d31183db47
PR#1223: Unit test download_file
...
Merges #1223
https://pagure.io/koji/pull-request/1223
2019-08-14 14:22:58 -04:00
Tomas Kopecek
0375e27626
update jenkins setup
...
Some libraries dropped py2.6 support, so put there version limits for
pip in CI. Update documentation for requests-mock.
2019-08-14 14:21:43 -04:00
Jana Cupova
4f350cc26e
Unit tests download_file with errors status code
2019-08-14 14:21:43 -04:00
Mike McLean
0700e4958e
PR#1613: Allow builder to attempt krb if gssapi is available
...
Merges #1613
https://pagure.io/koji/pull-request/1613
Fixes : #1575
https://pagure.io/koji/issue/1575
Allow builder to attempt krb if gssapi is available
2019-08-14 11:47:39 -04:00
Tomas Kopecek
74ec938f69
fix krbV error handling
...
Fixes: https://pagure.io/koji/issue/1575
2019-08-14 11:47:38 -04:00
Patrick Uiterwijk
184fbf02f4
Allow builder to attempt krb if gssapi is available
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-08-14 11:47:38 -04:00
Mike McLean
badb40d5f8
PR#1612: use right top limit
...
Merges #1612
https://pagure.io/koji/pull-request/1612
Fixes : #1611
https://pagure.io/koji/issue/1611
generate_token can create longer tokens than needed
2019-08-14 11:47:22 -04:00
Tomas Kopecek
07f0cba77a
use right top limit
...
randint's top limit is included in range, so original value 256 can be
reached and as such hex-digit 100 is emitted enlarging the string.
Fixes: https://pagure.io/koji/issue/1611
2019-08-14 11:20:00 +02:00
Mike McLean
c814752008
PR#1595: enable dnf_warning in mock config
...
Merges #1595
https://pagure.io/koji/pull-request/1595
Fixes : #1594
https://pagure.io/koji/issue/1594
Warn users if buildroot uses yum instead of dnf
2019-08-12 18:02:37 -04:00
Tomas Kopecek
16fb3ad162
enable dnf_warning in mock config
...
Fixes: https://pagure.io/koji/issue/1594
2019-08-12 18:02:36 -04:00
Mike McLean
af673d985a
PR#1458: remove deprecated koji.util.relpath
...
Merges #1458
https://pagure.io/koji/pull-request/1458
Fixes : #834
https://pagure.io/koji/issue/834
Remove deprecated koji.util.relpath function
2019-08-12 17:59:27 -04:00
Tomas Kopecek
8cc8b12a9a
remove deprecated koji.util.relpath
...
Fixes: https://pagure.io/koji/issue/834
2019-08-12 17:59:26 -04:00
Mike McLean
a1fbe6d152
PR#1511: remove deprecated BuildRoot.uploadDir()
...
Merges #1511
https://pagure.io/koji/pull-request/1511
Fixes : #1455
https://pagure.io/koji/issue/1455
remove BuildRoot.uploadDir()
2019-08-12 17:58:36 -04:00
Tomas Kopecek
6afee115d0
remove deprecated BuildRoot.uploadDir()
...
Fixes: https://pagure.io/koji/issue/1455
2019-08-12 17:58:35 -04:00
Mike McLean
bf357ac073
PR#1512: remove deprecated koji_cli.lib_unique_path
...
Merges #1512
https://pagure.io/koji/pull-request/1512
Fixes : #1459
https://pagure.io/koji/issue/1459
remove deprecated koji_cli.lib_unique_path
2019-08-12 17:57:50 -04:00
Tomas Kopecek
9491c078bb
remove deprecated koji_cli.lib_unique_path
...
Fixes: https://pagure.io/koji/issue/1459
2019-08-12 17:57:49 -04:00
Mike McLean
d85be645be
PR#1490: deprecate sha1/md5_constructor from koji.util
...
Merges #1490
https://pagure.io/koji/pull-request/1490
Fixes : #1487
https://pagure.io/koji/issue/1487
Deprecate md5/sha256 constructors
2019-08-12 16:07:56 -04:00
Tomas Kopecek
dfbe322222
deprecate sha1/md5_constructor from koji.util
...
These functions are now fully provided by hashlib. Commit removes their
usage from koji's codebase and leaves deprecation message in lib.
Final removal from lib is scheduled to 1.21.
Fixes: https://pagure.io/koji/issue/1487
2019-08-12 16:07:55 -04:00
Mike McLean
c76573312a
PR#1588: 1.18 release
...
Merges #1588
https://pagure.io/koji/pull-request/1588
Fixes : #1548
https://pagure.io/koji/issue/1548
Create release notes for 1.18
2019-08-09 14:07:07 -04:00
Mike McLean
e07808f7bf
fix release date
2019-08-09 10:12:56 -04:00
Mike McLean
57ebae64e6
include a few more PRs in release notes
2019-08-09 10:12:31 -04:00
Mike McLean
4dc84bbe87
another changelog update
2019-08-09 10:12:31 -04:00
Mike McLean
15e544fc34
update changelog again
2019-08-09 10:12:31 -04:00
Mike McLean
a7c9b11bc9
update changelog
2019-08-09 10:12:31 -04:00
Mike McLean
5d8037c934
typo
2019-08-09 10:12:31 -04:00