Commit graph

158 commits

Author SHA1 Message Date
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 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
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
Mike Bonnet
b12034aed5 fix up some doc strings 2009-02-10 12:49:03 -05:00
Mike Bonnet
88a58bf42d remove remaining references to the rpmdeps and rpmfiles tables 2009-02-10 11:29:47 -05:00
Mike McLean
6bcbe82045 create repos properly even if all rpms are noarch 2009-02-09 17:52:49 -05:00
Mike Bonnet
7769c3f540 use subprocess instead of popen2, which is deprecated in python2.6 2009-02-09 16:09:06 -05:00
Mike Bonnet
15ad2a4cae display an Origin column indicating the external repo on the rpmlist page 2009-02-08 14:21:37 -05:00
Mike Bonnet
f8e875afc0 run rpmdiff against noarch subpackages 2009-02-06 18:08:13 -05:00
Mike McLean
6b8a183ac1 record external rpms in buildroots 2009-02-06 17:45:28 -05:00
Dennis Gilmore
de59def8e6 fix typo 2009-02-06 14:13:23 -06:00
Dennis Gilmore
7b867ca424 configure weather we send email to task and package owners on success. still send email to watchers 2009-02-05 17:54:02 -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 Bonnet
acacff6322 handle queryOpts even when the rpm doesn't exist 2009-02-02 13:11:26 -05:00
Mike Bonnet
6294720dac getRPMHeaders(): return arbitrary headers pulled directly from the rpm on disk 2009-02-02 12:09:51 -05:00