Commit graph

29 commits

Author SHA1 Message Date
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 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
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
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
906534cd86 option to use http instead of nfs in kojid (except createrepo handler) 2007-03-20 14:21:37 -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
2cb2f3684d enable authentication via SSL client certificates in the web interface 2007-03-16 21:39:02 -04:00
Michael Bonnet
108e4da8c8 expand user paths before returning options 2007-03-16 21:39:02 -04:00
Michael Bonnet
8f8d48cde1 remove redundant expansions 2007-03-16 21:39:01 -04:00
Michael Bonnet
95db5c1f63 enable authentication from the cli via SSL client certificates 2007-03-16 21:39:01 -04:00
Jesse Keating
9f3c4b9830 Set vendor, packager and _host for mock config. 2007-03-14 17:35:06 -04:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00