pulp_rpm
pulp_rpm copied to clipboard
Reuse Content from other repos
Author: @fao89 (fao89)
Redmine Issue: 6344, https://pulp.plan.io/issues/6344
If two repositories have some identical content, then Pulp should be able to re-use that content. This is true even if the content is placed in differing locations in the two repositories. Do the following:
Scenario 1:
- Create a pair of repositories. Give the two repositories a download policy of either on demand or streamed. Give the two repositories differing urls, where the urls reference a pair of repositories with some identical content and differing layouts.
- Sync each of the repositories.
- Publish each of the repositories.
- Fetch an identical content unit from each of the two repositories.
Scenario 2:
- Create a pair of repositories. Give the two repositories a download policy of either on demand or streamed. Give the two repositories differing urls, where the urls reference a pair of repositories with some identical content and differing layouts.
- Sync each of the repositories.
- Re-sync each of the repositories.
- Publish each of the repositories.
- Fetch an identical content unit from each of the two repositories.
References: #6229 #6303