This commit is contained in:
parent
236d3831fa
commit
623204872d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1c3c4c3d29821bedf3d7a2a5fa3285a45dbfe24956f3f7d8762043716a0c894a
|
|
||||||
size 4433079
|
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/cbeust/jcommander.git</param>
|
||||||
|
<param name="revision">1.82</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="exclude">**.jar</param>
|
||||||
|
<param name="exclude">**.class</param>
|
||||||
|
<param name="exclude">gradle*</param>
|
||||||
|
<param name="exclude">cobalt*</param>
|
||||||
|
<param name="exclude">lib</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
@ -1,3 +1,64 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 09:07:55 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- 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 <? extends X> and <? super Y> 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<fieldname> default getter approach if is<fieldname>
|
||||||
|
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 <fstrba@suse.com>
|
Mon Apr 8 18:11:28 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Summary: Java framework for parsing command line parameters
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://jcommander.org/
|
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
|
# Adapted from earlier version that still shipped poms. It uses kobalt for building now
|
||||||
Source1: %{name}.pom
|
Source1: %{name}.pom
|
||||||
Source2: %{name}-build.xml
|
Source2: %{name}-build.xml
|
||||||
@ -51,7 +51,6 @@ This package contains the %{summary}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{short_name}-%{version}
|
%setup -q -n %{short_name}-%{version}
|
||||||
rm -rf gradle* kobalt* lib
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
chmod -x license.txt
|
chmod -x license.txt
|
||||||
|
BIN
jcommander-1.82.tar.xz
(Stored with Git LFS)
Normal file
BIN
jcommander-1.82.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user