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 Version Breaks Environment #2565
Comments
|
Thank you for reporting! There are just too many subtle issues with hub in a snap, so I've changed our installation instructions to un-recommend it. |
|
|
|
@mcornella You are welcome to submit a PR for our documentation! Does |
All maintained Ubuntu releases use
Looks like both Debian and Ubuntu are using 2.7.0, while the current release is 2.14.2 (both package mantainers are the "Debian Go Packaging Team"). I see no reason not to change the Ubuntu docs then. If you agree I'll submit a PR, like so: diff --git a/README.md b/README.md
index 67fea91..8ba1a6f 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ Fedora Linux | [DNF](https://fedoraproject.org/wiki/DNF) | `sudo dnf install hub
Arch Linux | [pacman](https://wiki.archlinux.org/index.php/pacman) | `sudo pacman -S hub`
FreeBSD | [pkg(8)](http://man.freebsd.org/pkg/8) | `pkg install hub`
Debian | [apt(8)](https://manpages.debian.org/buster/apt/apt.8.en.html) | `sudo apt install hub`
-Ubuntu | [Snap](https://snapcraft.io) | [We do not recommend installing the snap anymore.](https://github.com/github/hub/issues?q=is%3Aissue+snap)
+Ubuntu | [apt(8)](https://manpages.ubuntu.com/manpages/focal/en/man8/apt.8.html) | `sudo apt install hub` ([we do not recommend installing the snap anymore](https://github.com/github/hub/issues?q=is%3Aissue+snap))
openSUSE | [Zypper](https://en.opensuse.org/SDB:Zypper_manual) | `sudo zypper install hub`
Void Linux | [xbps](https://github.com/void-linux/xbps) | `sudo xbps-install -S hub`
Gentoo | [Portage](https://wiki.gentoo.org/wiki/Portage) | `sudo emerge dev-vcs/hub` |
|
@mcornella Thanks for looking that up! v2.7.0 is 3 years old. I don't want to give instructions to anyone that will result them in getting a buggy version of hub. I would rather that people manually download and unpack the tarball from our Releases page. |
|
That makes sense, thanks! |



pckilgore commentedJun 19, 2020
•
edited
Context
I use chezmoi (which call out to git under the hood) composed with keybase encrypted git repositories (which provides a git-remote helper). This combination has served me well, I recommend it!
But when I install hub via the snap package, these applications no longer compose neatly.
Command attempted:
git pushWhat happened:
git-remote-keybasedoes not think keybase is running, because XDG environment is missing. See this issue for the gritty details.This happens only with
hubprovided as a snap. Installing via APT and there is no problem.More info:
I
alias git=hubin my.bash_aliasesfile.The text was updated successfully, but these errors were encountered: