Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spock + gpg #40

Open
zackphilipps opened this issue Jun 18, 2019 · 2 comments
Open

Spock + gpg #40

zackphilipps opened this issue Jun 18, 2019 · 2 comments

Comments

@zackphilipps
Copy link

馃憢 Hello! I'm wondering if anyone has successfully gotten Spock working with GPG or knows of any workarounds besides disabling commit signing. Right now, commits don't work and I keep getting this error:

[2019-06-18 19:03:23] production.ERROR: Spock command exited unsuccessfully:
Command: git commit -m "Addon settings saved by admin"
Output: No output
Error: 
error: cannot run gpg: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object  

Not a huge deal since I'm just on my local machine, but again, just putting this out there in case anyone has any insight.

Maybe it's worth adding the ability to specify some more Git configs within Spock's settings? What if you could arbitrarily add any config you wanted, and Spock would just add git -c key=value (in this case, git -c commit.gpgsign=false) to each commit? Is there anything inherently terrible in that approach?

@jesseleite
Copy link
Member

Good question, I don't know much about GPG. You mention being on your local machine, but do you use GPG in your production environment?

@zackphilipps
Copy link
Author

@jesseleite I don't believe so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants