-
-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No documentation page for -versionpolicy
instruction
#6372
Comments
@bric3 there is https://bnd.bndtools.org/instructions/consumer_policy.html and https://bnd.bndtools.org/instructions/provider_policy.html (Update: and https://bnd.bndtools.org/chapters/170-versioning.html and https://bnd.bndtools.org/macros/range.html) I cannot find a versionpolicy.md in the source anymore, so maybe it is outdated. Do these links answer your questions? If yes, I could update the docs to link to those links instead of the 404 one. |
fixes bndtools#6372 Signed-off-by: Christoph Rueger <[email protected]>
@chrisrueger I saw these links, that say I don't really now how much they apply there. I'm not well versed in OSGI (so I'm not sure at all of what I write there), they all look fitting in a way, like section 10.5 in https://bnd.bndtools.org/chapters/170-versioning.html but I feel this option is about configuring a default for the import package directive as the doc page indicates:
Also I'm not sure how to read the range |
I believe this is also an important link for the version / versionmask macro: Regarding: Lower Bound ([): Inclusive, starting at the exact version
@pkriens, you have some additional thoughts? |
fixes bndtools#6372 by fixing a broken link and adding links to interconnect pages related to version ranges. Signed-off-by: Christoph Rueger <[email protected]>
fixes bndtools#6372 by fixing a broken link and adding links to interconnect pages related to version ranges. Signed-off-by: Christoph Rueger <[email protected]> add example
fixes bndtools#6372 by fixing a broken link and adding links to interconnect pages related to version ranges. Signed-off-by: Christoph Rueger <[email protected]> add example add more example
@bric3 I have merged PR #6373 . Besides fixing and adding links I also added some more examples to https://bnd.bndtools.org/macros/range.html#examples |
Thank you @chrisrueger |
I was reading this page (https://bnd.bndtools.org/heads/import_package.html) and tried to navigate to the version policy instruction page (https://bnd.bndtools.org/instructions/versionpolicy.html), but this lands on a 404.
I suppose the doc is simple, however having a description of the default format would be nice.
I have this in mockito
-versionpolicy: [${version;==;${@}},${version;+;${@}})
, and I think it means something about a range from the current version to the next.The text was updated successfully, but these errors were encountered: