Package Details: git-delta 0.1.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: 6
Popularity: 0.83
First Submitted: 2019-10-08 13:19
Last Updated: 2020-04-27 09:37

Latest Comments

1 2 Next › Last »

Kr1ss commented on 2020-04-28 09:37

That crates index issue seems to be resolved now; could you pls confirm @marcospb19 ?

tia

Kr1ss commented on 2020-04-28 07:22

@marcospb19 thank you for reporting this here, nevertheless. I'll see if upstream knows about this when I'm back at my box later today.

marcospb19 commented on 2020-04-28 06:07

I'm getting the same problem while trying to directly compile the program from the repository, so nothing to do here unless it's a dependency issue.

marcospb19 commented on 2020-04-28 06:04

Doesn't look like this problem is being caused by your packaging. I'll study more the problem.

marcospb19 commented on 2020-04-28 06:00

Hello, I got an error:

==> Starting build()... Updating crates.io index error: failed to get ansi_colours as a dependency of package git-delta v0.1.1 (/home/marcospb19/.cache/yay/git-delta/src/delta-0.1.1)

Caused by: failed to fetch https://github.com/rust-lang/crates.io-index

Caused by: failed to authenticate when downloading repository attempted ssh-agent authentication, but none of the usernames git succeeded

Caused by: error authenticating: no auth sock variable; class=Ssh (23) ==> ERROR: A failure occurred in build(). Aborting... Error making: git-delta

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.