26 Commits

Author SHA1 Message Date
mprahl
1160d47e7a Stop adding repo entries for empty tags for local builds
DNF fails on Fedora 31 when there is a repo entry to an empty directory.
2019-11-07 11:18:50 -05:00
mprahl
8c6cfb702d Use small license headers in the Python files
This also removes the outdated comments around authorship of each
file. If there is still interest in this information, one can just
look at the git history.
2019-10-03 08:47:24 -04:00
mprahl
453d871e03 Make the log message in execute_cmd easier to read for local builds 2019-09-25 17:30:21 -04:00
mprahl
66c3f82160 Format the coding style across the codebase using "black" and manual tweaks
The main benefit of this commit is that the use of double quotes
is now consistent.
2019-04-26 00:32:13 -04:00
Ralph Bean
84762891f7 Close threadpools after use. 2018-08-15 12:47:18 -04:00
mprahl
55d07aa8f5 Use Koji repos if possible during local builds 2018-01-18 17:02:03 -05:00
mprahl
c0ec0f82c1 Remove urlgrabber as a dependency 2018-01-03 10:21:37 -05:00
mprahl
ea34df0fd1 Set the timeout on Koji sessions to 10 minutes 2017-11-15 12:57:49 -05:00
Martin Curlej
60b3d97c97 flake8 cleanup
Signed-off-by: Martin Curlej <mcurlej@redhat.com>

removed some noqa tags
2017-10-25 12:13:59 +02:00
Filip Valder
7ef2975984 PEP8 fixes 2017-07-17 18:29:10 +02:00
Ralph Bean
a755104bd4 Fix the test suite.
We had some circular imports that caused the tests (and more?) to fail.

I ran into this when looking at the tests for #583 and #595.
2017-07-06 21:02:32 -04:00
Jakub Kadlčík
cdb2c50266 foo 2017-06-01 20:48:21 +02:00
Jakub Kadlčík
0aee22b753 Move the hackish code to CoprModuleBuilder 2017-05-30 15:22:34 +02:00
Jakub Kadlčík
56efd10db9 Allow CoprModuleBuilder to obtain packages from copr-dist-git 2017-05-30 13:13:46 +02:00
Jakub Kadlčík
91e08d723f Allow build_from_scm to build even from custom distgits 2017-05-29 23:32:51 +02:00
Jakub Kadlčík
aee7c0b299 Return proc.communicate() output 2017-05-29 23:28:00 +02:00
Jakub Kadlčík
53c00dc074 Allow stdout and stderr to be something else than file 2017-05-29 23:26:42 +02:00
Jan Kaluza
91758a9d4e Output urlgrabber to stdout, so it is not lost when LOG_LEVEL is info. 2017-05-25 17:26:39 +02:00
Jakub Kadlčík
6e92ed6b97 Add function to find srpm in given directory 2017-05-16 14:51:40 +02:00
Jan Kaluža
5bdc87b8bb Merge #518 Mock backend: Create repository from Koji tag locally instead of using the one stored in kojipkgs. 2017-04-24 14:50:44 +00:00
Jan Kaluza
ccf66804e5 Store built modules using mock in ~/modulebuild by default and use that directory for koji_tags cache by default too. 2017-04-24 16:15:35 +02:00
Nils Philippsen
ec2be36d6e pep8: don't surround '=' with spaces for keyword args 2017-04-21 12:54:06 +02:00
Jan Kaluza
94848511e3 Mock backend: Create repository from Koji tag locally instead of using the one stored in kojipkgs. 2017-04-21 10:37:00 +02:00
Jakub Kadlčík
3817d37e35 Move send_repo_done to utils 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
18502030f2 Rename _execute_cmd to not be private 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
a4a3f1734d Move common functions to utils file 2017-04-07 08:22:59 +02:00