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

upgrading Artifactory does not add <optionalIndexCompressionFormats> tags to debian repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Will Not Implement
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Debian
    • Labels:
      None

      Description

      Start up an Artifactory on 5.x (I did 5.5.2)
      Create debian-local repository
      see that it does not have any optional compression formats (expected).

      Upgrade to a version that DOES have this flag, like 6.8.16
      see that the descriptor does not have:
      <localRepository>
      <key>debian-local</key>
      <type>debian</type>
      <includesPattern>*/</includesPattern>
      <repoLayoutRef>simple-default</repoLayoutRef>
      <dockerApiVersion>V2</dockerApiVersion>
      <forceNugetAuthentication>false</forceNugetAuthentication>
      <blackedOut>false</blackedOut>
      <handleReleases>true</handleReleases>
      <handleSnapshots>true</handleSnapshots>
      <maxUniqueSnapshots>0</maxUniqueSnapshots>
      <maxUniqueTags>0</maxUniqueTags>
      <suppressPomConsistencyChecks>true</suppressPomConsistencyChecks>
      <propertySets>
      <propertySetRef>artifactory</propertySetRef>
      </propertySets>
      <archiveBrowsingEnabled>false</archiveBrowsingEnabled>
      <snapshotVersionBehavior>unique</snapshotVersionBehavior>
      <localRepoChecksumPolicyType>client-checksums</localRepoChecksumPolicyType>
      <calculateYumMetadata>false</calculateYumMetadata>
      <yumRootDepth>0</yumRootDepth>
      <debianTrivialLayout>false</debianTrivialLayout>
      <enableFileListsIndexing>false</enableFileListsIndexing> <------------ no optionalIndexCompressionFormats tag below this line
      </localRepository>

      workaround:
      edit the repository in the admin view, and add bz2. Hit save, edit again and remove bz2. You will now see <optionalIndexCompressionFormats/> in the descriptor.

      This will help prevent artifactory from creating bz2 metadata when its not needed, as it is very slow compared to gz, as if you dont do this, artifactory will compute bz2 by default.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            loreny Loren Yeung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: