Commit graph

792 commits

Author SHA1 Message Date
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
Mike McLean
d133806c84 avoid duplicate hard linking 2017-03-30 09:45:59 -04:00
Mike McLean
f58790091d use safer_move in repoDone 2017-03-30 09:37:56 -04:00
Mike McLean
f30d5ba758 repoDone knows if a repo is signed 2017-03-30 09:37:56 -04:00
Mike McLean
f383f41a55 clean up signed_repo_init
- remove unused logger
- keep pre/postRepoInit callbacks compatible with existing ones
2017-03-30 09:37:56 -04:00
Jay Greguske
f35d3aad7b lowercase directories in signed repos 2017-03-30 09:37:56 -04:00
Jay Greguske
1c0c991f02 errno not error 2017-03-30 09:37:56 -04:00
Jay Greguske
bed61eec23 fall back to a copy if we cannot hardlink 2017-03-30 09:37:56 -04:00
Jay Greguske
0b19e890c6 Make the signedRepo tasks happen in the createrepo channe 2017-03-30 09:37:56 -04:00
Jay Greguske
9b504a280c add signed flag to repo table 2017-03-30 09:37:56 -04:00
Jay Greguske
97b6d4f866 lay out rpms by first character 2017-03-30 09:37:56 -04:00
Jay Greguske
1a6feb5070 encapsulate repodata references 2017-03-30 09:37:56 -04:00
Jay Greguske
4f4c7e3d4e implement multilib 2017-03-30 09:37:56 -04:00
Jay Greguske
8f638935b6 move package addition logic to builder from hub 2017-03-30 09:37:56 -04:00
Jay Greguske
e0e1dc15ee implement comps 2017-03-30 09:37:56 -04:00
Jay Greguske
77bdd1e239 implement --delta-rpms 2017-03-30 09:37:56 -04:00