Christian Schneider created KARAF-1502:
------------------------------------------

             Summary: Consolidate the feature commands about feature 
repositories
                 Key: KARAF-1502
                 URL: https://issues.apache.org/jira/browse/KARAF-1502
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-shell
    Affects Versions: 3.0.0
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 3.0.0


We currently have a lot of commands about the feature repositories.

feature:url-add
feature:url-choose
feature:url-list
feature:url-refresh
feature:url-remove

feature:repository-list
feature:repository-remove

So one thing is that the url and repository commands are a bit redundant.
I also added to this by creating the url-choose command.

Btw. I like feature:repository-* much more than feature:url-*.

So what I propose is to only have the following commands:
* feature:repo-add <nameOrUrl> [<Version>]
  Adds a feature repo either by its shortcut name (like feature:chooseurl)
  or by its full url. In the shortcut case the version is also necessary.
  -r will reload and revalidate all feature urls
* feature:repo-list
  Lists feature repos with name and url
* feature:repo-remove <nameOrurl>
  Remove a repo by its defined name or by its full url

So these new commands should have almost all the functionality of the old ones 
and be easier to understand as well as easier to use.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to