Yu Ming Zhu
ecebcba90f
unittest fix: tests/test_cli/test_list_tagged.py
2020-02-12 12:34:03 +01:00
Tomas Kopecek
f9190657d9
Add 'target' policy
...
Fixes: https://pagure.io/koji/issue/1040
2020-02-11 14:30:25 +01:00
Tomas Kopecek
4edb9b15c2
don't user full listTags in list-groups call
...
Fixes: https://pagure.io/koji/issue/1954
2020-02-10 15:35:48 +01:00
Tomas Kopecek
e0ad9c5a1e
fix test
2020-02-04 10:53:12 +01:00
Tomas Kopecek
4e28eda265
fix usage message for add-pkg
...
Fixes: https://pagure.io/koji/issue/1212
2020-02-04 10:33:34 +01:00
Tomas Kopecek
e016e6624d
Emit user in PackageListChange messages
...
Fixes: https://pagure.io/koji/issue/1035
2020-02-04 09:22:43 +01:00
Tomas Kopecek
5494ea7632
check package list existence before blocking
...
Fixes: https://pagure.io/koji/issue/1177
2020-02-04 09:19:13 +01:00
Tomas Kopecek
11aa2bcead
fix help message for list-groups
...
Fixes: https://pagure.io/koji/issue/1189
2020-02-04 09:15:28 +01:00
Yu Ming Zhu
bce5afdf0c
hub: remove debugFunction API
...
testcase of list-api has some litaral reference. It doesn't matter but changed as well
fixes : #1833
2020-01-23 16:27:38 +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
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
ac42f9b8ba
basic zchunk support for dist-repo
...
Fixes: https://pagure.io/koji/issue/1198
2020-01-02 11:30:55 +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
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
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
98ab70dcff
fix permission check in CLI
2019-12-11 11:47:02 +01:00
Tomas Kopecek
502e7ed2ca
fix tests
2019-12-11 11:47:02 +01:00
Tomas Kopecek
bf45d6927f
unify return values for permission denied
...
Fixes: https://pagure.io/koji/issue/1776
2019-12-11 11:47:01 +01:00
Yu Ming Zhu
f63d94cbad
add tests for group and countOnly for QueryProcessor
2019-12-05 15:41:08 +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
9e0452377f
fix test
2019-11-25 11:54:18 +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
aad9fac8d9
move from urrlib.request.urlopen to requests.get
...
Fixes: https://pagure.io/koji/issue/1530
2019-11-25 11:31:08 +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
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
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
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
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
Christopher O'Brien
52088adbb1
make tests work
2019-10-31 11:40:16 +01:00
Yu Ming Zhu
f66bb81a85
cli: fix typo in edit-user cmd
...
fixes : #862
2019-10-22 10:44:55 +00:00
Tomas Kopecek
79a7da7c0b
CGUninitBuild for cancelling CG reservations
...
Fixes: https://pagure.io/koji/issue/1610
2019-10-16 10:03:46 +02:00
Tomas Kopecek
b96f828e7b
fix test for RHEL6
2019-10-15 12:55:14 +02:00
Yuming Zhu
4ff3da3b6b
fix unitest import for el6
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
088767a58c
cli: fix edit-user command for multiple kerberos support
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
3e124f685a
fix editUser api for multiple kerberos support
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
180cf894e2
hub: [get_group_members] return field is not named as alias
2019-10-15 09:16:43 +02:00
Yuming Zhu
b2b8d5f9cc
strict per item in config_files
2019-10-15 09:14:16 +02:00
Yu Ming Zhu
153ac4058d
fix test_runroot_builder tests
2019-10-15 09:14:16 +02:00
Yu Ming Zhu
4c1928f377
extract read_config_files util for config parsing
2019-10-15 09:14:16 +02:00
Brendan Reilly
fda86ce710
Added editUser api call
...
Fixes : #862
2019-10-14 10:14:50 +02:00
Brendan Reilly
bc7250f312
Added CLI counterpart to groupListRemove
...
Fixes : #893
2019-10-11 15:54:08 -04:00
Yu Ming Zhu
cace979532
fix unittests
2019-10-10 16:37:57 +02:00
Yuming Zhu
473bc1460b
hub: [getRPMFile] add strict behavior
2019-10-10 18:18:32 +08:00
Mike McLean
f0cdeaab07
tests for joinpath
2019-10-09 08:41:15 -04:00
Tomas Kopecek
0d6d9a51a6
swapped values in message
...
Related: https://pagure.io/koji/issue/1090
2019-10-03 16:03:03 +02:00
Tomas Kopecek
ca802b6e93
fix sql order in test
2019-09-30 15:47:56 +02:00