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
Mike McLean
d0045125c0
PR#1555: use _writeInheritanceData in _create_tag
...
Merges #1555
https://pagure.io/koji/pull-request/1555
Fixes : #1554
https://pagure.io/koji/issue/1554
_create_tag can fail on writeInheritanceData still needing admin
2019-07-31 15:24:19 -04:00
Tomas Kopecek
8abc2471ca
use _writeInheritanceData in _create_tag
...
Fixes: https://pagure.io/koji/issue/1554
2019-07-31 15:24:15 -04:00
Mike McLean
ecb9829c07
PR#1580: cli: verify user in block-notification command
...
Merges #1580
https://pagure.io/koji/pull-request/1580
Fixes : #1579
https://pagure.io/koji/issue/1579
block-notification CLI should raise GenericError exception for non existing user
2019-07-30 16:18:19 -04:00
Yu Ming Zhu
75d8a8e036
cli: verify user in block-notification command
2019-07-30 16:18:16 -04:00
Mike McLean
f81bc8b477
PR#1578: cli:fix typo in mock-config
...
Merges #1578
https://pagure.io/koji/pull-request/1578
Fixes : #1577
https://pagure.io/koji/issue/1577
cli: typo in `mock-config`
2019-07-30 11:19:53 -04:00
Yu Ming Zhu
3f35913c0f
cli:fix typo in mock-config
2019-07-23 12:03:35 +00:00
Mike McLean
bf394684ef
PR#1464: API for reserving NVRs for content generators
...
Merges #1464
https://pagure.io/koji/pull-request/1464
Fixes : #1463
https://pagure.io/koji/issue/1463
[RFE] Predeclare nvr for content generators
2019-07-16 10:45:40 -04:00
Mike McLean
1f52e60839
only check epoch against reservation if it is given
2019-07-16 10:41:43 -04:00
Mike McLean
b5517d16d5
default epoch to None in cg_init_build()
2019-07-16 10:33:16 -04:00
Mike McLean
5b12221bc8
error if reservation token given without build_id
2019-07-16 10:26:25 -04:00
Mike McLean
6caca35f4d
clear reservation when cg build completes
2019-07-16 10:11:55 -04:00
Tomas Kopecek
f1d2ebc85c
move cg_id to build table
2019-07-16 10:11:55 -04:00
Tomas Kopecek
8da8420c65
better error messages
2019-07-16 10:11:55 -04:00
Tomas Kopecek
ca54688645
docs for CG reservation API
2019-07-16 10:11:55 -04:00
Tomas Kopecek
9ff34438b8
CLI shows reservation
2019-07-16 10:11:55 -04:00
Tomas Kopecek
9524718a91
fix tests for CLI
2019-07-16 10:11:55 -04:00