File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ PROJECT = lookout-gometalint-analyzer
3
3
COMMANDS = cmd/gometalint-analyzer
4
4
5
5
DOCKERFILES = Dockerfile:$(PROJECT )
6
- DOCKER_ORG = "abezzubov "
6
+ DOCKER_ORG = "srcd "
7
7
8
8
# Including ci Makefile
9
9
CI_REPOSITORY ?= https://github.com/src-d/ci.git
Original file line number Diff line number Diff line change 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
2
2
3
3
A [ lookout] ( https://github.com/src-d/lookout/ ) analyzer implementation that uses [ gometalinter] ( https://github.com/alecthomas/gometalinter ) .
4
4
@@ -55,7 +55,6 @@ To update lookout SDK to the [latest version](https://github.com/src-d/lookout/r
55
55
wget https://github.com/src-d/lookout/releases/download/v0.x.x/lookout_sdk_v0.x.x._<os>_<arg>.tar.gz
56
56
tar xvf lookout_sdk_*.tar.gz
57
57
mv lookout_sdk_*/sdk .
58
- mv lookout_sdk_*/lookout .
59
58
```
60
59
61
60
Original file line number Diff line number Diff line change @@ -25,10 +25,12 @@ var _ lookout.AnalyzerServer = &Analyzer{}
25
25
func (a * Analyzer ) NotifyReviewEvent (ctx context.Context , e * lookout.ReviewEvent ) (
26
26
* lookout.EventResponse , error ) {
27
27
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 ,
32
34
})
33
35
if err != nil {
34
36
log .Errorf (err , "failed to GetChanges from a DataService" )
Original file line number Diff line number Diff line change 6
6
"fmt"
7
7
"os"
8
8
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"
12
11
13
12
"github.com/kelseyhightower/envconfig"
14
13
"github.com/sanity-io/litter"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
3
3
import (
4
4
"os"
5
5
6
- "github.com/bzz /lookout-gometalint-analyzer"
6
+ "github.com/src-d /lookout-gometalint-analyzer"
7
7
8
8
log "gopkg.in/src-d/go-log.v1"
9
9
)
Original file line number Diff line number Diff line change 36
36
spec :
37
37
containers :
38
38
- name : gometalint-analyzer
39
- image : " abezzubov /lookout-gometalint-analyzer:v0.0.2 "
39
+ image : " srcd /lookout-gometalint-analyzer:v0.0.3 "
40
40
imagePullPolicy : Always
41
41
env :
42
42
- name : GOMETALINT_DATA_SERVICE_URL
You can’t perform that action at this time.
0 commit comments