Re: Using the provisioning model

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 07:55 schrieb Radu Cotescu: Hi Carsten, Does the slingstart plugin provide support for creating custom launchpads (similar to the additional bundles feature of the launchpad plugin)? Yes, you have the same functionality with the added bonus that you don't have to repeat the

Re: Using the provisioning model

2015-04-08 Thread Robert Munteanu
On Wed, Apr 8, 2015 at 8:29 AM, Carsten Ziegeler cziege...@apache.org wrote: Hi, as mentioned before I think we should move to the provisioning model and replace the old xml based bundle list. The major features are implemented and the latest maven slingstart plugin supports building and

Re: Cleaning up our documentation mess

2015-04-08 Thread Robert Munteanu
On Wed, Apr 8, 2015 at 8:33 AM, Carsten Ziegeler cziege...@apache.org wrote: I suggested we now clean up the mess, simply create redirects for all old pages to the new ones and remove all the banners. +1 How do we create redirects? Robert

Re: Cleaning up our documentation mess

2015-04-08 Thread Oliver Lietz
On Wednesday 08 April 2015 07:33:34 Carsten Ziegeler wrote: Right now we have some of the old documentation still available at http://sling.apache.org/site/* with a marker on each page indicating that the doc is outdated. (Famous excuse our mess page at

Build failed in Jenkins: sling-trunk-1.8 #947

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.8/947/changes Changes: [cziegeler] Use newer pax exam [cziegeler] SLING-4407 : introduce an audit-style logger to job handling -- [...truncated 19447 lines...] [INFO] Apache Sling OSGi LogService

Re: Using the provisioning model

2015-04-08 Thread Oliver Lietz
On Wednesday 08 April 2015 07:29:17 Carsten Ziegeler wrote: Hi, Hi Carsten, as mentioned before I think we should move to the provisioning model and replace the old xml based bundle list. The major features are implemented and the latest maven slingstart plugin supports building and

[jira] [Commented] (SLING-2523) Improve the JCR Installer

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485080#comment-14485080 ] Carsten Ziegeler commented on SLING-2523: - I think there is still room for

Re: [VOTE] Release Apache Sling i18n 2.4.0

2015-04-08 Thread Oliver Lietz
On Tuesday 07 April 2015 08:11:31 Carsten Ziegeler wrote: Am 05.04.15 um 21:49 schrieb Oliver Lietz: On Wednesday 01 April 2015 15:43:00 Carsten Ziegeler wrote: Hi, We solved 3 issues for this release https://issues.apache.org/jira/browse/SLING/fixforversion/12329265 This looks

Re: [VOTE] Release Apache Sling Scripting Sightly JS Use Provider 1.0.2

2015-04-08 Thread Carsten Ziegeler
+1 -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org

[jira] [Commented] (SLING-2523) Improve the JCR Installer

2015-04-08 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485072#comment-14485072 ] Konrad Windszus commented on SLING-2523: Can we close this as Duplicate now that

[jira] [Commented] (SLING-4447) Improve JavaUseProvider to not fall back to a simple Pojo instantiation in case a Java class with @Model annotation cannot be instantiated

2015-04-08 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485149#comment-14485149 ] Radu Cotescu commented on SLING-4447: - I'm working in parallel to move Sightly out of

Re: Providing an extension point for Sightly resource include behaviour

2015-04-08 Thread Gabriel Walt
Hi Dirk, It is possible to do what you describe with data-sly-template. The two statements data-sly-template and data-sly-use are the extension points that allow to do in Sightly what TagLibs and Scriptlets do in JSP. What you said for JSP is even more true for Sightly: In times of Sightly, it

[VOTE] Release Apache Sling JCR Installer 3.1.16

2015-04-08 Thread Carsten Ziegeler
Hi, We solved 1 issue for this release https://issues.apache.org/jira/browse/SLING/fixforversion/12329671 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1231/ You can use this UNIX script to download the release and verify the signatures:

Re: [VOTE] Release Apache Sling JCR Installer 3.1.16

2015-04-08 Thread Carsten Ziegeler
+1 Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org

Re: [VOTE] Release Apache Sling JCR Installer 3.1.16

2015-04-08 Thread Stefan Egli
+1, Cheers, Stefan On 4/8/15 12:53 PM, Carsten Ziegeler cziege...@apache.org wrote: Hi, We solved 1 issue for this release https://issues.apache.org/jira/browse/SLING/fixforversion/12329671 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1231/ You can

Re: Suggestion: Make MergedValueMap lazy for better performance

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 09:24 schrieb Julian Sedding: Hi Joel In my experience more often than not lazy loading in rendering components is very much desirable. So my +1 for that. You say that most often MergedValueMap is created based on a single ValueMap. I haven't looked at the code just now,

Jenkins build is back to normal : sling-trunk-1.7 #1659

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/1659/changes

Re: Providing an extension point for Sightly resource include behaviour

2015-04-08 Thread Vlad Bailescu
Hey Dirk, The way to go about doing this at the moment is to provide your own RuntimeExtension (with a higher service ranking). Best, Vlad On Tue, Apr 7, 2015 at 12:46 PM, Dirk Rudolph dirk.rudo...@netcentric.biz wrote: Hi @devs, while working on a project with a default Apache Sling based

Build failed in Jenkins: sling-contrib-1.6 #1743

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-contrib-1.6/1743/changes Changes: [radu] [maven-release-plugin] prepare for next development iteration [radu] [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.testing-1.0.4 [radu] releng: updating Sightly dependencies to

Re: Cleaning up our documentation mess

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 08:48 schrieb Robert Munteanu: +1 How do we create redirects? It's currently done in the site/.htaccess file. Regards Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org

Re: svn commit: r1671863 - in /sling/trunk/bundles/commons/logservice: pom.xml src/main/java/org/apache/sling/commons/logservice/internal/LogSupport.java

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 10:24 schrieb Chetan Mehrotra: On Tue, Apr 7, 2015 at 8:25 PM, cziege...@apache.org wrote: +final ServiceReference slRef = bundle.getBundleContext().getServiceReference(StartLevel.class.getName()); +final StartLevel sl = (StartLevel)

[jira] [Commented] (SLING-3829) Add support for Content-Disposition attachment

2015-04-08 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484993#comment-14484993 ] Antonio Sanso commented on SLING-3829: -- [~alexander.klimetschek] let's track the

[jira] [Closed] (SLING-3829) Add support for Content-Disposition attachment

2015-04-08 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso closed SLING-3829. Add support for Content-Disposition attachment ---

[jira] [Commented] (SLING-4407) introduce an audit-style logger to job handling

2015-04-08 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484869#comment-14484869 ] Stefan Egli commented on SLING-4407: I would tend towards debug such as to make

Build failed in Jenkins: sling-trunk-1.7 #1658

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/1658/changes Changes: [cziegeler] Use newer pax exam [cziegeler] SLING-4407 : introduce an audit-style logger to job handling -- [...truncated 57702 lines...] [INFO] Apache Sling OSGi LogService

Jenkins build is back to normal : sling-trunk-1.6 #3267

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/3267/changes

Jenkins build is back to normal : sling-trunk-1.8 #948

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.8/948/changes

[jira] [Commented] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource

2015-04-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484913#comment-14484913 ] Felix Meschberger commented on SLING-4585: -- As I pointed at in [my

Re: [VOTE] Release Apache Sling Scripting Sightly JS Use Provider 1.0.2

2015-04-08 Thread Stefan Egli
+1 (verified md5 sha1 on sightly.js.provider/1.0.2, sightly.testing/1.0.4 and sightly.testing-content/1.0.4) Cheers, Stefan On 4/7/15 5:57 PM, Radu Cotescu r...@apache.org wrote: Hi, We solved one issue in this release: *https://issues.apache.org/jira/browse/SLING/fixforversion/12329864

Re: Providing an extension point for Sightly resource include behaviour

2015-04-08 Thread Dirk Rudolph
Thanks for you feedback. So you suggest to implement a decorator around ResourcePlugin.FUNCTION for handling different behaviours. I’m fine with this. However wouldn’t it make sense to provide a central extension point for that use case? In my eyes it is quite common to use different include

[jira] [Resolved] (SLING-4407) introduce an audit-style logger to job handling

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-4407. - Resolution: Fixed Added new logger category org.apache.sling.event.jobs.audit. All audit

Re: Suggestion: Make MergedValueMap lazy for better performance

2015-04-08 Thread Julian Sedding
Hi Joel In my experience more often than not lazy loading in rendering components is very much desirable. So my +1 for that. You say that most often MergedValueMap is created based on a single ValueMap. I haven't looked at the code just now, but I'm wondering if creation could happen in a

Re: svn commit: r1671863 - in /sling/trunk/bundles/commons/logservice: pom.xml src/main/java/org/apache/sling/commons/logservice/internal/LogSupport.java

2015-04-08 Thread Chetan Mehrotra
On Tue, Apr 7, 2015 at 8:25 PM, cziege...@apache.org wrote: +final ServiceReference slRef = bundle.getBundleContext().getServiceReference(StartLevel.class.getName()); +final StartLevel sl = (StartLevel) bundle.getBundleContext().getService(slRef); +

Re: [VOTE] Release Apache Sling Scripting Sightly JS Use Provider 1.0.2

2015-04-08 Thread Robert Munteanu
+1 In the future, please include the name of all artifacts being voted on in the email subject. Thanks, Robert On Wed, Apr 8, 2015 at 11:18 AM, Stefan Egli stefane...@apache.org wrote: +1 (verified md5 sha1 on sightly.js.provider/1.0.2, sightly.testing/1.0.4 and

[RESULT][VOTE] Release Apache Sling Security version 1.0.10

2015-04-08 Thread Antonio Sanso
The vote passed with 3 +1 binding votes regards antonio

Jenkins build became unstable: sling-trunk-1.7 #1663

2015-04-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/1663/changes

[jira] [Created] (SLING-4590) topology console reporting a inconsistent state of topology after split.

2015-04-08 Thread Michael Tarantino (JIRA)
Michael Tarantino created SLING-4590: Summary: topology console reporting a inconsistent state of topology after split. Key: SLING-4590 URL: https://issues.apache.org/jira/browse/SLING-4590

Re: Suggestion: Make MergedValueMap lazy for better performance

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 16:02 schrieb Joel Richard: I have created the following issue for it: https://issues.apache.org/jira/browse/SLING-4589 Great, thanks! It would be great if we would have a performance testing module where we can easily see how the performance is improving/behaving. Regards

[jira] [Updated] (SLING-4580) Remove extra null check for metadata

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4580: Affects Version/s: (was: i18n 2.4.0) Remove extra null check for metadata

[jira] [Updated] (SLING-4579) Regression introduced by SLING-4512 : JCR API used in i18n implementation

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4579: Fix Version/s: (was: i18n 2.4.2) i18n 2.4.0 Regression introduced

[jira] [Updated] (SLING-4579) Regression introduced by SLING-4512 : JCR API used in i18n implementation

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4579: Affects Version/s: (was: i18n 2.4.0) Regression introduced by SLING-4512 : JCR API

[jira] [Updated] (SLING-4580) Remove extra null check for metadata

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4580: Fix Version/s: (was: i18n 2.4.2) i18n 2.4.0 Remove extra null check

Re: Suggestion: Make MergedValueMap lazy for better performance

2015-04-08 Thread Joel Richard
I have created the following issue for it: https://issues.apache.org/jira/browse/SLING-4589 - Joel On 08/04/15 07:30, Carsten Ziegeler cziege...@apache.org wrote: Am 08.04.15 um 09:24 schrieb Julian Sedding: Hi Joel In my experience more often than not lazy loading in rendering

[GitHub] sling pull request: New SlingAdaptToAttrProcessor to support Sling...

2015-04-08 Thread m-kay
GitHub user m-kay opened a pull request: https://github.com/apache/sling/pull/83 New SlingAdaptToAttrProcessor to support Sling Models in Thymeleaf scripting engine You can merge this pull request into a Git repository by running: $ git pull https://github.com/m-kay/sling

[jira] [Updated] (SLING-4588) JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node.

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4588: Affects Version/s: (was: JCR Resource 2.5.2) JCR Resource 2.5.0

[jira] [Assigned] (SLING-4588) JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node.

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-4588: --- Assignee: Carsten Ziegeler JcrNodeResourceIterator : wrong paths generated when the

[jira] [Updated] (SLING-4588) JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node.

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4588: Fix Version/s: JCR Resource 2.5.2 JcrNodeResourceIterator : wrong paths generated when the

[jira] [Commented] (SLING-4579) Regression introduced by SLING-4512 : JCR API used in i18n implementation

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485201#comment-14485201 ] Carsten Ziegeler commented on SLING-4579: - I've added the node type (= resource

[jira] [Created] (SLING-4588) JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node.

2015-04-08 Thread Guillaume Douillet (JIRA)
Guillaume Douillet created SLING-4588: - Summary: JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node. Key: SLING-4588 URL:

Re: [VOTE] Release Apache Sling JCR Installer 3.1.16

2015-04-08 Thread Robert Munteanu
On Wed, 2015-04-08 at 12:53 +0200, Carsten Ziegeler wrote: Hi, We solved 1 issue for this release https://issues.apache.org/jira/browse/SLING/fixforversion/12329671 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1231/ You can use this UNIX script

[jira] [Created] (SLING-4589) Performance: Read properties lazily in MergedValueMap

2015-04-08 Thread Joel Richard (JIRA)
Joel Richard created SLING-4589: --- Summary: Performance: Read properties lazily in MergedValueMap Key: SLING-4589 URL: https://issues.apache.org/jira/browse/SLING-4589 Project: Sling Issue

Re: [VOTE] Release Apache Sling i18n 2.4.0

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 13:45 schrieb Oliver Lietz: You've already fixed both issues - shouldn't we just go for 2.4.2 quickly and drop 2.4.0? Yes, as SLING-4579 is a regression, I agree. Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org

[jira] [Resolved] (SLING-4588) JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node.

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-4588. - Resolution: Fixed Thanks Guillaume for reporting and providing a test case. I fixed the

[jira] [Commented] (SLING-4579) Regression introduced by SLING-4512 : JCR API used in i18n implementation

2015-04-08 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485363#comment-14485363 ] Alexander Klimetschek commented on SLING-4579: -- No, it's the price to pay if

Re: Suggestion: Implement specific getParent for JcrNodeResource

2015-04-08 Thread Carsten Ziegeler
Am 08.04.15 um 16:50 schrieb Joel Richard: Hi, I have noticed that on some “resource intensive” pages up to 24% of the rendering time is spent in AbstractResource.getParent(). One of the reasons for this is because the ParentHidingHandler traverses for each resource to the root (see

Re: Using the provisioning model

2015-04-08 Thread Carsten Ziegeler
Hi, Am 08.04.15 um 13:07 schrieb Oliver Lietz: I hadn't time to look deeper into the new provisioning model (still on my TODO) and adapt it for Karaf. Can it represent features or subsystems and their dependencies and capabilities (as we discussed with David Bosschaert at last year's

[VOTE CANCELLED] Release Apache Sling i18n 2.4.0

2015-04-08 Thread Carsten Ziegeler
I cancel this vote due to the found regression Thanks Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org

Suggestion: Implement specific getParent for JcrNodeResource

2015-04-08 Thread Joel Richard
Hi, I have noticed that on some “resource intensive” pages up to 24% of the rendering time is spent in AbstractResource.getParent(). One of the reasons for this is because the ParentHidingHandler traverses for each resource to the root (see SLING-4568). This could be improved with a getParent

[jira] [Updated] (SLING-4590) topology console reporting a inconsistent state of topology for isolated cluster node

2015-04-08 Thread Michael Tarantino (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Tarantino updated SLING-4590: - Summary: topology console reporting a inconsistent state of topology for isolated cluster

[jira] [Updated] (SLING-4590) topology console reporting a inconsistent state of topology for isolated cluster node

2015-04-08 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated SLING-4590: --- Fix Version/s: Discovery Impl 1.1.2 topology console reporting a inconsistent state of topology for

Re: svn commit: r1671863 - in /sling/trunk/bundles/commons/logservice: pom.xml src/main/java/org/apache/sling/commons/logservice/internal/LogSupport.java

2015-04-08 Thread Carsten Ziegeler
Am 09.04.15 um 07:13 schrieb Chetan Mehrotra: On Wed, Apr 8, 2015 at 2:19 PM, Carsten Ziegeler cziege...@apache.org wrote: We could think about getting the start level service outside of the event handling and releasing it there. Yup that would be cleaner and might be performant also!

[jira] [Commented] (SLING-4579) Regression introduced by SLING-4512 : JCR API used in i18n implementation

2015-04-08 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486723#comment-14486723 ] Carsten Ziegeler commented on SLING-4579: - A dependency in the pom does not mean

[jira] [Commented] (SLING-4579) Regression introduced by SLING-4512 : JCR API used in i18n implementation

2015-04-08 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486401#comment-14486401 ] Alexander Klimetschek commented on SLING-4579: -- Just looked at the change: