Commit graph

102 commits

Author SHA1 Message Date
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
Mike McLean
ab767da716 fix numerous typos 2008-06-05 16:10:08 -04:00
Mike McLean
aa664aadd3 Merge branch 'master' into shadow 2008-06-03 16:08:52 -04:00
Mike Bonnet
676311e721 allow use of wildcards in the allowed_scms config parameter 2008-06-03 13:35:57 -04:00
Mike Bonnet
004c3a92dc don't sleep if we successfully took a task, to enable builders to reach their capacity more quickly 2008-05-28 00:27:43 -04:00
Mike McLean
8798056c65 don't spawn a waitrepo task if the repo is ready 2008-05-22 18:24:01 -04:00
Mike McLean
ab8976a9c2 fix some merge issues in the waitrepo task handler
accept tag instead of target
add a docstring
correct misspelled arg (newer_then -> newer_than)
handle newer_than="now"
return repo info instead of a debug message (log message instead)
2008-05-22 18:22:34 -04:00
Mike McLean
caa1c35bec Merge branch 'master' into shadow
Conflicts:

	builder/kojid
	koji.spec
	util/Makefile
2008-05-22 16:04:50 -04:00
Mike Bonnet
2b28053397 unify logic between the waitrepo task and koji wait-repo 2008-05-16 12:34:36 -04:00
Mike Bonnet
20daea06f2 set labels on the subtasks so a chainbuild can restart gracefully 2008-05-13 11:33:48 -04:00
Mike McLean
d412fc54d7 allow creation of repos from a specified event 2008-03-07 14:36:23 -05:00
Mike Bonnet
5d09f214b9 don't reference st if os.stat() failed 2008-03-06 11:20:18 -05:00
Mike McLean
fbcc9def02 kojid: make use of --skip-stat configurable
hub: option to disable notifications
koji-shadow: build from original scm
fix boolean opts in kojid
fix notifications for no-target builds
fix some typos
2008-02-26 20:29:54 -05:00
Mike McLean
54f79ff665 make ClientSession retries more configurable, and more robust
add an offline mode to the hub (ServerOffline fault)
report offline status if db connection fails
adjust retry timings for kojid and kojira
2008-02-22 11:32:27 -05:00
Mike McLean
69d841a63b make ClientSession retries more configurable, and more robust
add an offline mode to the hub (ServerOffline fault)
report offline status if db connection fails
adjust retry timings for kojid and kojira
2008-02-22 11:26:27 -05:00
Mike McLean
997e127259 fix errors in the "build with specified repo" option 2008-02-21 14:04:57 -05:00
Mike McLean
fb3fb2c009 Merge branch 'master' into shadow 2008-01-29 15:14:22 -05:00
Jesse Keating
1b2caeed8b use right createrepo argument order 2008-01-25 01:19:42 -05:00
Jesse Keating
338fa11540 Use the --skip-stat flag in createrepo calls.
This can save us a lot of time when creating large repos.
stat() on 9K files over NFS can cause significant delay in some cases.
Requires sufficiently new createrepo versions on RHEL5 or F9.
2008-01-18 17:10:51 -05:00
Mike McLean
576536e670 use same repo for all buildArch subtasks
allow building from a specific repo id
2008-01-16 16:19:34 -05:00
Jesse Keating
51e2d69f9e Revert to getfile urls if the task is not successful (closed).
This is needed because unless the task is closed, the log files won't
be in the packages/ tree, and the email will reference 404 urls.
2008-01-13 10:46:02 -05:00
Jesse Keating
c939b34ff6 Pass --target instead of --arch to mock.
--target is now it's own argument that only applies to what is passed to
rpm-build.  setarch call is not affected by --target which is what we want.
2008-01-04 17:49:12 -05:00
Jesse Keating
d64a587ac4 Revert patch to disable --arch calls. Broke kernel-doc build 2008-01-02 13:46:31 -05:00