question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reconsider OSGi versioning

See original GitHub issue

All 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
plekucommented, Nov 2, 2018

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

  • 1.0.0.20181102 for Flow artifacts
  • 1.0.0.SNAPSHOT for component Java integrations

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.

0reactions
mehdi-vaadincommented, Oct 31, 2018

We should check the version sorting mechanism of OSGi to make sure that for example 1.2.0.0 is considered bigger than 1.2.0.SNAPSHOT.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found