Commit graph

1361 commits

Author SHA1 Message Date
Mike Bonnet
a71ae2711b Add timeout and heartbeat options to the messagebus plugin.
The plugin will block for timeout seconds at most when trying to send a message to the broker.  After that amount of time, the send will fail and an error will be logged.
The plugin will check that the broker is reachable every heartbeat seconds.  If it is not reachable, the connection will be aborted and a new connection will be attempted the next time a message is sent.
2013-06-12 10:11:03 -04:00
Mike Bonnet
b5da4d0587 clean up plugin logging 2013-06-11 19:11:43 -04:00
Mike McLean
0a7cff19c9 ensuredir fix for relative paths 2013-05-20 16:22:30 -04:00
Mike McLean
04430f81cb fail if user specified config is absent
https://fedorahosted.org/koji/ticket/256
2013-05-16 16:13:20 -04:00
Mike McLean
e41a2d94c4 provide handler to _read_xmlrpc_response() 2013-04-19 17:26:15 -04:00
Mike McLean
36ad812717 1.8 migration doc 2013-04-19 17:26:15 -04:00
Mike Bonnet
c32f29ebac create the image_listing table after image_archives, because it now references it 2013-04-16 13:01:17 -04:00
Mike McLean
e98acdae3f fix changelog date 2013-04-01 15:43:21 -04:00
Mike McLean
fb24591c9f version 1.8.0 2013-04-01 15:39:16 -04:00
Mike McLean
ca050490db remove extraneous external repo lookup 2013-03-28 20:28:14 -04:00
Mike McLean
60fa3fe23f handle relative-to-koji urls in mergerepos 2013-03-28 20:18:12 -04:00
Mike McLean
073c65000c use wsgi.url_scheme instead of HTTPS 2013-03-25 15:37:09 -04:00
Mike McLean
ef174d0212 a little more room to edit host comments 2013-03-25 15:07:26 -04:00
John Casey
760c9f47c8 Specify altDeploymentRepository for Maven in settings.xml NOT on command line. 2013-03-20 14:36:02 -04:00
Jay Greguske
0c2b9b73a1 implement remove-pkg for the cli 2013-03-08 15:37:04 -05:00
Mike McLean
d18d03174f a few more cli aliases 2013-03-08 15:32:15 -05:00
Jay Greguske
a27c3d0dc5 cleaner rename -pkg commands to -build 2013-03-08 15:30:15 -05:00
Mike McLean
16e1b8be05 rewrite ensuredir function to avoid os.makedirs race 2013-03-06 15:44:26 -05:00
Mike Bonnet
e7a1c0133a WrapperRPMTask: handle non-ascii characters in the specfile template 2013-03-06 15:27:27 -05:00
Mike Bonnet
de6df9d4a1 list_archives(): handle when queryOpts is None 2013-03-06 15:27:27 -05:00
Dennis Gilmore
582a0679e7 change default ssl timeout to 60 seconds 2013-03-06 12:41:47 -06:00
Mike McLean
0c72df3257 add xsd to archivetypes 2013-02-25 11:18:05 -05:00
Mike McLean
d2b89b32e9 handle volumes in maven repos 2013-02-25 11:14:49 -05:00
Mike McLean
1c965ba3af include volume data in maven_tag_archives() return 2013-02-25 11:14:49 -05:00
Mike Bonnet
5540fb499b list_archives(): only encode ints when not counting 2013-02-22 08:50:14 -05:00
John Casey
73ec49c3ab Use standard locations for maven settings and local repository 2013-02-22 08:50:14 -05:00
Mike Bonnet
32498443f4 repo_init(): rather than linking to each artifact from the Maven repo, link the version directory 2013-02-22 08:50:14 -05:00
Dan Horák
727df9b680 enable prefer-new functionality for single builds
When a tag is set for a single build we can search for a replacement of
a missing build.
2013-02-20 07:13:28 -06:00
Dan Horák
61d7790601 accept tag also when doing a single build
A single build with the prefer-new option will be possible when an information
about the tag will be provided.
2013-02-20 07:13:28 -06:00
Dan Horák
cdfae9fe86 don't search for the latest build in the top-level run of scanBuild 2013-02-20 07:13:28 -06:00
Dan Horák
92864c3805 use the closest newer build not the latest
Recently when a build is missing, the prefer_new option is set and a newer build exists,
the latest build is included in the buildroot. We should rather be using a closest newer
build if it exists, the latest one can be too new, with different dependencies etc.
2013-02-20 07:13:28 -06:00
Mike McLean
eaa43f8cbd fix integer overflow issue in checkUpload handler 2013-01-17 17:13:26 -05:00
Anthony Towns
be95854426 WrapperRPM wants a target not a build tag 2013-01-17 17:13:26 -05:00
Mike Bonnet
ede15f2b89 don't append to artifact_relpaths twice in the case of Maven builds 2013-01-17 16:48:24 -05:00
Anthony Towns
9f5564f293 fix kojira to start new regen-repo tasks if there's room even when maven regen-repos are maxed out 2013-01-15 14:23:48 +10:00
Mike McLean
5d8331cd49 fix get_image_archive and web archiveinfo handler for non-images 2013-01-14 16:00:56 -05:00
Mike McLean
fcd7b57e39 fix writeSignedRPM signature 2013-01-14 16:00:56 -05:00
Mike McLean
ba8f5c9587 move permission check out of underlying write_signed_rpm call 2013-01-14 16:00:56 -05:00
Mike McLean
27b3340fcb let kojira delete repos for deleted tags 2013-01-09 15:38:14 -05:00
Mike Bonnet
407a1764e4 also exclude SCM metadata dirs from the sources and patches zip files of Windows builds 2012-12-19 17:10:36 -05:00
Mike McLean
c7a3d1f67b bring back delete_batch_size 2012-11-30 10:02:40 -05:00
Mike McLean
963bc1d512 kojira: limit maven regens 2012-11-30 10:02:40 -05:00
Mike McLean
552010aedd fix repo opt handling in kojid 2012-11-30 09:55:35 -05:00
Mike McLean
f63f525d2b set self.opts in image tasks 2012-11-30 09:55:35 -05:00
Mike McLean
91c4a1cb37 no more archiveinfo.md5sum 2012-11-29 16:53:07 -05:00
Mike McLean
f8a4e35ed5 use smarter getRepo wrapper for image tasks 2012-11-29 16:53:07 -05:00
Mike McLean
6a6ebaa1bf check for a target before waiting on a repo 2012-11-29 16:53:07 -05:00
Mike McLean
7b36248f02 encode large ints in list_archives 2012-11-29 16:53:07 -05:00
Mike McLean
555f6a898d use import time as completion time for imported images 2012-11-29 16:53:07 -05:00
Mike McLean
0f579048bb handle both old and new signatures for image tasks 2012-11-29 16:53:06 -05:00