Karaf
  1. Karaf
  2. KARAF-50

Allow to update several bundles using the command line : update 10 20 30 ...

    Details

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

      Description

      The command updateBundle has been updated to allow to allow to update several bundles in one command line

        Activity

        Hide
        Jean-Baptiste Onofré added a comment -

        Included in K3

        Show
        Jean-Baptiste Onofré added a comment - Included in K3
        Hide
        Jamie goodyear added a comment - - edited

        Given the current syntax:

        osgi:update [options] id [location]

        Do you want the update multiple bundle syntax to be:

        osgi:update [options] id [location] [id [location]]*

        Or perhaps enforce the use of a flag to allow multiple ids (which would by-pass using the location arg)?

        osgi:update [options] ids

        --multi Update list of bundle IDs separated by whitespaces

        Show
        Jamie goodyear added a comment - - edited Given the current syntax: osgi:update [options] id [location] Do you want the update multiple bundle syntax to be: osgi:update [options] id [location] [id [location] ]* Or perhaps enforce the use of a flag to allow multiple ids (which would by-pass using the location arg)? osgi:update [options] ids --multi Update list of bundle IDs separated by whitespaces
        Hide
        Filippo Diotalevi added a comment -

        Hi,
        the proposed patch does not preserve the functionality of the "update" command.

        In fact with the current implementation it is possible to type:
        update <bundle_number> <bundle_location>
        to update a bundle, reading the new version from the specified location.

        The patch does not allow to specify a bundle location anymore... all the arguments of the "update" command are in fact considered as bundle ids.

        Show
        Filippo Diotalevi added a comment - Hi, the proposed patch does not preserve the functionality of the "update" command. In fact with the current implementation it is possible to type: update <bundle_number> <bundle_location> to update a bundle, reading the new version from the specified location. The patch does not allow to specify a bundle location anymore... all the arguments of the "update" command are in fact considered as bundle ids.
        Hide
        Charles Moulliard added a comment -

        Patch added. To be added to Apache Karaf svn repository

        Show
        Charles Moulliard added a comment - Patch added. To be added to Apache Karaf svn repository

          People

          • Assignee:
            Unassigned
            Reporter:
            Charles Moulliard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development