You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Dan Tran (JIRA)" <ji...@apache.org> on 2011/03/17 18:04:29 UTC

[jira] Created: (KARAF-524) features:refreshUrl does not refresh bundle's snapshot in the features.xml

features:refreshUrl does not refresh bundle's snapshot in the features.xml
--------------------------------------------------------------------------

                 Key: KARAF-524
                 URL: https://issues.apache.org/jira/browse/KARAF-524
             Project: Karaf
          Issue Type: Bug
          Components: runtime
    Affects Versions: 2.2.0
            Reporter: Dan Tran



features:refreshUrl do pickup latest snapshot features.xml from maven repo, but it does not look further into the features to update the bunble snapshot

Initial discussion is at http://karaf.922171.n3.nabble.com/How-does-features-refreshUrl-handles-snapshot-td2694125.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (KARAF-524) features:refreshUrl does not refresh bundle's snapshot in the features.xml

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008361#comment-13008361 ] 

Guillaume Nodet commented on KARAF-524:
---------------------------------------

The refreshUrl works as designed, as the purpose is only to re-read the feature descriptors.

Updating features could be done either through an features:update command that we don't have, or as part of dev:watch or osgi:update.
THough it does not seem really easy to find reliably the *latest* snapshot, as snapshot timestamps don't even have a timezone attached to them, so we can't really compare them correctly.

> features:refreshUrl does not refresh bundle's snapshot in the features.xml
> --------------------------------------------------------------------------
>
>                 Key: KARAF-524
>                 URL: https://issues.apache.org/jira/browse/KARAF-524
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 2.2.0
>            Reporter: Dan Tran
>
> features:refreshUrl do pickup latest snapshot features.xml from maven repo, but it does not look further into the features to update the bunble snapshot
> Initial discussion is at http://karaf.922171.n3.nabble.com/How-does-features-refreshUrl-handles-snapshot-td2694125.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (KARAF-524) features:refreshUrl does not refresh bundle's snapshot in the features.xml

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008484#comment-13008484 ] 

Guillaume Nodet commented on KARAF-524:
---------------------------------------

If features:update is supposed to update a feature from one version of a feature to another, that's a lot more work than just updating the individual bundles.

> features:refreshUrl does not refresh bundle's snapshot in the features.xml
> --------------------------------------------------------------------------
>
>                 Key: KARAF-524
>                 URL: https://issues.apache.org/jira/browse/KARAF-524
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 2.2.0
>            Reporter: Dan Tran
>
> features:refreshUrl do pickup latest snapshot features.xml from maven repo, but it does not look further into the features to update the bunble snapshot
> Initial discussion is at http://karaf.922171.n3.nabble.com/How-does-features-refreshUrl-handles-snapshot-td2694125.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (KARAF-524) features:refreshUrl does not refresh bundle's snapshot in the features.xml

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008482#comment-13008482 ] 

Jean-Baptiste Onofré commented on KARAF-524:
--------------------------------------------

I propose to add:
- features:update command
- extend dev:watch command

> features:refreshUrl does not refresh bundle's snapshot in the features.xml
> --------------------------------------------------------------------------
>
>                 Key: KARAF-524
>                 URL: https://issues.apache.org/jira/browse/KARAF-524
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 2.2.0
>            Reporter: Dan Tran
>
> features:refreshUrl do pickup latest snapshot features.xml from maven repo, but it does not look further into the features to update the bunble snapshot
> Initial discussion is at http://karaf.922171.n3.nabble.com/How-does-features-refreshUrl-handles-snapshot-td2694125.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-524) features:refreshUrl does not refresh bundle's snapshot in the features.xml

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

Christian Schneider resolved KARAF-524.
---------------------------------------

    Resolution: Not A Problem

I think the consensus is that features:refreshUrl works as designed and should not update features. There is already a ticket for updating features. So I think we can close this. 
@Dan please reopen if you do not agree

> features:refreshUrl does not refresh bundle's snapshot in the features.xml
> --------------------------------------------------------------------------
>
>                 Key: KARAF-524
>                 URL: https://issues.apache.org/jira/browse/KARAF-524
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 2.2.0
>            Reporter: Dan Tran
>
> features:refreshUrl do pickup latest snapshot features.xml from maven repo, but it does not look further into the features to update the bunble snapshot
> Initial discussion is at http://karaf.922171.n3.nabble.com/How-does-features-refreshUrl-handles-snapshot-td2694125.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (KARAF-524) features:refreshUrl does not refresh bundle's snapshot in the features.xml

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008481#comment-13008481 ] 

Jean-Baptiste Onofré commented on KARAF-524:
--------------------------------------------

Agree, I think features:refreshUrl does the job.

However, I think we can extend the dev:watch command to manage features content refresh.

> features:refreshUrl does not refresh bundle's snapshot in the features.xml
> --------------------------------------------------------------------------
>
>                 Key: KARAF-524
>                 URL: https://issues.apache.org/jira/browse/KARAF-524
>             Project: Karaf
>          Issue Type: Bug
>          Components: runtime
>    Affects Versions: 2.2.0
>            Reporter: Dan Tran
>
> features:refreshUrl do pickup latest snapshot features.xml from maven repo, but it does not look further into the features to update the bunble snapshot
> Initial discussion is at http://karaf.922171.n3.nabble.com/How-does-features-refreshUrl-handles-snapshot-td2694125.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira