Re: [VOTE] [CANCELLED] Release Apache Sling API version 3.0.0

2018-06-04 Thread Carsten Ziegeler
Thanks for cancelling Jason. The version number we're talking about is a marketing version number, it has no technical impplications (as OSGi versioning is done on packaging level). The API is our most core bundle, if we increase the major version number of the bundle, this sends out the

[GitHub] rombert commented on issue #7: SLING-7544 - fixing potential race between intialization and addition…

2018-06-04 Thread GitBox
rombert commented on issue #7: SLING-7544 - fixing potential race between intialization and addition… URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/7#issuecomment-394481648 Thanks for the patch @DominikSuess . Based on our offline discussions I now

Re: [Dev][GSoC] How to expose a HTML page using a URL

2018-06-04 Thread Robert Munteanu
Hi Hasini, On Tue, 2018-06-05 at 01:06 +0530, Hasini Witharana wrote: > Hi all, > > I have a html login page ( > https://github.com/apache/sling-whiteboard/pull/14/files#diff-93a9b7f > d5defb2fca21e9f8dfc553e34). > I want to host this page in the URL "localhost:8080/auth/login". > > In the POM(

[Dev][GSoC] How to expose a HTML page using a URL

2018-06-04 Thread Hasini Witharana
Hi all, I have a html login page ( https://github.com/apache/sling-whiteboard/pull/14/files#diff-93a9b7fd5defb2fca21e9f8dfc553e34). I want to host this page in the URL "localhost:8080/auth/login". In the POM(

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Jason E Bailey
At this point I'm looking for feedback to say whether there is a consensus that the proposed API - stream() - stream(Predicate) where each one attempts to iterate through the tree is *sufficient enough for the initial release*. I believe Stefan's concern was that he believed someone

[VOTE] [CANCELLED] Release Apache Sling API version 3.0.0

2018-06-04 Thread Jason E Bailey
Premature version bump has resulted in a cancellation - Jason On Mon, Jun 4, 2018, at 11:50 AM, Jason E Bailey wrote: > Eh, I'm a bit confused over why a jdk requirement change is not > considered breaking, and I don't see what the problem is with iterating > the release rather than the

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Jason E Bailey
You got it. Thats's what I was attempting to describe and that's the type of filtering we do a lot of. - Jason On Mon, Jun 4, 2018, at 1:58 PM, Daniel Klco wrote: > It seems redundant, but I think they're somewhat different concepts. The > Predicate passed into the stream method is for

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Daniel Klco
It seems redundant, but I think they're somewhat different concepts. The Predicate passed into the stream method is for evaluating the Resources relevant for traversal, whereas (at least I'm assuming) that any subsequent filters would filter the subsequent stream of resources. Having that sort of

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Jason E Bailey
- Jason On Mon, Jun 4, 2018, at 12:35 PM, Daniel Klco wrote: > > Rather than having another parameter, what about providing a > ResourceChildrenPredicate? Based on the current API it looks like you'd > have to provide the current resource to make this work, but it seems like > it would be

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Jason E Bailey
Thanks Robert! - Jason On Mon, Jun 4, 2018, at 11:45 AM, Robert Munteanu wrote: > There are two questions I want to raise: > > 1. API related > > We have two methods: > > - stream() > - stream(Predicate) > > which traverse the whole tree. the base stream() would traverse the whole tree,

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Daniel Klco
On Mon, Jun 4, 2018 at 11:45 AM, Robert Munteanu wrote: > Hi Jason, > > On Thu, 2018-05-31 at 10:39 -0400, Jason E Bailey wrote: > > https://github.com/apache/sling-org-apache-sling-api/pull/4 > > > > I've created a pull request to add a new class to the Sling API > > bundle that would allow you

[jira] [Created] (SLING-7705) dryRun parameter no longer allows GET requests on pipe modifying content

2018-06-04 Thread Nicolas Peltier (JIRA)
Nicolas Peltier created SLING-7705: -- Summary: dryRun parameter no longer allows GET requests on pipe modifying content Key: SLING-7705 URL: https://issues.apache.org/jira/browse/SLING-7705 Project:

[jira] [Created] (SLING-7704) create pipe execution hooks

2018-06-04 Thread Nicolas Peltier (JIRA)
Nicolas Peltier created SLING-7704: -- Summary: create pipe execution hooks Key: SLING-7704 URL: https://issues.apache.org/jira/browse/SLING-7704 Project: Sling Issue Type: Improvement

[jira] [Resolved] (SLING-7695) Introduce Readable Names for SDI Configuration Entries in OSGi

2018-06-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu resolved SLING-7695. Resolution: Fixed Assignee: Robert Munteanu Fix Version/s: Dynamic Include

[GitHub] rombert closed pull request #4: Provide name hints for SDI configuration entries

2018-06-04 Thread GitBox
rombert closed pull request #4: Provide name hints for SDI configuration entries URL: https://github.com/apache/sling-org-apache-sling-dynamic-include/pull/4 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of

[GitHub] rombert closed pull request #4: Provide name hints for SDI configuration entries

2018-06-04 Thread GitBox
rombert closed pull request #4: Provide name hints for SDI configuration entries URL: https://github.com/apache/sling-org-apache-sling-dynamic-include/pull/4 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of

[GitHub] rombert commented on issue #4: Provide name hints for SDI configuration entries

2018-06-04 Thread GitBox
rombert commented on issue #4: Provide name hints for SDI configuration entries URL: https://github.com/apache/sling-org-apache-sling-dynamic-include/pull/4#issuecomment-394407979 Thanks @toniedzwiedz , applied! This is an

[GitHub] toniedzwiedz opened a new pull request #4: Provide name hints for SDI configuration entries

2018-06-04 Thread GitBox
toniedzwiedz opened a new pull request #4: Provide name hints for SDI configuration entries URL: https://github.com/apache/sling-org-apache-sling-dynamic-include/pull/4 Hello, I've found that managing multiple configuration entries is a bit difficult due to how they're presented in

Re: [VOTE] Release Apache Sling API version 3.0.0

2018-06-04 Thread Jason E Bailey
Eh, I'm a bit confused over why a jdk requirement change is not considered breaking, and I don't see what the problem is with iterating the release rather than the version. But I'm good with changing it back. I'll cancel this when I get the chance and reset the releases and the pom. - Jason

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Robert Munteanu
Hi Jason, On Thu, 2018-05-31 at 10:39 -0400, Jason E Bailey wrote: > https://github.com/apache/sling-org-apache-sling-api/pull/4 > > I've created a pull request to add a new class to the Sling API > bundle that would allow you to create a Stream object which > traverses a resource tree. > >

Re: [VOTE] Release Apache Sling API version 3.0.0

2018-06-04 Thread Robert Munteanu
On Mon, 2018-06-04 at 08:48 -0400, Jason E Bailey wrote: > The major version change is from a release perspective. The only > change to the versioning which OSGi uses is > org.apache.sling.api.resource which went from 2.11 to 2.12 > > Ioan brought up the issue as part of the pull request that the

Re: [DISCUSSION][API][PROPOSAL] Adding Stream generator to Sling API

2018-06-04 Thread Jason E Bailey
Went with adding the Stream to the Resource interface directly as a default method. This is more intuitive and results in less code. There has been a concern expressed about the naming methodology as to whether Resource.stream() should by default be the children or the entire subtree. - Jason

Re: [VOTE] Release Apache Sling API version 3.0.0

2018-06-04 Thread Jason E Bailey
I explained the rationale behind the major release change in my response to Carsten. My apologies if you didn't think I addressed your points. Robert and Betrand have asked that conversations like this be discussed in the Dev mailing list. I have a [DISCUSSION] email out that was calling for

Re: [VOTE] Release Apache Sling API version 3.0.0

2018-06-04 Thread Jason E Bailey
The major version change is from a release perspective. The only change to the versioning which OSGi uses is org.apache.sling.api.resource which went from 2.11 to 2.12 Ioan brought up the issue as part of the pull request that the upgrade to jdk 8 is a significant change. If someone is

Re: [Dev] OSGI Bundle Error when using " Nimbus OAuth 2.0 SDK with OpenID Connect extensions" as a dependency

2018-06-04 Thread Robert Munteanu
Glad to hear that. Now you can finally get to the fun stuff :-) Robert On Sun, 2018-06-03 at 00:55 +0530, Hasini Witharana wrote: > Hi Robert, > > This helped a lot. I deployed the bundle (oauth2-oidc-sdk) > successfully. > > Thank You. > > On Fri, Jun 1, 2018 at 2:49 AM, Robert Munteanu >

Re: add github topics to projects

2018-06-04 Thread Bertrand Delacretaz
On Fri, Jun 1, 2018 at 2:00 PM, Jason Bailey wrote: > ...Unless things have changed with a github release, we don't have the > permissions to add topics to Apache projects... Yes, https://issues.apache.org/jira/browse/INFRA-16343 The alternative we've been discussing is using badges in our

Re: possible bug when loading content with many files from bundle

2018-06-04 Thread Bertrand Delacretaz
Hi, On Sat, May 26, 2018 at 12:20 PM, Ioan Eugen Stan wrote: > ...I have created a branch to reproduce the bug [1]... Best is to track this in jira so it doesn't fall through the cracks. Let us know if you lack jira access rights. -Bertrand

[jira] [Commented] (SLING-7633) make Sling work without JCR locking

2018-06-04 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1640#comment-1640 ] Julian Reschke commented on SLING-7633: --- [~rombert] - fwiw, the config switch is present in Oak

[jira] [Commented] (SLING-7692) MockSession.revert(false) support should be clearer

2018-06-04 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16499946#comment-16499946 ] Nicolas Peltier commented on SLING-7692: [~sseif...@pro-vision.de] done. >

[jira] [Commented] (SLING-7510) UriProvider throws unchecked IllegalArgumentException that must be handled by consumers

2018-06-04 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16499929#comment-16499929 ] Ian Boston commented on SLING-7510: --- The API was created being pragmatic rather than perfectionist. It

[jira] [Commented] (SLING-7692) MockSession.revert(false) support should be clearer

2018-06-04 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16499870#comment-16499870 ] Stefan Seifert commented on SLING-7692: --- fine - i have only one small comment in the PR >

[GitHub] stefanseifert commented on a change in pull request #1: Revert "SLING-7692 implement refresh(false)"

2018-06-04 Thread GitBox
stefanseifert commented on a change in pull request #1: Revert "SLING-7692 implement refresh(false)" URL: https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/pull/1#discussion_r192657072 ## File path: src/main/java/org/apache/sling/testing/mock/jcr/MockSession.java

RE: [VOTE] Release Apache Sling API version 3.0.0

2018-06-04 Thread Stefan Seifert
i think as well this is just a new feature which qualifies as a new minor version 2.19. that this version is java 8-only can be documented as separate ticket in the release logs of this version. i've also some minor open points on the naming of the new methods in