Commit graph

581 commits

Author SHA1 Message Date
Dennis Gilmore
4e2a652dff try again just call md5_constructor 2009-02-16 13:41:36 -06:00
Dennis Gilmore
6b4005f83a use md5_constructor.new() not md5.new() 2009-02-16 13:29:35 -06:00
Mike Bonnet
d5241dbac5 check the load average before taking a task 2009-02-16 12:45:33 -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
821414b8ba add missing logger attribute 2009-02-13 18:26:22 -05:00
Mike Bonnet
ef659b76bc use python 2.4 compatible class syntax 2009-02-13 17:59:18 -05:00
Mike Bonnet
3f4703322d work around missing summary and description for RHEL-5 compatibility 2009-02-13 17:59:18 -05:00
Mike Bonnet
a64cd7c7cf group rpms by arch instead of canon arch on the buildinfo page (this makes the build log links correct) 2009-02-13 17:59:18 -05:00
Mike Bonnet
0998d39f8e add a regen-repo command, useful for when an external repo is updated and the internal copy is out of date 2009-02-13 17:59:17 -05:00
Mike McLean
46d8262ff4 use kojiweb.publisher 2009-02-13 15:55:55 -05:00
Mike McLean
254347e104 make publisher work in new location 2009-02-13 15:55:45 -05:00
Mike McLean
2fcc51fb48 move publisher wrapper to lib 2009-02-13 15:50:57 -05:00
Mike Bonnet
a2e419b1cd set the PythonHandler name to be compatible with Fedora and RHEL-5+ 2009-02-13 11:45:11 -05:00
Mike Bonnet
89a9311be6 reseed the hub also, because all workers are cloned from an initial interpreter with the same state 2009-02-12 19:30:03 -05:00
Mike Bonnet
4d71cce5be make the log name match the script name 2009-02-12 19:03:04 -05:00
Mike Bonnet
3a3fc7f49f expand the arches passed to mergerepos to include compatible arches that may appear in external repos 2009-02-12 19:01:31 -05:00
Mike Bonnet
d71f151ea5 bump the mock requirement to the version that includes --buildsrpm and --chroot fixes 2009-02-12 18:18:37 -05:00
Mike Bonnet
149dbd435d reseed the prng so we don't always get the same arch 2009-02-12 17:49:28 -05:00
Mike Bonnet
648b48428c use event_id in buildSRPMFromSCM task 2009-02-12 03:02:39 -05:00
Mike Bonnet
2e29e2d30c make use of createrepo --update optional 2009-02-12 00:22:34 -05:00
Mike Bonnet
d4836ac43c some changes to the web UI to defend against XSS 2009-02-11 16:38:25 -05:00
Mike Bonnet
182a179a52 remove file as a search option 2009-02-11 14:04:54 -05:00
Mike Bonnet
6d5692a704 remove tables we're no longer using from the schema 2009-02-11 13:57:04 -05:00
Mike Bonnet
fc7f8a8b6e show load and capacity to two decimal places in kojid log output 2009-02-11 02:23:18 -05:00
Mike Bonnet
4807679dee give SIGINT a little longer to work 2009-02-11 01:59:26 -05:00
Mike Bonnet
8ac1f67329 make the child killing process slightly less verbose 2009-02-11 01:58:10 -05:00
Mike Bonnet
7a5e7fb1cd only display two decimal points for the task load 2009-02-11 01:39:07 -05:00
Mike Bonnet
f31fa3c377 remove the buildroot dirtyness indicator from the buildrootinfo page (it's never used) 2009-02-11 01:37:20 -05:00
Mike Bonnet
876147dff2 randomly pick the arch of a noarch buildroot 2009-02-11 01:33:41 -05:00
Mike Bonnet
810d546b5a only show the task weight to two decimal places 2009-02-10 21:47:21 -05:00
Mike Bonnet
f100121dda update the buildArch task weight based on the average duration of a build of the package 2009-02-10 21:18:44 -05:00
Mike Bonnet
c48620edc8 - fix task cleanup to actually check if child processes are running (you can't use waitpid() on processes that aren't your direct children)
- send SIGINT first to give mock a chance to cleanup
2009-02-10 20:37:10 -05:00
Mike Bonnet
691a472d1c try to kill child processes with SIGINT first, so mock has a chance to clean up 2009-02-10 14:10:52 -05:00
Mike Bonnet
169af070a3 link to the externalrepoinfo page from the rpminfo page 2009-02-10 13:13:47 -05:00
Mike Bonnet
617c3633c8 - remove wrapper around get_rpm
- don't execute the same query again
2009-02-10 13:10:17 -05:00
Mike Bonnet
b12034aed5 fix up some doc strings 2009-02-10 12:49:03 -05:00
Mike Bonnet
88a58bf42d remove remaining references to the rpmdeps and rpmfiles tables 2009-02-10 11:29:47 -05:00
Mike Bonnet
221d598d7b remove unused code 2009-02-10 11:16:00 -05:00
Mike Bonnet
aaaa051e26 ensure the origin of an internal rpm starts with file:// 2009-02-10 11:15:02 -05:00
Mike McLean
4303d856bc handle internal rpms in pkgorigins 2009-02-09 17:53:16 -05:00
Mike McLean
6bcbe82045 create repos properly even if all rpms are noarch 2009-02-09 17:52:49 -05:00
Mike Bonnet
cc5828fc58 use os.statvfs() instead of an exec 2009-02-09 16:58:10 -05:00
Mike Bonnet
4041170cd4 fix format to account for additional headers we're checking 2009-02-09 16:41:14 -05:00
Mike Bonnet
7769c3f540 use subprocess instead of popen2, which is deprecated in python2.6 2009-02-09 16:09:06 -05:00
Mike Bonnet
a864d8ef4d enable displaying of only the latest builds in a tag 2009-02-09 13:47:07 -05:00
Mike Bonnet
e71e348b1f avoid UnicodeDecodeErrors when writing out the metadata by ensuring that pkg attributes that end up in the xml are utf-8-encoded strs (not unicode objects) 2009-02-09 13:21:38 -05:00
Mike Bonnet
d463c3169d use a select list for inheritance, for consistency with the builds page 2009-02-09 10:50:23 -05:00
Mike Bonnet
54900f8dd3 fix the build logs link on the buildinfo page to be correct in both the case of noarch in extra-arches and noarch subpackages 2009-02-08 15:40:58 -05:00
Mike Bonnet
6220da0106 simplify estimated completion calculation 2009-02-08 14:35:10 -05:00