Tomas Kopecek
f8f373e2b6
use sorted(archs) to not confuse tests
2017-06-01 09:39:23 +02:00
Tomas Kopecek
119ecf2122
propagate exception correctly to outer scope
2017-06-01 09:39:23 +02:00
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
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
7f946b37be
python-modernize -f libmodernize.fixes.fix_xrange_six
2017-06-01 09:39:21 +02:00
Tomas Kopecek
32fa7f0435
parse deleted mountpoints
...
Related: https://pagure.io/koji/issue/387
2017-05-17 13:04:06 -04:00
Tomas Kopecek
323987e376
Allow uploading files to non-default volumes
2017-03-28 11:46:47 +02:00
Tomas Kopecek
1494301465
use new exception syntax
2017-03-02 10:52:30 -05:00
Tomas Kopecek
5ba8ed9b22
Basic test for task canfail
2017-01-12 14:28:22 -05:00
Mike McLean
aed4682411
don't error when waiting on 'canfail' tasks
2017-01-12 14:28:22 -05:00
Mike McLean
316ed1f952
fix ref to task id
2017-01-12 14:28:22 -05:00
Mike McLean
3a1d13a7b5
adjustments to WaitTestTask
2017-01-12 14:28:22 -05:00
Mike McLean
00f387b226
canfail option for BaseTaskHandler.wait()
2017-01-12 14:28:22 -05:00
Tomas Kopecek
c37effcbd7
remove unused variables/methods
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
Matt Prahl
f237fd5100
Adds unit tests for tasks.py
...
Adds Vagrant support to run unit tests
2016-07-21 17:08:45 -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
631f8cc254
use os.lchown() so dangling symlinks don't cause errors
2014-10-28 23:54:21 -04:00
Mike Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike McLean
73f325e29d
return all results when waiting on all subtasks
2014-06-13 11:23:38 -04:00
Mike Bonnet
7704f4cf8c
BaseTaskHandler.wait() should only get results for finished subtasks
2014-06-13 11:23:38 -04:00
Mike Bonnet
1570145475
handle files and symlinks in safe_rmtree
2013-09-25 17:09:22 -04:00
Mike McLean
6a6ebaa1bf
check for a target before waiting on a repo
2012-11-29 16:53:07 -05:00
Mike McLean
51ec9b8b50
call_with_argcheck utility function
2012-05-22 14:36:13 -04:00
Mike Bonnet
b2edd9011c
add "koji wrapper-rpm --create-build" which creates a new build to contain the wrapper rpms
2011-12-12 15:36:07 -05:00
Mike Bonnet
7d0ea14721
- chown the specfile checkout in wrapperRPM tasks
...
- refactor the recursive chown into a method on BaseTaskHandler, and use it everywhere
2011-04-04 11:52:22 -04:00
Mike McLean
8ac3cae252
better display for restart tasks
2010-12-03 11:31:52 -05:00
Mike McLean
a51ad5031f
graceful mass builder restart
2010-12-03 10:41:41 -05:00
Mike Bonnet
64df809ab6
add support for wrapping win-build output in rpms
2010-09-17 11:27:33 -04:00
Mike Bonnet
f619543ac8
support specifying parameters of a buildrequires, including type, which allows builds of one type to depend on files from builds of a different type
2010-08-06 08:34:24 -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