totten / git-scan

CLI tool for scanning/updating git repos
33 stars 7 forks source link

Install via homebrew #7

Open balupton opened 8 years ago

balupton commented 8 years ago

Would be nice if there was a http://brew.sh install option brew install git-scan - for simplicity and trust (installer is verified and consistent with an entire communities practices, rather than a sole person's)

balupton commented 8 years ago

Actually, the install instructions are simple enough - just had to spend a minute or two refreshing my unix knowledge, so this is very low priority now.

I installed it to ~/bin which is in my path so I didn't have to use sudo and modify /usr/local - which were the questionable parts to me.

Thanks so much for this! Awesome work!

totten commented 8 years ago

Thanks for the report!

Agree that using /usr/local (which in turn requires sudo for the download) isn't really necessary. Basically, you can put the file anywhere (preferably registered in the PATH). The main virtue of /usr/local is it that it's simple and portable. (If you deal with people on different flavors of Unix, each will have slightly different conventions for directory-names, shell init scripts, etc.)

totten commented 8 years ago

I updated README.md to softly hint that you can use other locations (but it doesn't go so far as to document/explain everything about how Unix PATH works).

It would be awesome to have a brew install option, and I'd merge any PRs needed for that, although it's not a high priority for me (given that PHARs are simple and more portable).