Project

Profile

Help

Issue #4030

In a published repo repodata filenames are not prefixed with a checksum

Added by ttereshc about 2 years ago. Updated 12 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 50
Quarter:

Description

Checksum in a filename helps with caching, allows to have old repodata in the directory, is a default way of publishing in Fedora/Centos/SUSE repos.
Pulp2 publishes with a checksum in the filenames.

<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
  <revision>1537430242</revision>
  <data type="primary">
    <checksum type="sha256">7d053b4c5880ecec3b8d5c54e0f436860953fbf69d936f1c54e10346c775e40b</checksum>
    <open-checksum type="sha256">7ff98c3c80e3a82b6addc196de712f5744af8283bb51d39d053c9000fae03e57</open-checksum>
    <location href="repodata/primary.xml.gz"/>   <------------------------------------ no checksum prefix
    <timestamp>1537430242</timestamp>
    <size>4164</size>
    <open-size>34974</open-size>
  </data>
  <data type="filelists">
    <checksum type="sha256">761a77c037257b989cbb0c65413419e55c5ee79ef4b0b6a33d262f1eb011443c</checksum>
    <open-checksum type="sha256">cbfd64a483c9888d3aa184938f92dd2427c6d6dd298cf83ce9d5f08359ad608d</open-checksum>
    <location href="repodata/filelists.xml.gz"/>    <------------------------------------ no checksum prefix
    <timestamp>1537430242</timestamp>
    <size>2110</size>
    <open-size>6912</open-size>
  </data>
  <data type="other">
    <checksum type="sha256">484e0c3f42959669ae5e627db74b944c160e71097be714d0394b255b8f92c27f</checksum>
    <open-checksum type="sha256">1a66e06a6a6a45722b7e712c05ce780744006c582f89ecbec17271d42e7cd815</open-checksum>
    <location href="repodata/other.xml.gz"/>     <------------------------------------ no checksum prefix
    <timestamp>1537430242</timestamp>
    <size>1933</size>
    <open-size>5830</open-size>
  </data>
    <data type="updateinfo">
    <checksum type="sha256">2db62d73ee56ed9cb5e6c4b5d2012f7b1625cbf530b63e48eafbf8d9ec4f1949</checksum>
    <open-checksum type="sha256">c9a07b3c82c402ff60d5f47b29ef10f780794d074c2ec968324a8485ca55acbd</open-checksum>
    <location href="repodata/updateinfo.xml.gz"/>  <------------------------------------ no checksum prefix
    <timestamp>1537430242</timestamp>
    <size>906</size>
    <open-size>32964</open-size>
  </data>
  ...
</repomd>

Related issues

Related to RPM Support - Test #4758: Test that in a published repo repodata filenames are not prefixed with a checksumNEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 74193717 View on GitHub
Added by ipanova@redhat.com over 1 year ago

Compress sqlite repodata files. Prepend file checksum to the filename.

closes #4516 closes #4030

https://pulp.plan.io/issues/4516 https://pulp.plan.io/issues/4030

History

#1 Updated by ttereshc about 2 years ago

  • Tags Pulp 3 added

#2 Updated by CodeHeeler about 2 years ago

  • Triaged changed from No to Yes

#3 Updated by ipanova@redhat.com over 1 year ago

  • Status changed from NEW to POST
  • Assignee set to ipanova@redhat.com
  • Sprint set to Sprint 50

#5 Updated by ipanova@redhat.com over 1 year ago

  • Status changed from POST to MODIFIED

#6 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#7 Updated by kersom over 1 year ago

  • Related to Test #4758: Test that in a published repo repodata filenames are not prefixed with a checksum added

#8 Updated by ttereshc 12 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF