- Enable support for the pulpcore setting
REDIRECT_TO_OBJECT_STORAGE=False
. #943
- Fixed 500 error when accessing Galaxy APIs when distribution is not pointing to a repository. #909
- Allow deleting collection versions when another version of the collection satisfies requirements. #933
- Fixed generation of the redirect url to the object storage #956
- Fixed improper type
KeyringEnum
being generated in client bindings. #973
No significant changes.
No significant changes.
No significant changes.
- Allow deleting collection versions when another version of the collection satisfies requirements. #933
- Fixed improper type
KeyringEnum
being generated in client bindings. #973
Galaxy API Refactor stage 1
Move the existing collection views under /plugin/ansible/. Redirects the legacy v3 endpoints to their counterparts in /plugin/ansible/. Adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that allows users to configure a default distribution base path for the API. Adds a new configuration option ANSIBLE_URL_NAMESPACE that allows django URL namespace to be set on reverse so that urls can be configured to point correctly to the galaxy APIs when pulp ansible is deployed as part of automation hub. Adds the get v3/artifacts/path/file API endpoint from galaxy_ng. Enable RedirectContentGuard. #728
Added upload endpoint for
/content/ansible/collection_signatures/
#837Made certs dir configurable #851
Add api endpoints to delete collections and collection versions. #879
- Fixed
manifest
andfiles
fields not being set when uploading a collection. #840 - Signatures are now properly generated from a collection's MANIFEST.json file. #841
- Fixed collection signature filtering by
signed_collection
andsigning_service
. #860 - Fix a bug where when a collection version is removed from a repository, it's associated signatures and deprecated content remains in the repository. #889
- Fixed
manifest
andfiles
fields not being set when uploading a collection. #840
- Added Collection Signatures to the Galaxy V3 API to allow for syncing of signatures during a collection sync. #748
- Added
CollectionVersionSignature
content model to store signatures for Collections. #757 - Added API to serve Collection Signatures at
/pulp/api/v3/content/ansible/collection_signatures/
. #758 - Enabled Collection Remote to sync content that was initially synced using Git Remote. #778
- Fixed the migrations 0035 and 0036 that handle the transition of deprecations to being repository content and used to fail on uniquenes constraints. #791
- Use proxy auth credentials of a Remote when syncing content #801
- Adds workaround to handle collections that do not have a
requires_ansible
in themeta/runtime.yml
data. This can happen in collections fromgalaxy.ansible.com
. #806
- Added ability to sync only metadata from a Git remote. This is a tech preview feature. The functionality may change in the future. #744
- Syncing now excludes collection versions found at
/excludes/
endpoint of remote. #750 - Added a Git Remote that is used to sync content from Git repositories. This is a tech preview feature. The functionality may change in the future. #751
- Added ability to sync collections using GitRemote. This is a tech preview feature. The functionality may change in the future. #752
- Use
shared_resources
in tasks where appropriate. #753
- Case-insensitive search for the
owner__username
and rolename
fields in the pulp_ansible role view (same as on galaxy.ansible.com). #747
- Syncing now excludes collection versions found at
/excludes/
endpoint of remote. #960
- Fixed the migrations 0035 and 0036 that handle the transition of deprecations to being repository content and used to fail on uniquenes constraints. #791
- Use proxy auth credentials of a Remote when syncing content #801
- Adds workaround to handle collections that do not have a
requires_ansible
in themeta/runtime.yml
data. This can happen in collections fromgalaxy.ansible.com
. #806
- Added a better error message when trying to sync a missing collection using V3 endpoints. #9404
- Ensure deprecation status is in sync with the remote #9442
- Fixed optimized mirror syncs erroneously removing all content in the repository. #9476
- Changed the use of
dispatch
to match the signature from pulpcore>=3.15. #9483
- Made deprecation exportable/importable #8205
- Fixed bug where sync tasks would open a lot of DB connections. #9260
Turned collection deprecation status into a content.
Warning
Current deprecation history will be lost, only accounting for the latest repository version.
Dropped support for Python 3.6 and 3.7. pulp_ansible now supports Python 3.8+. #9034
- Fixed optimized mirror syncs erroneously removing all content in the repository. (backported from #9476) #9480
- Improved performance on reporting progress on parsing collection metadata #9137
- Ensure galaxy-importer is used when uploading collections #9220
- Renaming bindings to be compatible with pulpcore >= 3.14 #8971
- Fixed an error message which indicated that the remote url was invalid when in fact the requirements source url was invalid. #8957
- Use proxy auth credentials of a Remote when syncing content. #9075
0.8.0 (2021-06-01) Features --------
- Pulp Ansible can now sync collection dependencies by setting the
sync_dependencies
option forCollectionRemote
objects. (By default set to true) #7751 - Enabled pulp_label support for AnsibleDistributions #8441
- Provide backend storage url to galaxy-importer on collection import. #8486
- /collection_versions/all/ endpoint is now streamed to alleviate timeout issues #8439
- V3 sync now properly waits for async task completion #8442
- Remove scheme from apache snippet #8572
- Fix collections endpoint for collections named "api" #8587
- Fix requirements.yml parser for pinned collection version #8627
- Fixed dependency syncing slowing down from excessive task creation #8639
- Updated api lengths for collection version fields to match db model lengths. #8649
- Optimized unpaginated collection_versions endpoint #8746
- Fixed broken link on client bindings page #8298
- Syncing now excludes collection versions found at
/excludes/
endpoint of remote. #959 - Fixed optimized mirror syncs erroneously removing all content in the repository. #974
- Use proxy auth credentials of a Remote when syncing content #801
- Adds workaround to handle collections that do not have a
requires_ansible
in themeta/runtime.yml
data. This can happen in collections fromgalaxy.ansible.com
. #806
- /collection_versions/all/ endpoint is now streamed to alleviate timeout issues Optimized unpaginated collection_versions endpoint (backported from #8439 and #8746) rochacbruno #8923
- Use proxy auth credentials of a Remote when syncing content. Warning: This is not a proper fix. The actual fix is shipped with 0.7.5. #9391
- Fix requirements.yml parser for pinned collection version #8647
- V3 sync now properly waits for async task completion #8664
- Remove scheme from apache snippet #8665
- Fix collections endpoint for collections named "api" #8666
- Updated api lengths for collection version fields to match db model lengths. #8667
No significant changes.
- Removing
manifest
andfiles
from metadata endpoints. #8264 - Fix V3 collection list endpoint when repository is empty #8276
- Use DRF token when no
auth_url
is provided #8290 - Fixed bug where rate limit wasn't being honored. #8300
- Use DRF token when no
auth_url
is provided #8290
- Use proxy auth credentials of a Remote when syncing content #801
- Use proxy auth credentials of a Remote when syncing content. #9390
- Remove scheme from apache snippet #8661
- Fix collections endpoint for collections named "api" #8662
- Updated api lengths for collection version fields to match db model lengths. #8663
- Allow updating
auth_url
on CollectionRemote whentoken
is already set #8362
- Use DRF token when no
auth_url
is provided #8290
- Ansible export/import is now available as a tech preview feature #6738
- Expose MANIFEST.json and FILES.json at CollectionVersion endpoint #7572
- Introduce a new
v3/
endpoint returning publication time #7939 - Introduces a new
v3/collections/all/
endpoint returning all collections unpaginated. #7940 - Introduces a new
v3/collection_versions/all/
endpoint returning all collections versions unpaginated. #7941 - Improve sync performance with no-op when possible. To disable the no-op optimization use the
optimize=False
option on thesync
call. #7942 - Adds the
requires_ansible
attribute to the Galaxy V3 CollectionVersion APIs. This documents the version of Ansible required to use the collection. #7949 - Field
updated_at
from Galaxy v3 Collections endpoint using latest instead of highest version #8012 - Efficient sync with unpaginated metadata endpoints if they are available. #8177
- Make collection namespace max_length consistent in models #8078
- Move official docs site to https://docs.pulpproject.org/pulp_ansible/. #7926
- Updated Roles and Collections workflows to use Pulp-CLI commands #8076
- Allow updating
auth_url
on CollectionRemote whentoken
is already set #7957 - Fixed create_task calls for Python 3.6 in collections tasks #8098
- Enable filter by name/namespace on Collections V3 endpoint #7873
- Allows a requirements.yml collection version specification to be respected during sync. #7739
- Allow requirements.yml with different sources to sync correctly. #7741
- Increased collection tag field length from 32 to 64, which allows sync to work for longer tag names used on galaxy.ansible.com. #7827
- Fixed v3 schema pagination to match OpenAPI standard #8037
- Fix collection version comparison on re-syncs #8039
- Enable proxy on token refresh requests #8051
- Field
updated_at
from Galaxy v3 Collections endpoint using highest version #7990
- Increase interval between requests when token is required #7929
- Avoid rate limiting by slowing down sync when token is required #7917
- Improve MANIFEST.json handling and provide better error message #5745
- Ensure that when creating a
CollectionRemote
you can usetoken
without specifyingauth_url
#7821 - Fix version comparisons during sync and upload when comparing the same version with different build numbers. #7826
- Stop making requests to docs-blob endpoint on Galaxy v2 #7830
- Avoid to download docs-blob when content is already saved #7831
- Ensure deprecation status is synced even when no content changes #7834
- Fix deprecation status update for pulp-ansible-client #7871
- Makes
url
optional when patching a collection remote #7872
- Token refresh happens when needed, not on every call. #7643
- Field
updated_at
from Galaxy v3 Collections endpoint using latest instead of highest version #7775 - Allow CollectionUploadViewSet subclass to set own serializer #7788
- Ensure that when creating a
CollectionRemote
with either atoken
orauth_url
that you use both together. #7802
- Adds a new
/pulp/api/v3/ansible/copy/
endpoint allowing content to be copied from oneAnsibleRepository
version to a destinationAnsibleRepository
. #7621
- Sync collection deprecation status #7504
- Supporting url formats that conform to ansible-galaxy cli (e.g. "https://galaxy.ansible.com" and "https://galaxy.ansible.com/api"). #7686
- Fixed bug where only 10 collections were being synced in some cases #7740
- Fixed syncing with a default remote. #7742
- Increase the version size for
CollectionVersions
. #7745 - Fixed bug where we didn't properly handle trailing slashes. #7767
- Remove 'certification' flag from CollectionVersion #6715
- Derive ANSIBLE_CONTENT_HOSTNAME from CONTENT_ORIGIN #7368
- Removing deprecated field from Collection #7504
- Url formats must conform to ansible-galaxy cli format (e.g. "https://galaxy.ansible.com" and "https://galaxy.ansible.com/api"). This means we no longer support urls such as "https://galaxy.ansible.com/api/v2/collections" or "https://galaxy.ansible.com/api/v2/collections/amazon/aws". #7686
- Galaxy URLs now require trailing slashes per the ansible-galaxy docs. Made an exception for "https://galaxy.ansible.com" since the ansible-galaxy CLI code does as well. #7767
- Allow CollectionUploadViewSet subclass to set own serializer #7788
- Update Collection serializer to match Galaxy v2 #7647
- Fix galaxy collection endpoint results for empty repos #7669
- Add endpoint to show docs_blob for a CollectionVersion #7397
- Allow the requirements file field on remotes to be of longer length. #7434
- Sync docs_blob information for collection versions #7439
- Replace URLField with CharField #7353
- Pagination query params according to API versions. v1 and v2 - page and page_size v3 or above - offset and limit #7396
- Build collections URL according to requirements.yml #7412
- Changed V3 pagination to match Galaxy V3 API pagination #7435
- Allow a Remote to be associated with a Repository and automatically use it when syncing the Repository. #7194
- Moved the role remote path from
/pulp/api/v3/remotes/ansible/ansible/
to/pulp/api/v3/remotes/ansible/role/
to be consistent with/pulp/api/v3/remotes/ansible/collection/
. #7305
- Enable token authentication for syncing Collections. Added auth_url and token fields to CollectionRemote #6540
- Increased max length for documentation, homepage, issues, repository in CollectionVersion #6648
- Galaxy V3 download_url now uses fully qualified URL #6510
- Include readable error messages on user facing logger #6657
- Fix filename generation for ansible collection artifacts. #6855
- Updated the required roles names #6760
- Documented bindings installation on dev environment #6390
- Add support for syncing collections from Automation Hub's v3 api. #6132
- Including file type extension when uploading collections. This comes with a data migration that will fix incorrect fields for already uploaded collections. #6223
- Added docs on how to use the new scale testing tools. #6272
- Includes webserver snippets in the packaged version also. #6248
- Fix 404 error with ansible-galaxy 2.10.0 while staying compatible with 2.9.z CLI clients also. #6239
- Fixed
ansible-galaxy publish
command which was failing with a 400 error. #5905 - Fixes
ansible-galaxy role install
when installing from Pulp. #5929
- Heavy overhaul of workflow docs to be two long pages that are focused on the
ansible-galaxy
cli. #4889
- Add "modify" endpoint as
/pulp/api/v3/repositories/ansible/ansible/<uuid>/modify/
. #5783
- Adds copyright notice to source. #4592
- Add Ansible Collection endpoint. #5520
- Added since filter for CollectionImport messsages. #5522
- Add a tags filter by which to filter collection versions. #5571
- Allow users to update deprecated for collections endpoint. #5577
- Add the ability to set a certification status for a collection version. #5579
- Add sorting parameters to the collection versions endpoint. #5621
- Expose the deprecated field on collection versions and added a deprecated filter. #5645
- Added filters to v3 collection version endpoint #5670
- Reverting back to the older upload serializers. #5555
- Fix bug where CollectionImport was not being created in viewset causing 404s for galaxy. #5569
- Fixed an old call to _id in a collection task. #5572
- Fix 500 error for /pulp/api/v3/ page and drf_yasg error on api docs. #5748
Change _id, _created, _last_updated, _href to pulp_id, pulp_created, pulp_last_updated, pulp_href #5457
Remove "_" from _versions_href, _latest_version_href #5548
Removing base field: _type . #5550
Change is_certified to certification enum on CollectionVersion. #5579
Sync is no longer available at the {remote_href}/sync/ repository={repo_href} endpoint. Instead, use POST {repo_href}/sync/ remote={remote_href}.
Creating / listing / editing / deleting Ansible repositories is now performed on /pulp/api/v3/ansible/ansible/ instead of /pulp/api/v3/repositories/. Only Ansible content can be present in a Ansible repository, and only a Ansible repository can hold Ansible content. #5625
Removing unnecessary DELETE action for set_certified method. #5711
- Setting code on ProgressBar. #5184
- Add galaxy-importer into import_collection to parse and validate collection. #5239
- Add Collection upload endpoint to Galaxy V3 API. #5243
- Introduces the GALAXY_API_ROOT setting that lets you re-root the Galaxy API. #5244
- Add requirements.yaml specification support to collection sync. #5250
- Adding is_highest filter for Collection Version. #5278
- Add certified collections status support. #5287
- Support pulp-to-pulp syncing of collections by expanding galaxy API views/serializers #5288
- Add model for tracking collection import status. #5300
- Add collection imports endpoints. #5301
- Uploaded collections through the Galaxy V2 and V3 APIs now auto-create a RepositoryVersion for the Repository associated with the AnsibleDistribution. #5334
- Added support for ansible-galaxy collections command and removed mazer. #5335
- CollectionImport object is created on collection upload. #5358
- Adds id field to collection version items returned by API. #5365
- The Galaxy V3 artifacts/collections/ API now logs correctly during the import process. #5366
- Write galaxy-importer result of contents and docs_blob into CollectionVersion model #5368
- The Galaxy v3 API validates the tarball's binary data before import using the optional arguments expected_namespace, expected_name, and expected_version. #5422
- Settings
ANSIBLE_API_HOSTNAME
andANSIBLE_CONTENT_HOSTNAME
now have defaults that use your FQDN, which works with the installer defaults. #5466
- Treating how JSONFields will be handled by OpenAPI. #5299
- Galaxy API v3 collection upload returns valid imports URL. #5357
- Fix CollectionVersion view imcompatibilty with ansible-galaxy. Fixes ansible issue ansible/ansible#62076 #5459
- Added documentation on all settings. #5244
- Removing latest filter Collection Version. #5227
- Removed support for mazer cli. #5335
- Renamed _artifact on content creation to artifact. #5428
- Fulltext Collection search is available with the
q
filter argument. A migration creates databases indexes to speed up the search. #5075 - Sync all collections (a full mirror) from Galaxy. #5165
- Mirror ansible collection #5167
- Added new fields to CollectionVersion and extended the CollectionVersion upload and sync to populate the data correctly. The serializer displays the new fields. The 'tags' field in serializer also has its own viewset for filtering on Tag objects system-wide. #5198
- Custom error handling and pagination for Galaxy API v3 is available. #5224
- Implements Galaxy API v3 collections and collection versions endpoints #5225
- Validating collection remote URL #4996
- Validates artifact creation when uploading a collection #5209
- Fixes exception when generating initial full text search index on more than one collection. #5226
- Removing whitelist field from CollectionRemote. #5165
- Adds Artifact sha details to the Collection list and detail APIs. #4827
- Collection sync now provides basic progress reporting. #5023
- A new Collection uploader has been added to the pulp_ansible API at
/pulp/api/v3/ansible/collections/
. #5050 - Collection filtering now supports the 'latest' boolean. When True, only the most recent version of
each
namespace
andname
combination is included in filter results. #5076
- Collection sync now creates a new RepositoryVersion even if no new Collection content was added. #4920
- Content present in a second sync now associates correctly with the newly created Repository Version. #4997
- Collection sync no longer logs errors about a missing directory named 'ansible_collections' #4999