Package Details: git-secret 0.5.0-1

Git Clone URL: https://aur.archlinux.org/git-secret.git (read-only, click to copy)
Package Base: git-secret
Description: A bash-tool to store your private data inside a git repository
Upstream URL: https://github.com/sobolevn/git-secret/
Licenses: MIT
Submitter: itunali
Maintainer: rew1red
Last Packager: rew1red
Votes: 7
Popularity: 0.000539
First Submitted: 2016-05-10 11:02 (UTC)
Last Updated: 2022-06-05 15:19 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

rew1red commented on 2022-06-10 19:00 (UTC)

Hey @ZTF--

Make is part of the base-devel group (https://archlinux.org/groups/x86_64/base-devel/).

It is assumed that if you are installing a package from the AUR, you have base-devel on your system (https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started).

Because of this, many build dependencies (make, sed, gcc) are not listed as dependencies in pkgbuilds (https://wiki.archlinux.org/title/PKGBUILD#makedepends).

ztf commented on 2022-06-10 18:52 (UTC) (edited on 2022-06-10 18:54 (UTC) by ztf)

build depends on make, so makedepends=('make') could be specified

Felixoid commented on 2021-10-04 08:56 (UTC) (edited on 2021-10-04 08:56 (UTC) by Felixoid)

Thank you for updating it.

I can't really say too why it's the case, w/o building a package make clean build works fine. ¯\_(ツ)_/¯

rew1red commented on 2021-10-01 15:50 (UTC)

Interesting. I can't understand why chaining Make targets would cause this build to fail; I can only assume something else is going on in the background.

Either way, if this fixes the issue that two people have now reported, I can't see a reason not to include it.

Felixoid commented on 2021-10-01 15:16 (UTC) (edited on 2021-10-01 15:39 (UTC) by Felixoid)

@rew1red Here's some patch necessary for the PKGBUILD, that will improve immutability:

diff --git a/PKGBUILD b/PKGBUILD
index 091f1ab..cbe70c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ url='https://github.com/sobolevn/git-secret/'
 license=('MIT')
 depends=('git' 'gnupg')
 source=("LICENSE::https://raw.githubusercontent.com/sobolevn/git-secret/v${pkgver}/LICENSE.md"
-        "${pkgname}-${pkgver}::https://github.com/sobolevn/git-secret/archive/v${pkgver}.tar.gz")
+        "${pkgname}-${pkgver}.tar.gz::https://github.com/sobolevn/git-secret/archive/v${pkgver}.tar.gz")
 sha256sums=('bc950a06cb1ba74afe4815dadb2f9e4639542de2894c6838924676981672d483'
             'ae17bfda88eb77e8f07c5f16d833792a3a14adc9c5d2bbc840f28538c62f08ba')

Besides that, your build is not stable. Here I have some experiment done:

$ for i in {1..30}; do makepkg -f >/dev/null && echo >> success || echo >> failed; done
    LICENSE ... Passed
    git-secret-0.4.0.tar.gz ... Passed
    LICENSE ... Passed
    git-secret-0.4.0.tar.gz ... Passed
install: cannot stat 'git-secret': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
    LICENSE ... Passed
    git-secret-0.4.0.tar.gz ... Passed
    LICENSE ... Passed
    git-secret-0.4.0.tar.gz ... Passed
install: cannot stat 'git-secret': No such file or directory
..... repeat

$ wc failed success
15  0 15 failed
15  0 15 success
30  0 30 total

So, please, separate clean and build to different commands.

upd: it looks like package is failed each second time

rew1red commented on 2021-05-12 15:48 (UTC)

@Pantelis - Can you elaborate on your suggestion? Chaining make targets runs them each in order, so functionally there should be no difference.

With that said, I can't reproduce your build failure. Can you provide more context about where in the build you encountered the failure?

Pantelis commented on 2021-05-12 10:38 (UTC)

build fails with message:

install: cannot stat 'git-secret': No such file or directory

Fix. Edit PKGBUILD from:

[...]
    cd "$srcdir/git-secret-${pkgver}"
    make clean build

to:

[...]
    cd "$srcdir/git-secret-${pkgver}"
    make clean
    make build

Sandarr95 commented on 2019-06-27 08:29 (UTC)

It seems they've removed git-secret.plugin.zsh for this release: https://github.com/sobolevn/git-secret/issues/382

This causes an error on line: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=git-secret#n54

Solution should be to just remove the line.

malet commented on 2018-09-26 10:10 (UTC) (edited on 2018-09-26 10:10 (UTC) by malet)

@itunali Works now, thank you :)

itunali commented on 2018-09-25 06:51 (UTC)

@malet, my PKGBUILD uses "git" for to fetch source files. Also you can fetch .tar.gz as in your PKGBUILD.

I bumped to 0.2.4 with successfully. What is the error you got?