Skip to content
Snippets Groups Projects
Commit b65be248 authored by Nick Thomas's avatar Nick Thomas
Browse files

Rename es-git-go -> gitlab-elasticsearch-indexer

parent 86bf5779
No related branches found
No related tags found
No related merge requests found
Pipeline #
# The import path is where your repository can be found.
# To import subpackages, always prepend the full import path.
# If you change this, run `make clean`. Read more: https://git.io/vM7zV
IMPORT_PATH := gitlab.com/gitlab-org/es-git-go
IMPORT_PATH := gitlab.com/gitlab-org/gitlab-elasticsearch-indexer
 
GO15VENDOREXPERIMENT := 1
 
PREFIX ?= /usr/local
# V := 1 # When V is set, print commands and build progress.
 
# Space separated patterns of packages to skip in list, test, format.
Loading
Loading
@@ -17,6 +19,10 @@ all: build
build: .GOPATH/.ok
$Q go install $(if $V,-v) $(VERSION_FLAGS) $(IMPORT_PATH)
 
install: build
install -d ${PREFIX}/bin
install -m755 bin/gitlab-elasticsearch-indexer ${PREFIX}/bin
### Code not in the repository root? Another binary? Add to the path like this.
# .PHONY: otherbin
# otherbin: .GOPATH/.ok
Loading
Loading
# GitLab Elasticsearch Indexer
 
This project indexes Git repositories into Elasticsearch for GitLab. See the
[homepage](https://gitlab.com/gitlab-org/es-git-go) for more information.
[homepage](https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer) for more
information.
 
## Building
 
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@ import (
 
"github.com/stretchr/testify/assert"
 
"gitlab.com/gitlab-org/es-git-go/elastic"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/elastic"
)
 
const (
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@ import (
 
"github.com/stretchr/testify/assert"
 
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
)
 
var (
Loading
Loading
Loading
Loading
@@ -5,8 +5,8 @@ import (
"fmt"
"io/ioutil"
 
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/es-git-go/linguist"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/linguist"
)
 
var (
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@ import (
 
"github.com/stretchr/testify/assert"
 
"gitlab.com/gitlab-org/es-git-go/indexer"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/indexer"
)
 
func TestBuildBlob(t *testing.T) {
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@ package indexer
import (
"fmt"
 
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
)
 
type Commit struct {
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@ import (
 
"github.com/stretchr/testify/assert"
 
"gitlab.com/gitlab-org/es-git-go/indexer"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/indexer"
)
 
func TestBuildCommit(t *testing.T) {
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@ import (
"fmt"
"log"
 
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
)
 
type Submitter interface {
Loading
Loading
Loading
Loading
@@ -10,8 +10,8 @@ import (
 
"github.com/stretchr/testify/assert"
 
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/es-git-go/indexer"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/indexer"
)
 
const (
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@ package indexer
import (
"time"
 
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
)
 
const (
Loading
Loading
Loading
Loading
@@ -11,12 +11,12 @@ import (
 
"github.com/stretchr/testify/assert"
 
"gitlab.com/gitlab-org/es-git-go/elastic"
"gitlab.com/gitlab-org/es-git-go/indexer"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/elastic"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/indexer"
)
 
var (
binary = flag.String("binary", "./bin/es-git-go", "Path to `es-git-go` binary for integration tests")
binary = flag.String("binary", "./bin/gitlab-elasticsearch-indexer", "Path to `gitlab-elasticsearch-indexer` binary for integration tests")
testRepo = flag.String("test-repo", "./tmp/gitlab-test.git", "Path to `gitlab-test` repository for integration tests")
)
 
Loading
Loading
Loading
Loading
@@ -4,9 +4,9 @@ import (
"log"
"os"
 
"gitlab.com/gitlab-org/es-git-go/elastic"
"gitlab.com/gitlab-org/es-git-go/git"
"gitlab.com/gitlab-org/es-git-go/indexer"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/elastic"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/git"
"gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/indexer"
)
 
func main() {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment