Commit graph

550 commits

Author SHA1 Message Date
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
Dennis Gilmore
7b867ca424 configure weather we send email to task and package owners on success. still send email to watchers 2009-02-05 17:54:02 -06:00
Mike McLean
46f20d36c8 show correct repo data when tag is both a build tag and destination tag 2009-02-02 22:14:37 -05:00
Mike McLean
0923de7bc8 fix typo in option help 2009-02-02 22:14:37 -05:00
Mike Bonnet
48a49e650d - pull changelog entries directly from the file on the filesystem
- don't populate the changelogs table
2009-02-02 19:02:07 -05:00
Mike Bonnet
f1a36d48b5 also escape HTML in the file name 2009-02-02 14:11:54 -05:00
Mike Bonnet
d6a8bb9322 enforce utf-8 encoding in escapeHTML() 2009-02-02 14:07:00 -05:00
Mike Bonnet
8be46131b5 use SiteName in the recent build RSS feed 2009-02-02 13:47:33 -05:00
Mike Bonnet
5ea063d1dc control line wrapping using CSS instead of pre tags to avoid unnecessary whitespace 2009-02-02 13:32:15 -05:00
Mike Bonnet
acacff6322 handle queryOpts even when the rpm doesn't exist 2009-02-02 13:11:26 -05:00
Mike Bonnet
34a94b354b ensure that the summary and description keys get created in the values map 2009-02-02 13:06:54 -05:00
Mike Bonnet
70bf2ef8cd show the summary and description of the srpm on the buildinfo page 2009-02-02 12:49:50 -05:00
Mike Bonnet
66ee5cf49f show the summary and description on the rpminfo page 2009-02-02 12:30:42 -05:00
Mike Bonnet
6294720dac getRPMHeaders(): return arbitrary headers pulled directly from the rpm on disk 2009-02-02 12:09:51 -05:00
Mike Bonnet
8bb31c8bdd no need to commit early since we're no longer creating links 2009-02-02 11:34:45 -05:00
Mike McLean
57c05b3a07 cli commands for external repos 2009-01-30 18:32:18 -05:00
Mike McLean
66ab8867cb allow global query in get_tag_external_repos 2009-01-30 18:32:18 -05:00
Mike McLean
fe8a176fee allow partial edits of external repo data 2009-01-30 18:32:17 -05:00
Mike McLean
fa1497b12a set external_repo_id=0 for normal imports 2009-01-30 18:32:17 -05:00