Project

Profile

Help

Test #4758

Test that in a published repo repodata filenames are not prefixed with a checksum

Added by kersom 6 months ago. Updated about 2 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:

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 - Issue #4030: In a published repo repodata filenames are not prefixed with a checksum MODIFIED Actions

History

#1 Updated by kersom 6 months ago

  • Related to Issue #4030: In a published repo repodata filenames are not prefixed with a checksum added

#2 Updated by kersom about 2 months ago

  • Project changed from Pulp to RPM Support

Please register to edit this issue

Also available in: Atom PDF