You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
andswitch
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 aremove
method for a published repository, which removes components. In both cases theremove
method removes packages from the corresponding target.The text was updated successfully, but these errors were encountered: