diff --git a/README.md b/README.md index 82ebbef0..10da2075 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Hound is an extremely fast source code search engine. The core is based on this 1. Use the Go tools to install Hound. The binaries `houndd` (server) and `hound` (cli) will be installed in your $GOPATH. ``` -go get github.com/etsy/hound/cmds/... +go get github.com/hound-search/hound/cmds/... ``` 2. Create a [config.json](config-example.json) in a directory with your list of repositories. @@ -103,8 +103,8 @@ Go tools work accordingly. See [Setting GOPATH](https://github.com/golang/go/wik up your Go workspace. With a `GOPATH` set, the following commands will build hound locally. ``` -git clone https://github.com/etsy/hound.git ${GOPATH}/src/github.com/etsy/hound -cd ${GOPATH}/src/github.com/etsy/hound +git clone https://github.com/hound-search/hound.git ${GOPATH}/src/github.com/hound-search/hound +cd ${GOPATH}/src/github.com/hound-search/hound make ``` diff --git a/api/api.go b/api/api.go index 017eec2e..b0efc3a1 100644 --- a/api/api.go +++ b/api/api.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/etsy/hound/config" - "github.com/etsy/hound/index" - "github.com/etsy/hound/searcher" + "github.com/hound-search/hound/config" + "github.com/hound-search/hound/index" + "github.com/hound-search/hound/searcher" ) const ( diff --git a/client/ack.go b/client/ack.go index c7db78c3..3259acc2 100644 --- a/client/ack.go +++ b/client/ack.go @@ -6,8 +6,8 @@ import ( "os" "regexp" - "github.com/etsy/hound/ansi" - "github.com/etsy/hound/config" + "github.com/hound-search/hound/ansi" + "github.com/hound-search/hound/config" ) type ackPresenter struct { diff --git a/client/client.go b/client/client.go index 85bbff81..600cfe2b 100644 --- a/client/client.go +++ b/client/client.go @@ -3,12 +3,13 @@ package client import ( "encoding/json" "fmt" - "github.com/etsy/hound/config" - "github.com/etsy/hound/index" "net/http" "net/url" "regexp" "strings" + + "github.com/hound-search/hound/config" + "github.com/hound-search/hound/index" ) type Response struct { diff --git a/client/coalesce.go b/client/coalesce.go index 736c435e..69d085ac 100644 --- a/client/coalesce.go +++ b/client/coalesce.go @@ -1,7 +1,7 @@ package client import ( - "github.com/etsy/hound/index" + "github.com/hound-search/hound/index" ) type Block struct { diff --git a/client/coalesce_test.go b/client/coalesce_test.go index ef9b983b..067eb72e 100644 --- a/client/coalesce_test.go +++ b/client/coalesce_test.go @@ -3,7 +3,7 @@ package client import ( "testing" - "github.com/etsy/hound/index" + "github.com/hound-search/hound/index" ) // TODO(knorton): diff --git a/client/grep.go b/client/grep.go index 8110ae43..6861a011 100644 --- a/client/grep.go +++ b/client/grep.go @@ -5,8 +5,8 @@ import ( "os" "regexp" - "github.com/etsy/hound/ansi" - "github.com/etsy/hound/config" + "github.com/hound-search/hound/ansi" + "github.com/hound-search/hound/config" ) type grepPresenter struct { diff --git a/cmds/hound/main.go b/cmds/hound/main.go index 79694d26..9f947fa3 100644 --- a/cmds/hound/main.go +++ b/cmds/hound/main.go @@ -8,8 +8,8 @@ import ( "os/user" "regexp" - "github.com/etsy/hound/client" - "github.com/etsy/hound/index" + "github.com/hound-search/hound/client" + "github.com/hound-search/hound/index" ) // A uninitialized variable that can be defined during the build process with diff --git a/cmds/houndd/main.go b/cmds/houndd/main.go index 2e5980ca..006d0b8e 100644 --- a/cmds/houndd/main.go +++ b/cmds/houndd/main.go @@ -13,11 +13,11 @@ import ( "strings" "syscall" - "github.com/etsy/hound/api" - "github.com/etsy/hound/config" - "github.com/etsy/hound/searcher" - "github.com/etsy/hound/ui" - "github.com/etsy/hound/web" + "github.com/hound-search/hound/api" + "github.com/hound-search/hound/config" + "github.com/hound-search/hound/searcher" + "github.com/hound-search/hound/ui" + "github.com/hound-search/hound/web" ) const gracefulShutdownSignal = syscall.SIGTERM diff --git a/codesearch/index/write.go b/codesearch/index/write.go index ff0f280f..c8eddb32 100644 --- a/codesearch/index/write.go +++ b/codesearch/index/write.go @@ -13,7 +13,7 @@ import ( "strings" "unsafe" - "github.com/etsy/hound/codesearch/sparse" + "github.com/hound-search/hound/codesearch/sparse" ) // Index writing. See read.go for details of on-disk format. diff --git a/codesearch/regexp/match.go b/codesearch/regexp/match.go index ba84c592..f1ff2361 100644 --- a/codesearch/regexp/match.go +++ b/codesearch/regexp/match.go @@ -14,7 +14,7 @@ import ( "regexp/syntax" "sort" - "github.com/etsy/hound/codesearch/sparse" + "github.com/hound-search/hound/codesearch/sparse" ) // A matcher holds the state for running regular expression search. diff --git a/config/config_test.go b/config/config_test.go index 6ff5b76b..d1e70d95 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -5,7 +5,7 @@ import ( "runtime" "testing" - "github.com/etsy/hound/vcs" + "github.com/hound-search/hound/vcs" ) const exampleConfigFile = "config-example.json" diff --git a/index/grep.go b/index/grep.go index 369ff310..dcdf2e76 100644 --- a/index/grep.go +++ b/index/grep.go @@ -6,7 +6,7 @@ import ( "io" "os" - "github.com/etsy/hound/codesearch/regexp" + "github.com/hound-search/hound/codesearch/regexp" ) var nl = []byte{'\n'} diff --git a/index/grep_test.go b/index/grep_test.go index 98699641..ead61fb5 100644 --- a/index/grep_test.go +++ b/index/grep_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/etsy/hound/codesearch/regexp" + "github.com/hound-search/hound/codesearch/regexp" ) var ( diff --git a/index/index.go b/index/index.go index 8b773690..afb650eb 100644 --- a/index/index.go +++ b/index/index.go @@ -12,8 +12,8 @@ import ( "time" "unicode/utf8" - "github.com/etsy/hound/codesearch/index" - "github.com/etsy/hound/codesearch/regexp" + "github.com/hound-search/hound/codesearch/index" + "github.com/hound-search/hound/codesearch/regexp" ) const ( diff --git a/searcher/searcher.go b/searcher/searcher.go index 4cb706ad..fbcd8048 100644 --- a/searcher/searcher.go +++ b/searcher/searcher.go @@ -13,9 +13,9 @@ import ( "sync" "time" - "github.com/etsy/hound/config" - "github.com/etsy/hound/index" - "github.com/etsy/hound/vcs" + "github.com/hound-search/hound/config" + "github.com/hound-search/hound/index" + "github.com/hound-search/hound/vcs" ) type Searcher struct { @@ -501,8 +501,8 @@ func newSearcherConcurrent( s, err := newSearcher(dbpath, name, repo, refs, lim) if err != nil { resultCh <- searcherResult{ - name: name, - err: err, + name: name, + err: err, } return } diff --git a/ui/ui.go b/ui/ui.go index 37ebf05b..192f8566 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -12,7 +12,7 @@ import ( "runtime" text_template "text/template" - "github.com/etsy/hound/config" + "github.com/hound-search/hound/config" ) // An http.Handler for the dev-mode case. diff --git a/web/web.go b/web/web.go index ce3351aa..34d5c0f3 100644 --- a/web/web.go +++ b/web/web.go @@ -5,10 +5,10 @@ import ( "net/http" "sync" - "github.com/etsy/hound/api" - "github.com/etsy/hound/config" - "github.com/etsy/hound/searcher" - "github.com/etsy/hound/ui" + "github.com/hound-search/hound/api" + "github.com/hound-search/hound/config" + "github.com/hound-search/hound/searcher" + "github.com/hound-search/hound/ui" ) // Server is an HTTP server that handles all