Commit graph

1070 commits

Author SHA1 Message Date
Mike Bonnet
d71432b3d9 make the output listPackages() consistent regardless of with_dups 2007-04-05 16:34:03 -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
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
771390f74b - fix up chain-build
- remove options that make no sense in the context of chain-build
  - avoid namespace collision (reuse of "options")
  - allow server.build() and server.chainBuild() to actually be called without an opts argument
- call os.path.expanduser() on the koji --config argument
2007-03-23 18:49:33 -04:00
Mike Bonnet
9a5da7e9e7 make weburl command-line option consistent with the config file 2007-03-23 12:44:03 -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
acd7cde21c - centralize user creation in the Session class
- check user status on login as well as session creation
  - don't even create sessions for blocked users
2007-03-19 17:27:48 -04:00
Mike Bonnet
73e2a50113 enable-user and disable-user cli commands 2007-03-19 14:06:05 -04:00
Mike Bonnet
6a7b2ed972 add the add-user admin command 2007-03-19 13:31:43 -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
108e4da8c8 expand user paths before returning options 2007-03-16 21:39:02 -04:00
Michael Bonnet
95db5c1f63 enable authentication from the cli via SSL client certificates 2007-03-16 21:39:01 -04:00
Mike McLean
d5c729f42b have list-permissions list known perms if --user not specified 2007-03-15 16:02:43 -04:00
Michael Bonnet
fa24750c44 Avoid namespace collision in handle_build() 2007-03-14 18:06:21 -04:00
Mike McLean
1f951da27c fix a traceback in list-pkgs 2007-03-12 16:58:52 -04:00
Jesse Keating
d802163348 Use -p with install to preserve timestamps, etc... 2007-02-20 10:01:29 -05:00
Jesse Keating
6b19373cf0 Disable comps import for now 2007-02-19 15:03:52 -05:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00