aptly icon indicating copy to clipboard operation
aptly copied to clipboard

Allow to add/update components of a published local repository

Open cfiehe opened this issue 4 months ago • 0 comments

Detailed Description

Besides the capability to add/update components of a published snapshot-based repository, it would be useful if adding/updating components of published local repositories would be possible, too.

Context

Adding and updating components of a published local repository is currently only possible by dropping and recreating the whole published repository. This causes unnecessary overhead, which can be avoided if components and their package sources become fully manageable for published local repositories.

Possible Implementation

Modification of the switch command in the CLI, so that adding/updating components of published local repositories can also be done. Update of the REST API by introducing a new generalized Sources attribute for the PUT command on a published repository, in order to add/update components of a published local repository.

cfiehe avatar Oct 02 '24 19:10 cfiehe