Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
Description
Proxy apt repositories currently support multiple distributions.
This request has been posted on github before the code was moved into core here:
https://github.com/sonatype-nexus-community/nexus-repository-apt/issues/22
A possible implementation would be have the first distribution listed for a repository would be the primary distribution, and every distribution after (separated by spaces) would be secondary distributions.
Then, upon upload using a curl command, either include a parameter for the distribution:
curl -u "<user>:<pass>" -H "Content-Type: multipart/form-data" --data-binary "@./<package_to_upload>.deb" "https://nexus.foo.com/repository/apt-repo/&distrib=bionic"
Or, the api could support the distribution at the end of the endpoint:
curl -u "<user>:<pass>" -H "Content-Type: multipart/form-data" --data-binary "@./<package_to_upload>.deb" "https://nexus.foo.com/repository/apt-repo/bionic"
If no distribution is specified, then it would use the default distribution.
Uploads via the web interface would then have to add a drop down to select the distribution that is configured in the repository list.
Proxy repositories already support different distributions when running an apt-get, so hopefully that part of the implementation would behave the same way.
Thank you.
Attachments
Issue Links
- duplicates
-
NEXUS-21383 Multiple distributions in the same repository
-
- Open
-