Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to remove a component from a published repository #1349

Open
cfiehe opened this issue Sep 27, 2024 · 0 comments
Open

Allow to remove a component from a published repository #1349

cfiehe opened this issue Sep 27, 2024 · 0 comments
Labels

Comments

@cfiehe
Copy link

cfiehe commented Sep 27, 2024

Detailed Description

Besides the capability to add a component to a published repository, it would be useful if one or multiple components could be removed from a published repository, too.

Context

Currently, it is only possible to drop the published repository as a whole and recreate it without the components you want to be absent. This causes unnecessary overhead. The main problem is that the methods, which are available for a published repository, cannot be extended without changing the method's semantics: update and switch are only applicable on local repositories or snapshots. drop is a destructive method and removes the whole published repository.

Possible Implementation

It would be best to introduce a new method and extend the publish CLI. Analogous to the remove method of a local repository, which removes packages, we can implement a remove method for a published repository, which removes components. In both cases the remove method removes packages from the corresponding target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants