Commit Graph

14 Commits

Author SHA256 Message Date
Dany Marcoux
d4d2cc00b6 Accepting request 800149 from home:mrey:branches:utilities
- Update to version 0.15.0
  * Features
    - This release adds a new --diff/-d option that can be used to
      only show lines surrounding Git changes, i.e. added, removed
      or modified lines. The amount of additional context can be
      controlled with --diff-context=N. See #23 and #940
  * Bugfixes
    - Error message printed in the middle of the output for another
      file, see #946
      Performance improvements when using custom caches (via bat
      cache --build): the bat startup time should now be twice as
      fast.
  * Themes
    - Updated version of the Solarized dark/light themes, see #941
  * bat as a library
    - There are a few changes in the "low level" API (the Config
      struct has changed andthe error handler needs a new &mut dyn
      Write argument). The high-level API is not affected.
- Changes from version 0.14.0
  * Features
    - Added a new --file-name <name>… option to overwrite the
      displayed filename(s) in the header. This is useful when
      piping input into bat. See #654 and #892.
    - Added a new --generate-config-file option to create an
      initial configuration file at the right place. See #870.
  * Bugfixes
    - Performance problems with C# source code have been fixed, see
      #677
    - Performance problems with Makefiles have been fixed, see #750
    - Fix bug when highlighting Ruby files with unindented heredocs

OBS-URL: https://build.opensuse.org/request/show/800149
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=19
2020-05-05 07:15:01 +00:00
Dany Marcoux
9894b56712 Accepting request 792692 from home:dmarcoux
- Update to version 0.13.0
  * Beginning with this release, bat can be used as a library
  * (Breaking change) Glob-based syntax mapping
  * Many bugfixes and new syntaxes
  * And more... see upstream
- Pass "no-track" option to "cargo install" to avoid generating
  ".crates2.json"

OBS-URL: https://build.opensuse.org/request/show/792692
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=17
2020-04-09 10:43:52 +00:00
Dany Marcoux
ff1dc7270a Accepting request 738624 from home:dmarcoux
- Instruct packager to install cargo directly from the cargo package

OBS-URL: https://build.opensuse.org/request/show/738624
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=14
2019-10-15 13:24:20 +00:00
Dany Marcoux
3bc7556b55 Accepting request 734414 from home:luke_nukem:branches:utilities
- Use `pwd`/.cargo for vendor config so that CARGO_HOME export is
  not required.

OBS-URL: https://build.opensuse.org/request/show/734414
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=13
2019-10-01 21:24:40 +00:00
Dany Marcoux
8112623fe7 Accepting request 732986 from home:dmarcoux
- Update to version 0.12.1
  * Features
    Binary file content can now be viewed with bat -A
    bat can now be used as a man pager
    Add new style component to separate multiple '--line-range'
    Added '-L' as an alias for '--list-languages'
  * Bugfixes
    Output looks unbalanced when using '--style=grid,numbers' without 'header'
    Issues with filenames starting with "cache"
    '--terminal-width -10' is parsed incorrectly
  * New syntaxes
    Emacs Org mode
    requirements.txt
    DotENV '.env'
    SSH config
    And more... see upstream
- Set directory for 'git clone' in README.packager
- Add 'clang' to build dependencies

OBS-URL: https://build.opensuse.org/request/show/732986
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=12
2019-09-24 15:36:12 +00:00
Dany Marcoux
58fb6503c1 Accepting request 703433 from home:dmarcoux
- Update to version 0.11.0
  * Features
    New color themes: ansi-light, ansi-dark and base16
    The -p/--plain option can be used twice (typically -pp). First -p switches --style to "plain", second disables pager.
  * Bugfixes
    Do not replace arguments to less when using --pager
    Empty files are (once again) printed with a single header line
    --terminal-width=0 is now disallowed
  * New syntaxes
    Fish
    Update for F#

OBS-URL: https://build.opensuse.org/request/show/703433
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=10
2019-05-16 11:31:32 +00:00
Dany Marcoux
890191182e Accepting request 702779 from home:dmarcoux
Fix license in spec file.

OBS-URL: https://build.opensuse.org/request/show/702779
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=9
2019-05-14 08:07:29 +00:00
Dany Marcoux
0d3d6256fb Accepting request 699676 from home:dmarcoux
- Run spec-cleaner
- Remove double %setup macro
- Simplify tar command in README.packager

OBS-URL: https://build.opensuse.org/request/show/699676
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=8
2019-04-30 13:19:12 +00:00
Dany Marcoux
01017a709b Accepting request 684109 from home:dmarcoux
- Prevent cargo from updating dependencies with `--locked`
- Remove unneeded macro (%defattr)
- List licenses with the right macro (%license)

OBS-URL: https://build.opensuse.org/request/show/684109
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=7
2019-03-11 20:01:05 +00:00
Michael Vetter
d63e9f5c4b Accepting request 674133 from home:dmarcoux
- Add README.packager for instructions on how to generate vendor.tar.xz
- Update to version 0.10.0
  * Features
    New option --highlight-line <N>
    New option -A/--show-all to show and highlight non-printable characters (in analogy to GNU cats option)
    New option --pager to configure the pager
    Support for a configuration file (https://github.com/sharkdp/bat#format)
    Support for custom config file path via --config-file option or BAT_CONFIG_PATH environment variable
    Support for custom syntax mappings via the -m/--max-syntax option
    Support pager command-line arguments in PAGER and BAT_PAGER
    The --terminal-width option can now also accept offsets
    Support for multiple --line-range arguments
    Encoding support for UTF-16LE and UTF-16BE
  * Changes
    Completely disabled the generation of shell completion files
    Report the name of missing files
    Don't start pager if file doesn't exist
    Rename bat cache --init to bat cache --build
    Move the --config-dir and --cache-dir options from bat cache to bat and hide them from the help text
    The default tab-width has been set to 4
  * New syntaxes supported
    Robot framework, Twig, .desktop files, AsciiDoc, Assembly, Jsonnet,
    Log files, Protobuf and ProtobufText, Terraform and Varlink

OBS-URL: https://build.opensuse.org/request/show/674133
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=5
2019-02-12 15:07:55 +00:00
Dominique Leuenberger
cde804fd67 Accepting request 639562 from utilities
- Fix the description's grammar.
- Update to version 0.7.1
 - Inital packaging @ 0.5.0

OBS-URL: https://build.opensuse.org/request/show/639562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=1
2018-10-11 09:49:35 +00:00
Ismail Dönmez
ea4060be63 Accepting request 639555 from home:jengelh:branches:utilities
- Fix the description's grammar.

OBS-URL: https://build.opensuse.org/request/show/639555
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=3
2018-10-02 10:09:13 +00:00
Dany Marcoux
498b4c16e0 Accepting request 639147 from home:dmarcoux
Update description

OBS-URL: https://build.opensuse.org/request/show/639147
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=2
2018-09-29 14:38:54 +00:00
Michael Vetter
37014fa6e5 Accepting request 639027 from home:dmarcoux
New devel package

OBS-URL: https://build.opensuse.org/request/show/639027
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=1
2018-09-28 15:16:54 +00:00