karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Spencer (Jira)" <j...@apache.org>
Subject [jira] [Created] (KARAF-6780) cave:repository-artifact-promote - Move an artifact from one repository to another in the same instance of Cave
Date Fri, 03 Jul 2020 20:35:00 GMT
Paul Spencer created KARAF-6780:
-----------------------------------

             Summary: 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
    Affects Versions: 4.2.1
         Environment: karaf 4.2.9
            Reporter: Paul Spencer


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)

Mime
View raw message