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
ab99443414
Update exception syntax in rmtree()
2016-12-19 12:31:01 -05:00
Mike McLean
d4590637a1
replace old rmtree with the new one
2016-12-19 12:28:10 -05:00
Mike McLean
8f42fda97d
keep going on errors
2016-12-19 12:28:10 -05:00
Mike McLean
949f23dd7b
add a note
2016-12-19 12:28:10 -05:00
Mike McLean
e58850eb05
first stab at rmtree for long filenames
2016-12-19 12:28:10 -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
Yuming Zhu
de5a34288a
ut: koji.utils - cases for related Maven build utils
2016-11-21 10:52:32 -05:00
Mike McLean
a1c8808544
ImportErrors are uncovered
2016-10-25 17:16:12 -04:00
Tomas Kopecek
c37effcbd7
remove unused variables/methods
2016-10-04 15:48:54 +02:00
Tomas Kopecek
921258749a
removed unused imports
2016-10-04 15:48:54 +02: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
0e7c45a544
update raise syntax in safer_move()
2016-07-26 16:20:54 -04:00
Mike McLean
720c647959
just wrap shutil.move for now
2016-07-26 16:20:54 -04:00
Mike McLean
03c3be7125
stub
2016-07-26 16:20:54 -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 Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike Bonnet
7a6544a53d
fix a few errors revealed by pylint
2014-10-28 23:54:21 -04:00
Mike Bonnet
1e8b7211ee
add --ini and --section options to maven-build and wrapper-rpm
...
Support use of a .ini file to pass parameters to maven-build and wrapper-rpm.
2014-10-28 23:54:20 -04:00
Mike Bonnet
d60bf0529e
move maven-chain parsing into util so it can be used by other utilities
2014-10-28 23:54:20 -04:00
Mike Bonnet
e626fca4d9
support running a sequence of Maven builds in dependency order
...
The new "koji chainmaven" command allows Maven builds to be run in depdencency order,
without needing to wait for repo regens. A config file specifies the parameters and
dependencies for each build in the sequence. Each build is launched as soon as all
dependent builds are complete, and is able to reference the output of all of its
dependencies. If the build source URL and parameters match the latest build of the
same package in the destination tag, the build will not be re-run.
2014-06-13 11:23:37 -04:00
Mike McLean
9e9549d994
new "fast upload" mechanism
2012-11-06 14:39:49 -05:00
Mike McLean
c2ad66babe
make HiddenValue() idempotent
2012-07-12 14:06:43 -04:00
Mike McLean
227cd057b2
fix bugs in our relpath backport
2012-07-03 17:03:21 -04:00
Mike McLean
6296043fe4
faster argcheck
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
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
cf83a7b97b
backport relpath
2012-04-02 17:24:35 -04:00
Mike McLean
ef9923a679
allow setting rlimits in kojid
2012-03-28 16:47:19 -04:00
Mike McLean
4e3e65c11f
kojid literal_task_arches option
2012-01-20 11:35:31 -05:00
Mike Bonnet
a6c16232a7
make the wait-repo command wait for the specified build(s) to be the latest in the tag, rather than just being present in the tag
2011-04-04 11:52:21 -04:00
Mike McLean
3ecb32cfcb
lazy dictionary class
2011-03-18 13:57:38 -04:00
Mike McLean
73d44e199a
support for split storage
2011-03-18 13:57:38 -04:00
Mike Bonnet
419a1dafe4
major refactoring of koji daemons
...
- move TaskManager, SCM, and a couple helper functions to koji.daemon
- move generic TaskHandler classes to koji.tasks
- remove use of globals in kojid and kojira
- fix a few issues revealed by pylint
2010-07-16 11:44:52 -04:00
Mike McLean
c742272ac6
Merge commit ' f90f6b856d' into mead
...
Conflicts:
cli/koji
docs/schema.sql
hub/kojihub.py
koji.spec
www/kojiweb/index.py
www/kojiweb/taskinfo.chtml
2010-04-08 17:12:49 -04:00
Mike McLean
fa12519679
set creator/revoker data for all versioned tables
...
latter accomplished using InsertProcessor and UpdateProcessor classes
2010-03-12 17:55:05 -05:00
Mike McLean
e565217a73
avoid unicode errors involving changelogs (rhbz 545387, patch by dmach)
2010-02-19 12:57:24 -05:00
Mike McLean
2325d0b555
typo in module name
2009-04-16 16:44:02 -04:00
Mike Bonnet
9bd7fc3dae
- pass repo_id to maven subtasks
...
- fix use of md5 and sha modules
2009-04-13 16:25:35 -04:00
Mike Bonnet
26d2071acd
support file digests other than md5 in the api and web UI
2009-02-16 18:15:59 -05:00
Dennis Gilmore
165c5cbfc7
fix up bad characters
2009-02-16 11:27:51 -06:00
Dennis Gilmore
373fbad545
setup for python-2.6 avoid depreciation warnings
2009-02-16 11:23:12 -06:00
Mike Bonnet
48a49e650d
- pull changelog entries directly from the file on the filesystem
...
- don't populate the changelogs table
2009-02-02 19:02:07 -05:00
Mike McLean
57c05b3a07
cli commands for external repos
2009-01-30 18:32:18 -05:00
Mike Bonnet
2b28053397
unify logic between the waitrepo task and koji wait-repo
2008-05-16 12:34:36 -04:00
Jesse Keating
5d7e66a17e
Initial code drop
2007-02-14 11:25:01 -05:00