Re: svn commit: r1859859 [1/5] - in /commons/proper/jcs/trunk/commons-jcs-core/src: main/java/org/apache/commons/jcs/ main/java/org/apache/commons/jcs/access/ main/java/org/apache/commons/jcs/admin/ m

2019-05-27 Thread sebb
On Sun, 26 May 2019 at 17:42, Thomas Vandahl  wrote:
>
> On 26.05.19 15:54, sebb wrote:
> > Jan 2019
> >
> > https://lists.apache.org/thread.html/053bb8f18e90800d918956f69364167b23c0cdca175568300b1108f6@%3Cdev.commons.apache.org%3E
>
> Ok, I missed that one completely.
> What do I have to do?

Either re-apply each of the commits in turn to Git.

If there have been no changes to the Git repo, maybe ask Infra if the
repo can be re-converted from the new baseline, replacing the existing
Git copy.

> Bye, Thomas
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE] Release Apache Commons Configuration 2.5 based on RC1

2019-05-27 Thread Rob Tompkins
Signatures good, site good, java8 (check), java11 (check) [builds done on:

$ mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T14:41:47-04:00)
Maven home: /usr/local/Cellar/maven/3.6.0/libexec
Java version: 11.0.2, vendor: Amazon.com Inc., runtime: 
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: “mac"

and

$ mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T14:41:47-04:00)
Maven home: /usr/local/Cellar/maven/3.6.0/libexec
Java version: 1.8.0_202, vendor: Amazon.com Inc., runtime: 
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"

+1 (but I’d look at Alex’s comment).

All the best,
-Rob

> On May 23, 2019, at 9:39 PM, Gary Gregory  wrote:
> 
> To: dev@commons.apache.org
> Subject: [VOTE] Release Apache Commons Configuration 2.5 based on RC1
> 
> We have fixed quite a few bugs and added some significant enhancements
> since Apache Commons Configuration 2.4 was released, so I would like to
> release Apache Commons Configuration 2.5.
> 
> Apache Commons Configuration 2.5 RC1 is available for review here:
>https://dist.apache.org/repos/dist/dev/commons/configuration/2.5-RC1
> (svn revision 34200)
> 
> The Git tag commons-configuration-2.5-RC1 commit for this RC is
> dc00a04783ea951280ba0cd8318f53e19acb707f which you can browse here:
> 
> https://gitbox.apache.org/repos/asf?p=commons-configuration.git;a=commit;h=dc00a04783ea951280ba0cd8318f53e19acb707f
> You may checkout this tag using:
>git clone https://gitbox.apache.org/repos/asf/commons-configuration.git
> --branch commons-configuration-2.5-RC1 commons-configuration-2.5-RC1
> 
> Maven artifacts are here:
> 
> https://repository.apache.org/content/repositories/orgapachecommons-1439/org/apache/commons/commons-configuration2/2.5/
> 
> These are the artifacts and their hashes:
> 
> #Release SHA-512s
> #Thu May 23 21:10:52 EDT 2019
> commons-configuration2-2.5-bin.tar.gz=af36d6218f2b04492b1ecdb3a45c9eca0e782f38d1278076ce066b2e31c3a92fe7a10eef4639f1047bf25ae2bdc4e61e401b7713933886a221588ff276d713c1
> commons-configuration2-2.5-bin.tar.gz.asc=5b28973721604ad88dd91918d4093876bab8d711851adcbbc641d6da555badc7cca508ec779d2ecdb846ad954063b34a04345e683652caeb4624bfc76c518d1f
> commons-configuration2-2.5-bin.zip=1133a75ab29fa15514fd050462feb2cf6de1cd03bca0a85c109474f2671189ff05ae966a44f0ee629b91fc9c7dea15e90e4704b82f70f2e517a444c689ea34c8
> commons-configuration2-2.5-bin.zip.asc=5bb8a2ebaaacb974c52da36626937f33aec24479590830c8ec68d148abf7163e04c9b3bbc4f54c1608679ac4ad4ce6b1c70e5ff5402c4a592d838828808d9a81
> commons-configuration2-2.5-javadoc.jar=9f8290afe2f663ead9ddae5034c7a08f9ee792cd48821e17fced1ca287a2fb58906e782c8b3f4428ccda1089193402407002f70194d5ecba09edbebf9fab
> commons-configuration2-2.5-javadoc.jar.asc=2b62b54400e81f1de39cfe17ed9aafa716a46b58dbf31b49270f85bbc53df09738decd7daec9fe84ef893824a63ed2d7333aa3b0d54524b879d5f17d98d3eb15
> commons-configuration2-2.5-sources.jar=05b0675c7725a97cfc892267c44503be12f086f740f83f86b59bab902bd395c9b3f57fa37969993a1cab49a8d99266f29c984f331649d3800fe56a884a0bcc39
> commons-configuration2-2.5-sources.jar.asc=42158d3cffd2403a6efd80b1654d252d2a164475e57c11a2a30159bd15216c87ccfdd9ce4609ceeffbd387350a93d4d2d2044af346db93f70812af80b14644d3
> commons-configuration2-2.5-src.tar.gz=b69725d694f59678b690d50dc1f17718e7bd3deaa49a4dd30c20548b7df14494d27cec6325b6dd5a4da4adba368c26743ce80de147682cf49da1d5304f6bd9b1
> commons-configuration2-2.5-src.tar.gz.asc=c274f8e4e1c575d3b423315019df312530910bcf465e7b109d4fcd7b6d4b671ed34f5cf7731c8fb98378940b1ae03d595e69db4cf94095ad7293a8afda8e2956
> commons-configuration2-2.5-src.zip=57e5fa659506668a41f6fde8cc76f96152d0861d19a2f7dbd72dac56864aabf704b081fe029446de5c760ff0d1605f978d5322933c2627a0db73d9d4d1208293
> commons-configuration2-2.5-src.zip.asc=15040a9ca0ec7a51df16ed86378656c28c345a0360dd234d118b0d00abadc0375cf031f864b92fbf3af6c0c799661e74d1d257a4b1c5dc2b53db3d8b350fcc95
> commons-configuration2-2.5-test-sources.jar=756f6437475241b26b2ce190f8388227e058cefb862e48b98ac86b1886fa299902b77163baec789ead26f398912069b881fe1a1dfe62a1892b8245be31e13f5b
> commons-configuration2-2.5-test-sources.jar.asc=080cc1fbc4925bdfd5679d0d2ba60c67a0f594b2b585b010f273ed7a598f817ff9224d0790d2c2981460ea8de69ba67e77c11ee17aa6965bf398b94bd92e9306
> commons-configuration2-2.5-tests.jar=ae8a35a0f3c832f8d0869ab900ad13b33537b0112ef320ef9718ad9e707a3a18292d785b0c78f2ade81a0d8967edeb4c92ff6ea4a796a57b3d62c2c153529078
> commons-configuration2-2.5-tests.jar.asc=2b25ba280d7c210fb2e7cdc78e971557f365eb08a6645503003833f685ca88d848afb5b56abac5d2861473f01d2d2636ae442e825506c6f059f59bef1a8ba8d6
> commons-configuration2-2.5.jar.asc=ab783f4b2e248786a0c7c914f5e80046b045b859713e7b94c97b4

Re: [VOTE] Release Apache Commons Configuration 2.5 based on RC1

2019-05-27 Thread Gary Gregory
Hi Alex,

Thank you for your review. Please my comments see below.

On Sun, May 26, 2019 at 5:03 PM Alex Herbert 
wrote:

> Hi Gary,
>
> +0.5
>
> I get build failures to do with environment properties look-up because one
> of my environment properties is resolved with current known variables.
>
> It can be reproduced using this (on a linux-type build with a bash shell):
>
> export BAD_VAR='${USER}@${HOSTNAME}’
>
> mvn -V clean package
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T20:39:06+01:00)
> Maven home: /usr/local/Cellar/maven/3.5.0/libexec
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: “mac"
>
> [ERROR] Failures:
> [ERROR]   TestCombinedConfigurationBuilder.testEnvironmentProperties:708
> Wrong value for property: BAD_VAR expected:<[${USER}]@${HOSTNAME}> but
> was:<[ah403]@${HOSTNAME}>
> [ERROR]
>  
> TestCombinedConfigurationBuilderVFS>TestCombinedConfigurationBuilder.testEnvironmentProperties:708
> Wrong value for property: BAD_VAR expected:<[${USER}]@${HOSTNAME}> but
> was:<[ah403]@${HOSTNAME}>
> [ERROR]   TestEnvironmentLookup.testLookup:57 Wrong value for BAD_VAR
> expected:<[ah403]@${HOSTNAME}> but was:<[${USER}]@${HOSTNAME}>
>
>
> Same on JDK 11:
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T20:39:06+01:00)
> Maven home: /usr/local/Cellar/maven/3.5.0/libexec
> Java version: 11.0.2, vendor: AdoptOpenJDK
> Java home:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"
>
>
> A little dig around the code found that the ‘${USER}’ part of the
> environment variable is resolved to its current known value. In my case
> this is ‘ah403’. So the expected and actual values do not match when the
> environment variable is ‘BAD_VAR’.
>
> If I unset the offending environment variable then the code builds fine. I
> do not know how long the tests have been like this. The same thing happens
> when I checkout the code using the tag CONFIGURATION_2_4 for the previous
> release. For this reason I do not think it a blocker. It is either a ‘bug’
> or a known/unknown ‘feature’ that has been present for a while. It should
> be investigated by a dev who knows the code and a decision made about what
> the true expected result in this case should be.
>

This test code has been like this since its inception 4 four years ago. I
do not see it as a blocker since the fix would be in the test. I would
welcome a commit/patch/PR to resolve this of course. This might make the
test harder to understand but more stable.

Gary


>
> Jira report on the site has an empty column for 'Fix Version’.  I checked
> and it is because Jira entries for the version fixed when a ticket is
> closed is missing.
>
> All other reports look good (spotbugs, checkstyle, JApiCmp, Rat, JDepend).
>
>
> Note that when I tried building the site locally skipping tests (due to
> above problems) the spotbugs plugin does not have a version:
>
> [WARNING] Report plugin com.github.spotbugs:spotbugs-maven-plugin has an
> empty version.
>

Can you try with the current version of Maven? I do not see these warnings
with 3.6.1 which is odd.

Gary


>
>
> Alex
>
>
>
> > On 26 May 2019, at 15:47, Gary Gregory  wrote:
> >
> > Hi all, are any of you available to review this RC?
> >
> > Gary
> >
> > On Thu, May 23, 2019 at 9:39 PM Gary Gregory 
> wrote:
> >
> >> To: dev@commons.apache.org
> >> Subject: [VOTE] Release Apache Commons Configuration 2.5 based on RC1
> >>
> >> We have fixed quite a few bugs and added some significant enhancements
> >> since Apache Commons Configuration 2.4 was released, so I would like to
> >> release Apache Commons Configuration 2.5.
> >>
> >> Apache Commons Configuration 2.5 RC1 is available for review here:
> >>https://dist.apache.org/repos/dist/dev/commons/configuration/2.5-RC1
> >> (svn revision 34200)
> >>
> >> The Git tag commons-configuration-2.5-RC1 commit for this RC is
> >> dc00a04783ea951280ba0cd8318f53e19acb707f which you can browse here:
> >>
> >>
> https://gitbox.apache.org/repos/asf?p=commons-configuration.git;a=commit;h=dc00a04783ea951280ba0cd8318f53e19acb707f
> >> You may checkout this tag using:
> >>git clone
> >> https://gitbox.apache.org/repos/asf/commons-configuration.git --branch
> >> commons-configuration-2.5-RC1 commons-configuration-2.5-RC1
> >>
> >> Maven artifacts are here:
> >>
> >>
> https://repository.apache.org/content/repositories/orgapachecommons-1439/org/apache/commons/commons-configuration2/2.5/
> >>
> >> These are the artifacts and their hashes:
> >>
> >> #Release SHA-512s
> >> #Thu May 23 21:10:52 EDT 2019
> >>
> >>
> commons-configuration2-2.5-bin.tar.gz=af36d6218f2b04492b1ecdb3a45c9eca0

[VOTE][RESULT] Release Apache Commons Configuration 2.5 based on RC1

2019-05-27 Thread Gary Gregory
This VOTE passes with the following +1 binding votes:

- Bruno P. Kinoshita
- Rob Tompkins
- Gary Gregory

In addition, Alex Herbert cast a +0.5 binding vote.

Thank you all for taking the time to diligently review this release
candidate.

Gary


On Thu, May 23, 2019 at 9:39 PM Gary Gregory  wrote:

> To: dev@commons.apache.org
> Subject: [VOTE] Release Apache Commons Configuration 2.5 based on RC1
>
> We have fixed quite a few bugs and added some significant enhancements
> since Apache Commons Configuration 2.4 was released, so I would like to
> release Apache Commons Configuration 2.5.
>
> Apache Commons Configuration 2.5 RC1 is available for review here:
> https://dist.apache.org/repos/dist/dev/commons/configuration/2.5-RC1
> (svn revision 34200)
>
> The Git tag commons-configuration-2.5-RC1 commit for this RC is
> dc00a04783ea951280ba0cd8318f53e19acb707f which you can browse here:
>
> https://gitbox.apache.org/repos/asf?p=commons-configuration.git;a=commit;h=dc00a04783ea951280ba0cd8318f53e19acb707f
> You may checkout this tag using:
> git clone
> https://gitbox.apache.org/repos/asf/commons-configuration.git --branch
> commons-configuration-2.5-RC1 commons-configuration-2.5-RC1
>
> Maven artifacts are here:
>
> https://repository.apache.org/content/repositories/orgapachecommons-1439/org/apache/commons/commons-configuration2/2.5/
>
> These are the artifacts and their hashes:
>
> #Release SHA-512s
> #Thu May 23 21:10:52 EDT 2019
>
> commons-configuration2-2.5-bin.tar.gz=af36d6218f2b04492b1ecdb3a45c9eca0e782f38d1278076ce066b2e31c3a92fe7a10eef4639f1047bf25ae2bdc4e61e401b7713933886a221588ff276d713c1
>
> commons-configuration2-2.5-bin.tar.gz.asc=5b28973721604ad88dd91918d4093876bab8d711851adcbbc641d6da555badc7cca508ec779d2ecdb846ad954063b34a04345e683652caeb4624bfc76c518d1f
>
> commons-configuration2-2.5-bin.zip=1133a75ab29fa15514fd050462feb2cf6de1cd03bca0a85c109474f2671189ff05ae966a44f0ee629b91fc9c7dea15e90e4704b82f70f2e517a444c689ea34c8
>
> commons-configuration2-2.5-bin.zip.asc=5bb8a2ebaaacb974c52da36626937f33aec24479590830c8ec68d148abf7163e04c9b3bbc4f54c1608679ac4ad4ce6b1c70e5ff5402c4a592d838828808d9a81
>
> commons-configuration2-2.5-javadoc.jar=9f8290afe2f663ead9ddae5034c7a08f9ee792cd48821e17fced1ca287a2fb58906e782c8b3f4428ccda1089193402407002f70194d5ecba09edbebf9fab
>
> commons-configuration2-2.5-javadoc.jar.asc=2b62b54400e81f1de39cfe17ed9aafa716a46b58dbf31b49270f85bbc53df09738decd7daec9fe84ef893824a63ed2d7333aa3b0d54524b879d5f17d98d3eb15
>
> commons-configuration2-2.5-sources.jar=05b0675c7725a97cfc892267c44503be12f086f740f83f86b59bab902bd395c9b3f57fa37969993a1cab49a8d99266f29c984f331649d3800fe56a884a0bcc39
>
> commons-configuration2-2.5-sources.jar.asc=42158d3cffd2403a6efd80b1654d252d2a164475e57c11a2a30159bd15216c87ccfdd9ce4609ceeffbd387350a93d4d2d2044af346db93f70812af80b14644d3
>
> commons-configuration2-2.5-src.tar.gz=b69725d694f59678b690d50dc1f17718e7bd3deaa49a4dd30c20548b7df14494d27cec6325b6dd5a4da4adba368c26743ce80de147682cf49da1d5304f6bd9b1
>
> commons-configuration2-2.5-src.tar.gz.asc=c274f8e4e1c575d3b423315019df312530910bcf465e7b109d4fcd7b6d4b671ed34f5cf7731c8fb98378940b1ae03d595e69db4cf94095ad7293a8afda8e2956
>
> commons-configuration2-2.5-src.zip=57e5fa659506668a41f6fde8cc76f96152d0861d19a2f7dbd72dac56864aabf704b081fe029446de5c760ff0d1605f978d5322933c2627a0db73d9d4d1208293
>
> commons-configuration2-2.5-src.zip.asc=15040a9ca0ec7a51df16ed86378656c28c345a0360dd234d118b0d00abadc0375cf031f864b92fbf3af6c0c799661e74d1d257a4b1c5dc2b53db3d8b350fcc95
>
> commons-configuration2-2.5-test-sources.jar=756f6437475241b26b2ce190f8388227e058cefb862e48b98ac86b1886fa299902b77163baec789ead26f398912069b881fe1a1dfe62a1892b8245be31e13f5b
>
> commons-configuration2-2.5-test-sources.jar.asc=080cc1fbc4925bdfd5679d0d2ba60c67a0f594b2b585b010f273ed7a598f817ff9224d0790d2c2981460ea8de69ba67e77c11ee17aa6965bf398b94bd92e9306
>
> commons-configuration2-2.5-tests.jar=ae8a35a0f3c832f8d0869ab900ad13b33537b0112ef320ef9718ad9e707a3a18292d785b0c78f2ade81a0d8967edeb4c92ff6ea4a796a57b3d62c2c153529078
>
> commons-configuration2-2.5-tests.jar.asc=2b25ba280d7c210fb2e7cdc78e971557f365eb08a6645503003833f685ca88d848afb5b56abac5d2861473f01d2d2636ae442e825506c6f059f59bef1a8ba8d6
>
> commons-configuration2-2.5.jar.asc=ab783f4b2e248786a0c7c914f5e80046b045b859713e7b94c97b4f4a65001db9270650917f00ee4ab8ca6e32fe6411f9ee9e17126b86751febcbdc7b403b08c1
>
> commons-configuration2-2.5.pom.asc=6836729386d91565b4e489763a0930b6cacfa697719c563210b0dd3ec9f058060d254374b6fd53ff03ecb2e78227dc4b20128b85e04bbd56d4fc1483d6140666
>
> I have tested this with 'mvn clean install site -Pjacoco' using:
>
> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
> 2019-04-04T15:00:29-04:00)
> Maven home: C:\Java\apache-maven-3.6.1\bin\..
> Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk1.8.0_212\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family

Re: [VOTE] Release Apache Commons Configuration 2.5 based on RC1

2019-05-27 Thread Gary Gregory
My +1

Gary

On Thu, May 23, 2019 at 9:39 PM Gary Gregory  wrote:

> To: dev@commons.apache.org
> Subject: [VOTE] Release Apache Commons Configuration 2.5 based on RC1
>
> We have fixed quite a few bugs and added some significant enhancements
> since Apache Commons Configuration 2.4 was released, so I would like to
> release Apache Commons Configuration 2.5.
>
> Apache Commons Configuration 2.5 RC1 is available for review here:
> https://dist.apache.org/repos/dist/dev/commons/configuration/2.5-RC1
> (svn revision 34200)
>
> The Git tag commons-configuration-2.5-RC1 commit for this RC is
> dc00a04783ea951280ba0cd8318f53e19acb707f which you can browse here:
>
> https://gitbox.apache.org/repos/asf?p=commons-configuration.git;a=commit;h=dc00a04783ea951280ba0cd8318f53e19acb707f
> You may checkout this tag using:
> git clone
> https://gitbox.apache.org/repos/asf/commons-configuration.git --branch
> commons-configuration-2.5-RC1 commons-configuration-2.5-RC1
>
> Maven artifacts are here:
>
> https://repository.apache.org/content/repositories/orgapachecommons-1439/org/apache/commons/commons-configuration2/2.5/
>
> These are the artifacts and their hashes:
>
> #Release SHA-512s
> #Thu May 23 21:10:52 EDT 2019
>
> commons-configuration2-2.5-bin.tar.gz=af36d6218f2b04492b1ecdb3a45c9eca0e782f38d1278076ce066b2e31c3a92fe7a10eef4639f1047bf25ae2bdc4e61e401b7713933886a221588ff276d713c1
>
> commons-configuration2-2.5-bin.tar.gz.asc=5b28973721604ad88dd91918d4093876bab8d711851adcbbc641d6da555badc7cca508ec779d2ecdb846ad954063b34a04345e683652caeb4624bfc76c518d1f
>
> commons-configuration2-2.5-bin.zip=1133a75ab29fa15514fd050462feb2cf6de1cd03bca0a85c109474f2671189ff05ae966a44f0ee629b91fc9c7dea15e90e4704b82f70f2e517a444c689ea34c8
>
> commons-configuration2-2.5-bin.zip.asc=5bb8a2ebaaacb974c52da36626937f33aec24479590830c8ec68d148abf7163e04c9b3bbc4f54c1608679ac4ad4ce6b1c70e5ff5402c4a592d838828808d9a81
>
> commons-configuration2-2.5-javadoc.jar=9f8290afe2f663ead9ddae5034c7a08f9ee792cd48821e17fced1ca287a2fb58906e782c8b3f4428ccda1089193402407002f70194d5ecba09edbebf9fab
>
> commons-configuration2-2.5-javadoc.jar.asc=2b62b54400e81f1de39cfe17ed9aafa716a46b58dbf31b49270f85bbc53df09738decd7daec9fe84ef893824a63ed2d7333aa3b0d54524b879d5f17d98d3eb15
>
> commons-configuration2-2.5-sources.jar=05b0675c7725a97cfc892267c44503be12f086f740f83f86b59bab902bd395c9b3f57fa37969993a1cab49a8d99266f29c984f331649d3800fe56a884a0bcc39
>
> commons-configuration2-2.5-sources.jar.asc=42158d3cffd2403a6efd80b1654d252d2a164475e57c11a2a30159bd15216c87ccfdd9ce4609ceeffbd387350a93d4d2d2044af346db93f70812af80b14644d3
>
> commons-configuration2-2.5-src.tar.gz=b69725d694f59678b690d50dc1f17718e7bd3deaa49a4dd30c20548b7df14494d27cec6325b6dd5a4da4adba368c26743ce80de147682cf49da1d5304f6bd9b1
>
> commons-configuration2-2.5-src.tar.gz.asc=c274f8e4e1c575d3b423315019df312530910bcf465e7b109d4fcd7b6d4b671ed34f5cf7731c8fb98378940b1ae03d595e69db4cf94095ad7293a8afda8e2956
>
> commons-configuration2-2.5-src.zip=57e5fa659506668a41f6fde8cc76f96152d0861d19a2f7dbd72dac56864aabf704b081fe029446de5c760ff0d1605f978d5322933c2627a0db73d9d4d1208293
>
> commons-configuration2-2.5-src.zip.asc=15040a9ca0ec7a51df16ed86378656c28c345a0360dd234d118b0d00abadc0375cf031f864b92fbf3af6c0c799661e74d1d257a4b1c5dc2b53db3d8b350fcc95
>
> commons-configuration2-2.5-test-sources.jar=756f6437475241b26b2ce190f8388227e058cefb862e48b98ac86b1886fa299902b77163baec789ead26f398912069b881fe1a1dfe62a1892b8245be31e13f5b
>
> commons-configuration2-2.5-test-sources.jar.asc=080cc1fbc4925bdfd5679d0d2ba60c67a0f594b2b585b010f273ed7a598f817ff9224d0790d2c2981460ea8de69ba67e77c11ee17aa6965bf398b94bd92e9306
>
> commons-configuration2-2.5-tests.jar=ae8a35a0f3c832f8d0869ab900ad13b33537b0112ef320ef9718ad9e707a3a18292d785b0c78f2ade81a0d8967edeb4c92ff6ea4a796a57b3d62c2c153529078
>
> commons-configuration2-2.5-tests.jar.asc=2b25ba280d7c210fb2e7cdc78e971557f365eb08a6645503003833f685ca88d848afb5b56abac5d2861473f01d2d2636ae442e825506c6f059f59bef1a8ba8d6
>
> commons-configuration2-2.5.jar.asc=ab783f4b2e248786a0c7c914f5e80046b045b859713e7b94c97b4f4a65001db9270650917f00ee4ab8ca6e32fe6411f9ee9e17126b86751febcbdc7b403b08c1
>
> commons-configuration2-2.5.pom.asc=6836729386d91565b4e489763a0930b6cacfa697719c563210b0dd3ec9f058060d254374b6fd53ff03ecb2e78227dc4b20128b85e04bbd56d4fc1483d6140666
>
> I have tested this with 'mvn clean install site -Pjacoco' using:
>
> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555;
> 2019-04-04T15:00:29-04:00)
> Maven home: C:\Java\apache-maven-3.6.1\bin\..
> Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk1.8.0_212\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Details of changes since 2.4 are in the release notes:
>
> https://dist.apache.org/repos/dist/dev/commons/configuration/2.5-RC1/RELEASE-NOTES.txt
>
> https://dist.apache.org/repos/dist/dev/commons/configuration/2.5-RC1

Re: [IO] NullPrintStream

2019-05-27 Thread Gary Gregory
Tracking https://issues.apache.org/jira/browse/IO-608

Gary

On Fri, May 24, 2019 at 10:29 AM Gary Gregory 
wrote:

> On Fri, May 24, 2019 at 9:38 AM Bruno P. Kinoshita 
> wrote:
>
>>  Is it equivalent to JDK 11 Writer#nullWriter?
>>
>>
>> https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Writer.html#nullWriter()
>>
>> If so I'm -0, not a blocker, but I have on a Python project for about 1
>> year, catching up with the language and libraries, and lost track of JVM
>> release dates, EOL. But I think Java 11 will be LTS, and maybe others will
>> update to it quickly?
>>
>
> We get push back on updating from Java 7 to 8 (see Commons IO), so Java
> 11? Not in a long while...
>
> Gary
>
>
>>
>>
>> But if it's not doing the same as Writer#nullWriter, +0 (I don't have a
>> use case for it, but sounds OK/useful to others)
>>
>>
>> CheersBruno
>>
>> On Saturday, 25 May 2019, 12:49:45 am NZST, Gary Gregory <
>> garydgreg...@gmail.com> wrote:
>>
>>  Hi All:
>>
>> We have a handy NullOutputStream.
>>
>> I'd like to add a convenience NullPrintStream, which would dead simple:
>>
>> /**
>>  * This PrintStream writes all data to the famous /dev/null.
>>  * 
>>  * This print stream has no destination (file/socket etc.) and all bytes
>> written to it are ignored and lost.
>>  * 
>>  * @since 2.7
>>  */
>> public class NullPrintStream extends PrintStream {
>>
>> public static final NullPrintStream NULL_PRINT_STREAM = new
>> NullPrintStream();
>>
>> @SuppressWarnings("resource")
>> public NullPrintStream() {
>> super(new NullOutputStream());
>> }
>>
>> }
>>
>> Any objections?
>>
>> Gary
>>
>
>


Re: [VOTE] Release Apache Commons Configuration 2.5 based on RC1

2019-05-27 Thread Alex Herbert


> On 27 May 2019, at 12:37, Gary Gregory  wrote:
> 
> Hi Alex,
> 
> Thank you for your review. Please my comments see below.
> 
> On Sun, May 26, 2019 at 5:03 PM Alex Herbert  >
> wrote:
> 
>> Hi Gary,
>> 
>> +0.5
>> 
>> I get build failures to do with environment properties look-up because one
>> of my environment properties is resolved with current known variables.
>> 
>> It can be reproduced using this (on a linux-type build with a bash shell):
>> 
>> export BAD_VAR='${USER}@${HOSTNAME}’
>> 
>> mvn -V clean package
>> 
>> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
>> 2017-04-03T20:39:06+01:00)
>> Maven home: /usr/local/Cellar/maven/3.5.0/libexec
>> Java version: 1.8.0_131, vendor: Oracle Corporation
>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: “mac"
>> 
>> [ERROR] Failures:
>> [ERROR]   TestCombinedConfigurationBuilder.testEnvironmentProperties:708
>> Wrong value for property: BAD_VAR expected:<[${USER}]@${HOSTNAME}> but
>> was:<[ah403]@${HOSTNAME}>
>> [ERROR]
>> TestCombinedConfigurationBuilderVFS>TestCombinedConfigurationBuilder.testEnvironmentProperties:708
>> Wrong value for property: BAD_VAR expected:<[${USER}]@${HOSTNAME}> but
>> was:<[ah403]@${HOSTNAME}>
>> [ERROR]   TestEnvironmentLookup.testLookup:57 Wrong value for BAD_VAR
>> expected:<[ah403]@${HOSTNAME}> but was:<[${USER}]@${HOSTNAME}>
>> 
>> 
>> Same on JDK 11:
>> 
>> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
>> 2017-04-03T20:39:06+01:00)
>> Maven home: /usr/local/Cellar/maven/3.5.0/libexec
>> Java version: 11.0.2, vendor: AdoptOpenJDK
>> Java home:
>> /Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home
>> Default locale: en_GB, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"
>> 
>> 
>> A little dig around the code found that the ‘${USER}’ part of the
>> environment variable is resolved to its current known value. In my case
>> this is ‘ah403’. So the expected and actual values do not match when the
>> environment variable is ‘BAD_VAR’.
>> 
>> If I unset the offending environment variable then the code builds fine. I
>> do not know how long the tests have been like this. The same thing happens
>> when I checkout the code using the tag CONFIGURATION_2_4 for the previous
>> release. For this reason I do not think it a blocker. It is either a ‘bug’
>> or a known/unknown ‘feature’ that has been present for a while. It should
>> be investigated by a dev who knows the code and a decision made about what
>> the true expected result in this case should be.
>> 
> 
> This test code has been like this since its inception 4 four years ago. I
> do not see it as a blocker since the fix would be in the test. I would
> welcome a commit/patch/PR to resolve this of course. This might make the
> test harder to understand but more stable.

I did have an investigation into one of the classes that was failing. It was 
using one of the classes from the project to test another and the two did not 
agree on the correct result. For this class a simple swap to use 
System.getenv(String) to define the ‘expected’ made the test work. So at least 
in that case the problem was with the test.

I will do some more digging to see if these are all problems with the test 
definition of what should be happening rather than the code. 

It was only due to my defined environment variables that the tests fail. So 
perhaps the tests just need to be more robust.

If I make it work I’ll create a PR for it.

> 
> Gary
> 
> 
>> 
>> Jira report on the site has an empty column for 'Fix Version’.  I checked
>> and it is because Jira entries for the version fixed when a ticket is
>> closed is missing.
>> 
>> All other reports look good (spotbugs, checkstyle, JApiCmp, Rat, JDepend).
>> 
>> 
>> Note that when I tried building the site locally skipping tests (due to
>> above problems) the spotbugs plugin does not have a version:
>> 
>> [WARNING] Report plugin com.github.spotbugs:spotbugs-maven-plugin has an
>> empty version.
>> 
> 
> Can you try with the current version of Maven? I do not see these warnings
> with 3.6.1 which is odd.

I was using Maven 3.6.1. 

It is weird because the pom does not define spotbugs, it is using findbugs. 
I’ll look further at this too.

> 
> Gary
> 
> 
>> 
>> 
>> Alex
>> 
>> 
>> 
>>> On 26 May 2019, at 15:47, Gary Gregory  wrote:
>>> 
>>> Hi all, are any of you available to review this RC?
>>> 
>>> Gary
>>> 
>>> On Thu, May 23, 2019 at 9:39 PM Gary Gregory 
>> wrote:
>>> 
 To: dev@commons.apache.org
 Subject: [VOTE] Release Apache Commons Configuration 2.5 based on RC1
 
 We have fixed quite a few bugs and added some significant enhancements
 since Apache Commons Configuration 2.4 was released, so I would like to
 release Apache Commons Co

[ANNOUNCEMENT] Apache Commons Configuration Version 2.5

2019-05-27 Thread Gary Gregory
The Apache Commons team is pleased to announce the release of Apache
Commons Configuration Version 2.5.

The Commons Configuration software library provides a generic configuration
interface which enables an application to read configuration data from a
variety
of sources.

This is a minor release with new features and updated dependencies.

Changes in this version include:

Fixed Bugs:
o CONFIGURATION-731:  Allow user to specify the comments and separator
chars. Thanks to Shuai Zhang, Gary Gregory.

Changes:
o CONFIGURATION-738:  Update Jackson from 2.9.7 to 2.9.8. Thanks to Gary
Gregory.
o CONFIGURATION-739:  Update Apache Commons Codec from 1.11 to 1.12. Thanks
to Gary Gregory.
o CONFIGURATION-740:  Update Apache Commons VFS from 2.2 to 2.3. Thanks to
Gary Gregory.
o CONFIGURATION-741:  Update Spring from 4.3.19 to 4.3.22. Thanks to Gary
Gregory.
o CONFIGURATION-743:  Update optional library snakeyaml from 1.23 to 1.24.
Thanks to Gary Gregory.
o CONFIGURATION-747:  Update Apache Commons Lang from 3.8.1 to 3.9. Thanks
to Gary Gregory.
o CONFIGURATION-746:  Update Jackson from 2.9.8 to 2.9.9. Thanks to Gary
Gregory.
o CONFIGURATION-747:  Update Spring from 4.3.22 to 4.3.24. Thanks to Gary
Gregory.
o CONFIGURATION-745:  Add the special key "includeoptional" for properties
files. Thanks to Gary Gregory.

Historical list of changes:
http://commons.apache.org/proper/commons-configuration/changes-report.html

For complete information on Apache Commons Configuration, including
instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons
Configuration website:

http://commons.apache.org/proper/commons-configuration/

Gary Gregory,
on behalf of the Apache Commons Team