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
This commit is contained in:
Dany Marcoux 2021-03-25 13:07:38 +00:00 committed by Git OBS Bridge
parent f149109cee
commit c27487295a
5 changed files with 58 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16d39414e8a3b80d890cfdbca6c0e6ff280058397f4a3066c37e0998985d87c4
size 1302347

3
bat-0.18.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49d1b95250050df47753c213b5e48953a029c9e74753cef371051b14c9d629b8
size 1329827

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Thu Mar 25 12:02:19 UTC 2021 - Ismail Dönmez <idonmez@suse.com>
- 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 <gordon@gordonschulz.de> Mon Dec 7 20:42:00 UTC 2020 - Gordon Schulz <gordon@gordonschulz.de>
- Update to 0.17.1 - Update to 0.17.1

View File

@ -1,7 +1,7 @@
# #
# spec file for package bat # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,10 +17,10 @@
Name: bat Name: bat
Version: 0.17.1 Version: 0.18.0
Release: 0 Release: 0
Summary: A cat(1) clone with syntax highlighting and Git integration 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 Group: Productivity/Text/Utilities
URL: https://github.com/sharkdp/bat URL: https://github.com/sharkdp/bat
Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4d0d2ffd503cb2e4b4118ce310d2fed612dcfef53c9718a50ec159908dd27804 oid sha256:a31c330d40d2ac55b0e4fb417f2e976e10349fc3d0d3b99b0a74783c04534877
size 11532732 size 11587172