Jan Kaluza
3f71cdd384
Use Modulemd.Module for 'variant.arch_mmds' instead of yaml dump
...
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
Merges: https://pagure.io/pungi/pull-request/872
2018-03-19 14:47:03 +01:00
Jan Kaluza
fedce5dff1
Remove the filtered RPMs from module metadata even in case all RPMs are filtered out.
...
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2018-03-15 11:13:39 +01:00
Lubomír Sedlář
5c902592ae
pkgset: Allow empty list of modules
...
This should indicate that it's a modular variant, but there is no
modular content yet. We don't want to treat that as Everything.
The end result will be an empty repository.
Fixes: https://pagure.io/pungi/issue/871
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2018-03-14 14:49:09 +01:00
Jan Kaluza
340ae4d286
Use libmodulemd instead of modulemd Python module
...
Merges: https://pagure.io/pungi/pull-request/851
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2018-03-12 13:07:33 +01:00
Jan Kaluza
18d005e593
Add modulemd metadata to repo even without components
...
There is a valid use case for modules without any RPMs in them. This
patch makes it possible to include such modules in the repodata.
Merges: https://pagure.io/pungi/pull-request/856
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2018-02-26 07:22:41 +01:00
Jan Kaluza
7ee920a085
Disable multilib for modules
...
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2018-02-22 11:54:02 +01:00
Lubomír Sedlář
5cc612f966
gather: Do not require variant for module source
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2018-01-17 14:06:56 +01:00
Lubomír Sedlář
cf77a6e413
modules: Allow multilib
...
The list of RPMs in a module can contain multilib packages, but they are
never included because we only ask for compatible arches without
multilib. For x86_64 that only adds noarch, but not i686.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-12-06 13:17:53 +01:00
Lubomír Sedlář
2bd3b85bb7
module-source: Log details about what packages are gathered
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-11-13 09:18:48 +01:00
Jan Kaluza
5dd6b1b0e7
GatherSourceModule: return rpm_obj instead of the rpm_obj.name
...
Merges: https://pagure.io/pungi/pull-request/680
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-07-20 14:58:58 +02:00
Jan Kaluza
f7197ddbcc
Allow gather source classes to return SimpleRpmWrapper objects from pkgset phase directly.
...
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-06-14 08:51:37 +02:00
Lubomír Sedlář
700106facf
arch: Move exclu(de|sive)arch check to a function
...
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-06-06 15:28:12 +02:00
Jan Kaluza
3601d6d1a8
gather-source: Check arch in module source
...
Skip the RPM if it is excluded on this arch or exclusive for different
arch.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-06-06 15:25:41 +02:00
Jan Kaluza
118444a311
Generate proper modular metadata when there are different versions of the same package in the variant
...
Merges: #629
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-05-30 15:18:09 +02:00
Jan Kaluza
d037d61521
Store RPM artifacts in resulting repository in modulemd metadata.
...
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-05-04 21:12:30 +02:00
Ralph Bean
01607602c6
Expand compatible arches when gathering from modules.
...
Fixes #596 .
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-04-12 14:35:46 -04:00
Jan Kaluza
9fcd71f831
Add support for modular composes
...
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-03-22 15:55:52 +01:00