Skip to content

Instantly share code, notes, and snippets.

@tarsius
Created November 25, 2019 19:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarsius/74656beeaf3ca53eef20b10e9a991833 to your computer and use it in GitHub Desktop.
Save tarsius/74656beeaf3ca53eef20b10e9a991833 to your computer and use it in GitHub Desktop.
You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
@tarsius
Copy link
Author

tarsius commented Nov 26, 2019

Obviously things don't just work. Therefore I need to understand them.

That's why I am pissed off. I don't intend to learn go and write code in that language myself. I just want to use a tool that happens to be written in that language and hasn't been packaged for my distribution yet. I wouldn't mind doing some research, possibly spending a day before actually being able to do anything, if I wanted to learn the language. But I don't and I don't really care what language this tool is written in.

And the sad think is that I wanted to use this tool because it could possibly solve the primary soul-crushing complication of my own package manager (borg for emacs). But I cannot even try it because the package manager of some other language is so utterly beginner hostile. My package manager at least is explicitly targeted at experts.

@NicolasPetton
Copy link

Try go get github.com/apenwarr/git-subtrac

@NicolasPetton
Copy link

Then cd $HOME/.local/share/go/src/github.com/apenwarr/git-subtrac && go build

Depending on $GOPATH it might be a different directory.

@NicolasPetton
Copy link

Disclaimer: Not a Go expert at all :)

@tarsius
Copy link
Author

tarsius commented Nov 26, 2019

Thanks. It works now with go get ... (provided I manually install the latest go).

@apenwarr
Copy link

[git-subtrac author here] Thanks for pointing me at this discussion. I'm not exactly a go expert either, and didn't know the difference between go get and go install (mostly that go install has only very recently learned how to download things, and it still finicky about it). I'll update the README to recommend go get instead.

git-subtrac is really new, so I apologize that the README doesn't yet answer the most common questions in the most useful way.

@tarsius
Copy link
Author

tarsius commented Nov 28, 2019

@apenwarr Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment