You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/10/08 14:18:00 UTC

[jira] [Assigned] (KARAF-6780) cave:repository-artifact-promote - Move an artifact from one repository to another in the same instance of Cave

     [ https://issues.apache.org/jira/browse/KARAF-6780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-6780:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)

> cave:repository-artifact-promote - Move an artifact from one repository to another in the same instance of Cave
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-6780
>                 URL: https://issues.apache.org/jira/browse/KARAF-6780
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cave
>         Environment: karaf 4.2.9
>            Reporter: Paul Spencer
>            Priority: Minor
>
> My instance of Cave is hosting a "Quality" and a "Production" repository.  I would like to move an artifact from the "Quality" repository to the "Production" repository once quality testing is complete.
> Jean-Baptiste Onofre mention a command like "cave:repository-artifact-promote" to promote an artifact from one repository to another would be a nice enhancement, thus this request.
> Until the enhancement is implemented, I am using the following workaround:
>  * Add the "Quality" repository as a maven repository to the Karaf instance using the following command (Note: the command needs to be executed once per Karaf instance):
>      maven:repository-add -id quality [http://localhost:8181/cave/repository/quality/]  
>  * Use the command "cave:repository-artifact-add production ..." to add artifacts to the "Production" repository
>  * Use the command "cave:repository-artifact-delete quality ..." to remove artifacts to the "Quality" repository
> See KARAF-6778 related to .md5 and .sha1 related files when deleting artifacts 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)