Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16188

Debian metadata calculated Release file omits text before the hyphen in components name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.5.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Medium

      Description

      The Component property in the Release file that is created when calculating index on a Debian local repository, will omit any text before the hyphen in the name of the component.
      Meaning, if you have a setup that your component name is "acpu-base" the Release file components property will include "base" omitting "acpu-"

      Steps to reproduce:

      • Artifactory version 5.8.3
      • Local Debian Repository
      • Run cURL command to deploy a deb. package to Artifactory.

      curl -uadmin:password -XPUT "http://localhost:8081/artifactory/debian-local/pool/;deb.distribution=all;deb.distribution=all;deb.component=non-free;deb.component=main;deb.component=acpu-base;deb.architecture=xenial;deb.architecture=xenial" -T

      {deb. package}
      • Package will be deployed to the Debian local repository
      • Run recalculate index (To create Release file)
      • dists directory will be generated with the components names along with Release file
      • Release file will have Components as: "Components: base free main"
      • Release file should be: "Components: acpu-base non-free main"

      According to Debian Documentation the Components can include name with hyphens:
      https://wiki.debian.org/DebianRepository/Format#Components

      Attached a screenshot.

        Attachments

          Activity

              People

              Assignee:
              ivanp Ivan Perepelytsya [EXT] (Inactive)
              Reporter:
              Nimerb Nimer Bsoul
              Votes:
              7 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: