Add local ansible Galaxy repositories #157
Reference in New Issue
Block a user
Delete Branch "benvin/local-ansible"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Internal Ansible collections can only be installed from galaxy.ansible.com through the remote; there is nowhere to publish them for ansible-galaxy.
requires unkin/artifactapi#137
link, built frombaseat internal/api/v1/ansible.go:199) —links.next/previous/first/lastare absolutehttps://host/...URLs → emit root-relative paths (/api/v1/local/<repo>/api/v3/collections/<ns>/<name>/versions/?limit=..&offset=..) as the remote rewriter does. ansible-galaxy (api.py get_collection_versions, relative_link=True) doesversions_url.replace(path, next_link), so an absolute next yieldshttps://hosthttps://host/...and any collection with more than 100 versions fails to resolve. The tests follownextverbatim and the e2e publishes one version, so neither catches it; add a >100-version case asserting the link starts with/.created/updatedare compared as RFC3339Nano strings, which misorder when fractional seconds differ in length (...05Zsorts after...05.5Z) → compare parsed times or store UnixNano.lastoffset islen-limit, not page-aligned (250 items, limit 100 → 150, not 200) →(len-1)/limit*limit.No findings.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.