Commit graph

857 commits

Author SHA1 Message Date
Mike McLean
1e3e99184b set task arch for indirection image builds 2017-08-24 14:48:14 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Mike McLean
b405701b53 hub: rework match_kojifile() and add a unit test 2017-07-25 16:45:25 -04:00
Tomas Kopecek
1f91bdfeeb check also filename/size 2017-07-25 12:37:46 -04:00
Tomas Kopecek
64f2467fd0 kojifile component type 2017-07-25 12:37:46 -04:00
Tomas Kopecek
6c68b6ab34 CLI block-group command
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Yuming Zhu
1be3a71f84 fix NoneType TypeError in deleteTag 2017-07-06 12:15:17 -04:00
Yuming Zhu
7b73f4b0bb explain new behavior in docstring of getUserPerms 2017-07-06 12:06:53 -04:00
Yuming Zhu
e871192f40 allow getUserPerm accepting None arg 2017-07-06 12:06:53 -04:00
Yuming Zhu
2838f7fd9e getUserPerms should throw GenericError when no user found 2017-07-06 12:06:53 -04:00
Tomas Kopecek
2edfccc951 remove deprecated buildFromCVS call
Fixes: https://pagure.io/koji/issue/468
2017-07-06 11:30:04 -04:00
Tomas Kopecek
b98d93d788 drop mod_python support
Fixes: https://pagure.io/koji/issue/466
2017-07-06 14:04:19 +02:00
Mike McLean
1da15eb294 validate channelID and userID inputs for listHosts 2017-06-21 11:00:08 -04:00
Tomas Kopecek
1a7074db43 Don't allow not-null empty arch/userID in listHosts
Related: https://pagure.io/koji/issue/463

If empty string is passed, resulting SQL query is not valid. Check also
channelID/userID to be an integer.
2017-06-21 11:00:08 -04:00
Mike McLean
da89f61401 getBuildLogs call for hub 2017-06-21 10:55:13 -04:00
Mike McLean
ce6a88fa2a allow restart-hosts to work when deploying this change 2017-06-21 08:39:08 -04:00
Mike McLean
81eb30d5ce restart-hosts: new options and a timeout 2017-06-21 08:39:08 -04:00
Tomas Kopecek
b6c56eb752 propagate task.assign return value 2017-06-21 08:31:15 -04:00
Patrick Uiterwijk
51c125a06e Make sure to fix encoding all RPM Headers
The fix in #403 left some RPM Headers unfixed, most notably changelog* (because those are lists).
This patch makes use of fixEncodingRecurse to make sure all heades get encoded correctly.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-07 15:09:58 -04:00
Mike McLean
64a04a45b1 avoid secondary traceback when hub plugin fails to load 2017-06-07 14:47:47 -04:00
Tomas Kopecek
d625c0aa4d remove changes not relevant to cli 2017-06-01 09:39:24 +02:00
Tomas Kopecek
6948551318 read json data in text-mode instead of binary 2017-06-01 09:39:23 +02:00
Tomas Kopecek
2c8a4d332e python-modernize -f libmodernize.fixes.fix_int_long_tuple 2017-06-01 09:39:23 +02:00
Tomas Kopecek
a4a1536a03 python-modernize -f libmodernize.fixes.fix_file 2017-06-01 09:39:22 +02:00
Tomas Kopecek
68bf19c739 python-modernize -f libmodernize.fixes.fix_dict_six 2017-06-01 09:39:22 +02:00
Tomas Kopecek
8567044a20 python-modernize -f libmodernize.fixes.fix_classic_division 2017-06-01 09:39:22 +02:00
Tomas Kopecek
6a0a5a232b python-modernize -f libmodernize.fixes.fix_basestring 2017-06-01 09:39:22 +02:00
Tomas Kopecek
f6e5bd11f3 python-modernize -f lib2to3.fixes.fix_numliterals 2017-06-01 09:39:22 +02:00
Tomas Kopecek
e071f793ee python-modernize -f lib2to3.fixes.fix_methodattrs 2017-06-01 09:39:22 +02:00
Tomas Kopecek
67af38a1fe python-modernize -f lib2to3.fixes.fix_funcattrs 2017-06-01 09:39:22 +02:00
Tomas Kopecek
1220008f8f python-modernize -f lib2to3.fixes.fix_except 2017-06-01 09:39:22 +02:00
Tomas Kopecek
b1da150c01 python-modernize -f libmodernize.fixes.fix_imports_six 2017-06-01 09:39:21 +02:00
Tomas Kopecek
c579e36489 python-modernize -f libmodernize.fixes.fix_unicode_type 2017-06-01 09:39:21 +02:00
Tomas Kopecek
0eaf3349c4 python-modernize -f libmodernize.fixes.fix_zip 2017-06-01 09:39:21 +02:00
Tomas Kopecek
7f946b37be python-modernize -f libmodernize.fixes.fix_xrange_six 2017-06-01 09:39:21 +02:00
Tomas Kopecek
7a197b62c0 remove non-printable characters from getRPMHeaders result 2017-05-17 13:11:22 -04:00
Tomas Kopecek
eaae5b3212 don't remove nonprintable characters by default 2017-05-17 13:11:22 -04:00
Tomas Kopecek
993b2660da remove non-printable characters in fixEncoding
Some real-world changelogs contains non-printable characters or invalid
unicode ones. xmlrpc fails on such strings, so we sanitize changelog
strings before passing it to client.

Related: https://pagure.io/koji/issue/349
2017-05-17 13:11:22 -04:00
Brendan Reilly
d9280d6945 Increase 50 character limit of tag names 2017-04-25 14:07:52 -04:00
Mike McLean
a0ed3a7a5e fix latest links for dist repos 2017-03-30 09:49:58 -04:00
Mike McLean
1ceb366f9d last bit of renaming 2017-03-30 09:49:58 -04:00
Mike McLean
8346a60976 more renaming 2017-03-30 09:47:20 -04:00
Mike McLean
c86b5c3ac0 first stab at renaming signed repos to dist repos
sed -i -e 's/signed\(.\?[Rr]epo\)/dist\1/g'
sed -i -e 's/Signed\(.\?[Rr]epo\)/Dist\1/g'
2017-03-30 09:47:20 -04:00
Mike McLean
09ed16e532 upload kojipkgs data 2017-03-30 09:45:59 -04:00
Mike McLean
eb330165cf handle unsigned rpms in signedRepoMove 2017-03-30 09:45:59 -04:00
Mike McLean
21fda8805e no integer keys in xmlrpc 2017-03-30 09:45:59 -04:00
Mike McLean
cb6a425d7f rework signedRepoMove api a bit 2017-03-30 09:45:59 -04:00
Mike McLean
1bfa815b16 update exception syntax in signed-repo code 2017-03-30 09:45:59 -04:00
Mike McLean
e5d7990308 clean up handling of task_opts in signed_repo_init 2017-03-30 09:45:59 -04:00
Mike McLean
531e3db1f2 use nextval function in signed_repo_init() 2017-03-30 09:45:59 -04:00