From cb63d18d37e7ed23e35e06e462ecc02b8bb37876 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Wed, 14 Jun 2017 16:11:26 +0000 Subject: [PATCH 1/4] Accepting request 503714 from home:alois:branches:utilities Update to 5.2.0 OBS-URL: https://build.opensuse.org/request/show/503714 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=6 --- miller-5.1.0.tar.gz | 3 --- miller-5.2.0.tar.gz | 3 +++ miller.changes | 56 +++++++++++++++++++++++++++++++++++++++++++++ miller.spec | 7 ++++-- 4 files changed, 64 insertions(+), 5 deletions(-) delete mode 100644 miller-5.1.0.tar.gz create mode 100644 miller-5.2.0.tar.gz diff --git a/miller-5.1.0.tar.gz b/miller-5.1.0.tar.gz deleted file mode 100644 index 4c668b0..0000000 --- a/miller-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:07a498c0228e15321798e5f3f6d03ee6ba9aaf13110f55e52ddfadee52b9da6a -size 5127128 diff --git a/miller-5.2.0.tar.gz b/miller-5.2.0.tar.gz new file mode 100644 index 0000000..a301617 --- /dev/null +++ b/miller-5.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e773d2aee08d9d864d1bfa21bbfe94d4abbe1fce51dea68979ac55936b22c6b4 +size 5020871 diff --git a/miller.changes b/miller.changes index f0575a5..f5a6e7d 100644 --- a/miller.changes +++ b/miller.changes @@ -1,3 +1,59 @@ +------------------------------------------------------------------- +Tue Jun 13 08:06:28 UTC 2017 - aloisio@gmx.com + +- Update to version 5.2.0 + This release contains mostly feature requests. + Features: + * The stats1 verb now lets you use regular expressions to + specify which field names to compute statistics on, and/or which + to group by. Full details are here. + * The min and max DSL functions, and the min/max/percentile + aggregators for the stats1 and merge-fields verbs, now support + numeric as well as string field values. (For mixed string/numeric + fields, numbers compare before strings.) This means in particular + that order statistics -- min, max, and non-interpolated + percentiles -- as well as mode, antimode, and count are now + possible on string-only fields. (Of course, any operations + requiring arithmetic on values, such as computing sums, averages, + or interpolated percentiles, yield an error on string-valued + input.) + * There is a new DSL function mapexcept which returns a copy of + the argument with specified key(s), if any, unset. The motivating + use-case is to split records to multiple filenames depending on + particular field value, which is omitted from the output: mlr + --from f.dat put 'tee > "/tmp/data-".$a, mapexcept($*, "a")' + Likewise, mapselect returns a copy of the argument with only + specified key(s), if any, set. This resolves #137. + * A new -u option for count-distinct allows unlashed counts for + multiple field names. For example, with -f a,b and without -u, + count-distinct computes counts for distinct pairs of a and b field + values. With -f a,b and with -u, it computes counts for distinct a + field values and counts for distinct b field values separately. + * If you build from source, you can now do ./configure without + first doing autoreconf -fiv. This resolves #131. + * The UTF-8 BOM sequence 0xef 0xbb 0xbf is now automatically + ignored from the start of CSV files. (The same is already done for + JSON files.) This resolves #138. + * For put and filter with -S, program literals such as the 6 in + $x = 6 were being parsed as strings. This is not sensible, since + the -S option for put and filter is intended to suppress numeric + conversion of record data, not program literals. To get string 6 + one may use $x = "6". + Documentation: + * A new cookbook example shows how to compute differences + between successive queries, e.g. to find out what changed in + time-varying data when you run and rerun a SQL query. + * Another new cookbook example shows how to compute + interquartile ranges. + * A third new cookbook example shows how to compute weighted + means. + Bugfixes: + * CRLF line-endings were not being correctly autodetected when + I/O formats were specified using --c2j et al. + * Integer division by zero was causing a fatal runtime + exception, rather than computing inf or nan as in the + floating-point case. + ------------------------------------------------------------------- Sat Apr 15 07:48:57 UTC 2017 - aloisio@gmx.com diff --git a/miller.spec b/miller.spec index 6268d47..1d34e82 100644 --- a/miller.spec +++ b/miller.spec @@ -17,7 +17,7 @@ Name: miller -Version: 5.1.0 +Version: 5.2.0 Release: 0 Summary: Name-indexed data processing tool License: BSD-2-Clause @@ -43,9 +43,12 @@ well with pipes and can feed "tail -f". sed -e 's/-pg//' -i c/Makefile.am %endif %endif +%ifnarch %ix86 x86_64 +sed -e '/AM_CFLAGS/s/$/\ -fwrapv/' -i c/parsing/Makefile.am +%endif %build -autoreconf -fi +autoreconf -fiv %configure make %{?_smp_mflags} From 0f8668c76f4806114ba459e810f56bf745630020 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Tue, 20 Jun 2017 07:00:25 +0000 Subject: [PATCH 2/4] Accepting request 504981 from home:alois:branches:utilities OBS-URL: https://build.opensuse.org/request/show/504981 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=7 --- miller-5.2.0.tar.gz | 3 --- miller-5.2.1.tar.gz | 3 +++ miller.changes | 7 +++++++ miller.spec | 7 +------ 4 files changed, 11 insertions(+), 9 deletions(-) delete mode 100644 miller-5.2.0.tar.gz create mode 100644 miller-5.2.1.tar.gz diff --git a/miller-5.2.0.tar.gz b/miller-5.2.0.tar.gz deleted file mode 100644 index a301617..0000000 --- a/miller-5.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e773d2aee08d9d864d1bfa21bbfe94d4abbe1fce51dea68979ac55936b22c6b4 -size 5020871 diff --git a/miller-5.2.1.tar.gz b/miller-5.2.1.tar.gz new file mode 100644 index 0000000..fc55906 --- /dev/null +++ b/miller-5.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0160e5fbbff7c3606037b616b5e30a714d16bb160a950d51fde112fca9d6a763 +size 5020833 diff --git a/miller.changes b/miller.changes index f5a6e7d..b5b76d1 100644 --- a/miller.changes +++ b/miller.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 20 06:34:53 UTC 2017 - aloisio@gmx.com + +- Update to version 5.2.1 + * Fixes (gh#johnkerl/miller#142) build segfault on non-x86 + architectures + ------------------------------------------------------------------- Tue Jun 13 08:06:28 UTC 2017 - aloisio@gmx.com diff --git a/miller.spec b/miller.spec index 1d34e82..365b101 100644 --- a/miller.spec +++ b/miller.spec @@ -17,7 +17,7 @@ Name: miller -Version: 5.2.0 +Version: 5.2.1 Release: 0 Summary: Name-indexed data processing tool License: BSD-2-Clause @@ -38,14 +38,9 @@ well with pipes and can feed "tail -f". %prep %setup -q -%if 0%{?suse_version} >= 1320 %ifarch %ix86 sed -e 's/-pg//' -i c/Makefile.am %endif -%endif -%ifnarch %ix86 x86_64 -sed -e '/AM_CFLAGS/s/$/\ -fwrapv/' -i c/parsing/Makefile.am -%endif %build autoreconf -fiv From c68477fcd4958169a7683ddd2927a53d0f8f328a Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Thu, 20 Jul 2017 09:40:51 +0000 Subject: [PATCH 3/4] Accepting request 511602 from home:alois:branches:utilities OBS-URL: https://build.opensuse.org/request/show/511602 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=8 --- miller-5.2.1.tar.gz | 3 --- miller-5.2.2.tar.gz | 3 +++ miller.changes | 7 +++++++ miller.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 miller-5.2.1.tar.gz create mode 100644 miller-5.2.2.tar.gz diff --git a/miller-5.2.1.tar.gz b/miller-5.2.1.tar.gz deleted file mode 100644 index fc55906..0000000 --- a/miller-5.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0160e5fbbff7c3606037b616b5e30a714d16bb160a950d51fde112fca9d6a763 -size 5020833 diff --git a/miller-5.2.2.tar.gz b/miller-5.2.2.tar.gz new file mode 100644 index 0000000..fec510f --- /dev/null +++ b/miller-5.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ca501367e60281eef6d21f62e994e46511f17d2c86b93c060fe7b55f97469b5 +size 5024653 diff --git a/miller.changes b/miller.changes index b5b76d1..efcff8d 100644 --- a/miller.changes +++ b/miller.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 20 09:29:23 UTC 2017 - aloisio@gmx.com + +- Update to 5.2.2 + * This bugfix release delivers a fix for #147 where a memory + allocation failed beyond 4GB. + ------------------------------------------------------------------- Tue Jun 20 06:34:53 UTC 2017 - aloisio@gmx.com diff --git a/miller.spec b/miller.spec index 365b101..28c04a4 100644 --- a/miller.spec +++ b/miller.spec @@ -17,7 +17,7 @@ Name: miller -Version: 5.2.1 +Version: 5.2.2 Release: 0 Summary: Name-indexed data processing tool License: BSD-2-Clause From 71c30fca0ce017f70821d4feaf8239c5d26e314f Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Thu, 24 Aug 2017 15:19:24 +0000 Subject: [PATCH 4/4] Accepting request 518549 from home:alois:branches:utilities - Updated license OBS-URL: https://build.opensuse.org/request/show/518549 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=9 --- miller.changes | 5 +++++ miller.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/miller.changes b/miller.changes index efcff8d..7cc7330 100644 --- a/miller.changes +++ b/miller.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 24 15:18:41 UTC 2017 - aloisio@gmx.com + +- Updated license + ------------------------------------------------------------------- Thu Jul 20 09:29:23 UTC 2017 - aloisio@gmx.com diff --git a/miller.spec b/miller.spec index 28c04a4..7e32628 100644 --- a/miller.spec +++ b/miller.spec @@ -20,7 +20,8 @@ Name: miller Version: 5.2.2 Release: 0 Summary: Name-indexed data processing tool -License: BSD-2-Clause +# c/lib/netbsd_strptime.c is BSD-4-Clause +License: BSD-2-Clause and BSD-4-Clause Group: Productivity/File utilities Url: http://johnkerl.org/miller/doc Source0: https://github.com/johnkerl/miller/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz