You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Geert Schuring (Created) (JIRA)" <ji...@apache.org> on 2011/10/28 09:46:32 UTC

[jira] [Created] (KARAF-969) Feature installer should not accept different features with equal names

Feature installer should not accept different features with equal names
-----------------------------------------------------------------------

                 Key: KARAF-969
                 URL: https://issues.apache.org/jira/browse/KARAF-969
             Project: Karaf
          Issue Type: Bug
          Components: karaf-features
    Affects Versions: 2.2.2
            Reporter: Geert Schuring
             Fix For: 2.2.5


The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.

Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
{code}
features:install <repo>:<feature>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-969) Feature installer should not accept different features with equal names

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

David Jencks commented on KARAF-969:
------------------------------------

In trunk it is very easy to package the same feature into multiple feature repositories.  I don't think there's anything wrong with this.  I think the obvious solution is to have "fully qualified" feature names that look like what everyone is using for bundle symbolic names, e.g. org.apache.karaf.feature.MyFeatureName. I know these got removed from trunk, but IMO this jira is an example of why they should be put back.
                
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-features
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.5
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-969) Feature installer should not accept different features with equal names

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

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

I don't thank that using a fully qualified name will help.

An user can still define the same feature name (even if it's full qualified) in two different features XML.

In the feature validation util, we can check if a feature with the same name AND version exists. If it's the case, we should raise an exception.

I'm not in favor of using features:install <repo>:<feature> because the user shouldn't take care of the repo itself.
                
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-features
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.5
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jean-Baptiste Onofré updated KARAF-969:
---------------------------------------

    Fix Version/s: 3.0.0
                   2.3.0
         Assignee: Jean-Baptiste Onofré
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.7, 2.3.0, 3.0.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jamie goodyear updated KARAF-969:
---------------------------------

    Fix Version/s:     (was: 2.2.9)
                   2.2.10
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.10, 2.3.0, 3.0.1, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jean-Baptiste Onofré updated KARAF-969:
---------------------------------------

    Fix Version/s:     (was: 2.3.0)
                       (was: 3.1.0)
                       (was: 3.0.1)
                   3.0.0
                   2.3.1
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.10, 2.3.1, 3.0.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jamie goodyear updated KARAF-969:
---------------------------------

    Fix Version/s:     (was: 2.2.6)
                   2.2.7

Bumping to 2.2.7.
                
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.7
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jean-Baptiste Onofré updated KARAF-969:
---------------------------------------

    Fix Version/s:     (was: 2.2.8)
                   2.2.9
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.9, 2.3.0, 3.0.1, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Christian Schneider updated KARAF-969:
--------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.1.0
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.7, 2.3.0, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jean-Baptiste Onofré updated KARAF-969:
---------------------------------------

    Fix Version/s:     (was: 2.2.7)
                   2.2.8
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.8, 2.3.0, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-969) Feature installer should not accept different features with equal names

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

Jean-Baptiste Onofré reassigned KARAF-969:
------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.8, 2.3.0, 3.0.1, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Jamie goodyear updated KARAF-969:
---------------------------------

    Fix Version/s:     (was: 2.2.5)
                   2.2.6

Bumping to 2.2.6.
                
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-features
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.6
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-969) Feature installer should not accept different features with equal names

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

Andreas Pieber updated KARAF-969:
---------------------------------

    Fix Version/s: 3.0.1
    
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.8, 2.3.0, 3.0.1, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-969) Feature installer should not accept different features with equal names

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

Jamie goodyear commented on KARAF-969:
--------------------------------------

Bumping to 2.2.10
                
> Feature installer should not accept different features with equal names
> -----------------------------------------------------------------------
>
>                 Key: KARAF-969
>                 URL: https://issues.apache.org/jira/browse/KARAF-969
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.2
>            Reporter: Geert Schuring
>              Labels: duplicate, features, name, namespaces
>             Fix For: 2.2.9, 2.3.0, 3.0.1, 3.1.0
>
>
> The feature installer should reject feature files that contain features with conflicting names. The installer currently allows this, while the install command cannot differentiate between two features with the same name.
> Maybe the concept of feature namespaces would be a good solution. The feature repository name could function as the namespace. The install command should then support something like this:
> {code}
> features:install <repo>:<feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira