Yuming Zhu
7a6ebc851f
improve test and clean targets in Makefiles
2019-11-27 15:42:30 +01:00
Tomas Kopecek
aa48b87c12
PR#1037: use --update for dist-repos if possible
...
Merges #1037
https://pagure.io/koji/pull-request/1037
Fixes : #1031
https://pagure.io/koji/issue/1031
createrepo_c in distRepo does not include --update
2019-11-27 15:30:02 +01:00
Tomas Kopecek
16279ceefa
use --update for dist-repos if possible
...
Fixes: https://pagure.io/koji/issue/1031
2019-11-27 15:29:56 +01:00
Tomas Kopecek
2f5c045de5
PR#1817: document tag inheritance
...
Merges #1817
https://pagure.io/koji/pull-request/1817
Fixes : #1757
https://pagure.io/koji/issue/1757
document pkg_filter
2019-11-27 13:45:17 +01:00
Tomas Kopecek
2612a87270
grammar fixes
2019-11-27 13:45:12 +01:00
Tomas Kopecek
d2aff54a70
document tag inheritance
...
Fixes: https://pagure.io/koji/issue/1757
2019-11-27 13:45:12 +01:00
Tomas Kopecek
a84a338d73
PR#1691: human-readable timestamp in koji-gc log
...
Merges #1691
https://pagure.io/koji/pull-request/1691
Fixes : #1690
https://pagure.io/koji/issue/1690
koji-gc message about "last used" is just timestamp
2019-11-26 15:14:58 +01:00
Tomas Kopecek
b7da687d71
human-readable timestamp in koji-gc log
...
Fixes: https://pagure.io/koji/issue/1690
2019-11-26 15:14:53 +01:00
Tomas Kopecek
46d7fa7da4
PR#1755: drop buildMap API call
...
Merges #1755
https://pagure.io/koji/pull-request/1755
Fixes : #1721
https://pagure.io/koji/issue/1721
Drop build_map call
2019-11-26 12:26:34 +01:00
Tomas Kopecek
a3a172a16b
rewrite list-untagged to use buildReferences
2019-11-26 12:26:29 +01:00
Tomas Kopecek
83b92da7e4
drop buildMap API call
...
It was originally designed for garbage-collector, but it is now using
buildReferences call which supersedes this one.
Fixes: https://pagure.io/koji/issue/1721
2019-11-26 12:26:29 +01:00
Tomas Kopecek
1ebda75b6e
PR#1814: some list-pkgs options work only in combinations
...
Merges #1814
https://pagure.io/koji/pull-request/1814
Fixes : #1779
https://pagure.io/koji/issue/1779
Some list-pkgs options work only in combinations
2019-11-25 14:55:58 +01:00
Tomas Kopecek
242fbd00af
some list-pkgs options work only in combinations
...
Fixes: https://pagure.io/koji/issue/1779
2019-11-25 14:55:53 +01:00
Tomas Kopecek
d560bfa35d
PR#821: Log kernel version used for buildroot
...
Merges #821
https://pagure.io/koji/pull-request/821
Fixes : #793
https://pagure.io/koji/issue/793
Log builder kernel
2019-11-25 14:54:38 +01:00
Tomas Kopecek
d662f7e501
Log kernel version used for buildroot
...
Fixes: https://pagure.io/koji/issue/793
2019-11-25 14:54:34 +01:00
Tomas Kopecek
7301d58714
PR#983: fix downloads w/o content-length
...
Merges #983
https://pagure.io/koji/pull-request/983
Fixes : #982
https://pagure.io/koji/issue/982
Fix downloads w/o content-length
2019-11-25 14:53:09 +01:00
Tomas Kopecek
98b83eff69
fix downloads w/o content-length
...
Fixes: https://pagure.io/koji/issue/982
2019-11-25 14:51:08 +01:00
Tomas Kopecek
ad61fdee12
PR#284: Show build link(s) on buildContainer task page
...
Merges #284
https://pagure.io/koji/pull-request/284
Fixes : #1529
Show build link(s) on buildContainer task page
https://pagure.io/koji/issue/1529
2019-11-25 14:42:14 +01:00
Tomas Kopecek
97ca6fb106
Show build link(s) on buildContainer task page
...
Fixes: https://pagure.io/koji/issue/1529
2019-11-25 14:42:11 +01:00
Tomas Kopecek
cd54495c26
PR#1826: fix time type for restartHosts
...
Merges #1826
https://pagure.io/koji/pull-request/1826
Fixes : #1825
https://pagure.io/koji/issue/1825
restartVerify subtask of restartHosts API call failed
2019-11-25 11:54:21 +01:00
Tomas Kopecek
9e0452377f
fix test
2019-11-25 11:54:18 +01:00
Tomas Kopecek
b35499cdb4
fix time type for restartHosts
...
Fixes: https://pagure.io/koji/issue/1825
2019-11-25 11:54:18 +01:00
Tomas Kopecek
6bf9f2b73e
PR#1790: remove old db constraint
...
Merges #1790
https://pagure.io/koji/pull-request/1790
Fixes : #1789
https://pagure.io/koji/issue/1789
Unable to add host to channel due to database constraint
2019-11-25 11:47:20 +01:00
Tomas Kopecek
eb850998e0
remove old db constraint
...
Fixes: https://pagure.io/koji/issue/1789
2019-11-25 11:47:16 +01:00
Tomas Kopecek
1ef565f80f
PR#1775: clarify --ts usage
...
Merges #1775
https://pagure.io/koji/pull-request/1775
Fixes : #1774
https://pagure.io/koji/issue/1774
Better docs for list-pkgs --ts
2019-11-25 11:46:01 +01:00
Tomas Kopecek
7c510f7dcd
clarify --ts usage
...
Fixes: https://pagure.io/koji/issue/1774
2019-11-25 11:45:57 +01:00
Tomas Kopecek
f2774d5047
PR#1542: Replace urllib.request with requests library
...
Merges #1542
https://pagure.io/koji/pull-request/1542
Fixes : #1530
https://pagure.io/koji/issue/1530
Replace urllib.request with requests library
2019-11-25 11:31:12 +01:00
Tomas Kopecek
aad9fac8d9
move from urrlib.request.urlopen to requests.get
...
Fixes: https://pagure.io/koji/issue/1530
2019-11-25 11:31:08 +01:00
Tomas Kopecek
8920d9d613
drop compatrequests variant
2019-11-25 11:31:08 +01:00
Patrick Uiterwijk
52f896c602
Implement openRemoteFile with requests or compatrequests
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2019-11-25 11:31:08 +01:00
Tomas Kopecek
9ac3fa7cc5
PR#1380: no notifications in case of deleted tag
...
Merges #1380
https://pagure.io/koji/pull-request/1380
Fixes : #1379
https://pagure.io/koji/issue/1379
tagNotification is broken for deleted tags
2019-11-25 11:13:32 +01:00
Tomas Kopecek
f0aa13bf0e
no notifications in case of deleted tag
...
Fixes: https://pagure.io/koji/issue/1379
2019-11-25 11:13:27 +01:00
Tomas Kopecek
8f0efe8905
PR#1787: raise error when config search paths is empty
...
Merges #1787
https://pagure.io/koji/pull-request/1787
Fixes : #1786
koji cli should probably error if there is no config at all
https://pagure.io/koji/issue/1786
2019-11-22 08:43:49 +01:00
Yu Ming Zhu
f7f1c65bea
raise error when config search paths is empty
...
also fix unittest: test_profiles
notes: since the test won't read config files anymore, lift the loop number from 20 -> 256 to increase the probability of hitting the multithread issue
fixes : #1786
2019-11-22 08:43:44 +01:00
Tomas Kopecek
54105d2ae8
PR#1828: cli: refine output of list-signed
...
Merges #1828
https://pagure.io/koji/pull-request/1828
Fixes : #1827
CLI method list-signed with tag option returns debug messages
https://pagure.io/koji/issue/1827
2019-11-22 08:27:51 +01:00
Yu Ming Zhu
5249df98c9
cli: refine output of list-signed
2019-11-22 08:27:46 +01:00
Tomas Kopecek
f3abebe9db
PR#1781: Remove title option for livemedia-creator
...
Merges #1781
https://pagure.io/koji/pull-request/1781
Fixes : #1780
Remove title option from livemedia-creator
https://pagure.io/koji/issue/1780
2019-11-21 15:20:02 +01:00
Mohan Boddu
5b3dbd4fd8
Remove title option for livemedia-creator
...
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2019-11-21 15:19:58 +01:00
Mike McLean
aaaabcc99c
PR#1714: use BulkInsertProcessor for hub mass inserts
...
Merges #1714
https://pagure.io/koji/pull-request/1714
Fixes : #1712
https://pagure.io/koji/issue/1712
[RFE] Use bulk inserts in hub
2019-11-19 12:01:19 -05:00
Mike McLean
1344062bdd
fix typo and extend unit test to cover where it occurred
2019-11-19 12:01:14 -05:00
Mike McLean
727de7d953
support batch operation in BulkInsertProcessor
2019-11-19 12:01:14 -05:00
Tomas Kopecek
116bf7adbc
rename set_record to add_record
2019-11-19 12:01:14 -05:00
Tomas Kopecek
6de0700ac8
use BulkInsertProcessor for hub mass inserts
...
Fixes: https://pagure.io/koji/issue/1712
2019-11-19 12:01:14 -05:00
Tomas Kopecek
a365c9ad54
PR#1797: hub: build for policy check should be build_id in host.tagBuild
...
Merges #1797
https://pagure.io/koji/pull-request/1797
Fixes : #1796
hub: host.tagBuild failed in 1.19
https://pagure.io/koji/issue/1796
2019-11-19 14:14:01 +01:00
Yu Ming Zhu
ac91dc857b
policy test: ImportedTest - accept dict as build
...
and invalid build will raise `koji.GenericError`
fixes : #1796
2019-11-19 14:13:57 +01:00
Tomas Kopecek
1d42e444c6
PR#1807: util: rename "dict" arg
...
Merges #1807
https://pagure.io/koji/pull-request/1807
Fixes : #1812
util: rename "dict" arg
https://pagure.io/koji/issue/1812
2019-11-19 12:37:16 +01:00
Ken Dreyer
ff93556f3e
util: rename "dict" arg
...
dict is a built-in Python type. Don't use it as a variable name.
2019-11-19 12:37:13 +01:00
Tomas Kopecek
de15f887b9
PR#1149: hub: new addArchiveType RPC
...
Merges #1149
https://pagure.io/koji/pull-request/1149
Fixes #1528
hub: new addArchiveType RPC
https://pagure.io/koji/issue/1528
2019-11-19 09:06:51 +01:00
Ken Dreyer
e800b1d5a6
hub: new addArchiveType RPC
...
Add a new hub method for inserting new archivetype records.
This closely matches addBType.
The purpose of this change is to make it easier to permit content
generators to import files with extensions that we have not defined in
the upstream packaged koji SQL file.
2019-11-19 09:06:47 +01:00
Tomas Kopecek
a0711397cc
PR#1798: rm old test code
...
Merges #1798
https://pagure.io/koji/pull-request/1798
Fixes : #1811
remove old test code
https://pagure.io/koji/issue/1811
2019-11-18 10:46:02 +01:00