attic-labs / noms

The versioned, forkable, syncable database
Apache License 2.0
7.45k stars 266 forks source link

noms should look in $GOPATH/bin for binaries #1499

Closed kalman closed 8 years ago

kalman commented 8 years ago

I don't want to install go things globally, nor do I want $GOPATH/bin in my actual $PATH. Instead, it would be nice (and makes sense to me) if noms knows to look in $GOPATH/bin for noms-* commands.

@willhite @mnm678

aboodman commented 8 years ago

Why don't you want $GOPATH/bin in your path. Isn't that standard practice?

aboodman commented 8 years ago

https://golang.org/doc/code.html#GOPATH

kalman commented 8 years ago

It just says "for convenience". I don't want these in my path:

> ls $GOPATH/bin|cat
andnot
attic-idx
attic-server
be
bootstrap-build
bootstrap-pigeon
calculator
codegen
counter
crunchbase
csv-import
errcheck
exporter
facebook
flickr
gen
gocode
godef
godep
gofmt
goimports
golint
gometalinter
gorename
gotags
imgsvr
importer
index
issue_1
json
json_importer
linear
mp3_importer
music-server
noms
noms-ds
noms-log
noms-refs
noms-server
noms-show
noms-sync
noms-view
oracle
pegparse
pegscan
picasa
pigeon
quad_tree
search
server
sfcrime_importer
sfcrime_search
shove
splore
tagdex
test
tools
ui
unicode-classes
visionator
webapps
xml_importer
aboodman commented 8 years ago

wuss

kalman commented 8 years ago

Fixed