From c27487295a249e3579fa992deef9908eadb94f4b4bc4e6ca5220da36d9874820 Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Thu, 25 Mar 2021 13:07:38 +0000 Subject: [PATCH] Accepting request 881305 from home:namtrac:branches:utilities - Update to version 0.18.0 * Features - Use a pager when bat --list-languages is called, see #1394 (@stku1985) * Bugfixes - If the last line doesn't end with a newline character, don't add it if --style=plain, see #1438 (@Enselic) - Only print themes hint in interactive mode (bat --list-themes), see #1439 (@rsteube) - VimL syntax highlighting fix, see #1450 (@esensar) - Print an 'Invalid syntax theme settings' error message if a custom theme is broken, see #614 (@Enselic) - If plain mode is set and wrap is not explicitly opted in, long lines will no be truncated, see #1426 - If PAGER (but not BAT_PAGER or --pager) is more or most, silently use less instead to ensure support for colors, see #1063 (@Enselic) - If PAGER is bat, silently use less to prevent recursion. For BAT_PAGER or --pager, exit with error, see #1413 (@Enselic) - Manpage highlighting fix, see #1511 (@keith-hall) - BAT_CONFIG_PATH ignored by bat if non-existent, see #1550 (@sharkdp) * Other - Performance improvements, see #1421 (@LovecraftianHorror) - Added a new --diagnostic option to collect information for bug reports, see #1459 (@sharkdp) - Modified default theme colors to differentiate between a JSON key and a string value, see #1400 (@keith-hall) - Upped min required Rust version to 1.42 * Syntaxes - Added Zig syntax, see #1470 (@paulsmith) - Added Lean syntax, see #1446 (@Julian) OBS-URL: https://build.opensuse.org/request/show/881305 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=25 --- bat-0.17.1.tar.gz | 3 --- bat-0.18.0.tar.gz | 3 +++ bat.changes | 50 +++++++++++++++++++++++++++++++++++++++++++++++ bat.spec | 6 +++--- vendor.tar.xz | 4 ++-- 5 files changed, 58 insertions(+), 8 deletions(-) delete mode 100644 bat-0.17.1.tar.gz create mode 100644 bat-0.18.0.tar.gz diff --git a/bat-0.17.1.tar.gz b/bat-0.17.1.tar.gz deleted file mode 100644 index 27f04a7..0000000 --- a/bat-0.17.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16d39414e8a3b80d890cfdbca6c0e6ff280058397f4a3066c37e0998985d87c4 -size 1302347 diff --git a/bat-0.18.0.tar.gz b/bat-0.18.0.tar.gz new file mode 100644 index 0000000..ce0a6d6 --- /dev/null +++ b/bat-0.18.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49d1b95250050df47753c213b5e48953a029c9e74753cef371051b14c9d629b8 +size 1329827 diff --git a/bat.changes b/bat.changes index a37e51a..9c0be62 100644 --- a/bat.changes +++ b/bat.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Thu Mar 25 12:02:19 UTC 2021 - Ismail Dönmez + +- Update to version 0.18.0 + * Features + - Use a pager when bat --list-languages is called, see #1394 (@stku1985) + * Bugfixes + - If the last line doesn't end with a newline character, + don't add it if --style=plain, see #1438 (@Enselic) + - Only print themes hint in interactive mode (bat --list-themes), + see #1439 (@rsteube) + - VimL syntax highlighting fix, see #1450 (@esensar) + - Print an 'Invalid syntax theme settings' error message if a custom + theme is broken, see #614 (@Enselic) + - If plain mode is set and wrap is not explicitly opted in, + long lines will no be truncated, see #1426 + - If PAGER (but not BAT_PAGER or --pager) is more or most, + silently use less instead to ensure support for colors, see #1063 (@Enselic) + - If PAGER is bat, silently use less to prevent recursion. + For BAT_PAGER or --pager, exit with error, see #1413 (@Enselic) + - Manpage highlighting fix, see #1511 (@keith-hall) + - BAT_CONFIG_PATH ignored by bat if non-existent, see #1550 (@sharkdp) + * Other + - Performance improvements, see #1421 (@LovecraftianHorror) + - Added a new --diagnostic option to collect information for + bug reports, see #1459 (@sharkdp) + - Modified default theme colors to differentiate between a JSON key + and a string value, see #1400 (@keith-hall) + - Upped min required Rust version to 1.42 + * Syntaxes + - Added Zig syntax, see #1470 (@paulsmith) + - Added Lean syntax, see #1446 (@Julian) + - Added .resource extension for Robot Framework files, see #1386 + - Added gnuplot syntax, see #1431 (@sharkdp) + - Highlight *.pac (Proxy auto-config) files as JavaScript, see #1515 (@sharkdp) + * New themes + - ansi replaces ansi-dark and ansi-light, see #1104 and #1412 (@mk12). + Breaking change: users that were previously using one of the ansi-* + themes should switch to ansi. + - The Gruvbox theme has been updated, see #1291 (@j0hnmeow). + Breaking change: users that were previously using gruvbox or gruvbox-white + should update and use gruvbox-dark/gruvbox-light instead. + * bat as a library + - The following PrettyPrinter methods have been removed + (they were previously deprecated): + + input_stdin_with_name + + input_from_bytes_with_name + + input_from_reader_with_name + + vcs_modification_markers (if the git feature is not enabled) + Mon Dec 7 20:42:00 UTC 2020 - Gordon Schulz - Update to 0.17.1 diff --git a/bat.spec b/bat.spec index a188c25..f7d4e7f 100644 --- a/bat.spec +++ b/bat.spec @@ -1,7 +1,7 @@ # # spec file for package bat # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,10 @@ Name: bat -Version: 0.17.1 +Version: 0.18.0 Release: 0 Summary: A cat(1) clone with syntax highlighting and Git integration -License: MIT OR Apache-2.0 +License: Apache-2.0 OR MIT Group: Productivity/Text/Utilities URL: https://github.com/sharkdp/bat Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz diff --git a/vendor.tar.xz b/vendor.tar.xz index e3f6541..14d3ead 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d0d2ffd503cb2e4b4118ce310d2fed612dcfef53c9718a50ec159908dd27804 -size 11532732 +oid sha256:a31c330d40d2ac55b0e4fb417f2e976e10349fc3d0d3b99b0a74783c04534877 +size 11587172