From 236d3831fab49bd989d88b8f75bd8fd8f42844c23d4010ed74c167f42f7dfe76 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 1 May 2023 17:33:10 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/beust-jcommander?expand=0&rev=13 --- 1.71.tar.gz | 3 --- 1.82.tar.gz | 3 +++ beust-jcommander-build.xml | 12 ++++++------ beust-jcommander.spec | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 1.71.tar.gz create mode 100644 1.82.tar.gz diff --git a/1.71.tar.gz b/1.71.tar.gz deleted file mode 100644 index 6422de9..0000000 --- a/1.71.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d729430c80daf3803dffd9b6bec61a3b371015ba70d3eda60121baf2613b3b8 -size 4406613 diff --git a/1.82.tar.gz b/1.82.tar.gz new file mode 100644 index 0000000..6fc1e03 --- /dev/null +++ b/1.82.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c3c4c3d29821bedf3d7a2a5fa3285a45dbfe24956f3f7d8762043716a0c894a +size 4433079 diff --git a/beust-jcommander-build.xml b/beust-jcommander-build.xml index cba22fd..e9429f5 100644 --- a/beust-jcommander-build.xml +++ b/beust-jcommander-build.xml @@ -20,11 +20,11 @@ - - + + - - + + @@ -53,7 +53,7 @@ fork="false" source="${compiler.source}"> - + @@ -63,7 +63,7 @@ - Date: Wed, 3 May 2023 09:14:34 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/beust-jcommander?expand=0&rev=14 --- 1.82.tar.gz | 3 -- _service | 19 +++++++++++++ beust-jcommander.changes | 61 ++++++++++++++++++++++++++++++++++++++++ beust-jcommander.spec | 3 +- jcommander-1.82.tar.xz | 3 ++ 5 files changed, 84 insertions(+), 5 deletions(-) delete mode 100644 1.82.tar.gz create mode 100644 _service create mode 100644 jcommander-1.82.tar.xz diff --git a/1.82.tar.gz b/1.82.tar.gz deleted file mode 100644 index 6fc1e03..0000000 --- a/1.82.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c3c4c3d29821bedf3d7a2a5fa3285a45dbfe24956f3f7d8762043716a0c894a -size 4433079 diff --git a/_service b/_service new file mode 100644 index 0000000..6b852bd --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + git + https://github.com/cbeust/jcommander.git + 1.82 + @PARENT_TAG@ + **.jar + **.class + gradle* + cobalt* + lib + .git + + + *.tar + xz + + + diff --git a/beust-jcommander.changes b/beust-jcommander.changes index 39712d5..7c37af8 100644 --- a/beust-jcommander.changes +++ b/beust-jcommander.changes @@ -1,3 +1,64 @@ +------------------------------------------------------------------- +Wed May 3 09:07:55 UTC 2023 - Fridrich Strba + +- Update to version 1.82 + * Fixes: + + #392: fixed bug when parsing arguments is ignoring case + sensitivity option + + Add a test for Parameter order usage + + add a test for Path converter + + Add automatic module name to manifest + + Add check if Boolean parameter is default null, then do not + flip value + + Added testing modules + + Add format tests for DefaultUsageFormatter, + UnixStyleUsageFormatter + + add Path converter change #414 to changelog + + Add test case for issue 367 + + Add testing for UnixStyleUsageFormatter + + Add unix-style formatter, allow DefaultUsageFormatter to be + extended easier + + Allow generics of type and in + parameters + + Allow main parameters to be a single field. + + allow System.out to be replaced by something else (f.e. + System.err) + + Allow UsageFormatter to be set in JCommander Builder + + Change UsageFormatter into an interface + + Clean up DefaultUsageFormatter + + Create MyDelegate.java + + Create UsageFormatter (preliminary) + + Enable usage() ordering for DynamicParameter + + Encapsulate MainParameter. + + encode user input to massage error message + + Expose more of the UsageFormatter implementations + + Fields annotated with @ParametersDelegate are now allowed to + be final. + + FIX #380 Main parameter doesn't support Converter + + Fix error message when failing to convert a Path + + Fixing: squid:ModifiersOrderCheck and squid:S2444 + + Fix locale-related issues in usage formatter tests + + Get boolean/Boolean getter with "is" prefix + + GH-477 Environment Variable Default Provider + + make console configurable by JCommander.Builder + + Make UsageFormatter abstract, Create DefaultUsageFormatter + + Only one DefaultConverterFactory + + Remove String.join usage - resolves #381 + + Remove the generic in IStringConverterFactory + + Restrict access to JCommander.Options again + + Support arity for main parameters. + + Update DefaultParameterizedParser.java + + Update IParameterizedParser.java + + Update JCommander.java + + usage() hides 'Comments:' header when only hidden commands + exist + + Use Builder API as constructor is deprecated + + Use get default getter approach if is + method is not found + * Upgrade needed by new code in xmvn 4.2.0 +- Fetch sources using source service and clean the tarball of + unnecessary binary files + ------------------------------------------------------------------- Mon Apr 8 18:11:28 UTC 2019 - Fridrich Strba diff --git a/beust-jcommander.spec b/beust-jcommander.spec index 268ba3d..f738efe 100644 --- a/beust-jcommander.spec +++ b/beust-jcommander.spec @@ -24,7 +24,7 @@ Summary: Java framework for parsing command line parameters License: Apache-2.0 Group: Development/Libraries/Java URL: http://jcommander.org/ -Source0: https://github.com/cbeust/%{short_name}/archive/%{version}.tar.gz +Source0: %{short_name}-%{version}.tar.xz # Adapted from earlier version that still shipped poms. It uses kobalt for building now Source1: %{name}.pom Source2: %{name}-build.xml @@ -51,7 +51,6 @@ This package contains the %{summary}. %prep %setup -q -n %{short_name}-%{version} -rm -rf gradle* kobalt* lib %patch0 -p1 chmod -x license.txt diff --git a/jcommander-1.82.tar.xz b/jcommander-1.82.tar.xz new file mode 100644 index 0000000..29cf825 --- /dev/null +++ b/jcommander-1.82.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c7491f478fec8edbac88ca2e87b1d3d3f4a37c42338a0b328ad92b35269923a +size 88472