Martin Curlej
dfe7660519
Removed PDC dependency from MBS and replaced it with MBS prod instance.
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Removed pdc from comments.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Adding missing files.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Updated PR according to review.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Local modules builds now
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Removed copr from config
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
Fixed bugs
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2018-07-04 10:13:18 +02:00
Jan Kaluza
ddbeb0aca7
Get buildrequired modules for koji tag inheritance using NSVC, not just NSV.
2018-06-14 11:37:52 +02:00
Owen W. Taylor
6fd3a2586d
PDCResolver: always look for local modules.
...
Modules that might have been added to a Mock build with --add-local-build
were only checked in one place, but there were two other places where data
was loaded directly from the PDC.
2018-05-30 15:47:14 -04:00
Owen W. Taylor
19bf94f0ea
Load 'context' for local builds
...
'context' needed to be stored into the in-memory database and then
propagated for builds added to a MockModuleBuild with --add-local-build.
2018-05-30 15:47:14 -04:00
Qixiang Wan
8b807a9fcd
Generate koji tag from MBS and use informative name
...
koji now supports tags with max length of 256, we can use
more informative tag name instead of the hash one.
The new format of koji tag name is:
module-<name>-<stream>-<version>-<context>
However when the generated tag's length > (256 - len('build')), we
fallback to the old way of name in hash format (module-<hash>).
In this change, koji tag is always generated from MBS itself, even
with pdc resolver.
FIXES : #918 #925
2018-04-26 22:04:16 +08:00
mprahl
05f34598eb
Surface the error to the user when a module dependency can't be found
2018-04-05 14:37:08 -04:00
Jan Kaluza
9b6fd2ba39
Split utils.py to multiple files based on the methods use-case.
2018-04-03 09:58:57 -04:00
Jan Kaluza
9503e4624e
Support local build of modules with MSE.
2018-04-03 09:58:57 -04:00
Jan Kaluza
e5e9a24fce
Allow adding bool to XMD. Fix flake8 issues.
2018-04-03 09:58:57 -04:00
Jan Kaluza
2482e47c07
Fix issues from review. Drop xmd['mbs']['requires']. Do not allow building MSE builds against non-MSE builds.
2018-04-03 09:58:57 -04:00
Jan Kaluza
31ddbe51a5
Add generate_expanded_mmds which returns list of MMDs which can be submitted as MSE builds and submit them.
2018-04-03 09:58:57 -04:00
mprahl
eb0b2e1c38
Add the database resolver plugin
2018-04-03 09:58:57 -04:00
mprahl
28e821fee0
Start querying modules by context when it's available
...
When implementing module stream expansion, we'll need to make sure
the buildrequires are queried using their context as well.
2018-04-03 09:58:57 -04:00
mprahl
d3f92bf5d3
Make the resolver functions less PDC specific
2018-04-03 09:58:57 -04:00
mprahl
f0852d9009
Port to libmodulemd and support v2 modulemd without module stream expansion
2018-04-03 09:58:57 -04:00
mprahl
2ace817afd
Remove duplicate _get_module call
2018-04-03 09:58:57 -04:00
mprahl
d06bd3a49e
Don't fail a module build when there are no buildrequires
2018-02-06 11:09:31 -05:00
mprahl
4fcb432a33
Fix PDCClient calls to unreleasedvariants
2018-02-02 11:02:45 -05:00
mprahl
8afa30a324
Make the import to PDCClient consistent for easier mocking
2018-02-02 11:02:45 -05:00
Filip Valder
5b4a8f6240
New: Resolver API for pluggable resolvers
2018-01-29 15:54:19 +01:00