Bug 900081 (JBPAPP6-1575) - Update vman to generate valid OSGi versions
Summary: Update vman to generate valid OSGi versions
Keywords:
Status: CLOSED EOL
Alias: JBPAPP6-1575
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Build
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: John Casey
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On:
Blocks: 928004
TreeView+ depends on / blocked
 
Reported: 2012-03-22 16:30 UTC by Paul Gier
Modified: 2019-08-19 12:48 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:48:59 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 899732 0 high CLOSED Invalid versions in mead repository zip 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBPAPP6-1575 0 Major Closed Update vman to generate valid OSGi versions 2018-11-28 20:39:41 UTC

Internal Links: 899732

Description Paul Gier 2012-03-22 16:30:13 UTC
project_key: JBPAPP6

Currently the vman tool produces some invalid OSGi versions.  We should research different options for making things more compatible with OSGi.  Here are a couple basic examples of the current behaviour:
1.0.0.Final -> 1.0.0.Final-redhat-1 (valid OSGi version)
1.0.0 -> 1.0.0-redhat-1 (Invalid OSGi, should be 1.0.0.redhat-1)

Some more info in the wiki (https://docspace.corp.redhat.com/docs/DOC-39079)

Comment 1 Paul Gier 2012-03-22 16:31:11 UTC
Link: Added: This issue is related to JBPAPP-7929


Comment 2 Paul Gier 2012-03-22 16:31:12 UTC
JBPAPP-7929 is the QA test results which show which versions are currently not following the OSGi standard.

Comment 3 John Casey 2012-08-09 21:54:29 UTC
To be safe and consistent, can we just change the version suffix to .redhat-1 across the board, instead of -redhat-1?

Comment 4 Paul Gier 2012-08-10 21:13:41 UTC
Unfortunately that would also create invalid versions because OSGi does not allow "." in the qualifier.
1.0.0.Final -> 1.0.0.Final.redhat-1 (invalid OSGi version)

Comment 5 Anne-Louise Tangring 2012-11-13 21:13:20 UTC
Docs QE Status: Removed: NEW 


Comment 6 Paul Gier 2013-04-09 19:48:55 UTC
EAP QA job which checks for valid artifact versions in the EAP Maven repository
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Repository/job/eap-60-repository-maven-check-valid-versions/

Comment 7 Paul Gier 2013-04-09 19:55:00 UTC
Information about valid OSGi versions here:
https://community.jboss.org/wiki/JBossProjectVersioning

For the scope of this issue, I think it's enough to just add the ability to handle the common case where the upstream version has three components with no qualifier.  For example,
1.0.0 -> 1.0.0.redhat-1

For correct handling of versions which don't include a micro version (for example 1.0.GA), that can be discussed in a separate issue once the first part is working.

Some specific examples of invalid OSGi versions can be seen in the EAP QA job which checks artifact versions in the EAP Maven repository
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Repository/job/eap-60-repository-maven-check-valid-versions/


Note You need to log in before you can comment on or make changes to this bug.