Project

Profile

Help

Test #4824

closed

Pulp does not resync yum metadata files on change

Added by bherring almost 5 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_rpm/2215":https://github.com/pulp/pulp_rpm/issues/2215


Pulp uses revision numbers in repomd.xml to determine if contents need to be updated on sync. However "modifyrepo" does not generate new revision numbers for non rpm data.

Steps:
1) Setup the following repo

$ mkdir /tmp/my-data
$ cd /tmp/my-data
$ wget https://partha.fedorapeople.org/test-repos/rpm-with-productid/elephant-0.3-0.8.noarch.rpm
$ createrepo .
$ echo "100000" >> productid
$ modifyrepo  --mdtype=productid productid repodata
$ grep revision repodata/repomd.xml
  <revision>1554217257</revision>

2) Sync this repo
3) Now update the repo

$ cd /tmp/my-data
$ echo "100001" >> productid
$ modifyrepo  --mdtype=productid productid repodata
$ grep revision repodata/repomd.xml
  <revision>1554217257</revision>

Notice that the revision number did not change even though a metadata file got updated. Try resyncing this change and notice that the productid change will get ignored.


Related issues

Copied from RPM Support - Issue #4627: Pulp does not resync yum metadata files on changeCLOSED - CURRENTRELEASEttereshcActions
Actions #1

Updated by bherring almost 5 years ago

  • Copied from Issue #4627: Pulp does not resync yum metadata files on change added
Actions #2

Updated by bherring almost 5 years ago

  • Tracker changed from Issue to Test
Actions #3

Updated by bherring almost 5 years ago

  • Priority changed from Normal to High
Actions #4

Updated by dalley almost 3 years ago

  • Tags deleted (Pulp 2)
Actions #5

Updated by dalley over 2 years ago

  • Priority changed from High to Normal
Actions #6

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF