You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/06/17 17:06:07 UTC

[jira] Created: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

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

                 Key: FELIX-1248
                 URL: https://issues.apache.org/jira/browse/FELIX-1248
             Project: Felix
          Issue Type: Improvement
          Components: Karaf
            Reporter: Charles Moulliard


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773572#action_12773572 ] 

Jamie goodyear edited comment on FELIX-1248 at 11/4/09 5:24 PM:
----------------------------------------------------------------

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


      was (Author: jgoodyear):
    Given the current syntax:

{code}
osgi:update [options] id [location] 
{code}

Do you want the update multiple bundle syntax to be:

{code}
osgi:update [options] id [location] [id [location]]*
{code}

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

{code}
osgi:update [options] ids 

    --multi     Update list of bundle IDs separated by whitespaces
{code}
  
> Allow to update several bundles using the command line : update 10 20 30 ...
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-1248
>                 URL: https://issues.apache.org/jira/browse/FELIX-1248
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Charles Moulliard
>            Assignee: Filippo Diotalevi
>         Attachments: patch_gshell_osgi_updateBundle.patch
>
>
> The command updateBundle has been updated to allow to allow to update several bundles in one command line

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

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

Charles Moulliard updated FELIX-1248:
-------------------------------------

    Attachment: patch_gshell_osgi_updateBundle.patch

> Allow to update several bundles using the command line : update 10 20 30 ...
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-1248
>                 URL: https://issues.apache.org/jira/browse/FELIX-1248
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Charles Moulliard
>         Attachments: patch_gshell_osgi_updateBundle.patch
>
>
> The command updateBundle has been updated to allow to allow to update several bundles in one command line

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722557#action_12722557 ] 

Charles Moulliard commented on FELIX-1248:
------------------------------------------

Patch added. To be added to Apache Karaf svn repository

> Allow to update several bundles using the command line : update 10 20 30 ...
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-1248
>                 URL: https://issues.apache.org/jira/browse/FELIX-1248
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Charles Moulliard
>         Attachments: patch_gshell_osgi_updateBundle.patch
>
>
> The command updateBundle has been updated to allow to allow to update several bundles in one command line

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773572#action_12773572 ] 

Jamie goodyear commented on FELIX-1248:
---------------------------------------

Given the current syntax:

{code}
osgi:update [options] id [location] 
{code}

Do you want the update multiple bundle syntax to be:

{code}
osgi:update [options] id [location] [id [location]]*
{code}

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

{code}
osgi:update [options] ids 

    --multi     Update list of bundle IDs separated by whitespaces
{code}

> Allow to update several bundles using the command line : update 10 20 30 ...
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-1248
>                 URL: https://issues.apache.org/jira/browse/FELIX-1248
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Charles Moulliard
>            Assignee: Filippo Diotalevi
>         Attachments: patch_gshell_osgi_updateBundle.patch
>
>
> The command updateBundle has been updated to allow to allow to update several bundles in one command line

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

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

Filippo Diotalevi reassigned FELIX-1248:
----------------------------------------

    Assignee: Filippo Diotalevi

> Allow to update several bundles using the command line : update 10 20 30 ...
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-1248
>                 URL: https://issues.apache.org/jira/browse/FELIX-1248
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Charles Moulliard
>            Assignee: Filippo Diotalevi
>         Attachments: patch_gshell_osgi_updateBundle.patch
>
>
> The command updateBundle has been updated to allow to allow to update several bundles in one command line

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1248) Allow to update several bundles using the command line : update 10 20 30 ...

Posted by "Filippo Diotalevi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726467#action_12726467 ] 

Filippo Diotalevi commented on FELIX-1248:
------------------------------------------

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.




> Allow to update several bundles using the command line : update 10 20 30 ...
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-1248
>                 URL: https://issues.apache.org/jira/browse/FELIX-1248
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Charles Moulliard
>            Assignee: Filippo Diotalevi
>         Attachments: patch_gshell_osgi_updateBundle.patch
>
>
> The command updateBundle has been updated to allow to allow to update several bundles in one command line

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.