Skip to content

Commit c82b2be

Browse files
authored
Merge pull request #2 from bzz/pre-release
Pre-release updates
2 parents 2799705 + 37df62e commit c82b2be

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PROJECT = lookout-gometalint-analyzer
33
COMMANDS = cmd/gometalint-analyzer
44

55
DOCKERFILES = Dockerfile:$(PROJECT)
6-
DOCKER_ORG = "abezzubov"
6+
DOCKER_ORG = "srcd"
77

88
# Including ci Makefile
99
CI_REPOSITORY ?= https://github.com/src-d/ci.git

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [![Build Status](https://travis-ci.org/bzz/lookout-gometalint-analyzer.svg)](https://travis-ci.org/bzz/lookout-gometalint-analyzer) lookout analyzer: gometalint
1+
# [![Build Status](https://travis-ci.org/src-d/lookout-gometalint-analyzer.svg)](https://travis-ci.org/src-d/lookout-gometalint-analyzer) lookout analyzer: gometalint
22

33
A [lookout](https://github.com/src-d/lookout/) analyzer implementation that uses [gometalinter](https://github.com/alecthomas/gometalinter).
44

@@ -55,7 +55,6 @@ To update lookout SDK to the [latest version](https://github.com/src-d/lookout/r
5555
wget https://github.com/src-d/lookout/releases/download/v0.x.x/lookout_sdk_v0.x.x._<os>_<arg>.tar.gz
5656
tar xvf lookout_sdk_*.tar.gz
5757
mv lookout_sdk_*/sdk .
58-
mv lookout_sdk_*/lookout .
5958
```
6059

6160

analyzer.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ var _ lookout.AnalyzerServer = &Analyzer{}
2525
func (a *Analyzer) NotifyReviewEvent(ctx context.Context, e *lookout.ReviewEvent) (
2626
*lookout.EventResponse, error) {
2727
changes, err := a.DataClient.GetChanges(ctx, &lookout.ChangesRequest{
28-
Head: &e.Head,
29-
Base: &e.Base,
30-
WantContents: true,
31-
WantLanguage: true,
28+
Head: &e.Head,
29+
Base: &e.Base,
30+
WantContents: true,
31+
WantLanguage: true,
32+
WantUAST: false,
33+
ExcludeVendored: true,
3234
})
3335
if err != nil {
3436
log.Errorf(err, "failed to GetChanges from a DataService")

cmd/gometalint-analyzer/main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ import (
66
"fmt"
77
"os"
88

9-
"github.com/bzz/lookout-gometalint-analyzer"
10-
//TODO: extract to golang sdk
11-
"github.com/bzz/lookout-gometalint-analyzer/util/grpchelper"
9+
"github.com/src-d/lookout-gometalint-analyzer"
10+
"github.com/src-d/lookout-gometalint-analyzer/util/grpchelper"
1211

1312
"github.com/kelseyhightower/envconfig"
1413
"github.com/sanity-io/litter"

cmd/gometalint-proxy/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/bzz/lookout-gometalint-analyzer"
6+
"github.com/src-d/lookout-gometalint-analyzer"
77

88
log "gopkg.in/src-d/go-log.v1"
99
)

gometalint-analyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
spec:
3737
containers:
3838
- name: gometalint-analyzer
39-
image: "abezzubov/lookout-gometalint-analyzer:v0.0.2"
39+
image: "srcd/lookout-gometalint-analyzer:v0.0.3"
4040
imagePullPolicy: Always
4141
env:
4242
- name: GOMETALINT_DATA_SERVICE_URL

0 commit comments

Comments
 (0)