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

galaxykit support for deletion of collections, namespaces, containers, etc.

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • UI
    • None
    • 4.5.0a Sprint 5, 4.5.0 Sprint 6, 4.5.0 Sprint 7

      galaxykit CLI already supports `user delete <name>` and `group delete <name>`,

      implement the missing deletions:

      • `collection delete <name> [<version>]` - collections and collection versions
      • `namespace delete <name>` - namespaces
      • `container delete <name>` - local and remote EE repositories
      • container manifest deletion (`container-image delete <container/name> <tag | sha>`?)
      • EE registry deletion (`registry delete <name>`?)

      (once done, we can start using these in tests => AAH-1192)

      (the repo is https://github.com/ansible/galaxykit , `pip install -e .` in that repo should ensure calling `galaxykit` runs the development version; `command.py` handles CLI parsing, then there are individual py files for each kind/model)
      (don't forget about supporting `args.ignore` on exception, like the existing ones)
      ((would be nice to also support deleting by id/pk, but it's probably nicer to do that after adding param parsing for subcommands (and `--help` to list any params)))

              mipospis@redhat.com Milan Pospisil
              mhradil-1 Martin Hradil
              Henderson Hummel Henderson Hummel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: