Commit graph

124 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
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
Mike McLean
aab365219a only provide target in policy_data if it is actually available 2008-11-04 00:12:58 -05:00
Mike McLean
64fce8d49f Merge branch 'master' into shadow
Conflicts:

	builder/kojid
2008-11-04 00:12:28 -05:00
Mike McLean
e8afce4725 policy for builds from srpm 2008-11-03 15:59:34 -05:00
Mike McLean
c6bad093de Merge branch 'master' into shadow
Conflicts:

	builder/kojid
	cli/koji
	hub/kojihub.py
2008-10-27 15:24:41 -04:00
Mike McLean
389aa5ff5c basic plugin support for hub and builders 2008-10-27 12:53:01 -04:00
Mike Bonnet
05a1ec6e0c typo 2008-10-01 18:54:16 -04:00
Mike Bonnet
da4c99e3e5 handle ssh and non-ssh git checkouts the same 2008-10-01 18:46:43 -04:00
Mike Bonnet
80b845f8c6 use reset instead of checkout when updating a git checkout to the correct changeset 2008-10-01 18:20:36 -04:00
Mike Bonnet
68510f93fe - move the allowed_scms validation into the assert_allowed() method of the SCM class
- make use_common an attribute of the SCM class instead of a method parameter
2008-10-01 18:00:22 -04:00
Mike McLean
117ac78c1e choose a better arch for noarch builds
When builder receives a noarch build, choose an arch that the host
can handle AND that the build tag can support.
2008-09-12 15:21:18 -04:00
Mike Bonnet
4db24cdae0 - indicate which log people should look in for build failures
- use BuildError instead of BuildrootError in build() to further differentiate the cause of failure
2008-09-05 17:34:21 -04:00
Mike McLean
aed32ed56f add missing init actions for kojid/kojira
see: https://fedorahosted.org/koji/ticket/94
- Add missing actions to kojid.init (patch from wakko666)
- Add missing actions to kojira.init (patch from wakko666)
2008-08-22 18:00:34 -04:00
Mike Bonnet
6805218514 change the way git urls are parsed
- the concatenation of server and repository now constitute the full url, and are passed to "git clone"
 - module is now considered a subdirectory of the git checkout, where the Makefile and specfile are expected to be found
 - module can now be empty or absent in a scm url, meaning that the Makefile and specfile are in the root directory of the checkout
2008-08-12 15:54:19 -04:00
Mike Bonnet
3967f413c8 allow the checkout of the common/ directory from source control to be configured via the allowed_scms option in kojid.conf 2008-08-12 13:03:29 -04:00
Mike McLean
9af88e0f4b Merge branch 'master' into shadow 2008-07-25 16:41:22 -04:00
Mike McLean
6529645b2e Ticket #82 -- fix issue with tasks dir size 2008-06-23 17:42:19 -04:00