Mike Bonnet
3d7a6af560
fix argument type in format string
...
Argument is a string, not a float.
2019-11-27 16:42:24 +01:00
Tomas Kopecek
8cca853218
PR#1823: docs for partitioning buildroot_listings
...
Merges #1823
https://pagure.io/koji/pull-request/1823
Fixes : #1746
https://pagure.io/koji/issue/1746
Partition big tables
2019-11-27 16:20:18 +01:00
Tomas Kopecek
c6d1f34782
docs for partitioning buildroot_listings
...
Fixes: https://pagure.io/koji/issue/1746
2019-11-27 16:20:14 +01:00
Tomas Kopecek
1a4fae67e0
PR#1771: koji-sweep-db: Turn on autocommit to eliminate VACUUMing errors
...
Merges #1771
https://pagure.io/koji/pull-request/1771
Fixes : #1762
koji-sweep-db VACUUM inside a transaction
https://pagure.io/koji/issue/1762
2019-11-27 16:15:39 +01:00
Jim Foraker
a668aaccd8
koji-sweep-db: Turn on autocommit to eliminate VACUUMing errors
...
psycopg2 leaves transactions open by default, which causes VACUUM to
fail. Turning on autocommit disables this behavior.
2019-11-27 16:15:35 +01:00
Tomas Kopecek
c292242d97
PR#723: improve test and clean targets in Makefiles
...
Merges #723
https://pagure.io/koji/pull-request/723
Fixes : #1539
improve test and clean targets in Makefiles
https://pagure.io/koji/issue/1539
2019-11-27 15:42:34 +01:00
Yu Ming Zhu
2fc351b2bd
fixes typo in test3
2019-11-27 15:42:30 +01:00
Yuming Zhu
6fc051530b
runtest adjusting
2019-11-27 15:42:30 +01:00
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