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
Dan Horák
80186d70ef
koji-shadow: mark builds without buildroot info as noroot
...
Due bugs in used tools mainline koji instance could store empty buildroot infos for builds.
2016-03-21 15:09:58 -04:00
Till Maas
ffcf1a30eb
Remove dead client CA code
...
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
2015-12-10 18:51:10 -05:00
Dennis Gilmore
9c69602a65
Add systemd unit file for kojira
...
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 08:14:53 -05:00
Pavol Babincak
9e89ebb9a4
Ran reindent.py from cpython tools on all python scripts
...
Citing from reindent docs:
Change Python (.py) files to use 4-space indents and no hard tab
characters. Also trim excess spaces and tabs from ends of lines, and
remove empty lines at the end of files. Also ensure the last line
ends with a newline.
Citing from PEP 8:
Use 4 spaces per indentation level.
Python 2 code indented with a mixture of tabs and spaces should be
converted to using spaces exclusively.
Don't write string literals that rely on significant trailing
whitespace. Such trailing whitespace is visually indistinguishable
and some editors (or more recently, reindent.py) will trim them.
Also PyLint recommends not to have trailing whitespace on any line.
2015-05-13 16:39:53 -04:00
Mike Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike McLean
5c086d80f8
consider more timestamps before deleting old repos
2014-10-28 12:30:05 -04:00
Mike McLean
31bf2f48cb
report subset of maven tags in regen total
2014-10-22 15:00:44 -04:00
Mike McLean
43b72f4f2d
report expired time when triggering newRepo task
2014-10-22 15:00:44 -04:00
Mike McLean
4cd794b290
prioritize repo regen by time since expiration rather than time since creation
2014-10-22 15:00:44 -04:00
Mike McLean
55ac3ab50a
solve a threading issue in kojira
2014-10-17 10:47:56 -04:00
Mike McLean
ee3a25457b
don't _forget subsession when used by a thread
2014-10-16 14:50:21 -04:00
Mike McLean
8e4deac955
log out subsession if thread dies
2014-10-16 14:43:36 -04:00
Mike McLean
b86e4fec54
log exceptions in currency checker thread
2014-10-16 14:43:36 -04:00
Mike McLean
c58e36eb72
restart currency checker if it dies
2014-10-16 14:43:36 -04:00
Mike McLean
9b2baee016
remove multicall from currencyChecker in kojira
2014-10-16 14:43:36 -04:00
Mike McLean
a045d4465e
kojira: check repo currency in separate thread
2014-10-16 14:43:36 -04:00
Mike McLean
3472e5bda8
fix to address for gc notices (ticket 268)
2014-07-25 10:30:44 -04:00
Dennis Gilmore
ca297c8482
koji-shadow: add option to only import noarch builds
...
when following the mass rebuild it can be useful to see where you are in
the rebuild by having all the noarch builds imported, it will give you a
better idea of what needs to actually be built.
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2014-06-13 12:57:24 -05:00
Dan Horák
684b186050
koji-shadow: convert certificate paths to absolute
...
Converting the certificate paths to absolute using os.path.expanduser() will
allow using a common shadow config for multiple users.
2014-06-11 15:28:31 -04:00
Dennis Gilmore
5816ed5cc3
fixup some issies identified by pylint
...
remove unused imports
fixup whitespace issues
update copyright years
2014-05-13 21:10:23 -05:00
Dan Horák
f1647dc554
allow setting build priority
...
When building for multiple tags it could be useful to set different priorities
for the tasks, eg. rawhide builds will be lower prio than branched builds.
2013-12-09 11:52:56 -06:00
Dan Horák
a1096fb878
fix format when printing rpms without buildroot
2013-12-09 11:52:06 -06:00
Anthony Messina
7d1f70703d
add support for the krbservice and email_domain options to koji-gc
2013-09-18 15:20:08 -04:00