Mike McLean
42fc5b0006
a little cleanup
2020-01-20 09:38:10 +01:00
Mike McLean
d85259d39e
missing closing markup
2020-01-20 09:38:10 +01:00
Mike McLean
07135c3f5f
fix whitespace
2020-01-20 09:38:10 +01:00
Tomas Kopecek
6821560362
koji 1.20 release
...
Fixes: https://pagure.io/koji/issue/1898
2020-01-20 09:38:10 +01:00
Tomas Kopecek
20de2b89cb
PR#1909: a follow-up fix for koji-gc
...
Merges #1909
https://pagure.io/koji/pull-request/1909
Fixes : #1697
https://pagure.io/koji/issue/1697
koji-gc: untagging/moving to trashcan is very slow
2020-01-16 14:48:39 +01:00
Yuming Zhu
89f1b67e55
koji-gc: fix nvr refs
2020-01-16 14:48:33 +01:00
Tomas Kopecek
f72b2a9d1f
PR#1921: fix test for PR1918
...
Merges #1921
https://pagure.io/koji/pull-request/1921
2020-01-07 13:46:42 +01:00
Tomas Kopecek
b6837798a6
fix test for PR1918
...
Related: https://pagure.io/koji/pull-request/1918
2020-01-07 13:45:04 +01:00
Tomas Kopecek
7064020367
PR#1893: raise GenericError on existing build reservation
...
Merges #1893
https://pagure.io/koji/pull-request/1893
Fixes : #1888
https://pagure.io/koji/issue/1888
CGInitBuild doesn't raise GenericError if build already exists.
2020-01-07 10:32:39 +01:00
Tomas Kopecek
906d039e3e
raise GenericError on existing build reservation
...
Fixes: https://pagure.io/koji/issue/1888
2020-01-07 10:32:34 +01:00
Tomas Kopecek
ec163a9746
PR#1917: Update typeinfo metadata documentation
...
Merges #1917
https://pagure.io/koji/pull-request/1917
2020-01-07 09:19:35 +01:00
Athos Ribeiro
9016a17f87
Update typeinfo metadata documentation
...
The build.extra.typeinfo build metadata has a strong relation with koji
BTypes. Here we update the documentation to make it clearer that the
typeinfo entries must hold the build types used in build for a given
content generator.
2020-01-07 09:19:29 +01:00
Tomas Kopecek
4a9b2e251f
PR#1918: cli: add "--new" option in "grant-permission" help summary
...
Merges #1918
https://pagure.io/koji/pull-request/1918
2020-01-07 09:18:16 +01:00
Ken Dreyer
0065b341b4
cli: add "--new" option in "grant-permission" help summary
...
Prior to this change, "koji grant-permission -h" showed the "--new"
option at the bottom of the output, but not in the summary. This made it
easy to visually skip over this option.
Update the help text example so users can quickly understand how to use
the --new option.
2020-01-06 15:26:14 -07:00
Tomas Kopecek
eb3a8360f7
PR#1912: hub: [distRepo] fix input tag arg for getBuildConfig call
...
Merges #1912
https://pagure.io/koji/pull-request/1912
Fixes : #1630
https://pagure.io/koji/issue/1630
koji distrepo and tag2distrepo are prone to race conditions
2020-01-06 12:32:55 +01:00
Yu Ming Zhu
75f4c24bf2
hub: [distRepo] fix input tag arg for getBuildConfig call
...
fixes : #1630
2020-01-05 14:46:05 +00:00
Tomas Kopecek
e77dd630d0
PR#1832: docstrings for API
...
Merges #1832
https://pagure.io/koji/pull-request/1832
Fixes : #1831
https://pagure.io/koji/issue/1831
how do you get RPMs associated with a scratch build task ID?
2020-01-02 12:25:49 +01:00
Tomas Kopecek
27df9ed497
docstrings for API
...
Relates: https://pagure.io/koji/issue/1831
2020-01-02 12:25:40 +01:00
Tomas Kopecek
6d46a7569a
PR#1889: fix nvr/dict params
...
Merges #1889
https://pagure.io/koji/pull-request/1889
Fixes : #1619
https://pagure.io/koji/issue/1619
[RFE] brew build --wait-for-repo/build
2020-01-02 12:20:05 +01:00
Tomas Kopecek
a392467bce
fix nvr/dict params
...
Related: https://pagure.io/koji/issue/1619
2020-01-02 12:19:57 +01:00
Tomas Kopecek
6ecffb8f99
PR#1743: basic zchunk support for dist-repo
...
Merges #1743
https://pagure.io/koji/pull-request/1743
Fixes : #1198
https://pagure.io/koji/issue/1198
RFE: Support zchunk repodata creation with dist-repo
2020-01-02 11:31:04 +01:00
Tomas Kopecek
ac42f9b8ba
basic zchunk support for dist-repo
...
Fixes: https://pagure.io/koji/issue/1198
2020-01-02 11:30:55 +01:00
Tomas Kopecek
74f525a7fb
PR#1869: limit distRepo tasks per tag
...
Merges #1869
https://pagure.io/koji/pull-request/1869
Fixes : #1630
https://pagure.io/koji/issue/1630
koji distrepo and tag2distrepo are prone to race conditions
2020-01-02 11:26:33 +01:00
Tomas Kopecek
aacb1ba0ce
use getBuildConfig
2020-01-02 11:26:20 +01:00
Tomas Kopecek
4d03794657
limit distRepo tasks per tag
...
Introduces 'distrepo.cancel_others` extra flag for tags. If enabled, new
distRepo task will cancel previous non-finished ones leaving only new
one.
Fixes: https://pagure.io/koji/issue/1630
2020-01-02 11:26:20 +01:00
Tomas Kopecek
14901ced87
PR#1873: koji-gc: untagging/moving to trashcan is very slow
...
Merges #1873
https://pagure.io/koji/pull-request/1873
Fixes : #1697
https://pagure.io/koji/issue/1697
koji-gc: untagging/moving to trashcan is very slow
2020-01-02 11:23:43 +01:00
Tomas Kopecek
92a8fdfe95
use more multicalls in koji-gc
...
Fixes: https://pagure.io/koji/issue/1697
2020-01-02 11:23:36 +01:00
Tomas Kopecek
327793f01f
listTags needn't permissions every time
...
There is a performance penalty for joining permission table. Especially
koji-gc doesn't need this info, so it can be ignored by an option.
2020-01-02 11:23:36 +01:00
Tomas Kopecek
7afba10874
PR#1829: Add a sanity check on remotely opened RPMs
...
Merges #1829
https://pagure.io/koji/pull-request/1829
Fixes : #290
https://pagure.io/koji/issue/290
consider some validation/retry/check for openRemoteFile
2020-01-02 10:45:56 +01:00
Tomas Kopecek
8c0bedeeb5
added koji exceptions
...
Fixes: https://pagure.io/koji/issue/290
2020-01-02 10:45:48 +01:00
Mike McLean
2ff52c0dc3
refactor
2020-01-02 10:45:48 +01:00
Patrick Uiterwijk
5b2e901d2e
Add a sanity check on remotely opened RPMs
...
This should catch issues with downloading RPMs early, so as to not break
the build in unknown ways.
Fixes : #290
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2020-01-02 10:45:48 +01:00
Tomas Kopecek
734538f161
PR#1892: kojid: use binary msg for python3 in *Notification tasks
...
Merges #1892
https://pagure.io/koji/pull-request/1892
Fixes : #1882
https://pagure.io/koji/issue/1882
buildNotification and tagNotification returns a traceback
2020-01-02 10:44:30 +01:00
Yu Ming Zhu
8d4a5c7129
kojid: use binary msg for python3 in *Notification tasks
...
fixes : #1882
2020-01-02 10:44:20 +01:00
Tomas Kopecek
0c56cad2b5
PR#1854: do not use with statement with requests.get
...
Merges #1854
https://pagure.io/koji/pull-request/1854
Fixes : #1530
https://pagure.io/koji/issue/1530
Replace urllib.request with requests library
2019-12-23 10:00:28 +01:00
Yuming Zhu
666111575b
do not use with statement with requests.get
...
fixes : #1530
2019-12-23 10:00:21 +01:00
Tomas Kopecek
0e93209587
PR#1875: document noarch rpmdiff behaviour
...
Merges #1875
https://pagure.io/koji/pull-request/1875
Fixes : #996
https://pagure.io/koji/issue/996
rpmdiff result for different count of hardlinks in rpm should fail
2019-12-19 15:22:59 +01:00
Tomas Kopecek
f9553070f2
document noarch rpmdiff behaviour
...
Fixes: https://pagure.io/koji/issue/996
2019-12-19 15:22:53 +01:00
Tomas Kopecek
18744ddb4d
PR#1872: hub: getUser: default krb_princs value is changed to True
...
Merges #1872
https://pagure.io/koji/pull-request/1872
Fixes : #1822
https://pagure.io/koji/issue/1822
hub: krb_princs of getUser should be True by default
2019-12-19 14:55:40 +01:00
Yu Ming Zhu
350b04eb37
hub: getUser: default krb_princs value is changed to True
...
fixes : #1822
2019-12-19 14:55:35 +01:00
Tomas Kopecek
72044c1cdb
PR#1824: additional options to clean database
...
Merges #1824
https://pagure.io/koji/pull-request/1824
Fixes : #1707
https://pagure.io/koji/issue/1707
[RFE] Cleaning of old records in database
2019-12-19 13:55:57 +01:00
Tomas Kopecek
b09fd01677
additional options to clean database
...
Fixes: https://pagure.io/koji/issue/1707
2019-12-19 13:55:06 +01:00
Tomas Kopecek
1ddb03dc32
PR#1246: split admin_emails option for kojid
...
Merges #1246
https://pagure.io/koji/pull-request/1246
Fixes : #1240
https://pagure.io/koji/issue/1240
admin_emails not working
2019-12-19 10:32:03 +01:00
Tomas Kopecek
0e5042832d
split admin_emails option in koji.add_mail_logger
...
If there are multiple e-mailes separated by comma of space, they should
be split for correct usage of smtplib.sendmail.
Fixes: https://pagure.io/koji/issue/1240
2019-12-19 10:31:58 +01:00
Tomas Kopecek
b6074963e9
PR#1794: merge duplicate docs
...
Merges #1794
https://pagure.io/koji/pull-request/1794
Fixes : #1793
https://pagure.io/koji/issue/1793
Duplicated docs on writing plugins
2019-12-12 16:24:45 +01:00
Tomas Kopecek
64566ca172
merge duplicate docs
...
Fixes: https://pagure.io/koji/issue/1793
2019-12-12 16:24:39 +01:00
Tomas Kopecek
3c4377e8e2
PR#763: clean all unused import and reorder imports
...
Merges #763
https://pagure.io/koji/pull-request/763
Fixes : #1537
https://pagure.io/koji/issue/1537
clean all unused `import` and reorder imports
2019-12-12 16:14:05 +01:00
Tomas Kopecek
062050c80f
PR#1626: build can wait for actual repo
...
Merges #1626
https://pagure.io/koji/pull-request/1626
Fixes : #1619
https://pagure.io/koji/issue/1619
[RFE] brew build --wait-for-repo/build
2019-12-12 15:29:32 +01:00
Tomas Kopecek
418376dc81
build can wait for actual repo
...
New options --wait-for-build and --wait-for-repo for build command are
simplification of using wait-repo + build command succession. They have
same semantices as the original one.
Fixes: https://pagure.io/koji/issue/1619
2019-12-12 15:29:27 +01:00
Tomas Kopecek
160780cedf
PR#1640: Provide for passing credentials to SRPMfromSCM
...
Merges #1640
https://pagure.io/koji/pull-request/1640
Fixes : #1658
https://pagure.io/koji/issue/1658
Provide for passing credentials to SRPMfromSCM
2019-12-12 15:22:05 +01:00