Commit graph

992 commits

Author SHA1 Message Date
Mike Bonnet
c53f30966f remove support for srpms from chain-build (since it already doesn't support --scratch) 2007-08-20 16:30:21 -04:00
Mike Bonnet
25ef943ec8 simplify error processing 2007-08-20 14:37:03 -04:00
Mike Bonnet
eb88c7d9a6 - don't attempt Kerberos authentication unless they have credentials
- fix display of Kerberos error messages
2007-08-20 13:53:26 -04:00
Mike Bonnet
e9df33f134 prettify the display of the exception names 2007-08-20 13:10:52 -04:00
Mike Bonnet
5e0760d6b9 additional sanity-checking in the cli, patches by cbalint 2007-08-20 12:22:35 -04:00
Mike McLean
82b59cdd37 add clone-tag command (by cbalint) 2007-07-23 18:32:36 -04:00
Mike Bonnet
693c98b87d logout before watching tasks 2007-07-06 18:41:45 -04:00
Mike Bonnet
2a982af119 additional sanity checking for the add-host-to-channel, remove-host-from-channel, and add-target cli commands (patch by Cristian Balint) 2007-06-19 19:19:20 -04:00
Mike Bonnet
1f5bcb7aa2 new add-group cli command (patch by Cristian Balint) 2007-06-19 18:31:52 -04:00
Mike McLean
24c410c6bc Use clearer notation for upload rates (patch by Jan Kratochvil)
Resolves:
  rhbz#243169
2007-06-07 13:50:10 -04:00
Mike Bonnet
6043d56d55 exclude -debuginfo rpms from being downloaded by default 2007-06-05 13:52:52 -04:00
Mike Bonnet
b1a7b52e4e catch errors thrown by os.tcgetpgrp(), patch provided by walters 2007-06-05 01:07:32 -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
2d052475c2 sanity-check build target before running a chain-build 2007-05-31 16:28:14 -04:00
Mike Bonnet
6f8e9bf4ab typo 2007-05-31 13:16:28 -04:00
Mike Bonnet
8b1f311482 new koji download-build command (patch provided by Dan Berrange)
koji.spec: require python-urlgrabber (needed by download-build)
cli/koji.conf: add new pkgurl option (needed by download-build)
2007-05-31 13:15:09 -04:00
Mike Bonnet
0a68c6cc92 fix typo, patch provided by rmyers 2007-05-30 17:37:13 -04:00
Mike Bonnet
9433ef4933 add a summary line stating whether the task succeeded or failed to the end of the "watch-task" output 2007-05-30 17:08:40 -04:00
Mike Bonnet
c1ee00058f encode changelog entries as utf-8 before printing 2007-05-18 17:04:02 -04:00
Mike Bonnet
4c2cce0246 fix a couple typos 2007-05-09 11:53:03 -04:00
Mike McLean
d2aaaef42f allow import of rpms without srpms
better sanity checking when importing
2007-05-08 16:49:48 -04:00
Mike Bonnet
993a664315 buildinfo: don't display changelog by default, only when --changelog was passed 2007-04-27 16:39:07 -04:00
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