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
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 Bonnet
4bcf8b3181
include patches.log in the build result, if present
2008-09-26 13:53:36 -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 Bonnet
79c6d61448
- zip up pristine sources and patches and include them in the buildMaven output
...
- pass the list of artifacts to the template as a map keyed by extension
2008-08-12 10:25:22 -04:00
Mike McLean
6529645b2e
Ticket #82 -- fix issue with tasks dir size
2008-06-23 17:42:19 -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 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 Bonnet
f8a4662998
differentiate between build environment (core and plugin) dependencies and project dependencies, using generally the same approach as we do for rpm
2008-05-06 09:06:40 -04:00
Mike Bonnet
e7ce66059b
Allow wrapperRPM to be called as a subtask of a maven build of as a standalone top-level task (by an admin). Subsequent wrapperRPM calls will replace the set of rpms associated with an existing build.
2008-05-05 23:08:57 -04:00
Mike Bonnet
6fc2cca9ff
add the ability to apply patches to the upstream source before building
2008-04-19 00:17:20 -04:00
Mike Bonnet
faea981ce3
enable setting of jvm properties from the maven-build command
2008-03-12 18:34:11 -04:00
Mike Bonnet
74547053b8
Merge commit 'origin' into mead
2008-03-12 17:34:45 -04:00
Mike Bonnet
5d09f214b9
don't reference st if os.stat() failed
2008-03-06 11:20:18 -05:00
Mike Bonnet
9e2a263e65
also mirror the repo named "repository.jboss.org", as it shows up in some .pom files
2008-03-05 00:56:06 -05:00
Mike Bonnet
f0909efb61
Merge commit 'origin' into mead
2008-02-25 12:18:38 -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 Bonnet
34344ad193
reorganize code to be more robust to errors
2008-02-14 17:10:16 -05:00
Mike Bonnet
ce8c8130ce
pass name, version, release, and epoch to the template as well
2008-02-14 17:10:16 -05:00
Mike Bonnet
6b42410180
reorganize code for better error-handling
2008-02-14 17:10:16 -05:00
Mike Bonnet
8d78f4da5c
build the wrapper rpm in a mock chroot
2008-02-14 17:10:16 -05:00
Mike Bonnet
4e83b3f34b
cleanup whitespace
2008-02-14 17:10:16 -05:00
Mike Bonnet
affe942354
typo
2008-02-14 17:10:16 -05:00
Mike Bonnet
f55f201579
reorganize, rename, and use an additional subtask
2008-02-14 17:10:16 -05:00
Mike Bonnet
6e63eaca0c
don't complete the build until everything is actually complete
2008-02-14 17:10:16 -05:00
Mike Bonnet
d79fb78a99
make the spec file fragment a Cheetah template
2008-02-14 17:10:16 -05:00
Mike Bonnet
436efabf21
enable creation of wrapper rpms by passing "--specfile url" to the maven-build command
2008-02-14 17:10:16 -05:00
Mike Bonnet
d58151170f
end-to-end building and importing is working
2008-02-14 17:10:16 -05:00
Mike Bonnet
c9f90859a8
use enhanced features of mock --chroot
2008-02-14 17:10:16 -05:00
Mike Bonnet
e241d8d9ed
track Maven archives downloaded during the build process
2008-02-14 17:10:16 -05:00
Jesse Keating
534a87efbc
use right createrepo argument order
2008-02-14 17:10:16 -05:00
Jesse Keating
ddeee089ce
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-02-14 17:10:15 -05:00
Jesse Keating
35923892a0
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-02-14 17:10:15 -05:00
Jesse Keating
9d0bcedb67
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-02-14 17:10:15 -05:00
Jesse Keating
0ff1b8d6d4
Revert patch to disable --arch calls. Broke kernel-doc build
2008-02-14 17:10:15 -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
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