Open pulpbot opened 2 years ago
From: bherring (bherring) Date: 2019-07-10T18:09:43Z
14:06 <dalley> in this case I'm talking about, no ursine RPMs are involved at all -- if
you're doing a direct Pulp copy of a module and that module has a default,
the default should be automatically copied
Author: bherring (bherring)
Redmine Issue: 5055, https://pulp.plan.io/issues/5055
History
There is currently a 'policy decision' that modules in the base repo (of rhel) don't rely on modular rpms, but that it's not an engineering limitation, and that fedora and rhel will likely do so at some point in the future. This is already a consideration for fedora and fedora-updates repos.
At least in Fedora, you can expect that there will be content in the updates-testing repo depending on content in updates-modular and/or fedora-modular.
This means Pulp will eventually need to support multiple source repos for copy.
Problem
As pulp is delivered today, Ursine RPM deps on modular RPMs are NOT covered by test.
Normal, non-modular (ursine) [0] RPMs can depend on module packages.
As an example, the postgres language RPMs depend on the default stream of the postgresql module.
When this is the case, the default module and all artifacts related to that module and the URSINE RPM are ALL copied to the target repo.
At this time, to account for this scenario, a hybrid repo containing URSINE and MODULAR RPMs with modules will be required.
Example
Recursive
Before
After Copy
Result of copying ursine RPM zebra-1.0.rpm from repo A to repo B:
Solution
Note:
References
[0] - https://docs.fedoraproject.org/en-US/modularity/architecture/consuming/dnf-behavior/
[1] - https://docs.pulpproject.org/plugins/pulp_rpm/user-guide/features.html?highlight=modularity