Commit graph

202 commits

Author SHA1 Message Date
Mike Bonnet
ce0a7aa9b4 listTasks(): add support for createdBefore and createdAfter options 2009-11-12 16:08:03 -05:00
Mike Bonnet
ef98c3e398 add a couple more parameters to the example hub.conf 2009-11-10 14:06:36 -05:00
Mike Bonnet
66a361a7de remove unused 'file' clause 2009-11-10 13:54:56 -05:00
Mike Bonnet
41580648e8 add creation_ts and completion_ts to listBuilds(), for consistency with getBuild() 2009-11-09 22:12:54 -05:00
Mike Bonnet
6bc83b6d93 callback hooks for repo events 2009-11-09 17:46:28 -05:00
Mike Bonnet
e9109a34c0 callback hooks for tag/untag 2009-11-09 15:52:07 -05:00
Mike Bonnet
414f038a84 callback hooks for import 2009-11-09 14:53:00 -05:00
Mike Bonnet
48239653ba move host sanity checks to a more logical place 2009-11-09 14:18:20 -05:00
Mike Bonnet
32193cf07c callback hooks for build state changes 2009-11-09 14:09:53 -05:00
Mike Bonnet
8d18ddbf9f callback hooks for package list actions 2009-11-09 11:08:22 -05:00
Mike Bonnet
c690b61b81 return more information about rpm contents, and display it in the UI 2009-11-09 10:36:51 -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
06f940299c - add a revoke-permission cli command
- clean up grant- and revoke-permission to remove duplicate work and enable better error reporting
2009-10-07 13:57:33 -04:00
Mike Bonnet
bdac9d5f85 - store the arch of the image in the imageinfo table
- put the non-.iso files in a data/logs/ subdirectory for consistency with builds
2009-09-29 17:11:53 -04:00
Mike Bonnet
b5172f49ae importImage() should be in HostExports 2009-09-29 16:09:08 -04:00
Mike Bonnet
7d954b8b22 minor tweaks to the web UI for consistency 2009-09-29 13:23:20 -04:00
Mike Bonnet
445edc2018 put createLiveCD tasks in their own channel 2009-09-28 14:53:44 -04:00
Mike Bonnet
e04395e7f3 use assertPerm() so admins will inherit the permission 2009-09-28 14:42:18 -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 Bonnet
3bc3e2628e Merge branch 'master' of git+ssh://git.fedorahosted.org/git/koji 2009-09-28 12:24:36 -04:00
Mike McLean
aced7c5794 support querying package listings at an event 2009-09-23 15:47:05 -04:00
Mike McLean
508cbc1612 make latest repo symlinks relative 2009-09-23 15:47:05 -04:00
Mike Bonnet
f4416e63c5 remove unnecessary stat() that causes a huge slowdown when accessing files via nfs 2009-09-18 16:34:04 -04:00
Mike Bonnet
f2ea0f9bd0 adding this join to the front of the list rather than the end improves the query plan and dramatically speeds up the query on postgres 8.1 (postgres 8.3 always uses the better plan) 2009-08-20 14:10:45 -04:00
Mike McLean
a75ddac324 support large file uploads, take two 2009-08-18 17:10:21 -04:00
Mike Bonnet
035dbeef4e use the proper escape syntax 2009-08-13 12:24:47 -04:00
Mike McLean
2da42499e3 fix a typo in buildtag policy test 2009-07-20 16:18:17 -04:00
Mike Bonnet
87576b0dc1 paginate the component buildroot list on the rpminfo page 2009-06-11 18:05:48 -04:00
Mike Bonnet
5b11e90fea - allow filtering by enabled/disabled on the hosts page (default to showing only enabled hosts) 2009-06-11 16:44:19 -04:00
Mike Bonnet
c81079b551 relicense hub/rpmdiff as GPLv2+, with permission from ffesti 2009-05-27 14:24:46 -04:00
Mike McLean
84925bdb75 set-task-priority command (#138, patch by Daniel Mach) 2009-05-18 17:22:50 -04:00
Mike McLean
f8fdc66815 allow uploading and importing rpms larger than 2GiB 2009-03-10 16:54:48 -04:00
Dennis Gilmore
726f25b421 if you pass None to getBuildTargets you get a dict of all targets. this results in broken emails and tasks when the packages doesnt exist in the first tag in the list. 2009-03-03 02:00:30 -06:00
Mike Bonnet
3e9d2cee99 EnableFunctionDebug is defined as a boolean 2009-02-20 11:33:02 -05:00
Mike Bonnet
75225270c7 canonicalize tagarches, since get_all_arches() is canonical but non-canonical arches may be set in tag['arches'] 2009-02-20 11:29:20 -05:00
Mike Bonnet
d2a0eb5544 external repo urls will always be rewritten by mergerepos (yum) to end with /, and appear that way in the pkgorigins file, so ensure they appear that way in the database as well so we can track them properly 2009-02-19 17:52:54 -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
029cb2069f provide a default for CN (it will rarely be changed) 2009-02-18 15:06:48 -05:00
Mike Bonnet
62180c109f replace configuration in kojihub.conf with a reference to hub.conf 2009-02-18 14:56:54 -05:00
Mike Bonnet
aadadae84e get the summary, description, and changelogs from the buildSRPMFromSCM task for builds that are not complete 2009-02-17 15:32:06 -05:00
Mike Bonnet
88b5f07449 add the createdBefore= and createdAfter= parameters to listBuild() 2009-02-16 18:31:57 -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
373fbad545 setup for python-2.6 avoid depreciation warnings 2009-02-16 11:23:12 -06:00
Mike Bonnet
0998d39f8e add a regen-repo command, useful for when an external repo is updated and the internal copy is out of date 2009-02-13 17:59:17 -05:00
Mike Bonnet
89a9311be6 reseed the hub also, because all workers are cloned from an initial interpreter with the same state 2009-02-12 19:30:03 -05:00
Mike Bonnet
f100121dda update the buildArch task weight based on the average duration of a build of the package 2009-02-10 21:18:44 -05:00
Mike Bonnet
617c3633c8 - remove wrapper around get_rpm
- don't execute the same query again
2009-02-10 13:10:17 -05:00