[ 
https://issues.apache.org/jira/browse/FELIX-2933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025973#comment-13025973
 ] 

Richard S. Hall commented on FELIX-2933:
----------------------------------------

I think you are just confused about the purpose of "info", which is to retrieve 
information from a bundle repository. By specifying a bundle identifier (13 in 
your example), you are not asking to list information about the deployed 
bundle, instead you are asking to list information about bundles in the 
repository with the same symbolic name as bundle 13.

It just so happens that whoever released the OBR bundle didn't publish those 
versions to our repository, so the version you have doesn't show up in the 
list, but all other versions in the repository do show up. If you would have 
specified a precise version, then you would see that your version isn't there 
(e.g., "info 13@1.6.4").

Of course, one could argue that if you use a bundle identifier, then it should 
automatically query that symbolic name AND version, rather than just the 
version, but that is a different issue. I did notice a couple other issues with 
the "info" command, for which I'll open up new bugs.

However, regarding this bug, I will resolve as invalid and you can reopen it if 
you disagree or close it if you agree. Thanks.

> Apache Felix Bundle Repository Incorrect Version
> ------------------------------------------------
>
>                 Key: FELIX-2933
>                 URL: https://issues.apache.org/jira/browse/FELIX-2933
>             Project: Felix
>          Issue Type: Bug
>          Components: Felix Commons
>            Reporter: Andriyko
>
> When I issue an "info" command on the "Apache Felix Bundle Repository" bundle 
> of version 1.6.4., I get version 1.4.1 instead.
> This is some kind of bug - which I cannot understand.
> Here is interaction with the gogo shell:
> --------------------
> START LEVEL 1
>    ID|State      |Level|Name
>     0|Active     |    0|System Bundle (3.2.0)
>     2|Active     |    1|Apache Felix Gogo Command (0.8.0)
>     3|Active     |    1|Apache Felix Gogo Runtime (0.8.0)
>     4|Active     |    1|Apache Felix Gogo Shell (0.8.0)
>    13|Active     |    1|Apache Felix Bundle Repository (1.6.4)
> g! info 13
> ------------------------------
> Apache Felix Bundle Repository
> ------------------------------
> id: org.apache.felix.bundlerepository/1.4.1
> category: [org.apache.felix]
> source: http://felix.apache.org/site/downloads.cgi
> description: Bundle repository service.
> documentation: 
> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
> symbolicname: org.apache.felix.bundlerepository
> presentationname: Apache Felix Bundle Repository
> license: http://www.apache.org/licenses/LICENSE-2.0.txt
> uri: 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.4.1/org.apache.felix.bundlerepository-1.4.1.jar
> size: 151654
> version: 1.4.1
> Requires:
>    (&(package=org.osgi.framework)(version>=1.3.0))
>    (&(package=org.osgi.service.log)(version>=1.3.0))
>    (&(package=org.osgi.service.obr)(version>=1.0.0))
>    (&(package=org.osgi.service.url)(version>=1.0.0))
> Capabilities:
>    {service=org.apache.felix.shell.Command}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {manifestversion=2, symbolicname=org.apache.felix.bundlerepository, 
> presentationname=Apache Felix Bundle Repository, version=1.4.1}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {package=org.osgi.service.obr, uses:=org.osgi.framework, version=1.0.0}
> ------------------------------
> Apache Felix Bundle Repository
> ------------------------------
> id: org.apache.felix.bundlerepository/1.4.2
> category: [org.apache.felix]
> source: http://felix.apache.org/site/downloads.cgi
> description: Bundle repository service.
> documentation: 
> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
> symbolicname: org.apache.felix.bundlerepository
> presentationname: Apache Felix Bundle Repository
> license: http://www.apache.org/licenses/LICENSE-2.0.txt
> uri: 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.4.2/org.apache.felix.bundlerepository-1.4.2.jar
> size: 151810
> version: 1.4.2
> Requires:
>    (&(package=org.osgi.framework)(version>=1.4.0))
>    (&(package=org.osgi.service.log)(version>=1.3.0))
>    (&(package=org.osgi.service.obr)(version>=1.0.0))
>    (&(package=org.osgi.service.url)(version>=1.0.0))
> Capabilities:
>    {service=org.apache.felix.shell.Command}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {manifestversion=2, symbolicname=org.apache.felix.bundlerepository, 
> presentationname=Apache Felix Bundle Repository, version=1.4.2}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {package=org.osgi.service.obr, uses:=org.osgi.framework, version=1.0.0}
> ------------------------------
> Apache Felix Bundle Repository
> ------------------------------
> id: org.apache.felix.bundlerepository/1.4.3
> category: [org.apache.felix]
> source: http://felix.apache.org/site/downloads.cgi
> description: Bundle repository service.
> documentation: 
> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
> symbolicname: org.apache.felix.bundlerepository
> presentationname: Apache Felix Bundle Repository
> license: http://www.apache.org/licenses/LICENSE-2.0.txt
> uri: 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.4.3/org.apache.felix.bundlerepository-1.4.3.jar
> size: 152089
> version: 1.4.3
> Requires:
>    (&(package=org.osgi.framework)(version>=1.4.0))
>    (&(package=org.osgi.service.log)(version>=1.3.0))
>    (&(package=org.osgi.service.obr)(version>=1.0.0))
>    (&(package=org.osgi.service.url)(version>=1.0.0))
> Capabilities:
>    {service=org.apache.felix.shell.Command}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {manifestversion=2, symbolicname=org.apache.felix.bundlerepository, 
> presentationname=Apache Felix Bundle Repository, version=1.4.3}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {package=org.osgi.service.obr, uses:=org.osgi.framework, version=1.0.0}
> ------------------------------
> Apache Felix Bundle Repository
> ------------------------------
> id: org.apache.felix.bundlerepository/1.2.0
> category: [org.apache.felix]
> source: http://felix.apache.org/site/downloads.cgi
> description: Bundle repository service.
> documentation: 
> http://felix.apache.org/site/apache-felix-osgi-bundle-repository-obr.html
> symbolicname: org.apache.felix.bundlerepository
> presentationname: Apache Felix Bundle Repository
> license: http://www.apache.org/licenses/LICENSE-2.0.txt
> uri: 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.2.0/org.apache.felix.bundlerepository-1.2.0.jar
> size: 134382
> version: 1.2.0
> Requires:
>    (&(package=org.osgi.framework)(version>=1.3.0))
>    (&(package=org.osgi.service.log)(version>=1.3.0))
>    (&(package=org.osgi.service.obr)(version>=1.0.0))
> Capabilities:
>    {service=org.apache.felix.shell.Command}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {manifestversion=2, symbolicname=org.apache.felix.bundlerepository, 
> presentationname=Apache Felix Bundle Repository, version=1.2.0}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {package=org.osgi.service.obr, uses:=org.osgi.framework, version=1.0.0}
> ------------------------------
> Apache Felix Bundle Repository
> ------------------------------
> id: org.apache.felix.bundlerepository/1.2.1
> category: [org.apache.felix]
> source: http://felix.apache.org/site/downloads.cgi
> description: Bundle repository service.
> documentation: 
> http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
> symbolicname: org.apache.felix.bundlerepository
> presentationname: Apache Felix Bundle Repository
> license: http://www.apache.org/licenses/LICENSE-2.0.txt
> uri: 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.2.1/org.apache.felix.bundlerepository-1.2.1.jar
> size: 135821
> version: 1.2.1
> Requires:
>    (&(package=org.osgi.framework)(version>=1.3.0))
>    (&(package=org.osgi.service.log)(version>=1.3.0))
>    (&(package=org.osgi.service.obr)(version>=1.0.0))
> Capabilities:
>    {service=org.apache.felix.shell.Command}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {manifestversion=2, symbolicname=org.apache.felix.bundlerepository, 
> presentationname=Apache Felix Bundle Repository, version=1.2.1}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {package=org.osgi.service.obr, uses:=org.osgi.framework, version=1.0.0}
> ------------------------------
> Apache Felix Bundle Repository
> ------------------------------
> id: org.apache.felix.bundlerepository/1.0.3
> category: [org.apache.felix]
> source: 
> http://oscar-osgi.sf.net/obr2/org.apache.felix.bundlerepository/org.apache.felix.bundlerepository-1.0.3-src.jar
> description: Bundle repository service.
> documentation: 
> http://oscar-osgi.sf.net/obr2/org.apache.felix.bundlerepository/
> symbolicname: org.apache.felix.bundlerepository
> presentationname: Apache Felix Bundle Repository
> license: http://www.apache.org/licenses/LICENSE-2.0.txt
> uri: 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.0.3/org.apache.felix.bundlerepository-1.0.3.jar
> size: 130451
> version: 1.0.3
> Requires:
>    (&(package=org.osgi.framework)(version>=1.3.0))
>    (&(package=org.osgi.service.obr)(version>=1.0.0))
> Capabilities:
>    {manifestversion=2, symbolicname=org.apache.felix.bundlerepository, 
> presentationname=Apache Felix Bundle Repository, version=1.0.3}
>    {service=org.osgi.service.obr.RepositoryAdmin}
>    {package=org.osgi.service.obr, uses:=org.osgi.framework, version=1.0.0}
> g! 

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

Reply via email to