Hi, I'm once again getting started with p2, now it aims to be stable.
We have a client-server scenario where different customers run different server versions. now I want to be able to update the client to a specific version only (i.e. ask the server for its version at startup and then build a query that filters only applicable updates) I think I will go with that client and server can only have a different qualifier and the rest of the version must match.
with that i would be able to put out a minor client hotfix with a new qualifier that will be auto updated at startup. if customer upgrades his server, client will find new version number at startup and pull the new version from the repository.
but i completely have no clue how to build and expression with a version range. I saw that version =~ in QueryUtil, but what would that mean if 1.6.1 must be exactly matched, only the qualifier may have changed ?
ok my understanding gets better. if I use match id and version that should be what i want. i could use createOSGI from version to match exactly that version. if I deploy the same product version to the repository with higher qualifiers in the features/bundles will they be updated then ?