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

Artifactory generates the rpm's primary.xml with file time which is not according to rpm spec and is generated with milliseconds unlike the build time

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.16.1, 7.16.3
    • Component/s: None
    • Labels:
    • Release Notes:
      Yes

      Description

      Problem description: Artifactory generates rpm primary.xml with a file time including the milliseconds (regular epoch). The general rpm spec and also the file and build time in all the remote source will not include the file timestamp with milliseconds.

      Example primary.xml content for the same rpm file.

      <time file="1584039332" build="1545089469"/> -- in the upstream repo
       <time file="1595585473000" build="1456953869"/> - generated in Artifactory local repo observe the file time
      

      What is the expected behavior?  primary.xml file time should be normal Unix time with no milliseconds similar to the build time

      Steps to reproduce: 

      1. Download an rpm file from the remote repo and observe the primary.xml content from the source
      2. Push the same rpm file to the local Artifactory repo and observe the file time in the primary.xml generated by Artifactory.

        Attachments

          Activity

            People

            Assignee:
            michaelak Michael Akushsky
            Reporter:
            balajis Balaji Satish
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: