Commit graph

140 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
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
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
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
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
876147dff2 randomly pick the arch of a noarch buildroot 2009-02-11 01:33:41 -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
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 Bonnet
cc5828fc58 use os.statvfs() instead of an exec 2009-02-09 16:58:10 -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
6877749c32 remove redundant getPackageConfig() call 2009-02-08 13:59:19 -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
f8e875afc0 run rpmdiff against noarch subpackages 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
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
8d96f110cf increase the weight of the createrepo task significantly since repo merging can take a *lot* of memory 2009-01-28 17:41:57 -05:00
Mike Bonnet
9794382967 bump the weight of buildSRPMFromSCM since it creates a chroot now 2009-01-28 17:40:59 -05:00
Mike Bonnet
7f11eb941e cleanup whitespace 2009-01-28 12:55:41 -05:00
Mike Bonnet
66ffd25470 set %distribution the same way we set %vendor and %packager 2009-01-28 12:51:38 -05:00
Mike Bonnet
c53ab40cea use event_id consistently during the build process 2009-01-28 12:51:38 -05:00
Mike Bonnet
6199ad1b95 make repo_id an option to buildSRPMFromSCM for consistency with buildArch, but make it non-optional 2009-01-28 12:51:38 -05:00
Mike Bonnet
ef3b090424 support for including external repo data in Koji repos 2009-01-28 12:51:38 -05:00
Mike Bonnet
197c614c5a some enhancements to repo creation
- handle the event parameter correctly
  - allow manual creation of repos including srpms and/or debuginfo
2009-01-21 18:27:26 -05:00
Dennis Gilmore
b6efebf04c fix typo extra ) 2009-01-18 11:36:27 -06:00
Dennis Gilmore
2b98521a10 refactor checking of noarch rpms 2009-01-15 23:01:56 -06:00
Dennis Gilmore
9df119e79e working noarch package building 2009-01-12 22:59:42 -06:00
Dennis Gilmore
285e91ec35 initial attempt at supporting noarch subpackages.
right now it will take them from the first arch in the build arch list
2009-01-12 22:58:48 -06:00
Mike Bonnet
4ea21b6d46 use the new mock --buildsrpm feature to create the srpm from sources 2009-01-10 15:14:20 -05:00
Mike Bonnet
58c1adefe2 create the srpm in a mock chroot 2009-01-08 11:31:21 -05:00
Mike McLean
cd4c5f0b28 cleanup before re-taking a freed or reassigned task 2008-11-25 14:52:55 -05:00
Michael Bonnet
c358e0b141 some chainbuild fixes 2008-11-19 12:58:41 -05:00
Mike McLean
83218e4103 new policy tests: fromtag, skip_tag 2008-11-13 01:09:43 -05:00
Mike McLean
d50a77556f fix session for plugin handlers 2008-11-06 15:20:44 -05:00
Mike McLean
ee651710c8 build_from_repo_id policy 2008-11-04 18:10:56 -05:00
Mike McLean
dc92b0ec7c give a saner error when a nonexistent repo is specified 2008-11-04 18:06:38 -05:00