Project

General

Profile

Bug #30235

The change of srpm count in the repository doesn't trigger the index content

Added by Hao Yu 4 months ago. Updated 4 months ago.

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

Description

When syncing a repository, Katello will skip the index content step if only source rpms are updated.

Steps to Reproduce:
1. Create a local repository with 1 rpm and 1 srpm in /var/www/html/pub/my_local_repo

createrepo /var/www/html/pub/my_local_repo

2. Create a repo from the satellite web UI to sync the local repo.
3. Sync the repo and wait until it is succeeded.
4. Remove the the "repodata" and the srpm in /var/www/html/pub/my_local_repo
5. Recreate the repo metadata

createrepo /var/www/html/pub/my_local_repo

6. Sync the repo again and notice that the "Source RPMs" count is still 1 in:

Web ui -> Products -> product name -> Repositories -> my_local_repo

Associated revisions

Revision dd808d08 (diff)
Added by Hao Yu 4 months ago

Fixes #30235 - Trigger index content when srpm count is updated

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Hao Yu
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8791 added

#2 Updated by Ian Ballou 4 months ago

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

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases Katello 4.0.0 added

#4 Updated by Hao Yu 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF