Commit graph

1553 commits

Author SHA1 Message Date
Jay Greguske
1f80946689 complain if the user does not exist 2014-09-22 12:54:20 -04:00
Mike McLean
c9620cf088 don't assume newRepo tag arg is a string 2014-09-19 11:43:36 -04:00
Mike McLean
d5c80a254f defer g🅰️v no-match error until after we check ignores 2014-08-22 11:39:40 -04:00
Mike McLean
708ef0cb10 fix an issue with listTasks call 2014-08-21 16:41:45 -04:00
Mike McLean
2fa5a65e6e fix field handling in readTaggedRPMS 2014-08-21 15:56:15 -04:00
Mike McLean
9432d3e38a support --link in import-archive 2014-08-20 15:09:58 -04:00
Mathieu Bridon
689397e375 builder: Improve allowed_scms documentation in the config file
The config file tries to explain to the admin how to specify
allowed_scms, but one option (source_cmd) was missing.

This just reuses the wording of the docstring from the function parsing
this option, providing a complete documentation to admins when they read
the config file.
2014-08-15 13:55:43 -04:00
Mike McLean
be5dd7f457 Support rpm source layout (SPECS and SOURCES dirs) when building srpms from
source control.

Also adds a new support_rpm_source_layout option to kojid to control this
behavior.
2014-08-15 13:45:19 -04:00
Dennis Gilmore
049ab0dd94 correctly call pykickstarts makeVersion 2014-08-04 05:02:08 -05:00
Mike McLean
82ace581be fix cursor name race condition 2014-08-01 20:42:19 -04:00
Mike Bonnet
abb44de383 maven-chain builds can override a G:A:V from the tag with a previous build in the chain, update the index accordingly 2014-07-31 20:50:34 -04:00
Mike McLean
61cc4a75d7 fix typo in updateMavenBuildRootList 2014-07-31 17:14:04 -04:00
Mike McLean
a27e913e04 log error when multiple builds found for a g🅰️v 2014-07-31 17:14:04 -04:00
Mike McLean
1e655cd096 log details on unknown maven file errors 2014-07-31 17:14:04 -04:00
Mike McLean
98cfe8b0a8 handle maven_tag_archives generator in updateMavenBuildRootList 2014-07-31 17:05:34 -04:00
Mike McLean
8622ce9f5f return a generator from maven_tag_archives 2014-07-31 17:05:34 -04:00
Mike McLean
56d028d987 fix variable name 2014-07-31 17:05:34 -04:00
Mike McLean
f6048e3783 use pid in cursor name 2014-07-31 17:05:34 -04:00
Mike McLean
acefce8523 limit request size 2014-07-31 17:05:34 -04:00
Mike McLean
758919f617 QueryProcessor iteration refinements
skip cursor if limit < chunksize
avoid possibly volatile parameters during iteration
2014-07-31 17:05:34 -04:00
Mike McLean
1581a9603d rework repo_init for iterator efficiency 2014-07-31 17:05:34 -04:00
Mike McLean
2e40f17941 use iteration in readTaggedRPMS 2014-07-31 17:05:34 -04:00
Mike McLean
fde4e75da2 Use iterators for potentially large queries to reduce memory use 2014-07-31 17:05:34 -04:00
Jay Greguske
c1b42e0c67 add raw-xz option 2014-07-31 17:00:09 -04:00
Jay Greguske
ef2e41a672 refactor do_images 2014-07-31 17:00:09 -04:00
Jay Greguske
440ec22696 refactor image-build handlers in kojid 2014-07-31 17:00:09 -04:00
Mike McLean
bac5601bf8 Revert "image: support xz compressed raw files"
This reverts commit 1cbc534d89.
2014-07-31 17:00:09 -04:00
Mike McLean
3472e5bda8 fix to address for gc notices (ticket 268) 2014-07-25 10:30:44 -04:00
Mike McLean
e254586991 handle task ids in download-build 2014-07-15 13:55:58 -04:00
Mike McLean
d764ec7f4c list-tasks cli improvements 2014-07-15 13:55:58 -04:00
Dennis Gilmore
ca297c8482 koji-shadow: add option to only import noarch builds
when following the mass rebuild it can be useful to see where you are in
the rebuild by having all the noarch builds imported, it will give you a
better idea of what needs to actually be built.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2014-06-13 12:57:24 -05:00
Dennis Gilmore
1cbc534d89 image: support xz compressed raw files
as we publish the raw files on the mirrors we want to be able to request
xz compressed versions of theraw image.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2014-06-13 12:57:24 -05:00
Mike Bonnet
238c45a95e maven-chain: support multiple config files 2014-06-13 12:51:09 -04:00
Mike Bonnet
fb325c7936 ChainMavenTask: compare the task deps when checking for duplicate builds 2014-06-13 12:51:09 -04:00
Mike McLean
73f325e29d return all results when waiting on all subtasks 2014-06-13 11:23:38 -04:00
Mike Bonnet
5f2cf2b8df provide the list of active subtasks to wait on in ChainMavenTask.handler(), to avoid unnecessary updates in taskSetwait() 2014-06-13 11:23:38 -04:00
Mike Bonnet
7704f4cf8c BaseTaskHandler.wait() should only get results for finished subtasks 2014-06-13 11:23:38 -04:00
Mike Bonnet
ae1db8fb03 use SELECT ... FOR UPDATE in taskWaitCheck() because those rows may be updated in taskWait() 2014-06-13 11:23:38 -04:00
Mike Bonnet
af29196d0f support wrapper-rpm builds in maven-chain 2014-06-13 11:23:38 -04:00
Mike Bonnet
34f4a42050 don't include dependencies when looking for duplicate builds 2014-06-13 11:23:38 -04:00
Mike Bonnet
689ace685d handle display of chainmaven tasks 2014-06-13 11:23:38 -04:00
Mike Bonnet
a4d67a5cd5 support -SNAPSHOT versions in scratch builds, explicitly reject them in non-scratch builds 2014-06-13 11:23:38 -04:00
Mike Bonnet
e626fca4d9 support running a sequence of Maven builds in dependency order
The new "koji chainmaven" command allows Maven builds to be run in depdencency order,
without needing to wait for repo regens.  A config file specifies the parameters and
dependencies for each build in the sequence.  Each build is launched as soon as all
dependent builds are complete, and is able to reference the output of all of its
dependencies.  If the build source URL and parameters match the latest build of the
same package in the destination tag, the build will not be re-run.
2014-06-13 11:23:37 -04:00
Mike Bonnet
8cf7023172 remove small blocksize when uploading archives 2014-06-13 11:23:37 -04:00
Mike Bonnet
2961b71922 copy maven-metadata.xml to the output directory 2014-06-13 11:23:37 -04:00
Mike Bonnet
cdbd8dc63f upload all Maven output to the hub 2014-06-13 11:23:37 -04:00
Mike Bonnet
bc2e4c1dc9 remove unused argument from _generate_maven_metadata() 2014-06-13 11:23:37 -04:00
Mike Bonnet
701e0ca541 clean up repo_init() a bit 2014-06-13 11:23:37 -04:00
Dan Horák
684b186050 koji-shadow: convert certificate paths to absolute
Converting the certificate paths to absolute using os.path.expanduser() will
allow using a common shadow config for multiple users.
2014-06-11 15:28:31 -04:00
Dennis Gilmore
d3d17baea0 move workdir from /tmp/koji/ to /var/tmp/koji/
moving the workdir is needed as /tmp can be quite small with /tmp on tmpfs

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2014-06-11 15:23:54 -04:00