Project

General

Profile

Bug #26694

Support one to one content url changes

Added by Partha Aji about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

RCM wants the ability to change content urls.

We would want to support this as long as the number of substitutions remain the same.

One of the proposed transforms is to go from something like:

/foo/$arch/$release/bar
to
/foo/$arch/$release/baz

This is a one to one change. We can support this but do not currently.

After every manifest import, we would need to detect that there was a change (by comparing the existing relative path to the new computed one), change the relative url on each repo, change the path in pulp, and finally trigger a distributor publish in pulp.

Associated revisions

Revision fafb8f6b (diff)
Added by Partha Aji about 3 years ago

Fixes #26694 - content-url updates on import (#8094)

  • Fixes #26694 - content-url updates on import

RCM wants the ability to change content urls. We would want to
support this as long as the number of substitutions remain the same.
One of the proposed transforms is to go from something like:

/foo/$arch/$release/bar
to
/foo/$arch/$release/baz

This commit tries to achieve this. When an updated manifest with different
content urls gets uploaded these changes do the following
1) Track the changed content urls
2) Update the relative paths in repositories connected to this content
3) Refresh all the enabled repositories affected by this
4) Regenerate metadata for all the repos
5) Sync all the capsules associated to those repos

History

#1 Updated by Partha Aji about 3 years ago

  • Bugzilla link set to 1188316

#2 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8094 added

#3 Updated by Andrew Kofink about 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#4 Updated by Partha Aji about 3 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Chris Roberts almost 3 years ago

  • Target version changed from Katello 3.13.0 to Katello 3.12.0

#6 Updated by Chris Roberts almost 3 years ago

  • Fixed in Releases Katello 3.12.0 added

Also available in: Atom PDF