Commit graph

816 commits

Author SHA1 Message Date
Mike McLean
45844af8ef deprecate importBuildInPlace hub call
Related: #553
https://pagure.io/koji/issue/553
2017-09-18 16:10:56 -04:00
Mike McLean
e8d46e2e94 support repo_include_all tag extra option
Fixes #588
https://pagure.io/koji/issue/588
2017-09-18 16:06:25 -04:00
Dennis Gilmore
b1eac7d030 ignore inodes when running rpmdiff.
https://koji.fedoraproject.org/koji/taskinfo?taskID=21649395
failed in the rpmdiff stage with
BuildError: The following noarch package built differently on different architectures: python3-ipaserver-4.6.0-1.fc27.noarch.rpm
rpmdiff output was:
error: cannot open Packages index using db5 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
error: cannot open Packages database in /var/lib/rpm
....N...... /usr/lib/python3.6/site-packages/ipaserver/install/__pycache__/ipa_pkinit_manage.cpython-36.opt-1.pyc
....N...... /usr/lib/python3.6/site-packages/ipaserver/install/__pycache__/ipa_pkinit_manage.cpython-36.pyc
on investigation the files on aarch64 and ppc64 were using 2 inodes
on x86_64, i686, armv7hl, ppc64le, and s390x using 1 inode.
if I manually run the diff with --ignore S changed to N the diff passes
given that we already ignore sizes we should ignore inodes used also

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-18 10:03:40 -04:00
Mike McLean
b744195c14 Add a note to get_build docstring
Related: #549
https://pagure.io/koji/issue/549
2017-09-08 09:23:16 -04:00
Mike McLean
6835409a2b allow_none is the default for our dumps 2017-08-25 16:48:02 -04:00
Mike McLean
a59dd67765 hub returns datetime objects as strings 2017-08-25 16:48:02 -04:00
Mike McLean
be2fae90ae move custom xmlrpc marshaller to its own file 2017-08-25 16:48:02 -04:00
Mike McLean
ab48fa80b2 move xmlrpc marshaller into lib and use i8 for large ints 2017-08-25 16:48:02 -04:00
Tomas Kopecek
448924e2c6 Patch xmlrpclib for 64-bit integers
Related: https://pagure.io/koji/issue/464
2017-08-25 16:48:02 -04:00
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