]> git.proxmox.com Git - debcargo-conf.git/commitdiff
Remove work in progress on new version of bat.
authorPeter Michael Green <plugwash@debian.org>
Sat, 15 Jan 2022 23:29:53 +0000 (23:29 +0000)
committerPeter Michael Green <plugwash@debian.org>
Sat, 15 Jan 2022 23:36:04 +0000 (23:36 +0000)
src/bat/debian/changelog
src/bat/debian/copyright.debcargo.hint
src/bat/debian/debcargo.toml
src/bat/debian/patches/bump-dep.diff
src/bat/debian/patches/bump-semver.diff
src/bat/debian/patches/disable-bugreport.diff
src/bat/debian/patches/lower-syntect-dep.diff
src/bat/debian/patches/series

index 5696475519e0752fe842f91f9c00dd54187d08f0..ad704fe0ffd9f9f38f65a34217a0d8dbe1dbab04 100644 (file)
@@ -1,10 +1,3 @@
-rust-bat (0.19.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
-
-  * Team upload.
-  * Package bat 0.19.0 from crates.io using debcargo 2.5.0
-
- -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 14 Jan 2022 13:13:49 +0100
-
 rust-bat (0.18.3-2) unstable; urgency=medium
 
   * Fix the sections
index 556b91c1f17c266fe95ea8b3e34a46fb39786bd8..c53ebf3045e17c43696b6410bd8b683a910f2f20 100644 (file)
@@ -19,13 +19,6 @@ Comment:
  FIXME (overlay): These notices are extracted from files. Please review them
  before uploading to the archive.
 
-Files: ./NOTICE
-Copyright: 2018-2021 bat-developers (https://github.com/sharkdp/bat).
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
 Files: ./README.md
 Copyright: 2018-2021 [bat-developers](https://github.com/sharkdp/bat).
 License: UNKNOWN-LICENSE; FIXME (overlay)
@@ -54,13 +47,6 @@ Comment:
  FIXME (overlay): These notices are extracted from files. Please review them
  before uploading to the archive.
 
-Files: ./doc/README-zh.md
-Copyright: 2018-2021 [bat-developers](https://github.com/sharkdp/bat).
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
 Files: ./src/less.rs
 Copyright:
  1984-2016  Mark Nudelman
@@ -72,43 +58,6 @@ Comment:
  FIXME (overlay): These notices are extracted from files. Please review them
  before uploading to the archive.
 
-Files: ./tests/benchmarks/highlighting-speed-src/grep-output-ansi-sequences.txt
-Copyright:
- 2018-2021 [\e[1;33m\e[Kbat\e[m\e[K-developers](https://github.com/sharkdp/\e[1;33m\e[Kbat\e[m\e[K).
- 2018-2021 [\e[1;33m\e[Kbat\e[m\e[K-developers](https://github.com/sharkdp/\e[1;33m\e[Kbat\e[m\e[K).
- 2018-2021 [\e[1;33m\e[Kbat\e[m\e[K-developers](https://github.com/sharkdp/\e[1;33m\e[Kbat\e[m\e[K).
- 2018-2021 [Разработчики \e[1;33m\e[Kbat\e[m\e[K](https://github.com/sharkdp/\e[1;33m\e[Kbat\e[m\e[K).
- 2018-2021 \e[1;33m\e[Kbat\e[m\e[K-developers (https://github.com/sharkdp/\e[1;33m\e[Kbat\e[m\e[K).
- 2020 eth-p and contributors | MIT License\e[0m
- 2020 eth-p and contributors | MIT License
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
-Files: ./tests/benchmarks/highlighting-speed-src/miniz.c
-Copyright:
- 2013-2014 RAD Game Tools and Valve Software
- 2010-2014 Rich Geldreich and Tenacious Software LLC
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
-Files: ./tests/integration_tests.rs
-Copyright:
- 2018-2021 bat-developers (https://github.com/sharkdp/bat).",
- 2012-2020 The Sublime CMake authors",
- 2014-2015 SaltStack Team",
- 2013-present Dracula Theme",
- 2017 b123400"))
- 2021 Keith Hall"))
- 2014 Clams")),
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
 Files: ./tests/syntax-tests/source/Bash/batgrep.sh
 Copyright:
  2020 eth-p and contributors | MIT License
@@ -200,18 +149,6 @@ Comment:
  FIXME (overlay): These notices are extracted from files. Please review them
  before uploading to the archive.
 
-Files: ./tests/syntax-tests/source/Groff/LICENSE.md
-Copyright:
- 2003-2013 University of Illinois at
- 2009-2014 by the contributors listed in
- 2009-2014 by the contributors listed in
- 2008-2010 Tachyon Technologies.
- 2012-2014 Free Software Foundation, Inc.
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
 Files: ./tests/syntax-tests/source/Java Server Page (JSP)/NOTICE
 Copyright:
  1999-2021 The Apache Software Foundation
@@ -237,13 +174,6 @@ Comment:
  FIXME (overlay): These notices are extracted from files. Please review them
  before uploading to the archive.
 
-Files: ./tests/syntax-tests/source/LiveScript/LICENSE.md
-Copyright: 2012 Paul Miller (http://paulmillr.com/), Jeremy Ashkenas
-License: UNKNOWN-LICENSE; FIXME (overlay)
-Comment:
- FIXME (overlay): These notices are extracted from files. Please review them
- before uploading to the archive.
-
 Files: ./tests/syntax-tests/source/MATLAB/LICENSE.md
 Copyright: 2006-2020 by the respective authors (see AUTHORS file).
 License: UNKNOWN-LICENSE; FIXME (overlay)
index fa67c8c1b3cf79d09bb4043056be48b6480ded75..8d2fee0ae794d3af93f5f6c0132ac8a0067bbd8e 100644 (file)
@@ -1,6 +1,6 @@
 overlay = "."
 uploaders = ["Paride Legovini <paride@debian.org>", "Helen Koike <helen@koikeco.de>", "Sylvestre ledru <sylvestre@debian.org>"]
-excludes = ["tests/benchmarks/test-src/**", "tests/examples/**", "tests/syntax-tests/highlighted/**", "tests/syntax-tests/source/BatTestCustomAssets/**"]
+excludes = ["tests/benchmarks/test-src/**", "tests/examples/**", "tests/syntax-tests/highlighted/**"]
 
 whitelist = ["tests/*.c"]
 collapse_features = true
index 0587e7383d36a1873a5637d1bf397c9f52776743..c4aee6b01989c46b8f4fc52075ddc59eaa7ecdf4 100644 (file)
@@ -2,11 +2,11 @@ Index: bat/Cargo.toml
 ===================================================================
 --- bat.orig/Cargo.toml
 +++ bat/Cargo.toml
-@@ -51,7 +51,7 @@ default-features = false
+@@ -48,7 +48,7 @@ default-features = false
  version = "0.3"
  
  [dependencies.console]
--version = "0.15.0"
+-version = "0.14.1"
 +version = "0.13"
  
  [dependencies.content_inspector]
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..355a4257b43be52c656a63743f7ac39fa2478df6 100644 (file)
@@ -0,0 +1,13 @@
+Index: bat/Cargo.toml
+===================================================================
+--- bat.orig/Cargo.toml
++++ bat/Cargo.toml
+@@ -84,7 +84,7 @@ version = "0.5"
+ default-features = false
+ [dependencies.semver]
+-version = "0.11"
++version = "1"
+ [dependencies.serde]
+ version = "1.0"
index cf981cacdf112ac848d0c456fab049a6159ac5fa..257f7d601d2e4b3d1bba4f09ab28177f2981b5ec 100644 (file)
@@ -2,42 +2,33 @@ Index: bat/Cargo.toml
 ===================================================================
 --- bat.orig/Cargo.toml
 +++ bat/Cargo.toml
-@@ -37,9 +37,9 @@ optional = true
- [dependencies.bincode]
- version = "1.0"
+@@ -35,8 +35,8 @@ version = "^0.12.1"
+ version = "0.2.14"
+ optional = true
  
 -[dependencies.bugreport]
 -version = "0.4"
--optional = true
 +#[dependencies.bugreport]
 +#version = "0.4"
-+#optional = true
  
  [dependencies.clap]
- version = "2.34"
-@@ -140,7 +140,7 @@ version = "2.34"
- optional = true
- [features]
--application = ["bugreport", "build-assets", "git", "minimal-application"]
-+application = ["build-assets", "git", "minimal-application"]
- build-assets = ["syntect/yaml-load", "syntect/dump-create", "regex", "walkdir"]
- default = ["application"]
- git = ["git2"]
+ version = "2.33"
 Index: bat/src/bin/bat/main.rs
 ===================================================================
 --- bat.orig/src/bin/bat/main.rs
 +++ bat/src/bin/bat/main.rs
-@@ -273,13 +273,13 @@ fn invoke_bugreport(app: &App) {
+@@ -226,7 +226,7 @@ fn run_controller(inputs: Vec<Input>, co
  fn run() -> Result<bool> {
      let app = App::new()?;
  
 -    if app.matches.is_present("diagnostic") {
 +/*    if app.matches.is_present("diagnostic") {
-         #[cfg(feature = "bugreport")]
-         invoke_bugreport(&app);
-         #[cfg(not(feature = "bugreport"))]
-         println!("bat has been built without the 'bugreport' feature. The '--diagnostic' option is not available.");
+         use bugreport::{bugreport, collector::*, format::Markdown};
+         let pager = bat::config::get_pager_executable(app.matches.value_of("pager"))
+             .unwrap_or_else(|| "less".to_owned()); // FIXME: Avoid non-canonical path to "less".
+@@ -268,7 +268,7 @@ fn run() -> Result<bool> {
+         report.print::<Markdown>();
          return Ok(true);
 -    }
 +    }*/
index e3374f4e24f80c9e3e8c148a51026935de2858a1..acfbd330dad474233a55e9e5313b9b4a685874c8 100644 (file)
@@ -2,21 +2,22 @@ Index: bat/Cargo.toml
 ===================================================================
 --- bat.orig/Cargo.toml
 +++ bat/Cargo.toml
-@@ -104,7 +104,7 @@ version = "1.0.0"
+@@ -98,7 +98,7 @@ version = "1.0.0"
  optional = true
  
  [dependencies.syntect]
--version = "4.6.0"
+-version = "4.5.0"
 +version = "3.3"
- features = ["parsing"]
+ features = ["parsing", "yaml-load", "dump-load", "dump-create"]
  default-features = false
  
-@@ -144,7 +144,7 @@ application = ["bugreport", "build-asset
- build-assets = ["syntect/yaml-load", "syntect/dump-create", "regex", "walkdir"]
+@@ -127,7 +127,8 @@ version = "2.33"
+ optional = true
+ [features]
+-application = ["atty", "clap", "dirs-next", "git", "lazy_static", "paging", "wild", "regex-onig"]
++application = ["atty", "clap", "dirs-next", "git", "lazy_static", "paging", "wild"]
++#, "regex-onig"]
  default = ["application"]
  git = ["git2"]
--minimal-application = ["atty", "clap", "dirs-next", "paging", "regex-onig", "wild"]
-+minimal-application = ["atty", "clap", "dirs-next", "paging", "wild"]
- paging = ["shell-words", "grep-cli"]
- regex-fancy = ["syntect/regex-fancy"]
- regex-onig = ["syntect/regex-onig"]
+ paging = ["shell-words"]
index 0139c161e93925a641d1eeab6052edb9d8ebd082..a612bee7aaaf4622311e4fee4dd824d27be06560 100644 (file)
@@ -1,5 +1,4 @@
 bump-dep.diff
 disable-bugreport.diff
+bump-semver.diff
 lower-syntect-dep.diff
-relax-clap.diff
-relax-unicode.diff