ARTIFACTORY: Why the Debian remote repository showing its content as files instead of folders in Artifactory
When we create a default Debian remote repo in Artifactory pointing to “http://archive.ubuntu.com/ubuntu/” it can determine folder structure as expected.
However in certain cases when we create a debian repository pointing to a different remote upstream it lists its contents as files instead of folders.
For example when we pointing the Debian remote repositories:
https://repos.influxdata.com/ubuntu/
https://packages.cloud.google.com/apt/
The reason behind this behavior is Artifactory parses that html and determines if it’s file or directory by presence of a ‘/’ at the end of path. These registries don't have ‘/’ at the end hence entries are treated as files.
For example:
header> <h1> <a href="/ubuntu">InfluxData - Package Repository</a> </h1> </header>
However we do have an Improvement JIRA request for this issue RTFACT-29865 .