Mike McLean
6bbf9afdc8
don't assume content type is given
2016-11-22 16:41:31 -05:00
Mike McLean
47da84ed72
preCommit too. why not?
2016-09-14 14:20:28 -04:00
Mike McLean
3ecc5dbe52
add postCommit callback
2016-09-14 14:20:28 -04:00
Mohan Boddu
dd82e9cea2
Remove all bad-whitespaces
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-08-29 14:26:32 -04:00
Mike McLean
70006e6cfc
don't recycle event ids in multicalls
2016-05-11 16:56:58 -04:00
Mike McLean
34a400652e
cg_import policy stub
2015-11-17 10:45:31 -05:00
Mike McLean
c19f9a60a8
Revert "fix superclass ref"
...
This reverts commit ce4e19739b .
2015-10-14 16:45:26 -04:00
Mike McLean
ce4e19739b
fix superclass ref
2015-09-23 16:15:42 -04:00
Mike McLean
f68099f584
fix more #pylint issues
2015-06-06 17:38:52 -04: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 McLean
1ce5413904
in modpy mode, if ConfigFile is set to default, then default to normal ConfigDir
2015-02-19 15:25:19 -05:00
Mike McLean
8d3166f13f
Support conf.d in kojihub and kojiweb
2015-02-04 05:33:34 -05:00
Mike Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike McLean
56d028d987
fix variable name
2014-07-31 17:05:34 -04:00
Mike McLean
acefce8523
limit request size
2014-07-31 17:05:34 -04:00
Mike McLean
fde4e75da2
Use iterators for potentially large queries to reduce memory use
2014-07-31 17:05:34 -04:00
Mike McLean
1e2fc6a278
image migration hub call
2012-11-29 16:53:06 -05:00
Mike McLean
2d600ce169
context.params not set for fast uploads
2012-11-12 12:05:25 -05:00
Mike McLean
9e9549d994
new "fast upload" mechanism
2012-11-06 14:39:49 -05:00
Mike McLean
2976de313f
drop self args from argspec
2012-05-22 14:36:19 -04:00
Mike McLean
51ec9b8b50
call_with_argcheck utility function
2012-05-22 14:36:13 -04:00
Mike McLean
2c372cd5f0
use inspect module to report/check rpc args
2012-05-22 14:18:21 -04:00
Mike McLean
54c0ed8438
Support wsgi in koji-hub and koji-web
...
- mod_python still supported, but deprecated
- mod_wsgi is the default
- koji-web now configured via web.conf
- new wsgi-friendly publisher for koji-web
- koji-web now has logging
2012-05-10 17:27:40 -04:00
Mike McLean
ef9923a679
allow setting rlimits in kojid
2012-03-28 16:47:19 -04:00
Mike McLean
b85ad14377
use RawConfigParser on hub
2011-09-15 16:00:17 -04:00
Mike McLean
8ffe4011db
More hub logging changes, based on aj's patch
2011-09-15 16:00:17 -04:00
Mike Bonnet
fe12fbf482
log pid, rss, and stime when debugging the xmlrpc request handler
2011-09-15 16:00:16 -04:00
Mike McLean
8b2a53dc49
resource limit config for kojihub
2011-05-20 12:34:10 -04:00
Jay Greguske
cb1b9ac7d7
added vm policy and vm_name test
...
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2010-10-29 10:38:40 -04:00
Mike Bonnet
4aab93fe8f
Windows builds working, including artifacts import
2010-07-21 13:51:42 -04:00
Mike McLean
8c5ebdb81f
disable Maven features by default
2010-07-01 16:36:59 -04:00
Mike McLean
d4cc2223da
big maven switch
2010-06-28 17:27:36 -04:00
Mike McLean
3e562c5b85
Fix defaults for ProxyDNs and ProxyPrincipals
2010-06-18 16:42:42 -04:00
Mike McLean
159ba82013
channel policy to determine which channel a task is placed in
2010-05-26 15:19:13 -04:00
Mike McLean
589a8ee481
remove extraneous newlines in logs
2010-04-16 12:42:18 -04:00
Mike McLean
4ee3a12890
avoid ugly errors if connection fails to close
2010-03-12 17:55:04 -05:00
Mike McLean
061df3ccb9
no more _opt_bool
2010-03-12 17:55:04 -05:00
Mike McLean
3570390cf8
more hub logging work
2010-03-12 17:54:55 -05:00
Mike McLean
0abc999e6c
more logging config in hub
2010-03-12 15:34:02 -05:00
Mike McLean
487ccdb2e3
clean up hub logging a bit
2010-03-12 15:34:02 -05:00
Mike McLean
59bde48e43
package list policy
2010-03-09 16:03:59 -05:00
Mike Bonnet
ae953a7072
- extend the plugin system with an event-based callback infrastructure
...
- implement callback hooks for task state transitions
- example echo plugin that logs all callback invocations
2009-11-09 10:13:21 -05:00
Mike Bonnet
029cb2069f
provide a default for CN (it will rarely be changed)
2009-02-18 15:06:48 -05:00
Mike Bonnet
0c2f95715d
provide a default for NotifyOnSuccess
2009-02-06 19:00:37 -05:00
Dennis Gilmore
2f8d215c5c
fix case in MissingPolicyOk actually set the defaut correctly
2009-01-12 22:54:07 -06:00
Mike McLean
cde80d3d6d
fix handling of DBHost/DBhost option
2008-11-15 14:38:34 -05:00
Mike McLean
d029e1c276
enable verbose policy errors without full debug
2008-11-13 01:16:42 -05:00
Mike McLean
f86c278860
a better default for list of plugins
2008-11-12 18:12:35 -05:00
Mike McLean
ee651710c8
build_from_repo_id policy
2008-11-04 18:10:56 -05:00
Mike McLean
2bfbadb661
correct a few typos from last batch of commits
2008-11-03 23:59:34 -05:00