Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-39859

Document changes in createrepo_c 1.0

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0.beta
    • createrepo_c
    • None
    • Important
    • rhel-sst-cs-software-management
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Enhancement
    • Hide
      1. Switched default compression from gz to zstd which provides smaller metadata that are faster to decompress. gz compression is still supported.

      2. Stopped generating metadata in sqlite database format by default. Generating the metadata took time and they were taking up space. Given that dnf doesn't use the sqlite metadata we don't need them. It is still possible to create them using --database switch or via sqliterepo_c tool.

      3. Uniform handling of group.xml metadata. Previously they were present twice (compressed and uncompressed) and they were the only metadata type behaving this way. Since 1.0.0 version group metadata are present only once, they are compressed and with metadata type "group". These metadata are not compatible with yum in RHEL 7. If required users are still able to create repositories with the old layout using modifyrepo_c.
      Show
      1. Switched default compression from gz to zstd which provides smaller metadata that are faster to decompress. gz compression is still supported. 2. Stopped generating metadata in sqlite database format by default. Generating the metadata took time and they were taking up space. Given that dnf doesn't use the sqlite metadata we don't need them. It is still possible to create them using --database switch or via sqliterepo_c tool. 3. Uniform handling of group.xml metadata. Previously they were present twice (compressed and uncompressed) and they were the only metadata type behaving this way. Since 1.0.0 version group metadata are present only once, they are compressed and with metadata type "group". These metadata are not compatible with yum in RHEL 7. If required users are still able to create repositories with the old layout using modifyrepo_c.
    • Proposed
    • None

      What were you trying to do that didn't work?In RHEL10 there is new major version of createrepo_c that provides a different default behavior in 3 ways:Different default compression - from gz to zstdDifferent compression for comps groups - only shipped compress with group typeNot generated yum3 DB metadata - supported only in RHEL7 and earlier versionAll detail are described in - https://fedoraproject.org/wiki/Changes/createrepo_c_1.0.0

       

      The change must be properly documented.

              amatej@redhat.com Ales Matej
              jmracek@redhat.com Jaroslav Mracek
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: