Commit graph

568 commits

Author SHA1 Message Date
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
Mike Bonnet
15ad2a4cae display an Origin column indicating the external repo on the rpmlist page 2009-02-08 14:21:37 -05:00
Mike Bonnet
6877749c32 remove redundant getPackageConfig() call 2009-02-08 13:59:19 -05:00
Mike Bonnet
6df41f7592 add the authtoken to the build cancel link 2009-02-06 19:12:38 -05:00
Mike Bonnet
0c2f95715d provide a default for NotifyOnSuccess 2009-02-06 19:00:37 -05:00
Mike Bonnet
9e0ab60c24 if we're not building from a specific repo_id, use the most recent event_id instead of the repo creation event_id, because config changes could have been made to the dest tag that don't affect the repo 2009-02-06 18:46:49 -05:00
Mike Bonnet
7798b7d87d whitespace cleanup 2009-02-06 18:11:41 -05:00
Mike Bonnet
f8e875afc0 run rpmdiff against noarch subpackages 2009-02-06 18:08:13 -05:00
Mike Bonnet
55761eacbd always wrap a traceback in <pre> tags 2009-02-06 18:08:13 -05:00
Mike McLean
6b8a183ac1 record external rpms in buildroots 2009-02-06 17:45:28 -05:00
Mike McLean
f793d2f1b4 more fully honor topdir in kojid 2009-02-06 17:45:27 -05:00
Dennis Gilmore
de59def8e6 fix typo 2009-02-06 14:13:23 -06:00
Dennis Gilmore
ecffd79425 clean up whitespace 2009-02-05 17:54:55 -06:00
Dennis Gilmore
98aa1eeca0 have config work
support an ignorearch list.  some packages are excluded on secondary arches.
we are assuming that the spec files deal with those packages not being there.
2009-02-05 17:54:02 -06:00