Reconsider OSGi versioning
See original GitHub issueAll Flow projects at the moment use OSGi (Bundle-Version manifest tag) version of form 1.2.3. That does not guarantee bundle uniqueness if an OSGI container have pre-release and final bundle versions deployed simultaneously. In case of OSGi approach that may lead to hard-to-detect problems even in production systems. We may use versioning like 1.1.3.20180102 which should work much better.
For OSGi versioning see https://bnd.bndtools.org/chapters/170-versioning.html, §9.2
see ${parsedVersion.osgiVersion}
maven property
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Semantic Versioning - OSGi Docs
Versioning is one of the unique selling points of OSGi; there are no other execution environments that have taken the evolution of the...
Read more >Semantic Versioning and API Baseline reporting - gists · GitHub
A rule of thumb in semantic versioning is that the jar version should reflect the highest version from among all the package versions...
Read more >Re: [equinox-dev] p2 and non OSGi components - Eclipse.org
The first requires to have the provisioning system to know about all the version types possibility found in a repo ahead of time,...
Read more >116104 – reconsider a deep status check before commit
i've changed the commit dialog so that it checks and refreshes the status for all files on the disk belonging to the given...
Read more >Jigsaw Versioning is Ridiculous - Chris Aniszczyk's (zx) diatribe
In OSGi land, there's a four segment version and a mantra of encoding ... My recommendation to the Jigsaw team would be to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unlike falsely claimed here, everything is apparently working like it should and how has been done previously in the framework.
Only difference is now with snapshots, eg. 1.0-SNAPSHOT is released as
This is fine. Final releases and prereleases work consistently everywhere, and the same as before in the Framework. If someone wants to mix snapshot and release/prerelease versions of the components in an OSGi environment, then we can revisit this.
We should check the version sorting mechanism of OSGi to make sure that for example
1.2.0.0
is considered bigger than1.2.0.SNAPSHOT
.