-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
snap: Allow access to SSH keys and $HOME/.cache/hugo #11288
Comments
The updated Snap package is now available on the "edge" channel. It will be available on the "stable" channel with the next Hugo release. To update your Snap installation to the latest "edge" release:
Read/write access to To enable or revoke access to SSH keys (
This is a persistent setting. |
Thank you! sudo snap version
snap 2.59.5
snapd 2.59.5
series 16
ubuntu 22.04
kernel 5.15.0-1041-realtime
sudo snap list | grep hugo
hugo 0.115.4 16794 extended/stable hugo-authors -
sudo snap refresh hugo --edge
hugo (extended/edge) 0.115.4+git2.739d10e8 from Hugo Authors refreshed
sudo snap connect hugo:ssh-keys
error: snap "hugo" has no plug named "ssh-keys"
|
When I refresh I get 0.116.1...
Not sure why yours isn't refreshing. Try:
|
That worked; I needed to I've reverted git config to include:
And I'm able to deploy. Thank you for the excellent support! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Access to SSH keys is required when users have configured Git to use SSH. For example:
See https://discourse.gohugo.io/t/error-failed-to-load-modules/45477/
Access to
$HOME/.cache/hugo_cache
is required in support of #11286.Both require approval from the Snapcraft team:
https://forum.snapcraft.io/t/hugo-auto-connect-ssh-keys-and-dot-cache-hugo/36123
The text was updated successfully, but these errors were encountered: