-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git secret adding a tracked file fails with ambiguous message "file_name is not a file. abort" #126
Comments
@aymens could you please try it with the latest version? |
I've been using master. That should be latest no? |
Same here
|
@aymens yeap, we need to fix that. Since I am very limited in my free time, I would really appreciate any help. And you said that you are interested in working on it. Feel free to ask any questions you have! Thanks! |
Hi, Is there a development in this regard? I would love to use this tool but so far I have the same issue. |
Nope, this issue is still not addressed. |
@sandorgazdag this is on my todo list, I'll do it as soon as I can. In the meantime you can simply do |
@hurricanehrndz done! |
is this completed? Shall we close? |
ping @hurricanehrndz |
oh, I see, this is still an issue:
|
@joshrabinowitz I think that option 2 provided by @aymens is good enough:
|
It appears it still throws the same ambiguous msg: ~/repos/xtigyro/helmfiles # git secret add helmfile.yaml
helmfile.yaml is not a file. abort. |
Yeah - I'm using the pkg that comes with Ubuntu 20.04. ~ # dpkg -l git-secret
||/ Name Version Architecture Description
+++-==============-============-============-============================================================
ii git-secret 0.2.3-1 all store encrypted credential inside source code git repository |
@Xtigyro that's a really old version of git-secret. The last released version was 0.3.2. We've been trying to get git-secret updated in debian, which would flow downstream to Ubuntu: See #312 and In the meantime your best course of action is probably to uninstall the Ubuntu package and re-install git-secret from source or https://dl.bintray.com/sobolevn/deb/ |
I've sent Debian a reminder about this - I hope it helps a bit. |
What are the steps to reproduce this issue?
git secret add -i already_tracked_filename
What happens?
File not added, operation aborted.
What were you expecting to happen?
Or
git rm --cached already_tracked_filename
Any logs, error output, etc?
already_tracked_filename is not a file. abort.
Any other comments?
@sobolevn which option do you prefer 1 or 2? I'm asking because I'm interested in working on it (if I find time).
What versions of software are you using?
Operating system: (
uname -a
) …Linux instance-2-git-secret 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 GNU/Linux
git-secret
path: (which git-secret
) …/usr/local/bin/git-secret
git-secret
version: (git secret --version
) …0.2.2
git
version: (git --version
) …git version 2.11.0
Shell type and version: (
$SHELL --version
) …GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
gpg
version: (gpg --version
) …The text was updated successfully, but these errors were encountered: