karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <cmoulli...@gmail.com>
Subject Re: [PROPOSAL] Bundles and features identifiers
Date Mon, 28 Mar 2011 09:13:57 GMT
+1 to provide a "name" as identifier of a feature. That will help
administrator when they do a full reinstall of features to use this
name as a key within their install/reinstall scripts.

On Mon, Mar 28, 2011 at 11:05 AM, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
> Hi Ioannis,
>
> as you can see, of course, the user can still use id number.
>
> For the bundle location, it's not easy because the location is quite "lost"
> once the bundle is deployed (we can only work on the bundle headers).
>
> Regards
> JB
>
> On 03/28/2011 11:05 AM, Ioannis Canellos wrote:
>>
>> I think that for issue 325 we don't need to change anything. All we need
>> is
>> to upgrade the command to work with wildchars.
>>
>> For the rest issues, I feel that we need to keep the existing way of
>> working
>> (use of bundle ids) and possibly provide alternative ways with the use of
>> some flags.
>> Now regarding the flags I would prefer to the bundle location
>> (mvn:/groupId/arifactId/version or file:/folderA/folderB). I am not sure
>> how
>> we could use autocompletion with flags.
>>
>> If we are to keep the existing way "identifying bundles" then I vote +1 on
>> adding it to 2.2.x, if we are to change it then it would be better to move
>> it 3.x.
>>
>>
>>
>> On Mon, Mar 28, 2011 at 11:46 AM, Jean-Baptiste
>> Onofré<jb@nanthrax.net>wrote:
>>
>>> Hi all,
>>>
>>> I'm working on KARAF-452, KARAF-33 and KARAF-325.
>>>
>>> These three jira are related the same topic: identification of bundles
>>> and
>>> features.
>>>
>>> I propose the following convention to identify a bundles or features.
>>> The identifier could be:
>>>
>>> - a id (long) (as it is currently)
>>> - a name (for instance bundle_A), the name could contain regexp (for
>>> instance bundle_*)
>>> - a name and a version (for instance bundle_A/1.0.0), the name and
>>> version
>>> could contain regexp (for instance bundle_*/1.0.0 or bundle_A/1*)
>>> - a range of id (for instance 1-4 7-9 will install bundles with id 1, 2,
>>> 3,
>>> 4 and 7, 8, 9)
>>>
>>> WDYT ?
>>>
>>> I made good progress on the trunk.
>>> I wonder if I merge this to karaf-2.2.x branch. I think it could be
>>> interesting to provide this in the next 2.2.2 version.
>>>
>>> WDYT ?
>>>
>>> Thanks,
>>> Regards
>>> JB
>>>
>>
>>
>>
>

Mime
View raw message