Skip to content

Commit

Permalink
Update packages after repo move. (hound-search#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
kellegous committed Jun 16, 2019
1 parent 74ec744 commit e3b1b43
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 38 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
```

Expand Down
6 changes: 3 additions & 3 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions client/ack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 3 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion client/coalesce.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/etsy/hound/index"
"github.com/hound-search/hound/index"
)

type Block struct {
Expand Down
2 changes: 1 addition & 1 deletion client/coalesce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package client
import (
"testing"

"github.com/etsy/hound/index"
"github.com/hound-search/hound/index"
)

// TODO(knorton):
Expand Down
4 changes: 2 additions & 2 deletions client/grep.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions cmds/hound/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions cmds/houndd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion codesearch/index/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion codesearch/regexp/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"runtime"
"testing"

"github.com/etsy/hound/vcs"
"github.com/hound-search/hound/vcs"
)

const exampleConfigFile = "config-example.json"
Expand Down
2 changes: 1 addition & 1 deletion index/grep.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"os"

"github.com/etsy/hound/codesearch/regexp"
"github.com/hound-search/hound/codesearch/regexp"
)

var nl = []byte{'\n'}
Expand Down
2 changes: 1 addition & 1 deletion index/grep_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/etsy/hound/codesearch/regexp"
"github.com/hound-search/hound/codesearch/regexp"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
10 changes: 5 additions & 5 deletions searcher/searcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3b1b43

Please sign in to comment.