Commit graph

311 commits

Author SHA1 Message Date
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 Bonnet
dbacf4c8e8 fix merge conflicts 2008-11-25 16:56:56 -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 Bonnet
4bd2a8184f a couple of fixes to chainbuild 2008-11-18 18:58:54 -05:00
Mike Bonnet
55fe5f07ef create a separate jar archivetype 2008-11-14 19:30:58 -05:00
Mike Bonnet
6e7d60f2cc - make the group name passed to "yum groupinstall" configurable
- use "maven-build" as the group to initialize Maven buildroots
2008-11-14 16:14:50 -05:00
Mike Bonnet
121aa8e1d3 - make working dns in the buildroot configurable
- enable dns in buildMaven buildroots (required for Maven builds)
2008-11-14 14:30:46 -05:00
Mike Bonnet
4f84245213 rename the -sources and -patches zips based on the Maven build label 2008-11-14 01:10:17 -05:00
Mike Bonnet
6e80a7b226 Make it possible to rebuild a Maven project without changing the version
- synthesize the release value by incrementing the release of the previous successful build with the same name and version
 - add an extra level to the storage hierarchy for Maven builds so they can be differentiated by release
 - create the per-tag Maven repos by symlinking into the storage hierarchy, rather than copying files
 - significant refactoring of Maven build environment population and tracking to differentiate between builds of the same version
2008-11-13 23:49:14 -05:00
Mike McLean
d402a7d433 Merge branch 'master' into mead 2008-11-13 01:19:40 -05:00
Mike McLean
83218e4103 new policy tests: fromtag, skip_tag 2008-11-13 01:09:43 -05:00
Mike McLean
f90a3d85b7 Merge branch 'master' into mead
Conflicts:

	hub/kojihub.py
2008-11-07 17:36:55 -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
c4f1d2ca4d use the filesize and md5sum to track files in the build environment that don't have an associated .pom 2008-10-11 21:21:53 -04:00
Mike Bonnet
6472503635 - don't checkout common/ when checking out patches
- filter directories from the list of patches
- make PathInfo.task() conform to the new task directory hierarchy
2008-10-02 02:07:18 -04:00
Mike Bonnet
4896733d52 merge in changes from the master branch 2008-10-01 19:50:08 -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