Commit graph

517 commits

Author SHA1 Message Date
Dennis Gilmore
952465a544 allow kojid to start when not using ssl cert auth
kojid in koji 1.12.0 fails to start when not using ssl cert auth
Traceback (most recent call last):
   File "/usr/sbin/kojid", line 5627, in <module>
     if os.path.isfile(options.cert):
   File "/usr/lib64/python2.7/genericpath.py", line 37, in isfile
     st = os.stat(path)
 TypeError: coercing to Unicode: need string or buffer, NoneType found
if you do not have a cert option defined we should move on. so add
to the if statement a check that the option is actually defined

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-04-19 14:51:19 -05:00
Mike McLean
dad02ba6ad record missing signatures even if skipping them 2017-03-30 09:54:28 -04:00
Mike McLean
96d5d0f73b rename some options for clarity 2017-03-30 09:49:58 -04:00
Mike McLean
a758374fdf deal with missing signatures more correctly 2017-03-30 09:49:58 -04:00
Mike McLean
5555a14dd1 log missing multilib files 2017-03-30 09:49:58 -04:00
Mike McLean
2a1d9678cc saner error on missing multilib files 2017-03-30 09:49:58 -04:00
Mike McLean
884a20c0cd propagate the full name of the skip_unsigned option 2017-03-30 09:49:58 -04:00
Mike McLean
216c21d89a log missing signatures even if allowing unsigned 2017-03-30 09:49:58 -04:00
Mike McLean
b7f301f33c log missing files and signatures for dist repos 2017-03-30 09:49:58 -04:00
Mike McLean
dda2549d9c handle case where tag archlist is None 2017-03-30 09:49:58 -04:00
Mike McLean
33e1c3ac4f cleanup: has_key and print
2to3 -pvwn --fix has_key
2to3 -pvwn --fix print
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
d301fa964b first stab at fixing delta rpm behavior for signed repos 2017-03-30 09:45:59 -04:00
Mike McLean
09ed16e532 upload kojipkgs data 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
cea00501a6 clean up logic to avoid duplicate code 2017-03-30 09:45:59 -04:00
Mike McLean
aa18a1f77a rework noarch filter 2017-03-30 09:45:59 -04:00
Mike McLean
576885de1c avoid noarch duplication 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
a7bff7c7fe fix multilib import 2017-03-30 09:45:59 -04:00
Mike McLean
f30d5ba758 repoDone knows if a repo is signed 2017-03-30 09:37:56 -04:00
Mike McLean
b6bc8f561b remove stray comment copied from hub code 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
0a19bee103 make the src arch work in signed repos 2017-03-30 09:37:56 -04:00
Jay Greguske
31b98eefc4 fixes from testing and upstream comments 2017-03-30 09:37:56 -04:00
Jay Greguske
47daa0aad8 add --non-latest 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
77bdd1e239 implement --delta-rpms 2017-03-30 09:37:56 -04:00
Jay Greguske
e611febbcd implement --event 2017-03-30 09:37:56 -04:00
Jay Greguske
08259b426e implement --allow-unsigned and --skip-unsigned 2017-03-30 09:37:56 -04:00
Jay Greguske
f1a45e0024 signed-repo kojiweb tweaks 2017-03-30 09:37:56 -04:00
Jay Greguske
76d8caf33b initial builder implementation for signed-repos 2017-03-30 09:37:56 -04:00
Tomas Kopecek
2d17c000ca multi-volume support for buildNotification 2017-03-28 11:46:47 +02:00
Tomas Kopecek
ed66947264 multi-volume support for wrapperRPM 2017-03-28 11:46:47 +02:00
Tomas Kopecek
19a6fd2d2f remove unused call 2017-03-28 11:46:47 +02:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Mike McLean
ed0e45e12b a few more exceptions 2017-03-02 11:09:00 -05:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Mike McLean
e4b8a39eb0 rework logic and extend unit tests 2017-02-20 10:50:39 -05:00
Mike McLean
63a358b260 add comment and docstring to choose_taskarch() 2017-02-20 10:50:39 -05:00
Xibo Ning
144a4f1b30 add method choose_taskarch 2017-02-20 10:50:39 -05:00
Xibo Ning
8d5118b5f9 choose an arch for noarch package with ExcludeArch or ExclusiveArch tag 2017-02-20 10:50:39 -05:00