Tomas Kopecek
7d277a8ad5
urllib changes
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
c87cab8f54
python-modernize -f lib2to3.fixes.fix_tuple_params
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
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
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
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
87a44ac863
debug logging
2017-03-30 09:45:59 -04:00
Mike McLean
da54026278
use correct lifetime option for deleting signed repos
2017-03-30 09:45:59 -04:00
Mike McLean
ec5d71016c
logging adjustments
2017-03-30 09:45:59 -04:00
Mike McLean
75ac8be3b7
avoid directory namespace conflicts with signed repos
2017-03-30 09:45:59 -04:00
Jay Greguske
9b504a280c
add signed flag to repo table
2017-03-30 09:37:56 -04:00
Jay Greguske
506ca54180
kojira policy for signed repos
2017-03-30 09:37:56 -04:00
Mike McLean
e72cc81518
typo
2017-03-07 08:15:20 -05:00
Tomas Kopecek
cc9fff9840
remove has_key (not working in python3)
2017-03-07 08:15:20 -05:00
Tomas Kopecek
1494301465
use new exception syntax
2017-03-02 10:52:30 -05:00
Mike McLean
53875831df
a couple more prints
2017-02-28 11:06:09 -05:00
Tomas Kopecek
c143d0b88f
print statement -> print function
2017-02-28 10:55:56 -05:00
Dennis Gilmore
60f0859591
wrap sending email in try except
...
Sometimes the recipient email may no longer be valid due to many
reasons. Handle the failure to send email gracefully.
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-02-22 11:27:46 -05:00
Mike McLean
c41881a8b6
preserve old option for compatibility
2017-01-26 16:39:22 +01:00
Dan Horák
552e79d98f
koji-shadow: fix log() invocation
2017-01-26 16:39:22 +01:00
Dan Horák
4b2085e7f7
koji-shadow: remove authca, it's not used for ssl_login any more
2017-01-26 16:39:22 +01:00
Dan Horák
785b567abe
koji-shadow: allow use without certs
2017-01-26 16:39:22 +01:00
Tomas Kopecek
7fb7bd28a9
backward-compatible default value for kojid/kojira/koji-gc certs
2017-01-13 10:46:41 -05:00
Till Maas
8e30249401
Clarify purpose of cfgmap
2016-12-19 21:48:12 +01:00
Patrick Uiterwijk
de89ddcd34
Add krb_rdns to koji-shadow
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-19 12:25:14 -05:00
Till Maas
baa6afca60
koji-gc: Set default value for krb_rdns to False
...
In Fedora infra krb_rdns needs to be set to False. This matches
https://pagure.io/koji/pull-request/244
2016-12-19 12:20:09 -05:00
Till Maas
987984e863
Revert "default krb_rdns to True"
...
This reverts commit 02128ee577 .
The second column in cfgmap is an alias and "True" is not a valid alias.
It was mistaken in the reverted commit as a default value, which it is
not. Reverting this commit should fix the following traceback that
koji-gc in Fedora currenty raises:
Traceback (most recent call last):
File "/usr/sbin/koji-gc", line 901, in <module>
options, args = get_options()
File "/usr/sbin/koji-gc", line 159, in get_options
if config.has_option(*alias):
TypeError: has_option() argument after * must be a sequence, not bool
2016-12-19 12:20:09 -05:00
Patrick Uiterwijk
3300e29b5c
Make koji-gc also work with principal and keytab
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-19 12:15:35 -05:00
Tomas Kopecek
f4ede5339f
Update http:// to https:// in code
...
Where https is working, code was updated to use it.
2016-12-19 11:49:11 -05:00
Till Maas
d15ff037dc
Use https to link to wiki
2016-12-19 11:49:11 -05:00
Mike McLean
921e6303fb
allow setting more session options in kojira
2016-11-22 16:41:31 -05:00
Mike McLean
97264e690c
let koji-gc config set more session options
2016-11-22 16:41:31 -05:00
Mike McLean
89ca42f224
use grab_session_options everywhere
2016-11-22 16:41:31 -05:00
Mike McLean
de5fe47111
koji-gc: remove --network-hack, use grab_session_options
2016-11-22 16:41:31 -05:00
Karsten Hopp
f86dd31077
back out top broken changes
2016-10-26 13:57:49 -04:00
Karsten Hopp
ca15aff82b
add --logfile parameter, no behaviour changes if omitted
2016-10-26 13:57:49 -04:00
Mike McLean
b4be256abd
no coverage for unreached code
2016-10-25 17:16:12 -04:00
Mike McLean
a1c8808544
ImportErrors are uncovered
2016-10-25 17:16:12 -04:00
Mike McLean
4b36a8f2f9
fix spelling error
2016-09-15 15:59:03 -04:00
Dennis Gilmore
02128ee577
default krb_rdns to True
...
koji-gc fails to run if you do not set a value in your config.
it should default to a valid value.
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-07 14:21:06 -05:00
Mike McLean
e3043f2583
honor smtp_host option in koji-gc (jflorian)
...
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1367945
Merges: #136
2016-08-25 19:29:34 -04:00
Mike McLean
b0cdd312ec
add krb_rdns option. see https://fedorahosted.org/koji/ticket/328
2016-05-11 16:58:41 -04:00
Dan Horák
9ecc283d4e
koji-shadow: use /var/tmp for work files
2016-03-21 15:24:19 -04:00
Dan Horák
3d06f7a805
koji-shadow: use workpath consistently
2016-03-21 15:24:19 -04:00
Dan Horák
880a57730f
copy extra information for a tag cloned from primary koji
2016-03-21 15:18:01 -04:00