Idea: Caching in Sling
Hi all, We are considering to implement a resource-based caching in Sling. I have found some efforts to do something similar in the past, but they all seem to have been either abandoned or do something different from what we have in mind. So it would be great to get some feedback if it this has been tried before and was given up or if our idea is just not what the Sling-world is waiting for. This is what our Sling-Cache would do: - deliver sling resources from cache based on an exact path - deliver sling resources from cache for a subtree of the repository The following scenarios would benefit from such a cache: - navigation components that are expensive to calculate and are identical for whole subtrees of a site - cacheable components on non-caheable pages - CQ use cases with dispatcher caching invalidate the large sections or the whole cache. After an invalidation, for a short time all traffic hits CQ/Sling. With resource based caching, this could be improved, allowing Sling to scale better. Of course we would create an open-source implementation of our idea, caching either in memory or in the repository itself and leave room for other implementations with external caches. So is this an idea you would love to see implemented or is it rather something that you deem unnecessarily complex? Thanks for any feedback! Cheers, Ben Zahler Inside Solutions AG | Bahnhofplatz 11 | 4410 Liestal | Schweiz Telefon: +41 61 551 00 40 | Direkt: +41 61 551 00 43 http://www.inside-solutions.chhttp://www.inside-solutions.ch/
[jira] [Created] (SLING-3810) Release Sling 7
Bertrand Delacretaz created SLING-3810: -- Summary: Release Sling 7 Key: SLING-3810 URL: https://issues.apache.org/jira/browse/SLING-3810 Project: Sling Issue Type: Task Components: General Reporter: Bertrand Delacretaz The Sling 7 release is long overdue - let's mark issues which block the release as blockers for this issue. -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: Launchpad 7 Release?
On Mon, Jul 28, 2014 at 6:40 PM, Oliver Lietz apa...@oliverlietz.de wrote: ...users also expect a major release to be stable. Something they can build on... Once we release 7 it should be much easier to release 7.1. If it hurts, do it more ;-) ...Can you create a wiki page with tasks to be done or tag issues which need to be fixed for 7 so every developer can pick from?... I have created SLING-3810 for the Sling 7 release, please create issues that block it for things that must be done before the release. -Bertrand
Jenkins build is back to stable : sling-contrib-1.6 » Apache Sling Replication Integration Tests #1190
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.replication.it/1190/
Build failed in Jenkins: sling-contrib-1.6 #1190
See https://builds.apache.org/job/sling-contrib-1.6/1190/changes Changes: [cziegeler] Move OCM to contrib [cziegeler] Move OCM to contrib -- [...truncated 4368 lines...] Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/system/org.apache.karaf.system.core/3.0.1/org.apache.karaf.system.core-3.0.1.jar (38 KB at 524.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/region/org.apache.karaf.region.core/3.0.1/org.apache.karaf.region.core-3.0.1.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/system/org.apache.karaf.system.command/3.0.1/org.apache.karaf.system.command-3.0.1.jar (20 KB at 278.1 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/features/standard/3.0.1/standard-3.0.1-features.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/region/org.apache.karaf.region.core/3.0.1/org.apache.karaf.region.core-3.0.1.jar (9 KB at 116.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/features/spring/3.0.1/spring-3.0.1-features.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/features/standard/3.0.1/standard-3.0.1-features.xml (13 KB at 176.4 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/features/enterprise/3.0.1/enterprise-3.0.1-features.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/features/spring/3.0.1/spring-3.0.1-features.xml (19 KB at 247.3 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/shell/org.apache.karaf.shell.commands/3.0.1/org.apache.karaf.shell.commands-3.0.1.jar (103 KB at 564.5 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/features/enterprise/3.0.1/enterprise-3.0.1-features.xml (16 KB at 206.0 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/features/framework/3.0.1/framework-3.0.1.kar (12722 KB at 8630.8 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/apache-karaf/3.0.1/apache-karaf-3.0.1.tar.gz (15195 KB at 4445.5 KB/sec) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Deleting https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/launchpad/karaf/org.apache.sling.launchpad.karaf-integration-tests/target [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/launchpad/karaf/org.apache.sling.launchpad.karaf-integration-tests/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/launchpad/karaf/org.apache.sling.launchpad.karaf-integration-tests/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory https://builds.apache.org/job/sling-contrib-1.6/ws/contrib-1.6/launchpad/karaf/org.apache.sling.launchpad.karaf-integration-tests/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ org.apache.sling.launchpad.karaf-integration-tests --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 34 source files to
Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Launchpad Karaf - Integration Tests #1190
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.launchpad.karaf-integration-tests/1190/ -- [INFO] [INFO] [INFO] Building Apache Sling Launchpad Karaf - Integration Tests 0.1.1-SNAPSHOT [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.engine/2.3.4/org.apache.sling.engine-2.3.4.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.engine/2.3.4/org.apache.sling.engine-2.3.4.pom (14 KB at 99.4 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/apache-karaf/3.0.1/apache-karaf-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/apache-karaf/3.0.1/apache-karaf-3.0.1.pom (8 KB at 88.6 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/assemblies/3.0.1/assemblies-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/assemblies/3.0.1/assemblies-3.0.1.pom (2 KB at 22.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/features/framework/3.0.1/framework-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/features/framework/3.0.1/framework-3.0.1.pom (22 KB at 180.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/features/features/3.0.1/features-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/features/features/3.0.1/features-3.0.1.pom (2 KB at 22.5 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/org.apache.karaf.main/3.0.1/org.apache.karaf.main-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/org.apache.karaf.main/3.0.1/org.apache.karaf.main-3.0.1.pom (7 KB at 80.9 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/org.apache.karaf.util/3.0.1/org.apache.karaf.util-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/org.apache.karaf.util/3.0.1/org.apache.karaf.util-3.0.1.pom (3 KB at 27.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/org.apache.karaf.exception/3.0.1/org.apache.karaf.exception-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/org.apache.karaf.exception/3.0.1/org.apache.karaf.exception-3.0.1.pom (2 KB at 16.4 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/features/org.apache.karaf.features.command/3.0.1/org.apache.karaf.features.command-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/features/org.apache.karaf.features.command/3.0.1/org.apache.karaf.features.command-3.0.1.pom (5 KB at 46.6 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/bundle/org.apache.karaf.bundle.command/3.0.1/org.apache.karaf.bundle.command-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/bundle/org.apache.karaf.bundle.command/3.0.1/org.apache.karaf.bundle.command-3.0.1.pom (5 KB at 50.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/bundle/bundle/3.0.1/bundle-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/bundle/bundle/3.0.1/bundle-3.0.1.pom (2 KB at 21.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/shell/org.apache.karaf.shell.table/3.0.1/org.apache.karaf.shell.table-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/shell/org.apache.karaf.shell.table/3.0.1/org.apache.karaf.shell.table-3.0.1.pom (3 KB at 33.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/bundle/org.apache.karaf.bundle.core/3.0.1/org.apache.karaf.bundle.core-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/bundle/org.apache.karaf.bundle.core/3.0.1/org.apache.karaf.bundle.core-3.0.1.pom (5 KB at 57.9 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/shell/org.apache.karaf.shell.help/3.0.1/org.apache.karaf.shell.help-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/shell/org.apache.karaf.shell.help/3.0.1/org.apache.karaf.shell.help-3.0.1.pom (5 KB at 54.5 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/system/org.apache.karaf.system.core/3.0.1/org.apache.karaf.system.core-3.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/karaf/system/org.apache.karaf.system.core/3.0.1/org.apache.karaf.system.core-3.0.1.pom (4 KB at 48.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/karaf/system/system/3.0.1/system-3.0.1.pom Downloaded:
Re: Launchpad 7 Release?
On Mon, Jul 28, 2014 at 7:40 PM, Oliver Lietz apa...@oliverlietz.de wrote: I looked in Jira for related issues but found nothing [1] . What are we missing for Java 8? trunk doesn't compile with Java 8 (test failures, ASM issue). Can you set up a build job for trunk with 8? I've set up [1] . So far I see classes sets of failures - scr-maven-plugin fails due to not supporting Java 8, should be fixed by releasing/adopting latest parent pom. I'll start a release vote for that. - Pax-Exam failures dues to missing packages ; not sure yet why that happens Robert [1]: https://builds.apache.org/view/S-Z/view/Sling/job/sling-trunk-1.8/ -- Sent from my (old) computer
Re: Idea: Caching in Sling
Hi Ben, Jackrabbit used to come with bundle cache which does exactly what you say, not knowing anything about the tree structure. And that stupidity is its strength: no need for a smart developer to do pin point configuration of a tree or a single path. Things that are really used a lot were cached, the only configuration you do is on the size of the cache. I’m pretty sure similar mechanism exists with oak. Now helping the stupid persistence caching by caching at the “application” layer things you, as an application developer, know they will be used a lot is always a good idea. Not sure this needs a framework though. Nicolas On 29 Jul 2014, at 08:15, Ben Zahler ben.zah...@inside-solutions.ch wrote: Hi all, We are considering to implement a resource-based caching in Sling. I have found some efforts to do something similar in the past, but they all seem to have been either abandoned or do something different from what we have in mind. So it would be great to get some feedback if it this has been tried before and was given up or if our idea is just not what the Sling-world is waiting for. This is what our Sling-Cache would do: - deliver sling resources from cache based on an exact path - deliver sling resources from cache for a subtree of the repository The following scenarios would benefit from such a cache: - navigation components that are expensive to calculate and are identical for whole subtrees of a site - cacheable components on non-caheable pages - CQ use cases with dispatcher caching invalidate the large sections or the whole cache. After an invalidation, for a short time all traffic hits CQ/Sling. With resource based caching, this could be improved, allowing Sling to scale better. Of course we would create an open-source implementation of our idea, caching either in memory or in the repository itself and leave room for other implementations with external caches. So is this an idea you would love to see implemented or is it rather something that you deem unnecessarily complex? Thanks for any feedback! Cheers, Ben Zahler Inside Solutions AG | Bahnhofplatz 11 | 4410 Liestal | Schweiz Telefon: +41 61 551 00 40 | Direkt: +41 61 551 00 43 http://www.inside-solutions.chhttp://www.inside-solutions.ch/
Re: Launchpad 7 Release?
Hi Am 29.07.2014 um 10:00 schrieb Bertrand Delacretaz bdelacre...@apache.org: On Mon, Jul 28, 2014 at 6:40 PM, Oliver Lietz apa...@oliverlietz.de wrote: ...users also expect a major release to be stable. Something they can build on... Once we release 7 it should be much easier to release 7.1. If it hurts, do it more ;-) That would be 8 :-) Also, apart from the contents discussion, one thing which held us back releasing the Sling App for a long time is the way how we intended to do the release: creating a tagged SVN structure of all the module sources contained in the release which is tedious and error prone. I think a Sling App Release artifacts are just a service to the community and the source of the release really just is the contents descriptor. This also makes releasing a lot easier and more straightforward. Regards Felix
Re: Launchpad 7 Release?
Hi Felix, On Tue, Jul 29, 2014 at 10:25 AM, Felix Meschberger fmesc...@adobe.com wrote: ...I think a Sling App Release artifacts are just a service to the community and the source of the release really just is the contents descriptor I don't understand - do you mean that we should just tag and release the launchpad/builder source code? If yes, I agree - as long as its bundle list doesn't reference snapshots (I forgot if Maven is aware of snapshots in there) that's fine. -Bertrand
Re: Launchpad 7 Release?
Hi Am 29.07.2014 um 10:31 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi Felix, On Tue, Jul 29, 2014 at 10:25 AM, Felix Meschberger fmesc...@adobe.com wrote: ...I think a Sling App Release artifacts are just a service to the community and the source of the release really just is the contents descriptor I don't understand - do you mean that we should just tag and release the launchpad/builder source code? If yes, I agree - as long as its bundle list doesn't reference snapshots (I forgot if Maven is aware of snapshots in there) that's fine. Yes, that's what I mean. Regards Felix
[VOTE] Release Apache Sling Parent version 20
Hi, We solved 3 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12326694 There are still some outstanding issues: https://issues.apache.org/jira/browse/SLING/component/12312329 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1086 You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/sling/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 1086 /tmp/sling-staging Please vote to approve this release: [ ] +1 Approve the release [ ] 0 Don't care [ ] -1 Don't release, because ... This majority vote is open for at least 72 hours.
Re: [VOTE] Release Apache Sling Parent version 20
+1 2014-07-29 10:53 GMT+02:00 Robert Munteanu romb...@apache.org: Hi, We solved 3 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12326694 There are still some outstanding issues: https://issues.apache.org/jira/browse/SLING/component/12312329 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1086 You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/sling/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 1086 /tmp/sling-staging Please vote to approve this release: [ ] +1 Approve the release [ ] 0 Don't care [ ] -1 Don't release, because ... This majority vote is open for at least 72 hours. -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org
Re: Launchpad 7 Release?
On Mon, Jul 28, 2014 at 7:40 PM, Oliver Lietz apa...@oliverlietz.de wrote: - SLING-3008 looks still problematic Is the issue that we have a code block that can be removed? I don't see that as a launchpad release blocker. The problem is an incompatible JSON response due to this code block which I noticed when querying users. It may happen else where. As this is part of a released bundle, please file a new Jira to get it fixed. Robert -- Sent from my (old) computer
[jira] [Updated] (SLING-2766) Provide client side javascript libraries to chunk upload feature
[ https://issues.apache.org/jira/browse/SLING-2766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2766: Component/s: (was: General) Servlets Provide client side javascript libraries to chunk upload feature Key: SLING-2766 URL: https://issues.apache.org/jira/browse/SLING-2766 Project: Sling Issue Type: Sub-task Components: Servlets Reporter: Shashank Gupta Provide client side javascript libraries to chunk upload feature -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (SLING-2572) Redirect validating service
[ https://issues.apache.org/jira/browse/SLING-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2572: Component/s: (was: General) Authentication Redirect validating service --- Key: SLING-2572 URL: https://issues.apache.org/jira/browse/SLING-2572 Project: Sling Issue Type: Improvement Components: Authentication Reporter: Jeff Young Labels: security Clients need to validate redirects to esure that they point on-site (or perhaps to an authority on a white-list) to prevent phishing attacks. A Sling service which performed this would allow consistency (and a single point of extension). There already exists AuthUtil.isRedirectValid() [0], but it doesn't handle URLs (only paths), and disallows relative paths (the second of which, at least, is widely used). There is also a referrer validating service [1] which might provide a better starting point. Lastly, if we had backward-compatibility concerns with some of the algorithms encoded in those methods/services, we might choose to provide a very basic default implementation which simply drops any scheme and/or authority from the URL, and let customers do white-lists and/or other more sophisticated checks as customizations. References: [0] https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/core/src/main/java/org/apache/sling/auth/core/AuthUtil.java [1] https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/security/impl/ReferrerFilter.java -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (SLING-2764) Add server side support in sling to handle chunkupload
[ https://issues.apache.org/jira/browse/SLING-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2764: Component/s: (was: General) Servlets Add server side support in sling to handle chunkupload -- Key: SLING-2764 URL: https://issues.apache.org/jira/browse/SLING-2764 Project: Sling Issue Type: Sub-task Components: Servlets Reporter: Shashank Gupta -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (SLING-2765) Add support to clean expired chunk uploads
[ https://issues.apache.org/jira/browse/SLING-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2765: Component/s: (was: General) Servlets Add support to clean expired chunk uploads --- Key: SLING-2765 URL: https://issues.apache.org/jira/browse/SLING-2765 Project: Sling Issue Type: Sub-task Components: Servlets Reporter: Shashank Gupta Have a scheduled job which cleans incomplete/expired chunk uploads: - have a configurable expiry time (e.g. 2 days) - run cleanup periodically as well (expiry time or 1/2 expiry time or ...) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077544#comment-14077544 ] Carsten Ziegeler commented on SLING-3634: - [~ArtyomStetsenko] What is the problem with the old version? We're just relying on the API and 1.5.2 is enough. If we upgrade the parent, bundles built with the newer parent out of the sudden require a higher logging api. This shouldn't pose a problem in practice, however I fail to see what we gain in ramping up the version in the parent pom? Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (SLING-3481) AbstractSlingRepository2.login().getRepository() not symmetric
[ https://issues.apache.org/jira/browse/SLING-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-3481: Component/s: (was: General) JCR AbstractSlingRepository2.login().getRepository() not symmetric -- Key: SLING-3481 URL: https://issues.apache.org/jira/browse/SLING-3481 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Base 2.2.2 Reporter: Tobias Bocanegra Priority: Minor Fix For: JCR Base 2.2.4 Attachments: SLING-3481.r1582018..patch the AbstractSlingRepository2.login() returns a session, which does not return the same repository object in 'getRepository()'. -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: [VOTE] Release Apache Sling Parent version 20
On Tue, Jul 29, 2014 at 10:53 AM, Robert Munteanu romb...@apache.org wrote: ... sh check_staged_release.sh 1086 /tmp/sling-staging... +1 for releasing SHA1(sling-20-source-release.zip)= 76643cc8e5348916f56a5cd7b58175fbaa1282bc -Bertrand
Re: [VOTE] Release Apache Sling IDE Tooling 1.0.2
On Tue, Jul 22, 2014 at 3:16 PM, Robert Munteanu romb...@apache.org wrote: ...The release artifact is the source bundle - sling-ide-tooling-1.0.2.jar ... +1 for the release of SHA1(sling-ide-tooling-1.0.2.jar)= 6d4dace90bdb65a5ef05e87170cd77f5f00c153f Signatures and digests match, and the contents (mostly, see below) match http://svn.apache.org/repos/asf/sling/tags/sling-ide-tooling-1.0.2/ There's a stray (I suppose) ./org.apache.sling.ide.source-bundle-1.0.2/derby.log in that jar file. Also, it contains a number of Eclipse project files (.project etc.), and some .gitignore files, not sure if that's on purpose. Not a blocker for the release IMO. -Bertrand
[jira] [Commented] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077582#comment-14077582 ] Artyom Stetsenko commented on SLING-3634: - The most notable API change is the ability to use varargs in logging statements: {noformat} logger.info(Value is {} at {}, val, timestamp); {noformat} looks much cleaner than {noformat} logger.info(Value is {} at {}, new Object[]{ val, timestamp }); {noformat} Using a custom slf4j version in a bundle just to get that syntactic sugar seems silly. Other than that there have been many performance improvements in the implementations (parent declares {{slf4j-simple}}) as documented on http://www.slf4j.org/news.html. Judging by the same page, it seems the latest APIs should be backwards compatible with 1.5.2. Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
Build failed in Jenkins: sling-trunk-1.8 » Apache Sling Scripting Implementation API #2
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/2/ -- [INFO] [INFO] [INFO] Building Apache Sling Scripting Implementation API 2.1.7-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.scripting.api --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.scripting.api --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.scripting.api --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.6 from sling.java.version=6 [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.scripting.api --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.scripting.api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/ws/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.scripting.api --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ org.apache.sling.scripting.api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/ws/target/classes [INFO] [INFO] --- maven-scr-plugin:1.16.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.scripting.api --- [JENKINS] Archiving disabled
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling SlingRepository Integration Tests #2
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.jcr.repository.it-jackrabbit-oak/2/
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling Resource Resolver #2
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.resourceresolver/2/
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling SLF4J Implementation (Logback) #2
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.commons.log/2/
Build failed in Jenkins: sling-trunk-1.8 #2
See https://builds.apache.org/job/sling-trunk-1.8/2/changes Changes: [rombert] [maven-release-plugin] prepare for next development iteration [rombert] [maven-release-plugin] prepare release sling-20 [cziegeler] Move OCM to contrib [cziegeler] Move OCM to contrib -- [...truncated 21832 lines...] [INFO] Sling Taglib Archetype SUCCESS [5.610s] [INFO] Apache Sling API .. SUCCESS [16.873s] [INFO] Apache Sling Resource Resolver SUCCESS [15.340s] [INFO] Apache Sling System Bundle Extension: Java Transaction API SUCCESS [6.608s] [INFO] Apache Sling System Bundle Extension: XML APIs SUCCESS [3.908s] [INFO] Apache Sling System Bundle Extension: Activation API SUCCESS [3.682s] [INFO] Apache Sling System Bundle Extension: WS APIs . SUCCESS [3.795s] [INFO] Apache Sling Dynamic Class Loader Support . SUCCESS [24.567s] [INFO] Apache Sling Commons Java Compiler SUCCESS [7.070s] [INFO] Apache Sling JSON Library . SUCCESS [8.618s] [INFO] Apache Sling SLF4J Implementation (Logback) ... SUCCESS [2:53.935s] [INFO] Apache Sling OSGi LogService Implementation ... SUCCESS [5.556s] [INFO] Apache Sling MIME type mapping support SUCCESS [8.167s] [INFO] Apache Sling Commons OSGi support . SUCCESS [6.303s] [INFO] Apache Sling Scheduler Support SUCCESS [5.935s] [INFO] Apache Sling Testing Utilities SUCCESS [15.035s] [INFO] Apache Sling Thread Dumper SUCCESS [5.899s] [INFO] Apache Sling Thread Support ... SUCCESS [5.361s] [INFO] Apache Sling Authentication Service ... SUCCESS [8.247s] [INFO] Apache Sling OpenID Authentication SUCCESS [11.275s] [INFO] Apache Sling Form Based Authentication Handler SUCCESS [9.042s] [INFO] Apache Sling Authentication Selector .. SUCCESS [7.914s] [INFO] Apache Sling Engine Implementation SUCCESS [18.463s] [INFO] Apache Sling Repository API Bundle SUCCESS [5.238s] [INFO] Apache Sling JCR Base Bundle .. SUCCESS [6.224s] [INFO] Apache Sling JCR ClassLoader .. SUCCESS [5.931s] [INFO] Apache Sling Initial Content Loader ... SUCCESS [9.120s] [INFO] Apache Sling Jackrabbit Embedded Repository ... SUCCESS [9.617s] [INFO] Apache Sling Jackrabbit UserManager Support ... SUCCESS [6.309s] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SUCCESS [5.839s] [INFO] Apache Sling Wrapper Bundle for the JCR API ... SUCCESS [3.826s] [INFO] Apache Sling JCR Resource Resolver SUCCESS [36.825s] [INFO] Apache Sling JCR Repository Registration .. SUCCESS [7.004s] [INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [6.423s] [INFO] Apache Sling DavEx Access to repositories . SUCCESS [6.583s] [INFO] Apache Sling JCR WebConsole Bundle SUCCESS [5.908s] [INFO] Apache Sling Oak Repository Server SUCCESS [6.186s] [INFO] Apache Sling SlingRepository Integration Tests SUCCESS [5:11.535s] [INFO] Apache Sling Servlet Resolver . SUCCESS [8.866s] [INFO] Apache Sling Default GET Servlets . SUCCESS [11.282s] [INFO] Apache Sling Default POST Servlets SUCCESS [8.565s] [INFO] Apache Sling Compat Servlets .. SUCCESS [5.845s] [INFO] Apache Sling Scripting Implementation API . FAILURE [0.735s] [INFO] Apache Sling Scripting Core implementation SKIPPED [INFO] Apache Sling Scripting JavaScript Support . SKIPPED [INFO] Apache Sling Scripting JSP Support SKIPPED [INFO] Apache Sling JSP Tag Library .. SKIPPED [INFO] Apache Sling JSP Standard Tag Library . SKIPPED [INFO] Apache Sling Adapter Manager Implementation ... SKIPPED [INFO] Apache Sling Bundle Resource Provider . SKIPPED [INFO] Apache Sling Discovery API SKIPPED [INFO] Apache Sling Resource-Based Discovery Service . SKIPPED [INFO] Apache Sling Discovery Support Bundle . SKIPPED [INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED [INFO] Apache Sling Event Support SKIPPED [INFO] Apache Sling Feature Flags SKIPPED [INFO] Apache Sling Filesystem Resource Provider . SKIPPED [INFO] Apache Sling javax.activation bundle .. SKIPPED [INFO] Apache Sling Service User Mapper .. SKIPPED [INFO] Apache Sling Settings . SKIPPED [INFO] Apache Sling Web Console Branding . SKIPPED [INFO] Apache Sling Web Console Security Provider SKIPPED [INFO] Apache Sling Groovy Extensions SKIPPED [INFO]
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling Dynamic Class Loader Support #2
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.commons.classloader/2/
[jira] [Commented] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077595#comment-14077595 ] Chetan Mehrotra commented on SLING-3634: [~ArtyomStetsenko] Have a look at [1] and SLING-3243. In brief * Slf4j Bundle version in launchpad (and hence at runtime) is 1.7.5. So at runtime Sling make use of latest Slf4j * Version in parent pom is 1.5.2 so that import range generated by bnd remains compatible * For bundles which need to use newer version they need to override the version in there pom as explained in [1] [1] http://sling.apache.org/documentation/development/logging.html#using-slf4j-api-17 Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: [VOTE] Release Apache Sling IDE Tooling 1.0.2
On Tue, Jul 29, 2014 at 12:38 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: There's a stray (I suppose) ./org.apache.sling.ide.source-bundle-1.0.2/derby.log in that jar file. Also, it contains a number of Eclipse project files (.project etc.), and some .gitignore files, not sure if that's on purpose. Not a blocker for the release IMO. Thanks, I made a note of that on SLING-3685 and will address for the next release. -- Sent from my (old) computer
[jira] [Commented] (SLING-3685) Document and further automate the IDE tooling release process
[ https://issues.apache.org/jira/browse/SLING-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077612#comment-14077612 ] Robert Munteanu commented on SLING-3685: As [noted by Bertrand|http://markmail.org/message/4nmd75thjhqcipaz]: {quote}There's a stray (I suppose) ./org.apache.sling.ide.source-bundle-1.0.2/derby.log in that jar file. Also, it contains a number of Eclipse project files (.project etc.), and some .gitignore files, not sure if that's on purpose{quote} Document and further automate the IDE tooling release process - Key: SLING-3685 URL: https://issues.apache.org/jira/browse/SLING-3685 Project: Sling Issue Type: Task Components: IDE Reporter: Robert Munteanu Fix For: Sling Eclipse IDE 1.0.4 Attachments: sign.sh The current release process is very much manual, due to some of tycho's peculiarities ( see also SLING-3620 ). This task tracks the documentation of this release process and possible automation enhancements. -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: [VOTE] Release Apache Sling IDE Tooling 1.0.2
The vote has passed with three binding votes from Stefan Egli, Robert Munteanu and Bertrand Delacretaz. Robert On Tue, Jul 29, 2014 at 2:08 PM, Robert Munteanu rob...@lmn.ro wrote: On Tue, Jul 29, 2014 at 12:38 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: There's a stray (I suppose) ./org.apache.sling.ide.source-bundle-1.0.2/derby.log in that jar file. Also, it contains a number of Eclipse project files (.project etc.), and some .gitignore files, not sure if that's on purpose. Not a blocker for the release IMO. Thanks, I made a note of that on SLING-3685 and will address for the next release. -- Sent from my (old) computer -- Sent from my (old) computer
[jira] [Commented] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077614#comment-14077614 ] Carsten Ziegeler commented on SLING-3634: - As varargs works with the version we're using, I'm setting this to wont fix, agreed? Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Comment Edited] (SLING-3685) Document and further automate the IDE tooling release process
[ https://issues.apache.org/jira/browse/SLING-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040663#comment-14040663 ] Robert Munteanu edited comment on SLING-3685 at 7/29/14 11:27 AM: -- For reference, this is the current release process, assuming that the current version is 1.0.1-SNAPSHOT * set the fix version as released: {{mvn tycho-versions:set-version -DnewVersion=1.0.2}} * update the version of the source-bundle project to 1.0.2 * commit the change to svn * manually tag in svn {{svn copy https://svn.apache.org/repos/asf/sling/trunk/tooling/ide https://svn.apache.org/repos/asf/sling/tags/sling-ide-tooling-1.0.2}} * build the project with p2/gpg signing enabled {{mvn clean package -Psign}} * build the source bundle from the source-bundle directory {{ mvn clean package}} * copy the following artifacts to https://dist.apache.org/repos/dist/dev/sling/ide-tooling-1.0.2 ** source bundle ( sling-ide-tooling-1.0.2.jar ) ** zipped p2 repository ( org.apache.sling.ide.p2update-1.0.2.zip ) ** ensure the artifacts are checksummed and gpg-signed * call the vote * Update to next version, e.g. {{mvn tycho-versions:set-version -DnewVersion=1.0.3-SNAPSHOT}} Once the release has passed, the following must be done: * upload p2update.zip* to https://dist.apache.org/repos/dist/release/sling/ * upload unzipped update site to https://dist.apache.org/repos/dist/release/sling/eclipse/1.0.2 * upload the source bundle to https://dist.apache.org/repos/dist/release/sling/eclipse/1.0.2 ** create GPG signatures and checksums for all uploaded jars, possibly using the attached [^sign.sh] script * update https://dist.apache.org/repos/dist/release/sling/eclipse/composite\{Content,Artifacts\}.xml to point to the latest $VERSION ( remove old one ) * archive the old artifact versions but leave pointers to archive.apache.org, using compositeArtifacts.xml/compositeContent.xml , with a single child entry pointing to https://archive.apache.org/dist/sling/eclipse/1.0.0/ was (Author: rombert): For reference, this is the current release process, assuming that the current version is 1.0.1-SNAPSHOT * set the fix version as released: {{mvn tycho-versions:set-version -DnewVersion=1.0.2}} * update the version of the source-bundle project to 1.0.2 * commit the change to svn * manually tag in svn {{svn copy https://svn.apache.org/repos/asf/sling/trunk/tooling/ide https://svn.apache.org/repos/asf/sling/tags/sling-ide-tooling-1.0.2}} * build the project with p2/gpg signing enabled {{mvn clean package -Psign}} * build the source bundle from the source-bundle directory {{ mvn clean package}} * copy the following artifacts to https://dist.apache.org/repos/dist/dev/sling/ide-tooling-1.0.2 ** source bundle ( sling-ide-tooling-1.0.2.jar ) ** zipped p2 repository ( org.apache.sling.ide.p2update-1.0.2.zip ) ** ensure the artifacts are checksummed and gpg-signed * call the vote * Update to next version, e.g. {{mvn tycho-versions:set-version -DnewVersion=1.0.3-SNAPSHOT}} Once the release has passed, the following must be done: * upload p2update.zip* to https://dist.apache.org/repos/dist/release/sling/ * upload unzipped update site to https://dist.apache.org/repos/dist/release/sling/eclipse/1.0.2 * upload the source bundle to https://dist.apache.org/repos/dist/release/sling/eclipse/1.0.2 ** create GPG signatures and checksums for all uploaded jars, possibly using the attached [^sign.sh] script * update https://dist.apache.org/repos/dist/release/sling/eclipse/composite\{Content,Artifacts\}.xml to point to the latest $VERSION ( remove old one ) * (TODO how?) archive the old artifact versions but leave pointers to archive.apache.org Document and further automate the IDE tooling release process - Key: SLING-3685 URL: https://issues.apache.org/jira/browse/SLING-3685 Project: Sling Issue Type: Task Components: IDE Reporter: Robert Munteanu Fix For: Sling Eclipse IDE 1.0.4 Attachments: sign.sh The current release process is very much manual, due to some of tycho's peculiarities ( see also SLING-3620 ). This task tracks the documentation of this release process and possible automation enhancements. -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: [VOTE] Release Apache Sling Parent version 20
+1 On Tue, Jul 29, 2014 at 12:27 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: On Tue, Jul 29, 2014 at 10:53 AM, Robert Munteanu romb...@apache.org wrote: ... sh check_staged_release.sh 1086 /tmp/sling-staging... +1 for releasing SHA1(sling-20-source-release.zip)= 76643cc8e5348916f56a5cd7b58175fbaa1282bc -Bertrand
[jira] [Commented] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077671#comment-14077671 ] Artyom Stetsenko commented on SLING-3634: - Didn't notice the note about this in the Sling documentation. I agree that the approach indicated there works. But I fail to see why it would be a problem to increase the API version in the parent, given that {{Import-Package}} in each bundle is maintained so that the version range is wide enough. Here is a quote from http://www.slf4j.org/codes.html#version_mismatch: {quote} From the client's perspective all versions of slf4j-api are compatible. Client code compiled with slf4j-api-N.jar will run perfectly fine with slf4j-api-M.jar for any N and M. You only need to ensure that the version of your binding matches that of the slf4j-api.jar. {quote} If I understand correctly, that means that a bundle compiled with any slf4j-api should be runnable on a system providing any slf4j-api, which justifies the version bump in the parent. Also, doesn't this mean that {{Import-Package}} of {{org.slf4j}} may be set globally to a value like {{[1.5,2)}} (or even any version) in the parent instead of individually in each bundle? Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
Jenkins build is still unstable: sling-oak-it-1.6 » Apache Sling Launchpad Testing #45
See https://builds.apache.org/job/sling-oak-it-1.6/org.apache.sling$org.apache.sling.launchpad.testing/45/
Jenkins build is still unstable: sling-oak-it-1.6 #45
See https://builds.apache.org/job/sling-oak-it-1.6/45/
[jira] [Commented] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077676#comment-14077676 ] Carsten Ziegeler commented on SLING-3634: - The Import-Package for slf4j is not set in a bundle, it is calculated during the build - and that's where the problem is; if the dependency is 1.5.2, the calculated range will be [1.5.2, 2.0.0) - if the dependency is 1.7.5 the range will be [1.7.5, 2.0.0) - therefore a bundle built with the latter dependency will not run in an older installation where only api 1.5.2 is available. Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
Jenkins build became unstable: sling-trunk-1.7 #716
See https://builds.apache.org/job/sling-trunk-1.7/716/changes
Re: Idea: Caching in Sling
Ben, we chose a bit of a different approach and added html caching for CQ a while back http://www.headwire.com/svn/projects/cqbpcache/trunk/cqbpcache/ basically,we use a tag that allows you to monitor changes in a path and cache the html accordingly until a node in the path (or one if its subnodes) changes. Feel free to try it out, feedback welcome Ruben On 7/28/2014 11:15 PM, Ben Zahler wrote: Hi all, We are considering to implement a resource-based caching in Sling. I have found some efforts to do something similar in the past, but they all seem to have been either abandoned or do something different from what we have in mind. So it would be great to get some feedback if it this has been tried before and was given up or if our idea is just not what the Sling-world is waiting for. This is what our Sling-Cache would do: - deliver sling resources from cache based on an exact path - deliver sling resources from cache for a subtree of the repository The following scenarios would benefit from such a cache: - navigation components that are expensive to calculate and are identical for whole subtrees of a site - cacheable components on non-caheable pages - CQ use cases with dispatcher caching invalidate the large sections or the whole cache. After an invalidation, for a short time all traffic hits CQ/Sling. With resource based caching, this could be improved, allowing Sling to scale better. Of course we would create an open-source implementation of our idea, caching either in memory or in the repository itself and leave room for other implementations with external caches. So is this an idea you would love to see implemented or is it rather something that you deem unnecessarily complex? Thanks for any feedback! Cheers, Ben Zahler Inside Solutions AG | Bahnhofplatz 11 | 4410 Liestal | Schweiz Telefon: +41 61 551 00 40 | Direkt: +41 61 551 00 43 http://www.inside-solutions.chhttp://www.inside-solutions.ch/
Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #2338
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/2338/
Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Installer Integration Tests #2338
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/2338/
Jenkins build became unstable: sling-trunk-1.6 #2338
See https://builds.apache.org/job/sling-trunk-1.6/2338/changes
Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Pax Exam Utilities #2338
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.paxexam.util/2338/
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling Dynamic Class Loader Support #3
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.commons.classloader/3/
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling Resource Resolver #3
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.resourceresolver/3/
Build failed in Jenkins: sling-trunk-1.8 » Apache Sling Scripting Implementation API #3
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/3/ -- [INFO] [INFO] [INFO] Building Apache Sling Scripting Implementation API 2.1.7-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.scripting.api --- [INFO] Deleting https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/ws/target [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.scripting.api --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @ org.apache.sling.scripting.api --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.6 from sling.java.version=6 [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.scripting.api --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.sling.scripting.api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/ws/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @ org.apache.sling.scripting.api --- [INFO] Executing tasks main: [echo] WARNING (SLING-443/SLING-1782) ** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=256M, see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M, see SLING-1782 [echo] ** [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ org.apache.sling.scripting.api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.scripting.api/ws/target/classes [INFO] [INFO] --- maven-scr-plugin:1.16.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.scripting.api --- [JENKINS] Archiving disabled
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling SlingRepository Integration Tests #3
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.jcr.repository.it-jackrabbit-oak/3/
Build failed in Jenkins: sling-trunk-1.8 #3
See https://builds.apache.org/job/sling-trunk-1.8/3/changes Changes: [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations [cziegeler] Clean up usage of SCR annotations -- [...truncated 12280 lines...] [INFO] Sling Taglib Archetype SUCCESS [6.110s] [INFO] Apache Sling API .. SUCCESS [21.484s] [INFO] Apache Sling Resource Resolver SUCCESS [31.739s] [INFO] Apache Sling System Bundle Extension: Java Transaction API SUCCESS [6.640s] [INFO] Apache Sling System Bundle Extension: XML APIs SUCCESS [6.285s] [INFO] Apache Sling System Bundle Extension: Activation API SUCCESS [8.493s] [INFO] Apache Sling System Bundle Extension: WS APIs . SUCCESS [6.359s] [INFO] Apache Sling Dynamic Class Loader Support . SUCCESS [38.720s] [INFO] Apache Sling Commons Java Compiler SUCCESS [17.680s] [INFO] Apache Sling JSON Library . SUCCESS [15.448s] [INFO] Apache Sling SLF4J Implementation (Logback) ... SUCCESS [3:21.397s] [INFO] Apache Sling OSGi LogService Implementation ... SUCCESS [8.970s] [INFO] Apache Sling MIME type mapping support SUCCESS [12.488s] [INFO] Apache Sling Commons OSGi support . SUCCESS [9.478s] [INFO] Apache Sling Scheduler Support SUCCESS [9.131s] [INFO] Apache Sling Testing Utilities SUCCESS [31.853s] [INFO] Apache Sling Thread Dumper SUCCESS [6.304s] [INFO] Apache Sling Thread Support ... SUCCESS [9.075s] [INFO] Apache Sling Authentication Service ... SUCCESS [14.728s] [INFO] Apache Sling OpenID Authentication SUCCESS [17.531s] [INFO] Apache Sling Form Based Authentication Handler SUCCESS [13.248s] [INFO] Apache Sling Authentication Selector .. SUCCESS [6.137s] [INFO] Apache Sling Engine Implementation SUCCESS [38.748s] [INFO] Apache Sling Repository API Bundle SUCCESS [6.557s] [INFO] Apache Sling JCR Base Bundle .. SUCCESS [12.434s] [INFO] Apache Sling JCR ClassLoader .. SUCCESS [12.230s] [INFO] Apache Sling Initial Content Loader ... SUCCESS [17.294s] [INFO] Apache Sling Jackrabbit Embedded Repository ... SUCCESS [15.377s] [INFO] Apache Sling Jackrabbit UserManager Support ... SUCCESS [11.680s] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SUCCESS [9.329s] [INFO] Apache Sling Wrapper Bundle for the JCR API ... SUCCESS [6.084s] [INFO] Apache Sling JCR Resource Resolver SUCCESS [45.083s] [INFO] Apache Sling JCR Repository Registration .. SUCCESS [12.524s] [INFO] Apache Sling Simple WebDAV Access to repositories . SUCCESS [8.824s] [INFO] Apache Sling DavEx Access to repositories . SUCCESS [12.570s] [INFO] Apache Sling JCR WebConsole Bundle SUCCESS [3.941s] [INFO] Apache Sling Oak Repository Server SUCCESS [10.712s] [INFO] Apache Sling SlingRepository Integration Tests SUCCESS [5:24.003s] [INFO] Apache Sling Servlet Resolver . SUCCESS [17.257s] [INFO] Apache Sling Default GET Servlets . SUCCESS [17.528s] [INFO] Apache Sling Default POST Servlets SUCCESS [14.811s] [INFO] Apache Sling Compat Servlets .. SUCCESS [5.807s] [INFO] Apache Sling Scripting Implementation API . FAILURE [2.845s] [INFO] Apache Sling Scripting Core implementation SKIPPED [INFO] Apache Sling Scripting JavaScript Support . SKIPPED [INFO] Apache Sling Scripting JSP Support SKIPPED [INFO] Apache Sling JSP Tag Library .. SKIPPED [INFO] Apache Sling JSP Standard Tag Library . SKIPPED [INFO] Apache Sling Adapter Manager Implementation ... SKIPPED [INFO] Apache Sling Bundle Resource Provider . SKIPPED [INFO] Apache Sling Discovery API SKIPPED [INFO] Apache Sling Resource-Based Discovery Service . SKIPPED [INFO] Apache Sling Discovery Support Bundle . SKIPPED [INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED [INFO] Apache Sling Event Support SKIPPED [INFO] Apache Sling Feature Flags SKIPPED [INFO] Apache Sling Filesystem Resource Provider . SKIPPED [INFO] Apache Sling javax.activation bundle .. SKIPPED [INFO] Apache Sling Service User Mapper .. SKIPPED [INFO] Apache Sling Settings
Jenkins build is still unstable: sling-trunk-1.8 » Apache Sling SLF4J Implementation (Logback) #3
See https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.commons.log/3/
Jenkins build is still unstable: sling-trunk-1.7 #717
See https://builds.apache.org/job/sling-trunk-1.7/changes
Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #717
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/717/
Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Launchpad Testing #2339
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/2339/
Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Pax Exam Utilities #2339
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.paxexam.util/2339/
Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Installer Integration Tests #2339
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.installer.it/2339/
Jenkins build is back to stable : sling-trunk-1.6 #2339
See https://builds.apache.org/job/sling-trunk-1.6/2339/changes
[RESULT] [VOTE] Release Apache Sling Resource-Based Discovery Service 1.0.10
Hi, The vote has passed with the following result: +1 (binding) : Carsten Ziegeler, Robert Munteanu, Daniel Klco, Chetan Mehrotra +1 (non-binding) : none I'll take care of the remaining steps Cheers, Stefan
[jira] [Resolved] (SLING-3634) Update Parent to latest slf4j
[ https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-3634. - Resolution: Won't Fix Update Parent to latest slf4j - Key: SLING-3634 URL: https://issues.apache.org/jira/browse/SLING-3634 Project: Sling Issue Type: Improvement Components: General Affects Versions: Parent 19 Reporter: Artyom Stetsenko Priority: Minor The currently specified slf4j 1.5.2 is nearly six years old. -- This message was sent by Atlassian JIRA (v6.2#6252)
Jenkins build is still unstable: sling-oak-it-1.6 » Apache Sling Launchpad Testing #46
See https://builds.apache.org/job/sling-oak-it-1.6/org.apache.sling$org.apache.sling.launchpad.testing/46/
Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Launchpad Testing #718
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/718/
Jenkins build is back to stable : sling-trunk-1.7 #718
See https://builds.apache.org/job/sling-trunk-1.7/718/changes
RE: [VOTE] Release Apache Sling Parent version 20
+1 Best regards mike -Original Message- From: Robert Munteanu [mailto:romb...@apache.org] Sent: Tuesday, July 29, 2014 10:54 AM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Parent version 20 Hi, We solved 3 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12326694 There are still some outstanding issues: https://issues.apache.org/jira/browse/SLING/component/12312329 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1086 You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/sling/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 1086 /tmp/sling-staging Please vote to approve this release: [ ] +1 Approve the release [ ] 0 Don't care [ ] -1 Don't release, because ... This majority vote is open for at least 72 hours.