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

        Charles Moulliard created issue -
        Charles Moulliard made changes -
        Field Original Value New Value
        Attachment patch_gshell_osgi_updateBundle.patch [ 12410944 ]
        Richard S. Hall made changes -
        Link This issue incorporates FELIX-1254 [ FELIX-1254 ]
        Richard S. Hall made changes -
        Link This issue incorporates FELIX-1254 [ FELIX-1254 ]
        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
        Filippo Diotalevi made changes -
        Assignee Filippo Diotalevi [ fdiotalevi ]
        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
        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
        Guillaume Nodet made changes -
        Project Felix [ 12310100 ] Karaf [ 12311140 ]
        Key FELIX-1248 KARAF-50
        Assignee Filippo Diotalevi [ fdiotalevi ]
        Component/s Karaf [ 12312824 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        Included in K3

        Show
        Jean-Baptiste Onofré added a comment - Included in K3
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development