From e6a33e241a1f2dfaf473d57c0428cbec0ecb0103 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Sun, 1 Sep 2019 06:44:03 +0000 Subject: [PATCH] Accepting request 727562 from home:alois:branches:utilities Update to version 5.5.0 OBS-URL: https://build.opensuse.org/request/show/727562 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=15 --- miller-5.4.0.tar.gz | 3 --- miller-5.5.0.tar.gz | 3 +++ miller.changes | 49 +++++++++++++++++++++++++++++++++++++++++++++ miller.spec | 8 ++++---- 4 files changed, 56 insertions(+), 7 deletions(-) delete mode 100644 miller-5.4.0.tar.gz create mode 100644 miller-5.5.0.tar.gz diff --git a/miller-5.4.0.tar.gz b/miller-5.4.0.tar.gz deleted file mode 100644 index 409d25c..0000000 --- a/miller-5.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a7d30884a8f4a97e07895b723be13764ff49251200b832385207c5efb9647d8 -size 4956116 diff --git a/miller-5.5.0.tar.gz b/miller-5.5.0.tar.gz new file mode 100644 index 0000000..40d4f8b --- /dev/null +++ b/miller-5.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be357dd91ca25532b8b8e506e2ef83b2bcce0d33682152dd6118fa89649e1981 +size 5000183 diff --git a/miller.changes b/miller.changes index 841a8fe..c7b7721 100644 --- a/miller.changes +++ b/miller.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Sun Sep 1 06:34:42 UTC 2019 - Luigi Baldoni + +- Update to version 5.5.0 + * Positional indexing and other data-cleaning features + Features: + * The new positional-indexing feature resolves #236 from + @aborruso. You can now get the name of the 3rd field of each + record via $[[3]], and its value by $[[[3]]]. These are both + usable on either the left-hand or right-hand side of assignment + statements, so you can more easily do things like renaming + fields progrmatically within the DSL. + * There is a new capitalize DSL function, complementing the + already-existing toupper. This stems from #236. + * There is a new skip-trivial-records verb, resolving #197. + Similarly, there is a new remove-empty-columns verb, resolving + #206. Both are useful for data-cleaning use-cases. + * Another pair is #181 and #256. While Miller uses mmap + internally (and invisibily) to get approximately a 20% + performance boost over not using it, this can cause + out-of-memory issues with reading either large files, or too + many small ones. Now, Miller automatically avoids mmap in these + cases. You can still use --mmap or --no-mmap if you want manual + control of this. + * There is a new --ivar option for the nest verb which + complements the already-existing --evar. This is from #260 + thanks to @jgreely. + * There is a new keystroke-saving urandrange DSL function: + urandrange(low, high) is the same as low + (high - low) * + urand(). + * There is a new -v option for the cat verb which writes a + low-level record-structure dump to standard error. + * There is a new -N option for mlr which is a keystroke-saver + for --implicit-csv-header --headerless-csv-output. + Documentation: + * The new FAQ entry + http://johnkerl.org/miller/doc/faq.html#How_to_escape_'%3F'_in_re + gexes%3F resolves #203. + * The new FAQ entry + http://johnkerl.org/miller/doc/faq.html#How_can_I_filter_by_date% + 3F resolves #208. + * #244 fixes a documentation issue while highlighting the need + for #241. + Bugfixes: + * There was a SEGV using nest within then-chains, fixed in + response to #220. + * Quotes and backslashes weren't being escaped in JSON output + with --jvquoteall; reported on #222. + ------------------------------------------------------------------- Mon Oct 15 07:23:57 UTC 2018 - Luigi Baldoni diff --git a/miller.spec b/miller.spec index 51f0368..606c3da 100644 --- a/miller.spec +++ b/miller.spec @@ -1,7 +1,7 @@ # # spec file for package miller # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: miller -Version: 5.4.0 +Version: 5.5.0 Release: 0 Summary: Name-indexed data processing tool # 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/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: http://johnkerl.org/miller/doc +Source0: https://github.com/johnkerl/miller/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM miller-5.3.0-gcc43.patch Patch0: miller-5.3.0-gcc43.patch BuildRequires: automake