Commit graph

639 commits

Author SHA1 Message Date
Ralph Bean
7530b8ce77 Remove mktask in favor of make_task (and fix all references). 2016-06-08 12:08:05 -04:00
Mike McLean
3c0c3fc5a8 query history by cg 2016-05-18 18:29:58 -04:00
Mike McLean
a968d11adb add arch to log path for livemedia builds 2016-05-16 14:02:07 -04:00
Mike McLean
ae3fd98fcf top level livemedia tasks are noarch (patch by dgilmore) 2016-05-16 14:02:07 -04:00
Mike McLean
4e7f496cd2 fix docstring for importImageInternal 2016-05-16 14:02:06 -04:00
Jon Disnard
d12cb6e298 Hub: Add livemedia image type
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2016-05-16 14:02:05 -04:00
Ralph Bean
ebb58b0507 Remove unused variables. 2016-05-16 13:49:59 -04:00
Ralph Bean
0f411d9821 Make HiddenUser into HiddenUsers.
At @mikeb's suggestion in the code review, this makes HiddenUsers plural.

This makes the whole changeset a little more invasive than it was before, so please review carefully.
2016-05-16 13:43:39 -04:00
Ralph Bean
708b6a411c Allow hiding a user from the frontpage task list.
This adds new query arguments to the taskList hub xmlrpc endpoint, and then
makes use of those arguments in koji-web.  A new optional configuration value
is added for koji-web: `HiddenUser`, which can be used to specify which user
account should be hidden.  This could be useful for deployments that have a
continuous-integration account, the spam from which makes the frontpage
difficult to read.

Unit test cases are also added for some functions of the hub taskList endpoint.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-05-16 13:43:39 -04:00
Mike McLean
b0da550dfc ignore tagless buildroots in BuildTagTest 2016-05-11 17:00:22 -04:00
Mike McLean
dfcdbbaff2 don't ignore source data in cg_import 2016-05-11 17:00:22 -04:00
Mike McLean
f9bd7bb1f4 use build source value for source test, if available 2016-05-11 17:00:21 -04:00
Mike McLean
3c73d240ed cg matching policy handlers 2016-05-11 17:00:21 -04:00
Mike McLean
fccc268b4e update docstring for get_event() 2016-05-11 16:56:58 -04:00
Mike McLean
70006e6cfc don't recycle event ids in multicalls 2016-05-11 16:56:58 -04:00
Mike McLean
a5fc700ab2 update epoch when recycling a build 2016-04-26 13:32:51 -04:00
Mike McLean
780a2bb905 return buildinfo from cg_import 2016-04-21 11:11:11 -04:00
Mike McLean
8821f98910 add unit test for using profiles in threads
see: https://pagure.io/koji/issue/58
2016-04-11 12:09:28 -04:00
Ralph Bean
0a34a78430 Bugfix - st_complete needs to be defined earlier. 2016-04-08 14:46:52 -04:00
Ralph Bean
79721c4dc9 Run plugin callbacks when image builds finish.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-04-07 19:19:13 -04:00
Mike Bonnet
c2d885fe87 standard_buildroot.id has been renamed to buildroot_id 2016-04-07 15:13:43 -04:00
Peter Robinson
d60e8e563f Add packages to a koji package group as mandatory not default
All the packages in groups that koji uses to build srpms/rpms/live images and other outputs are mandatory but are currently specified as default. Yum historically didn't make a major diffentiation between the two and failed build if there was issues, dnf treats this differently and only classifies mandatory as the only option that would fail the install. The packages in the group should be mandatory because we really do want to ensure they're there. This fixes dnf, but should have no impact on the yum use case.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-03-21 16:16:18 -04:00
Pavol Babincak
b964487d57 Configure httpd's access control automatically with IfVersion
See documentation for upgrading to 2.4:
https://httpd.apache.org/docs/2.4/upgrading.html#access
2016-02-05 09:07:24 -05:00
Mike McLean
de92c542dc clarify error message for noarch rpmdiff mismatches
see https://fedorahosted.org/koji/ticket/325
2016-01-04 15:15:00 -05:00
Mike McLean
7bac2721f8 fix errors in several raise statements 2015-12-21 13:31:17 -05:00
Dennis Gilmore
625c6dbcf5 fix the matching of archivetypes
updated query came from mikem in https://pagure.io/koji/issue/10

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-10 12:34:13 -06:00
Mike McLean
b74052f0cd don't break listArchives argument ordering 2015-12-04 16:04:34 -05:00
Mike McLean
14caa6edb7 fix query opts in repo_references 2015-12-04 16:04:34 -05:00
Mike McLean
4d981318dc avoid db error when taskSetWait called with empty task list 2015-12-04 16:04:34 -05:00
Mike McLean
a1e8ff5ba5 fix query opts passing in repo_references 2015-12-04 16:04:34 -05:00
Mike McLean
a63e61dcef fix nvr recycling 2015-12-04 16:04:33 -05:00
Mike Bonnet
5569c058c1 print the correct authentication method in "koji moshimoshi" 2015-12-01 18:51:53 -05:00
Mike McLean
47189e0c3a Merge branch 'cgen'
Merge in content generator changes

Conflicts:
	hub/kojihub.py
2015-11-18 10:55:21 -05:00
Mike Bonnet
636b9c8383 fail a build that produces an unknown file type, rather than silently ignoring them 2015-11-17 14:32:04 -05:00
Mike Bonnet
d4d04ae9e6 cleanup the build directory when re-running a failed build 2015-11-17 14:20:07 -05:00
Mike McLean
6c6bef9630 record and report source and metadata_only fields 2015-11-17 10:46:10 -05:00
Mike McLean
f40b39cd68 ensure builddir when writing cg metadata file 2015-11-17 10:45:46 -05:00
Mike McLean
353927e00b fix refactor issue 2015-11-17 10:45:31 -05:00
Mike McLean
34a400652e cg_import policy stub 2015-11-17 10:45:31 -05:00
Mike McLean
fe4982c70c run prep steps early 2015-11-17 10:45:31 -05:00
Mike McLean
6be5d30b13 more refactor 2015-11-17 10:45:31 -05:00
Mike McLean
03b43c1c37 don't pass importer class to callback. could confuse plugins 2015-11-17 10:45:31 -05:00
Mike McLean
a0036c4489 refactoring cg importer to facilitate policy hooks 2015-11-17 10:44:17 -05:00
Mike McLean
d8baff3b63 fix a small typo 2015-11-12 14:48:07 -05:00
Mike McLean
910051e783 make sure timestamps are floats to keep datetime happy 2015-11-11 00:56:39 -05:00
Mike McLean
3faa31501c temporary workaround for external component refs in cg_import 2015-11-11 00:41:13 -05:00
Mike McLean
f5d2ad14cc pre/postImport callbacks for content generators 2015-11-11 00:40:14 -05:00
Mike McLean
470c2de57c record raw metadata 2015-11-05 16:51:16 -05:00
Mike McLean
26fb75920b set build.start_time in cg_import 2015-11-04 17:02:25 -05:00
Mike McLean
c80a7aa9ae support for build.start_time field 2015-11-04 17:02:25 -05:00