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
Tomas Kopecek
81574e8859
update version for PyPi
2019-08-09 10:12:31 -04:00
Mike McLean
257d3a1a7b
migration note about permissions
...
Fixes: https://pagure.io/koji/issue/1548
2019-08-09 10:12:31 -04:00
Mike McLean
87033e6980
cleanup
2019-08-09 10:12:31 -04:00
Mike McLean
2754228818
more relnotes updates
2019-08-09 10:12:31 -04:00
Mike McLean
01199c00dd
initial release notes
2019-08-09 10:12:31 -04:00
Mike McLean
a5eb5a3da4
bump version, add changelog
2019-08-09 10:12:31 -04:00
Mike McLean
949e17f279
migration doc
2019-08-09 10:12:31 -04:00
Mike McLean
b9c1af4b7a
add new indexes in schema upgrade
2019-08-09 10:12:31 -04:00
Mike McLean
6f4c7b9728
PR#1606: pull owner from correct place
...
Merges #1606
https://pagure.io/koji/pull-request/1606
Fixes : #1604
https://pagure.io/koji/issue/1604
Build created by CLI import-cg is not owned by the owner specified in metadata
2019-08-07 12:09:32 -04:00
Mike McLean
8ecfb4dc5b
pull owner from correct place
...
Fixes https://pagure.io/koji/issue/1604
In this function, we have binfo, buildinfo, and self.buildinfo.
A little confusing ;)
Note that self.buildinfo['owner'] is validated in prep_build()
2019-08-06 15:35:33 -04:00
Mike McLean
bee68998b7
PR#1602: copy updated policy for reserved cg builds
...
Merges #1602
https://pagure.io/koji/pull-request/1602
Fixes : #1599
https://pagure.io/koji/issue/1599
Reserved cg builds do not honor volume policy
2019-08-06 14:31:25 -04:00
Tomas Kopecek
bf7bd1c1af
copy updated policy for reserved cg builds
...
Fixes: https://pagure.io/koji/issue/1599
2019-08-06 14:31:24 -04:00
Mike McLean
c363aa2a3f
PR#1601: fix recycling build due to cg
...
Merges #1601
https://pagure.io/koji/pull-request/1601
Fixes : #1598
https://pagure.io/koji/issue/1598
Error recycling build
2019-08-06 10:25:15 -04:00
Tomas Kopecek
4c0caecca8
fix recycling build due to cg
...
Fixes: https://pagure.io/koji/issue/1598
2019-08-06 10:25:14 -04:00
Mike McLean
0d8a778a9e
PR#1597: Backward-compatible fix for CG import
...
Merges #1597
https://pagure.io/koji/pull-request/1597
Fixes : #1596
https://pagure.io/koji/issue/1596
Backward compatibility fix CG API (build without owner)
2019-08-06 10:20:04 -04:00
Tomas Kopecek
64f734631b
Backward-compatible fix for CG import
...
User needn't to be specified during CG import. In such case actual user
should be the owner.
Fixes: https://pagure.io/koji/issue/1596
2019-08-02 14:46:58 +02:00
Mike McLean
b870015943
PR#1591: secrets import is missing 'else' variant
...
Merges #1591
https://pagure.io/koji/pull-request/1591
Fixes : #1590
https://pagure.io/koji/issue/1590
partially missing test on secrets lib import
2019-08-01 15:38:00 -04:00
Tomas Kopecek
9b72831bdf
secrets import is missing 'else' variant
...
Later in code 'secrets' is tested for its existence, so it should be set
to None if it wasn't imported.
Fixes: https://pagure.io/koji/issue/1590
2019-08-01 15:37:57 -04:00