Mike McLean
e5668f98a7
new calls: listBTypes, addBType
2016-09-28 18:20:09 -04:00
Mike McLean
dc33a0e679
add btype data for legacy builds
2016-09-28 18:20:09 -04:00
Mike McLean
2ed308ff3e
typo
2016-09-28 18:20:09 -04:00
Mike McLean
c0cb1ab73e
...
2016-09-28 18:20:09 -04:00
Mike McLean
e119e08505
use new archive component tables in hub code
2016-09-28 18:20:09 -04:00
Mike McLean
e31044f0d2
enforce that output types match one of the build types
2016-09-28 18:20:09 -04:00
Mike McLean
8c03618ab7
more fixes
2016-09-28 18:20:09 -04:00
Mike McLean
0cef35e50a
fixes
2016-09-28 18:20:09 -04:00
Mike McLean
ea84af67ce
add btype_id to archiveinfo
2016-09-28 18:20:09 -04:00
Mike McLean
15f483feea
handle btypes in import_archive
2016-09-28 18:20:09 -04:00
Mike McLean
0175c27d26
handle btypes in cg_import
2016-09-28 18:20:09 -04:00
Mike McLean
9de37e32c8
use InsertProcessor in new_maven_build
2016-09-28 18:20:09 -04:00
Mike McLean
4eada8df3c
more consistency between listBuilds and getBuild
2016-09-28 18:20:09 -04:00
Mike McLean
f7e7bed3b4
support querying by new btypes
2016-09-28 18:20:09 -04:00
Mike McLean
601bfd9083
get_build_type()
2016-09-28 18:20:09 -04:00
Mike McLean
2f412fbcfb
support untyped build archive imports
2016-09-28 18:20:09 -04:00
Mike McLean
47da84ed72
preCommit too. why not?
2016-09-14 14:20:28 -04:00
Mike McLean
3ecc5dbe52
add postCommit callback
2016-09-14 14:20:28 -04:00
Mohan Boddu
dd82e9cea2
Remove all bad-whitespaces
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-08-29 14:26:32 -04:00
Mike McLean
76cf9e32ae
fix image path in list_archive_files
2016-08-16 15:04:18 -04:00
Mike McLean
a22054395b
use python json, but fall back to simplejson
2016-08-08 18:04:26 -04:00
Matt Prahl
16fdb3b14e
Removes unnecessary declaration of results as an empty dict, and modifies styling for PEP8 compliance
2016-08-08 18:00:05 -04:00
Mike McLean
97d7c9d2ea
don't try to unlink src after safer_move()
...
fixes issue introduced by PR#114 (Support scratch dir on separate mount)
2016-08-08 15:02:57 -04:00
Mike McLean
8bd4b49822
use safer_move on hub
2016-07-26 16:20:54 -04:00
Matt Prahl
f237fd5100
Adds unit tests for tasks.py
...
Adds Vagrant support to run unit tests
2016-07-21 17:08:45 -04:00
Mike McLean
9bf70b0c2e
fix handling of strict option in get_image_archive()
2016-07-12 17:45:15 -04:00
Xibo Ning
1e2d0e6622
fix the issue that listArchiveFiles() returns empty list
...
for content generator archives
2016-07-08 10:42:55 +08:00
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