Commit graph

79 commits

Author SHA1 Message Date
Mike Bonnet
8d18ddbf9f callback hooks for package list actions 2009-11-09 11:08:22 -05:00
Mike Bonnet
ae953a7072 - extend the plugin system with an event-based callback infrastructure
- implement callback hooks for task state transitions
 - example echo plugin that logs all callback invocations
2009-11-09 10:13:21 -05:00
Mike Bonnet
baac7cc0da add extended info to createLiveCD task labels 2009-09-28 15:55:22 -04:00
Jay Greguske
d93d05ab5f enable creation of LiveCD/DVD images in Koji
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2009-09-28 14:07:01 -04:00
Mike McLean
a75ddac324 support large file uploads, take two 2009-08-18 17:10:21 -04:00
Mike McLean
f8fdc66815 allow uploading and importing rpms larger than 2GiB 2009-03-10 16:54:48 -04:00
Mike McLean
ba367e9021 fix typo in RawHeader.version() 2009-02-18 15:19:24 -05:00
Mike McLean
c8c682d48e detect empty signature headers correctly 2009-02-18 15:19:24 -05:00
Mike McLean
deb3095363 Handle different kinds of rpm signatures [mitr]
see: https://fedorahosted.org/koji/ticket/127
2009-02-18 15:19:24 -05:00
Mike Bonnet
26d2071acd support file digests other than md5 in the api and web UI 2009-02-16 18:15:59 -05:00
Dennis Gilmore
4e2a652dff try again just call md5_constructor 2009-02-16 13:41:36 -06:00
Dennis Gilmore
6b4005f83a use md5_constructor.new() not md5.new() 2009-02-16 13:29:35 -06:00
Dennis Gilmore
165c5cbfc7 fix up bad characters 2009-02-16 11:27:51 -06:00
Dennis Gilmore
373fbad545 setup for python-2.6 avoid depreciation warnings 2009-02-16 11:23:12 -06:00
Mike Bonnet
48a49e650d - pull changelog entries directly from the file on the filesystem
- don't populate the changelogs table
2009-02-02 19:02:07 -05:00
Mike McLean
57c05b3a07 cli commands for external repos 2009-01-30 18:32:18 -05:00
Mike McLean
4881571e11 better support for external rpms
- provide external repo data in calls that return rpminfo
- call to add an external rpm
- support n-v-r.a@repo syntax in get_rpm
2009-01-26 16:17:26 -05:00
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