Skip to content

feature: delete package from registry #34636

Open
@volker-raschek

Description

@volker-raschek

Feature Description

We had on discord a small discussion about a missing feature, which results in this feature request:

I want to add a Gitea Action workflow to remove a helm package, when the git tag has been removed. The helm plugin cm-push does not support a delete option: chartmuseum/helm-push#147

Alternatively, I thought it would be possible with curl, but there is nothing documented.
https://docs.gitea.com/usage/packages/helm

The discord member 'TheFox' informed me, that the API does not provide a REST endpoint to delete a package from the registry. This leads than to this feature request.

Acceptance Criteria (AC):

  1. Extend the REST API to delete the packages from the gitea registry. This feature request refers not only to Helm Charts but to all generally supported packages.
  2. Adapt the documentation and describe how to delete via curl a package from the registry.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/packagestype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions