Re: Require OSGi R7
If there are no further comments, I am gonna merge https://github.com/apache/jackrabbit-oak/pull/1015 end of next week. Konrad > On 10. Jul 2023, at 10:14, Konrad Windszus wrote: > > Hi Marcel, > > >> On 10. Jul 2023, at 09:06, Marcel Reutegger >> wrote: >> >> Hi Konrad >> >> On 03.07.23, 13:27, "Konrad Windszus" wrote: >>> I would recommend to require at least OSGi R7 for Oak (released in 2018) >>> and at the same time no longer use the aggregate dependency but rather >>> the individual chapter dependencies of OSGi separately [3] which are >>> (from Compendium) >>> - Configuration Admin 1.6 >>> - Declarative Services 1.4 >>> - Metatype Service 1.4 >>> >>> Does anything speak against raising the dependencies accordingly? >> >> Does this require any code changes? I vaguely remember an earlier attempt >> to update OSGi configuration related code throughout the project, which >> required many changes and could introduced subtle changes in behaviour if >> not done correctly. > > No it doesn’t require code changes (except for maybe adding some explicit > cast to resolve ambiguous method calls. See the PR at > https://github.com/apache/jackrabbit-oak/pull/1015. > You are probably referring to https://issues.apache.org/jira/browse/OAK-6741 > which is different from this approach, as this is only about updating to a > newer version (of the same APIs/Specs) not migrating. >> >>> Is there any known consumer still relying on Oak in an OSGi container >>> which is not at least R7 compliant? >> >> Can you provide more details how this manifests? Thanks. > Sure. > As usual newer dependencies lead to import-package headers with version > ranges starting with the newer version as lower bound > (https://bnd.bndtools.org/chapters/170-versioning.html#import-version-policy) > In addition for OSGi Declarative Services there are capabilities being added > to the Manifest which require DS 1.4 or newer > (https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.component.html#service.component-capabilities) > Both lead to the fact that bundles do not start any longer in OSGi containers > not providing the necessary OSGi specifications in at least the given version. > > Hope this clarifies things, > Konrad >> >> Regards >> Marcel
Re: [VOTE] Release Apache Jackrabbit Oak 1.22.16
[X] +1 Release this package as Apache Jackrabbit Oak 1.22.16 ...where... [INFO] Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c) [INFO] OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" [INFO] Java version: 1.8.0_371, vendor: Oracle Corporation, runtime: C:\Java\jdk-1.8\jre [INFO] MAVEN_OPTS: Regards, Woonsan On Fri, Jul 14, 2023 at 2:39 PM Julian Reschke wrote: > > A candidate for the Jackrabbit Oak 1.22.16 release is available at: > > https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.22.16/ > > The release candidate is a zip archive of the sources in: > > https://github.com/apache/jackrabbit-oak/tree/jackrabbit-oak-1.22.16/ > > The SHA1 checksum of the archive is > ae2700633ea1964c37aaa42a6072502e78d5c4d4. > > A staged Maven repository is available for review at: > > https://repository.apache.org/ > > The command for running automated checks against this release candidate is: > > # run in SVN checkout of > https://dist.apache.org/repos/dist/dev/jackrabbit > $ sh check-release.sh oak 1.22.16 > ae2700633ea1964c37aaa42a6072502e78d5c4d4 > > Please vote on releasing this package as Apache Jackrabbit Oak 1.22.16. > The vote is open for the next 72 hours and passes if a majority of at > least three +1 Jackrabbit PMC votes are cast. > > [ ] +1 Release this package as Apache Jackrabbit Oak 1.22.16 > [ ] -1 Do not release this package because... > > Best regards, Julian
Re: [VOTE] Release Apache Jackrabbit Oak 1.22.16
[X] +1 Release this package as Apache Jackrabbit Oak 1.22.16 where [INFO] Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c) [INFO] OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows" [INFO] Java version: 11.0.18, vendor: Oracle Corporation, runtime: D:\java\jdk-11 [INFO] MAVEN_OPTS: [INFO] [INFO] ALL CHECKS OK Am Fr., 14. Juli 2023 um 07:39 Uhr schrieb Julian Reschke < resc...@apache.org>: > A candidate for the Jackrabbit Oak 1.22.16 release is available at: > > https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.22.16/ > > The release candidate is a zip archive of the sources in: > > > https://github.com/apache/jackrabbit-oak/tree/jackrabbit-oak-1.22.16/ > > The SHA1 checksum of the archive is > ae2700633ea1964c37aaa42a6072502e78d5c4d4. > > A staged Maven repository is available for review at: > > https://repository.apache.org/ > > The command for running automated checks against this release candidate is: > > # run in SVN checkout of > https://dist.apache.org/repos/dist/dev/jackrabbit > $ sh check-release.sh oak 1.22.16 > ae2700633ea1964c37aaa42a6072502e78d5c4d4 > > Please vote on releasing this package as Apache Jackrabbit Oak 1.22.16. > The vote is open for the next 72 hours and passes if a majority of at > least three +1 Jackrabbit PMC votes are cast. > > [ ] +1 Release this package as Apache Jackrabbit Oak 1.22.16 > [ ] -1 Do not release this package because... > > Best regards, Julian >
Re: [VOTE] Release Apache Jackrabbit Oak 1.22.16
hi julian +1 Release this package as Apache Jackrabbit Oak 1.22.16 kind regards angela From: Julian Reschke Sent: Friday, July 14, 2023 07:38 To: oak-dev@jackrabbit.apache.org Subject: [VOTE] Release Apache Jackrabbit Oak 1.22.16 A candidate for the Jackrabbit Oak 1.22.16 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.22.16/ The release candidate is a zip archive of the sources in: https://github.com/apache/jackrabbit-oak/tree/jackrabbit-oak-1.22.16/ The SHA1 checksum of the archive is ae2700633ea1964c37aaa42a6072502e78d5c4d4. A staged Maven repository is available for review at: https://repository.apache.org/ The command for running automated checks against this release candidate is: # run in SVN checkout of https://dist.apache.org/repos/dist/dev/jackrabbit $ sh check-release.sh oak 1.22.16 ae2700633ea1964c37aaa42a6072502e78d5c4d4 Please vote on releasing this package as Apache Jackrabbit Oak 1.22.16. The vote is open for the next 72 hours and passes if a majority of at least three +1 Jackrabbit PMC votes are cast. [ ] +1 Release this package as Apache Jackrabbit Oak 1.22.16 [ ] -1 Do not release this package because... Best regards, Julian
Re: [VOTE] Release Apache Jackrabbit Oak 1.22.16
On 14.07.23, 07:39, "Julian Reschke" wrote: > Please vote on releasing this package as Apache Jackrabbit Oak 1.22.16. > The vote is open for the next 72 hours and passes if a majority of at > least three +1 Jackrabbit PMC votes are cast. All checks OK. +1 Release this package as Apache Jackrabbit Oak 1.22.16 Regards Marcel