Package Details: stgit 2.4.12-1

Git Clone URL: https://aur.archlinux.org/stgit.git (read-only, click to copy)
Package Base: stgit
Description: Stack-based patch management for Git
Upstream URL: https://stacked-git.github.io/
Licenses: GPL2
Submitter: None
Maintainer: jpgrayson
Last Packager: jpgrayson
Votes: 22
Popularity: 0.000003
First Submitted: 2007-03-31 20:22 (UTC)
Last Updated: 2024-09-09 01:05 (UTC)

Latest Comments

1 2 Next › Last »

lorinder commented on 2023-06-17 14:58 (UTC)

Thanks! Works on aarch64 (raspberry pi) for me. PKGBUILD patch:

diff --git a/PKGBUILD b/PKGBUILD
index ae2370d..3b1b7b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
 pkgdesc="Stack-based patch management for Git"
 url="https://stacked-git.github.io/"
 license=('GPL2')
-arch=(x86_64)
+arch=(x86_64 aarch64)
 depends=('git' 'curl' 'bzip2')
 makedepends=('cargo' 'asciidoc' 'xmlto')
 source=(

Necoro commented on 2022-11-07 23:27 (UTC)

Thanks @jpgrayson for the fixes (also over at GitHub)!

Regarding the build: Have you by chance the static lib lying around somewhere? Or the built crate?

I'm building inside empty containers (using makechrootpkg) and I can't see a way how it could link statically, because it cannot fetch the libgit2-library out of thin air.

jpgrayson commented on 2022-11-07 21:10 (UTC)

I've added libgit2, bzip2, and curl as explicit dependencies in 2.0.0-2.

What I've found is that if, for example, libgit2 is not installed, the StGit build does work, but with libgit2 statically linked. So I am not able to reproduce the build failure.

Nonetheless, I think it is better for this package to have dynamic link dependencies and it will make builds consistent.

Thanks for pointing out this issue, @Necoro.

Necoro commented on 2022-11-07 10:59 (UTC)

A dependency to libgit2 is missing. Without this, compiling the git2 rust crate fails with messages like:

/usr/bin/ld: /build/stgit/src/stgit-2.0.0/target/release/deps/stg-d78e3aa44a4f9436.stg.f6b8ba36-cgu.10.rcgu.o: in function `git2::treebuilder::TreeBuilder::insert':
          stg.f6b8ba36-cgu.10:(.text._ZN4git211treebuilder11TreeBuilder6insert17hdb3493544d0fa99dE+0xac): undefined reference to `git_treebuilder_insert

Also, the claim in the README (the resulting binary being statically linked) is not correct, so libgit2 really is a dependency, not only a makedep.

terinjokes commented on 2021-09-27 21:15 (UTC)

Hello again. I'm working on stgit 1.3 right now, hope to get it to you shortly.

terinjokes commented on 2021-02-14 16:15 (UTC)

Sorry, been on holiday. Will work on update today.

jpgrayson commented on 2018-11-22 05:10 (UTC)

@terinjokes I did not realize that GitHub archive tarballs were not deterministic. Thanks for the heads-up.

I have made a proper release for v0.19 on GitHub:

https://github.com/ctmarinas/stgit/releases/tag/v0.19

The release contains an sdist tarball that I generated and uploaded with the release:

https://github.com/ctmarinas/stgit/releases/download/v0.19/stgit-0.19.tar.gz

It's sha256sum is:

8a9b487c9aff2b673200011e84ac7b6af3c7800e6ccdbd27c562dcf6a5b1ad1e

Thanks again for your help!

immae commented on 2018-11-21 18:45 (UTC)

So quick, thanks :)

terinjokes commented on 2018-11-21 18:40 (UTC)

I copied it to /usr/share/bash-completion/completions/stg. Keeping a copy in the previous location for now, in case it's being sourced manually.

immae commented on 2018-11-21 17:38 (UTC)

Hi @terinjokes, I see that the completion file for stgit is in /usr/share/stgit/completion/stgit-completion.bash, would it maybe make sense to move it to the standard location /usr/share/bash-completion/completions/, so that it is automatically found by bash scripts?