Commit graph

62 commits

Author SHA1 Message Date
Mike Bonnet
a2e7e7f41d return a placeholder object from method calls while in a multicall 2009-01-09 12:58:40 -05:00
Mike Bonnet
022c63caed always reset session.multicall to False when calling multiCall(), even if we did not perform any multicalls 2009-01-09 12:50:02 -05:00
Mike Bonnet
b4690dc881 when enabling DNS in the chroot, also copy in /etc/hosts from the host 2009-01-09 12:48:20 -05:00
Mike Bonnet
58c1adefe2 create the srpm in a mock chroot 2009-01-08 11:31:21 -05:00
Mike McLean
9333e61014 fix LoginCreatesUser check 2008-12-03 12:26:56 -05:00
Michael Bonnet
c358e0b141 some chainbuild fixes 2008-11-19 12:58:41 -05:00
Mike McLean
8642835add in groups output, show package list even if empty 2008-11-14 16:58:05 -05:00
Mike McLean
d029e1c276 enable verbose policy errors without full debug 2008-11-13 01:16:42 -05:00
Mike McLean
d513993049 add tests 'all' and 'none' (aliases for true and false) 2008-11-03 17:20:43 -05:00
Mike McLean
637b91a790 add a strict option to multiCall 2008-10-31 11:41:18 -04:00
Mike McLean
86e63c5de1 policy framework and tagging policies 2008-10-27 14:00:58 -04:00
Mike McLean
389aa5ff5c basic plugin support for hub and builders 2008-10-27 12:53:01 -04:00
Mike Bonnet
a9a82be465 change taskLabel() to show the repository path, module path (when present), and revision information
- the additional information is helpful when dealing with multiple source repositories in the same Koji instance
2008-08-12 15:56:52 -04:00
Mike McLean
71fb065e65 honor group dependencies by expanding in comps 2008-07-15 15:54:38 -04:00
Mike Bonnet
20ee6af836 - pass newRepo tasks the tag name instead of tag ID
- display the tag name for newRepo tasks in the web UI
2008-07-01 11:07:48 -04:00
Mike McLean
6529645b2e Ticket #82 -- fix issue with tasks dir size 2008-06-23 17:42:19 -04:00
Mike McLean
b8d5355b75 allow a transaction set to be passed into get_rpm_header 2008-06-05 16:12: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
5d96460ea1 increase the default blocksize to 1M and use it everywhere 2008-05-06 10:45:36 -04:00
Jesse Keating
5f5cf9bac0 Set a mock option to timeout builds lasting longer than 24 hours
Was discussed during Fedora Buildsystem
2008-02-29 17:48:27 -05:00
Mike McLean
6d3977ee62 don't mask errors when retrying rpc calls
use _callMethod() in multiCall()
2008-02-22 18:47:55 -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
58b7313d0a don't recycle broken db connections 2008-02-22 11:28:37 -05:00
Mike Bonnet
7677f63099 temporary fix for using topurl, since urlopen() returns a wrapped HTTPConnection which doesn't support fileno(); will see about getting this fixed in upstream python 2007-12-18 13:47:28 -05:00
Mike Bonnet
c8b9e42d57 Use the group data rather than a generated rpm 2007-11-15 16:23:55 -05:00
Mike Bonnet
e69612f123 update the generated mock config file to me compatible with mock >= 0.8.7 2007-11-15 16:23:16 -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 Bonnet
ce2c1da762 fix fixEncoding() to handle being passed a unicode object 2007-09-10 18:12:39 -04:00
Mike Bonnet
34737ac662 make Koji more robust to transient SSL errors 2007-08-20 14:37:48 -04:00
Mike Bonnet
f4858905f9 canonicalize the "alpha" arch 2007-08-20 12:56:59 -04:00
Mike Bonnet
cad33475dc don't fork/exec just to get the hostname 2007-07-06 19:19:47 -04:00
Jesse Keating
fb272f87f8 We don't use these files anymore 2007-06-12 14:24:21 -04:00
Mike McLean
5339ff80d8 improve text of RetryError in ClientSession 2007-03-30 15:08:21 -04:00
Mike Bonnet
5251f7e3c9 - default to a larger block size in uploadWrapper(), but make it overrideable
- use a lower blocksize when uploading from the cli, for better interactivity
2007-03-29 12:32:29 -04:00
Mike Bonnet
6ae04b1a32 support for sparc builds (patch by Dennis Gilmore) 2007-03-29 11:35:31 -04:00
Mike Bonnet
e2b6749ee7 set a timeout of 12 hours when communicating over SSL, instead of the default (20 seconds) 2007-03-28 14:55:06 -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
4b5df841c8 remove references to the runroot task 2007-03-26 12:49:04 -04:00
Mike Bonnet
9aef1e1a04 decrease upload chunk size so we don't overflow a buffer in mod_ssl 2007-03-22 18:40:58 -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
Mike Bonnet
3d2a99f61e make callers of createUser() responsible for checkin permissions 2007-03-22 13:07:40 -04:00
Michael McLean
fe2e866d83 test 2007-03-21 11:45:13 -04:00
Michael McLean
b1599470f7 test 2007-03-21 11:43:27 -04:00
Michael McLean
e7fa43b63b test 2007-03-21 11:11:43 -04:00
Michael McLean
f26f77a2e9 test 2007-03-20 23:05:47 -04:00
Mike McLean
d263540f5a Merge branch 'master' of ssh://mikem@git.fedoraproject.org/git/hosted/koji 2007-03-20 17:07:35 -04:00
Mike Bonnet
3632182163 package up the files in koji/ssl as well 2007-03-20 16:59:58 -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
Mike Bonnet
1ab7d2c898 allow the username component of the client's DN to be configurable 2007-03-20 10:56:52 -04:00
Mike Bonnet
27100cd914 provide some more defaults for httpd options 2007-03-20 10:34:56 -04:00