Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1502

Consolidate the feature commands about feature repositories

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: