Package Details: git-delta 0.5.1-1

Git Clone URL: https://aur.archlinux.org/git-delta.git (read-only, click to copy)
Package Base: git-delta
Description: A syntax-highlighting pager for git and diff output
Upstream URL: https://github.com/dandavison/delta
Keywords: beautify CLI diff git pager
Licenses: MIT
Submitter: Kr1ss
Maintainer: Kr1ss
Last Packager: Kr1ss
Votes: 22
Popularity: 4.88
First Submitted: 2019-10-08 13:19
Last Updated: 2021-01-05 17:18

Latest Comments

« First ‹ Previous 1 2 3

Kr1ss commented on 2020-03-08 08:16

Wow thx @ccorn !

This has actually annoyed me each time when I've rebuilt packages w/ cargo.

I've applied your patch and added a note to make users aware of the option to create the .cargo folder inside their AUR source directory to have it used as persistent CARGO_HOME.

Cheers !

ccorn commented on 2020-03-08 00:37

Cargo building a 112 MiB cache of dependencies each time in a chroot build is problematic, particularly when connectivity is poor. Therefore I have added a snippet that allows chroot builds to use a persistent (but package-specific) cargo cache. Just create a .cargo folder near your PKGBUILD to have that folder used.

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,12 @@ makedepends=('rust')
 source=("$url/archive/$pkgver.tar.gz")
 sha256sums=('ac1f26ac5ea10d43b300675189c49437dcae7a9fca7e51f615058ab0550d27e5')

+prepare() {
+  # Assist chroot builds with a persistent cargo cache
+  if test -d "$startdir/.cargo"; then
+    export CARGO_HOME="${CARGO_HOME:-$startdir/.cargo}"
+  fi
+}

 build() {
   cd "$_name-$pkgver"

navarroaxel commented on 2020-02-07 15:24

I had open an issue to let know to the maintainer to avoid the re-release https://github.com/dandavison/delta/issues/91

Kr1ss commented on 2020-02-07 15:14

Thank you very much for making me aware !

navarroaxel commented on 2020-02-07 15:00

The repo owner dandavison has re-released the 0.0.16 and the sha256sums doesn't match.

Kr1ss commented on 2020-02-06 21:19

Thx for the flag @ronjouch ! Cheers !