Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1777

Remove inbound repositories (API)

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.4, crc-2023-06-27
    • None
    • Backend
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      • Inbound repositories are no longer created
      • Existing inbound repositories are removed and their distributions point to staging
        • uploading using an existing configuration should still work for older namespaces
      • API allows uploading collections to staging repository
      • collection uploads no longer lock the entire repository
        • two collections should be able to be imported to the same repository simultaneously
      Show
      Inbound repositories are no longer created Existing inbound repositories are removed and their distributions point to staging uploading using an existing configuration should still work for older namespaces API allows uploading collections to staging repository collection uploads no longer lock the entire repository two collections should be able to be imported to the same repository simultaneously
    • ANSTRAT-419 - Repository Management

      Requires: AAH-2104

      Problem Description: Inbound repositories need to be removed for repository management so that we can support cleaner workflows for uploading and promoting content in hub.

      Update the CollectionUpload viewset (https://github.com/ansible/galaxy_ng/blob/8b9432fe30f1f8231e2783d890c261d6ce63b888/galaxy_ng/app/api/v3/viewsets/collection.py#L232) so that:

      • Uploading a collection with a client configured for default URL (http://localhost:5001/api/automation-hub/) uploads collections into the staging repository.
      • Uploading a collection with a client configured for an inbound repository URL (http://localhost:5001/api/automation-hub/content/inbound-\ {namespace}
        /) uploads the collection into the staging repository. This can be done with a migration to point the inbound distributions to the staging repository. The old inbound repositories should be deleted.
      • Uploading uploading collections is gated by permissions that the user has on the repository
        • Staging should have default permissions that allow uploads
        • All other repos should have default permissions that prevent users from uploading to them directly
        • Users creating new repositories will have the ability to set these permissions.

              jjerabek@redhat.com Jiri Jerabek
              dnewswan David Newswanger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: