Commit Graph

30 Commits

Author SHA1 Message Date
Ralph Bean
141ffa8a17 Delete get_module_runtime_dependencies
It isn't really in use anywhere.

Fixes #378.
2017-03-14 12:58:12 -04:00
Ralph Bean
ae8d453da3 Use mmd.xmd for exact pinning of dep tags. 2017-03-02 11:59:46 -05:00
Ralph Bean
8d2b7729bd Restore the original functionality, even if it is weird. 2017-03-02 11:23:04 -05:00
Ralph Bean
724599fb77 Fix the depsolving wrapper.
It was try to convert koji tags back to modules locally, which caused
errors with the new bootstrap tag.
2017-03-02 11:16:43 -05:00
Matt Prahl
385045d778 Reuse components from previous module builds 2017-02-21 14:22:30 -05:00
Matt Prahl
a5cc4eb280 Add a module's commit hash, scmurl, and the buildrequires' commit hashes, stream, and version in the modulemd 2017-02-21 09:53:05 -05:00
Matt Prahl
08444ced95 Add additional error checking to get_module_modulemd 2017-02-21 09:32:10 -05:00
Matt Prahl
3156921a02 Support new nomenclature on get_module function when passing in a modulemd 2017-02-21 09:32:09 -05:00
Ralph Bean
bebf50f78c Haste makes waste. 2017-02-16 10:41:40 -05:00
Ralph Bean
2819b65204 Remove unused import. 2017-02-16 10:30:08 -05:00
Ralph Bean
b37ff40758 Handle still more variations in the pdcclient api. 2017-02-16 10:30:02 -05:00
Ralph Bean
67e3947a9b Handle changing PDCClient API.
I hit this in staging.  Some versions of the pdc-client library have a
different signature for PDCClient.  We need to specify these as keyword
arguments so we don't get spooky failures with accidental values.
2017-02-15 19:42:36 -05:00
Jan Kaluza
ca754903ac Fail in resolve_profiles in case dependency cannot be found in PDC 2017-01-11 10:30:28 +01:00
Jan Kaluza
dda47acab7 Fix #276 - Use PDC to resolve buildroot components instead of MBS database 2017-01-10 14:29:54 +01:00
Jan Kaluza
04899d7bc7 Choose the module with highest release number from PDC results when variant_release is not defined. 2016-12-09 12:54:10 +01:00
Jan Kaluza
dd3eb61b53 Fix #223, #224 - Use generated Mock config, define local RPM repository there and make it available in Mock chroot after batch is built. 2016-11-25 12:15:32 +01:00
Matt Prahl
3073fc2859 Merge #190 New-style PDC deps. 2016-11-15 15:37:03 +00:00
Ralph Bean
7a39a8f160 New-style PDC deps.
This is only one half of the modulemd-1.0 changes needed around PDC.

This was done to get module handling their dependencies when they are
defined in terms of streams instead of NVRs.

In PDC we used to store the dep as one whole string, i.e.::

    base-runtime-0.25-11

Now we're going to store them with some more structure, since we can't
assume monotonically increasing version values::

    dependency: base-runtime
    stream: master

Pull-requests to PDC and PDC-updater are forthcoming.
2016-11-14 19:34:39 -05:00
Ralph Bean
f9b2821f7f Some better logging around PDC stuff.
I spent a while debugging these interactions tonight and the log
statements definitely helped to figure it out.
2016-11-14 19:33:25 -05:00
Jakub Kadlčík
8c65718daa Drop get_module_repo function since it is in GenericBuilder 2016-11-10 13:27:46 -05:00
Jan Kaluza
7f898307f5 Remove 'module-' prefix from koji_tag in module_depsolving_wrapper 2016-10-27 13:47:13 +02:00
Ralph Bean
d9722e9ed6 Move CoprClient imports inside the functions where they are referenced. 2016-10-25 15:15:16 -04:00
Ralph Bean
77befa7dad Make CoprClient import optional.
Also, fix one last reference to the old rida module name that I noticed while I was in there.
2016-10-25 15:15:16 -04:00
Courtney Pacheco
4127a8c3c3 Adding test to view_test.py and fixing prior commit for 'pdc.py' 2016-10-25 04:44:45 -04:00
Courtney Pacheco
29733e02e5 Modifying test requirements & updating pdc.py to use the new 'module_build_service' name in place of 'rida' 2016-10-25 03:43:20 -04:00
Jakub Kadlčík
900b9dd88d Use rida.conf for specifying path to copr config 2016-10-24 20:46:50 +02:00
Jakub Kadlčík
64ae340122 Use python-copr to get DNF repo URL 2016-10-24 20:46:49 +02:00
Jakub Kadlčík
f28d69dc83 Use Copr API to get DNF repo URL 2016-10-24 20:46:49 +02:00
Jakub Kadlčík
b70ee8ea1f Add get_module_repo function with only Copr implementation 2016-10-24 20:46:49 +02:00
Matt Prahl
b4082dc551 Rename module from rida to module_build_service
Rename routes from /rida/1/module-builds/ to /module-build-service/1/module-builds/
2016-10-24 10:30:23 -04:00