You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/05/25 09:15:22 UTC

[jira] [Created] (KARAF-1502) Consolidate the feature commands about feature repositories

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

        

[jira] [Resolved] (KARAF-1502) Consolidate the feature commands about feature repositories

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved KARAF-1502.
----------------------------------------

    Resolution: Fixed
    
> 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

        

[jira] [Work started] (KARAF-1502) Consolidate the feature commands about feature repositories

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1502 started by Christian Schneider.

> 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

        

[jira] [Commented] (KARAF-1502) Consolidate the feature commands about feature repositories

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283186#comment-13283186 ] 

Christian Schneider commented on KARAF-1502:
--------------------------------------------

Another idea would be to replace the "-" with a ":". So we have:
feature:repo:add instead feature:repo-add

This will automatically create a subshell for repo but not force people to use it.

So they can either step into the feature subshell and have feature:* as well as feature:repo:* or enter into the feature:repo subshell.
I also think this communicates better that feature:repo is about a separate resource.
                
> 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