Mike McLean
c36adb8eb5
merge some of the new buildroot tables, refactor buildroot_extra_info
2015-04-09 19:56:36 -04:00
Mike McLean
e1f928af6b
cg br schema pass 1
2015-04-09 15:29:16 -04:00
Pavol Babincak
a80ab75b32
Make koji.plugin.export_in() decorator working
...
Python raised problem with local variable before:
UnboundLocalError: local variable 'alias' referenced before
assignment
2015-04-02 15:56:54 -04:00
Mike McLean
6ba041839b
package hub.conf.d and web.conf.d
2015-03-31 17:34:16 -04:00
Dennis Gilmore
b489f282be
we xz compress the docker base image, make sure it is named correctly
...
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-27 17:20:51 -04:00
Mike McLean
cdeb212ffe
add/use strict option in find_build_id
2015-03-10 15:16:55 -04:00
Mike McLean
731add25f4
for prune-signed-copies, consider file timestamp
2015-03-10 14:32:08 -04:00
Mike McLean
017e1ad053
support latest=N api option in cli
2015-03-10 14:32:08 -04:00
Mike McLean
f939cff2f3
preserve latest behavior for non-integer, non-boolean "true" values, and update comment.
2015-03-10 14:32:08 -04:00
Ralph Bean
833a575ba5
Allow specifying an 'int' for 'latest'.
...
This should preserve the pre-existing behavior, where if latest is set
to True, only the latest builds in a tag are returned, and if latest is
set to False, all the builds in a tag are returned.
The new behavior is a kind of middleground, where you can set latest=3,
and only the latest three builds for each package in a tag are returned.
We want this ultimately for mashing rawhide so we can create a downgrade
path for people if new builds break them.
https://bugzilla.redhat.com/show_bug.cgi?id=1082830
Discussed and revised:
https://lists.fedoraproject.org/pipermail/buildsys/2015-February/004541.html
2015-03-10 14:32:08 -04:00
Mike McLean
721f350dd7
slightly better errors for host auth failures
2015-03-10 14:32:08 -04:00
Mike McLean
517feb21ee
update predefined archivetypes
2015-03-10 14:32:08 -04:00
Mike Bonnet
ac09ab2b49
taskinfo.chtml: missing line break
2015-02-20 13:56:13 -05:00
Mike McLean
1ce5413904
in modpy mode, if ConfigFile is set to default, then default to normal ConfigDir
2015-02-19 15:25:19 -05:00
Mike McLean
8d3166f13f
Support conf.d in kojihub and kojiweb
2015-02-04 05:33:34 -05:00
Mike McLean
db5d3e4dec
handle package field for group_package_listing in history queries
2015-02-04 05:29:25 -05:00
Chenxiong Qi
8424254d13
Avoid crash if some hosts have no arches
...
Field arches in table host could be null. if some hosts have no arches, and
arches value is null, arches.split() will crash.
2015-02-04 05:29:25 -05:00
Pavol Babincak
07ea07f875
Test parent tag existence before query for its id
...
If client called:
$ koji add-tag new-tag-name --parent nonexistent-tag
it failed with error:
xmlrpclib.Fault: <Fault 1: 'exceptions.TypeError: unsubscriptable
object'>
2015-02-04 05:29:25 -05:00
Tomas Kopecek
cd45e886cc
runroot plugin
2015-01-27 22:41:00 -06:00
Dennis Gilmore
5b5b7d95ea
ssl: use the best possible connection method.
...
tell pyOpenSSL to use the best possible connection method,
disable SSLv2 and SSLv3
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-01-23 16:11:22 -06:00
Dennis Gilmore
50c8dd5697
image tasks: only bind mount /selinux if it exists
...
current fedora does not have /selinux on the host if you try to bind mount
a non existant directory the mount fails.
2015-01-23 13:45:52 -06:00
Josh Boyer
82a405c794
Compress docker images with xz
...
Imagefactory supports gzip, bzip2, and xz compression formats. Upstream
Docker prefers xz, so switch to using that.
2015-01-16 11:51:19 -06:00
Ralph Bean
2ce5ac7d39
Add new {pre,post}RPMSign plugin callbacks.
...
I'd like to use these in Fedora Infrastructure for the fedmsg plugin so
we can see when rawhide rpms get signed by sigul.
2014-12-12 16:23:52 -05:00
Mike McLean
9d433423fe
update httpd access directives
2014-11-24 11:16:32 -05:00
Mike Bonnet
631f8cc254
use os.lchown() so dangling symlinks don't cause errors
2014-10-28 23:54:21 -04:00
Mike Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike Bonnet
7a6544a53d
fix a few errors revealed by pylint
2014-10-28 23:54:21 -04:00
Mike Bonnet
1e8b7211ee
add --ini and --section options to maven-build and wrapper-rpm
...
Support use of a .ini file to pass parameters to maven-build and wrapper-rpm.
2014-10-28 23:54:20 -04:00
Mike Bonnet
df316c0c6f
xmlrpclib is not thread-safe, create a new ServerProxy instance so we're not sharing with the stream_logs thread
2014-10-28 23:54:20 -04:00
Mike Bonnet
5c4144c033
display the top-level task start time as the build start time
...
We can't record the build start time in the database correctly for maven and windows builds, so show the task start time instead.
2014-10-28 23:54:20 -04:00
Mike Bonnet
d60bf0529e
move maven-chain parsing into util so it can be used by other utilities
2014-10-28 23:54:20 -04:00
Mike Bonnet
26129248eb
declare dependencies as pluginRepositories also, because dependencies and plugins are resolved separately (for some reason)
2014-10-28 23:54:20 -04:00
Mike Bonnet
2167fbb825
remove the resolve-plugins goal from Maven builds
...
The resolve-plugins goal is not often used during upstream development, and it
causes unnecessary dependencies to be downloaded and builds to take longer.
The data collected during that step hasn't been used for anything, so it is
safe to remove. All dependencies downloaded during the build will still be
recorded after the deploy goal is completed.
2014-10-28 23:54:20 -04:00
Mike Bonnet
004a1ba450
preserve the format of parameters with no value when calling maven-build and maven-chain
...
-Dfoo and -Dfoo= mean different things to the JVM, so make sure the format of the parameter on the command-line is carried through to the mvn invocation.
2014-10-28 23:54:20 -04:00
Mike Bonnet
cc72bebfae
include status information in the output of the chainmaven task
...
If a status line includes "previously built" it means an identical build already existed in the destination tag, and the build was not repeated.
2014-10-28 23:54:20 -04:00
Mike Bonnet
688f43a1c1
check for duplicates during scratch builds also
2014-10-28 23:53:48 -04:00
Mike McLean
5c086d80f8
consider more timestamps before deleting old repos
2014-10-28 12:30:05 -04:00
Mike McLean
50d5ade308
do not require rpm source layout
2014-10-28 12:30:05 -04:00
Thomas Oulevey
029177bcb0
do not assume sourcedir=chrootdir
2014-10-24 11:16:24 -04:00
Jay Greguske
483fd10509
compress rhevm ova
2014-10-23 16:10:24 -04:00
Mike McLean
61ed1260d3
log failed queries
2014-10-22 15:00:44 -04:00
Mike McLean
31bf2f48cb
report subset of maven tags in regen total
2014-10-22 15:00:44 -04:00
Mike McLean
43b72f4f2d
report expired time when triggering newRepo task
2014-10-22 15:00:44 -04:00
Mike McLean
4cd794b290
prioritize repo regen by time since expiration rather than time since creation
2014-10-22 15:00:44 -04:00
Mike McLean
55ac3ab50a
solve a threading issue in kojira
2014-10-17 10:47:56 -04:00
Mike McLean
e9481f6d44
remove debug line
2014-10-16 14:57:25 -04:00
Mike McLean
07d1eb8109
use TLSv1. https://bugzilla.redhat.com/show_bug.cgi?id=1152823
2014-10-16 14:53:14 -04:00
Mike McLean
f6f7299dc2
list-history --watch
2014-10-16 14:53:14 -04:00
Mike McLean
ee3a25457b
don't _forget subsession when used by a thread
2014-10-16 14:50:21 -04:00
Mike McLean
8e4deac955
log out subsession if thread dies
2014-10-16 14:43:36 -04:00