Project

General

Profile

Refactor #33518

Make force repo/capsule sync better handle mirrored metadata

Added by Justin Sherrill 8 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Branch:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

For force repo sync, it shouldn't regenerate metadata unless the repo has mirror on sync set to false

For force capsule sync, it should never regenerate metadata

Associated revisions

Revision a6512bd2 (diff)
Added by Justin Sherrill 8 months ago

Fixes #33518 - do not regenerate metadata on force sync

for mirrored repos

  • Updates capsule syncing to never regenerate metadata for yum repos * Also cleans and simplifies the code by using a lookup to find the
    publication href, instead of passing it around
  • Updates repo sync to never regenerate metadata on a force sync

History

#1 Updated by Justin Sherrill 8 months ago

  • Bugzilla link set to 2003264

#2 Updated by The Foreman Bot 8 months ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9661 added

#3 Updated by Samir Jha 8 months ago

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

#4 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 4.3.0 added

#5 Updated by Justin Sherrill 8 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/Katello/katello/pull/9890 added

#7 Updated by Justin Sherrill 4 months ago

  • Target version changed from Katello 4.3.0 to Katello 4.2.2

Also available in: Atom PDF