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
Mike Bonnet
31b5d7265c
add the "allowed_scms" kojid parameter: a whitelist of hostname:repository tuples that kojid is allowed to checkout from
2007-12-18 12:52:56 -05:00
Jesse Keating
a023693e32
Don't call --arch when the build is noarch.
2007-12-17 09:21:26 -05:00
Jesse Keating
9ff949b64a
Mock will now handle setarch internally, we no longer need to call it
2007-12-11 17:49:48 -05:00
Jesse Keating
c7e0c2880d
Go back to using stock 'clean' command. It now takes care of all mount points
2007-12-11 16:59:23 -05:00
Jesse Keating
41737dbdd4
Update mock commands to the undeprecated version.
2007-12-11 16:40:52 -05:00
Jesse Keating
039e0e4373
Use real urls in buildNotification instead of getfile urls.
2007-11-20 08:37:04 -05:00
Jesse Keating
7b7f25f86e
Make sure we get a pkgurl
2007-11-20 08:34:42 -05:00
Jesse Keating
ad77810c18
Make sure we get groupdata
2007-11-20 08:34:42 -05:00
Jesse Keating
65fd75c6f6
Drop the PrepRepo task, it's no longer needed.
...
Reference the configured pkgurl for repodata.
2007-11-20 08:34:42 -05:00
Jesse Keating
063d791d66
Bypass the PrepRepo task, it's not really needed now
...
Hardcode a baseurl for now
2007-11-20 08:34:42 -05:00
Jesse Keating
ac1f25c5eb
Initial stab at no longer doing hardlinks in repo creation.
...
Create a filelist of packages to include in the repo
Use this filelist with createrepo and a baseurl to create
the repodata. Add a config option for pkgurl where the packages
can be found via http.
2007-11-20 08:34:42 -05:00
Jesse Keating
60ee149735
Use a build nvr rather than nevr in emails. Easier for doing tag requests.
...
Also use buildLabel to get the nvr instead of doing it by hand.
Resolves ticket #53
2007-11-16 13:36:37 -05:00
Mike Bonnet
8e67403749
only create the common/ symlink if there isn't already a common/ directory
2007-11-06 15:30:58 -05:00
Mike Bonnet
0ad90f7839
conditionalize use of the DistCVS layout
2007-11-06 10:50:50 -05:00
Mike Bonnet
27ac942683
support for retrieving source from multiple SCM repositories (patch provided by Rob Myers)
...
- currently CVS, SVN, and GIT are supported
2007-11-05 18:40:29 -05:00
Mike McLean
bbc551af25
fix a unadorned raise outside of try-except
2007-10-16 17:02:24 -04:00
Mike Bonnet
5391102f7c
only list builds from actual build tasks
2007-08-21 10:26:21 -04:00
Mike Bonnet
155f23cf15
support for specifying a N-V-R as a stage in chain-build
2007-08-20 17:55:52 -04:00
Mike Bonnet
2d2bee04ba
clean up waitrepo tasks a bit
2007-08-20 17:14:18 -04:00
Mike Bonnet
79ef5b41f2
only allow admins to perform non-scratch builds from srpm
2007-06-05 00:39:21 -04:00
Mike Bonnet
b55650a012
increase the waitrepo timeout
2007-05-31 17:08:52 -04:00
Mike Bonnet
5e5e11011b
disable syslogging for kojid
2007-05-31 16:56:09 -04:00
Mike McLean
d4b5499f38
don't allow ExclusiveArch to expand the archlist (see rhbz#239359)
2007-05-22 13:04:26 -04:00
Mike Bonnet
5f75700583
remove exec bit from kojid logs and uploaded files (patch by Enrico Scholz)
2007-05-11 13:23:50 -04:00
Mike Bonnet
d12d078412
set the default maxjobs to match the default in the config file
2007-05-09 18:09:41 -04:00
Mike Bonnet
4c2cce0246
fix a couple typos
2007-05-09 11:53:03 -04:00
Mike McLean
349fbbdcd2
Allow reasonable archlist expansion based on ExclusiveArch/BuildArchs
2007-05-07 17:26:24 -04:00
Mike Bonnet
0ae723eaaf
actually handle whitespace correctly
2007-05-07 16:38:05 -04:00
Mike Bonnet
426ffffa05
remove extra whitespace from tag notification email
2007-05-07 13:26:43 -04:00
Mike Bonnet
655f29dd44
encode email notifications in UTF-8
2007-05-07 12:51:24 -04:00
Mike Bonnet
da065e9845
set a default for from_addr in kojid.conf
2007-05-02 02:08:58 -04:00
Mike Bonnet
8d71d63f77
make email notifications work
...
- always send notifications to the build submitter and the package owner
- default smtphost in kojid.conf
2007-04-30 17:57:18 -04:00
Mike Bonnet
24b357de76
fix typo in BuildNotificationTask (patch provided by Michael Schwendt)
2007-04-23 10:00:32 -04:00
Mike Bonnet
0cc8bf97e4
re-enable use of --update in createrepo
2007-04-17 15:38:05 -04:00
Michael McLean
cba71af73f
fix a typo in the code for accepting assigned tasks
2007-04-17 15:26:52 -04:00
Mike Bonnet
2ee038ba60
expect the hub to return raw XML-RPC data
2007-04-02 13:08:02 -04:00
Mike Bonnet
6ae04b1a32
support for sparc builds (patch by Dennis Gilmore)
2007-03-29 11:35:31 -04:00
Mike Bonnet
e96a8687a0
- fix koji mock-config to use sensible defaults for **opts
...
- add --topurl option to koji mock-config
- upload in 64k chunks in incrementalUpload
- best-effort to check when mock has truncated a file and started writing from 0 in BuildRoot.mock()
- improvements to cmdline parsing in koji call
2007-03-27 18:56:17 -04:00
Mike Bonnet
6f6491faa5
guard against mock switching log files under us, so we don't lose important log information
2007-03-23 14:16:40 -04:00
Mike Bonnet
1de3c501b1
set a default for mockhost so kojid can (hopefully) work out-of-the-box
2007-03-23 11:51:53 -04:00
Mike Bonnet
b877fbe5eb
update the buildSRPMFromCVS task to be consistent with Extras CVS
2007-03-23 11:19:59 -04:00
Mike Bonnet
54cd667959
copy opts in ClientSession.__init__() because we modify it in setSession()
...
undo state changes by ssl_login() in setSession(None)
remove some extraneous session options
2007-03-22 18:27:46 -04:00
Michael McLean
83b602979f
debug message for downloads
2007-03-21 17:47:55 -04:00
Mike McLean
906534cd86
option to use http instead of nfs in kojid (except createrepo handler)
2007-03-20 14:21:37 -04:00
Michael Bonnet
6578e852a8
Merge branch 'master' of git+ssh://git.fedoraproject.org/git/hosted/koji
2007-03-16 21:45:14 -04:00
Michael Bonnet
20ca1a8f84
- don't try to guess what kind of authentication we want to use in ClientSession.login() - allow clients to call login() (for user/password), krb_login() (for Kerberos), or ssl_login() (for client certificates)
...
- update all clients to call ssl_login() directly when appropriate
- rename references to NotAllowed -> ActionNotAllowed, because NotAllowed had already been renamed
- raise an error in CreateSSLContext instead of immediately exiting
2007-03-16 21:39:02 -04:00
Michael Bonnet
4283a3ba8f
enable SSL client certificate authentication for kojid
2007-03-16 21:39:01 -04:00
Mike Bonnet
aaff4a0a1f
- fix some typos
...
- disable support for non-standard createrepo options
2007-03-15 16:58:23 -04:00