ansible / galaxy-dev

Ansible Automation Hub
11 stars 13 forks source link

UI: Add download button #239

Closed chouseknecht closed 4 years ago

chouseknecht commented 4 years ago

We have users on air-gapped networks that would like to obtain a copy of the collection artifact and distribute copies within their org. Currently the CLI deletes the artifact upon install.

chouseknecht commented 4 years ago

Corresponding issue on community galaxy: https://github.com/ansible/galaxy/issues/2198

newswangerd commented 4 years ago

Right now downloaded filenames are a random string of characters. I've added the download button, but it's not very useful until we fix the filename issue, which is going to require adding support for the Content-Disposition header in Pulp.

newswangerd commented 4 years ago

Content-Disposition pulp issue: https://pulp.plan.io/issues/4733

chouseknecht commented 4 years ago

We're still missing the file extension in the Content-Distribution header received from Pulp. Here's the issue filed in Pulp: https://pulp.plan.io/issues/6223

chouseknecht commented 4 years ago

Testing in CI. Moved to galaxy_ng repository.