Bladeren bron

Merge pull request #249 from vmarkovtsev/master

v10
Vadim Markovtsev 6 jaren geleden
bovenliggende
commit
9e3954e273
59 gewijzigde bestanden met toevoegingen van 189 en 189 verwijderingen
  1. 5 5
      .appveyor.yml
  2. 8 8
      .travis.yml
  3. 4 4
      Dockerfile
  4. 2 2
      Makefile
  5. 4 4
      README.md
  6. 2 2
      cmd/hercules/combine.go
  7. 1 1
      cmd/hercules/plugin.template
  8. 2 2
      cmd/hercules/root.go
  9. 1 1
      contrib/_plugin_example/churn_analysis.go
  10. 7 7
      core.go
  11. BIN
      doc/dag.png
  12. 2 2
      internal/burndown/file.go
  13. 1 1
      internal/burndown/file_test.go
  14. 1 1
      internal/core/forks.go
  15. 1 1
      internal/core/forks_test.go
  16. 2 2
      internal/core/pipeline.go
  17. 2 2
      internal/core/pipeline_test.go
  18. 1 1
      internal/core/registry_test.go
  19. 4 4
      internal/global_test.go
  20. 2 2
      internal/plumbing/blob_cache.go
  21. 3 3
      internal/plumbing/blob_cache_test.go
  22. 1 1
      internal/plumbing/diff.go
  23. 6 6
      internal/plumbing/diff_test.go
  24. 1 1
      internal/plumbing/identity/identity.go
  25. 2 2
      internal/plumbing/identity/identity_test.go
  26. 1 1
      internal/plumbing/languages.go
  27. 2 2
      internal/plumbing/languages_test.go
  28. 1 1
      internal/plumbing/line_stats.go
  29. 5 5
      internal/plumbing/line_stats_test.go
  30. 3 3
      internal/plumbing/renames.go
  31. 2 2
      internal/plumbing/renames_test.go
  32. 1 1
      internal/plumbing/ticks.go
  33. 2 2
      internal/plumbing/ticks_test.go
  34. 1 1
      internal/plumbing/tree_diff.go
  35. 2 2
      internal/plumbing/tree_diff_test.go
  36. 2 2
      internal/plumbing/uast/changes_xpather_test.go
  37. 2 2
      internal/plumbing/uast/diff_refiner.go
  38. 3 3
      internal/plumbing/uast/diff_refiner_test.go
  39. 1 1
      internal/plumbing/uast/test/utils.go
  40. 3 3
      internal/plumbing/uast/uast.go
  41. 4 4
      internal/plumbing/uast/uast_test.go
  42. 2 2
      internal/test/fixtures/fixtures.go
  43. 7 7
      leaves/burndown.go
  44. 7 7
      leaves/burndown_test.go
  45. 5 5
      leaves/comment_sentiment.go
  46. 6 6
      leaves/comment_sentiment_test.go
  47. 5 5
      leaves/commits.go
  48. 6 6
      leaves/commits_test.go
  49. 5 5
      leaves/couples.go
  50. 5 5
      leaves/couples_test.go
  51. 5 5
      leaves/devs.go
  52. 6 6
      leaves/devs_test.go
  53. 4 4
      leaves/file_history.go
  54. 6 6
      leaves/file_history_test.go
  55. 5 5
      leaves/research/typos.go
  56. 5 5
      leaves/research/typos_test.go
  57. 4 4
      leaves/shotness.go
  58. 5 5
      leaves/shotness_test.go
  59. 1 1
      version_test.go

+ 5 - 5
.appveyor.yml

@@ -2,7 +2,7 @@ version: "{build}"
 platform: x64
 platform: x64
 image: Visual Studio 2017
 image: Visual Studio 2017
 
 
-clone_folder: c:\gopath\src\gopkg.in\src-d\hercules.v9
+clone_folder: c:\gopath\src\gopkg.in\src-d\hercules.v10
 
 
 environment:
 environment:
   GOPATH: c:\gopath
   GOPATH: c:\gopath
@@ -16,14 +16,14 @@ build_script:
   - go version
   - go version
   - set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%GOPATH%\bin;%PATH%
   - set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%GOPATH%\bin;%PATH%
   - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
   - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
-  - cd %GOPATH%\src\gopkg.in\src-d\hercules.v9
+  - cd %GOPATH%\src\gopkg.in\src-d\hercules.v10
   - go get -v github.com/golang/dep/cmd/dep
   - go get -v github.com/golang/dep/cmd/dep
   - make
   - make
-  - 7z a c:\gopath\src\gopkg.in\src-d\hercules.v9\hercules.win64.zip %GOPATH%\bin\hercules.exe
+  - 7z a c:\gopath\src\gopkg.in\src-d\hercules.v10\hercules.win64.zip %GOPATH%\bin\hercules.exe
 
 
 test_script:
 test_script:
-  - go get -v -t -d gopkg.in/src-d/hercules.v9/...
-  - go test -v -timeout 20m -race -tags disable_babelfish gopkg.in/src-d/hercules.v9/...
+  - go get -v -t -d gopkg.in/src-d/hercules.v10/...
+  - go test -v -timeout 20m -race -tags disable_babelfish gopkg.in/src-d/hercules.v10/...
 
 
 artifacts:
 artifacts:
   - name: hercules.win64.zip
   - name: hercules.win64.zip

+ 8 - 8
.travis.yml

@@ -5,7 +5,7 @@ git:
   depth: 9999999
   depth: 9999999
 
 
 language: go
 language: go
-go_import_path: gopkg.in/src-d/hercules.v9
+go_import_path: gopkg.in/src-d/hercules.v10
 go:
 go:
   - 1.10.x
   - 1.10.x
   - 1.11.x
   - 1.11.x
@@ -19,10 +19,10 @@ cache:
     - $HOME/gopath/src
     - $HOME/gopath/src
 before_cache:
 before_cache:
   - cd $HOME/gopath
   - cd $HOME/gopath
-  - mv $HOME/gopath/src/gopkg.in/src-d/hercules.v9/vendor $HOME/gopath/src/gopkg.in/src-d/.vendor
-  - rm -rf $HOME/gopath/src/gopkg.in/src-d/hercules.v9
-  - mkdir $HOME/gopath/src/gopkg.in/src-d/hercules.v9
-  - mv $HOME/gopath/src/gopkg.in/src-d/.vendor $HOME/gopath/src/gopkg.in/src-d/hercules.v9/vendor
+  - mv $HOME/gopath/src/gopkg.in/src-d/hercules.v10/vendor $HOME/gopath/src/gopkg.in/src-d/.vendor
+  - rm -rf $HOME/gopath/src/gopkg.in/src-d/hercules.v10
+  - mkdir $HOME/gopath/src/gopkg.in/src-d/hercules.v10
+  - mv $HOME/gopath/src/gopkg.in/src-d/.vendor $HOME/gopath/src/gopkg.in/src-d/hercules.v10/vendor
 
 
 matrix:
 matrix:
   fast_finish: true
   fast_finish: true
@@ -64,7 +64,7 @@ script:
   - go vet -tags tensorflow ./...
   - go vet -tags tensorflow ./...
   - golint -set_exit_status $(go list ./... | grep -v /vendor/)
   - golint -set_exit_status $(go list ./... | grep -v /vendor/)
   - flake8
   - flake8
-  - go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v9/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
+  - go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v10/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
   - # race checks increase the elapsed time by 10 minutes, we run them only in AppVeyor
   - # race checks increase the elapsed time by 10 minutes, we run them only in AppVeyor
   - $GOPATH/bin/hercules version
   - $GOPATH/bin/hercules version
   - $GOPATH/bin/hercules --burndown --couples --devs --quiet --pb https://github.com/src-d/hercules > 1.pb
   - $GOPATH/bin/hercules --burndown --couples --devs --quiet --pb https://github.com/src-d/hercules > 1.pb
@@ -91,7 +91,7 @@ jobs:
       os: osx
       os: osx
       osx_image: xcode9.3
       osx_image: xcode9.3
       go: 1.11.x
       go: 1.11.x
-      go_import_path: gopkg.in/src-d/hercules.v9
+      go_import_path: gopkg.in/src-d/hercules.v10
       before_install:
       before_install:
         - wget -O protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-osx-x86_64.zip
         - wget -O protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-osx-x86_64.zip
         - unzip -d ~/.local protoc.zip && rm protoc.zip
         - unzip -d ~/.local protoc.zip && rm protoc.zip
@@ -113,7 +113,7 @@ jobs:
     - stage: deploy
     - stage: deploy
       os: linux
       os: linux
       go: 1.11.x
       go: 1.11.x
-      go_import_path: gopkg.in/src-d/hercules.v9
+      go_import_path: gopkg.in/src-d/hercules.v10
       before_install:
       before_install:
         - wget -O protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-linux-x86_64.zip
         - wget -O protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-linux-x86_64.zip
         - unzip -d ~/.local protoc.zip && rm protoc.zip
         - unzip -d ~/.local protoc.zip && rm protoc.zip

+ 4 - 4
Dockerfile

@@ -3,7 +3,7 @@ FROM ubuntu:18.04
 ENV GOPATH /root
 ENV GOPATH /root
 ENV PROTOBUF_VERSION 3.5.1
 ENV PROTOBUF_VERSION 3.5.1
 
 
-COPY . /root/src/gopkg.in/src-d/hercules.v9
+COPY . /root/src/gopkg.in/src-d/hercules.v10
 RUN apt-get update && \
 RUN apt-get update && \
     apt-get install -y --no-install-suggests --no-install-recommends software-properties-common && \
     apt-get install -y --no-install-suggests --no-install-recommends software-properties-common && \
     add-apt-repository -y ppa:gophers/archive && \
     add-apt-repository -y ppa:gophers/archive && \
@@ -14,13 +14,13 @@ RUN apt-get update && \
     locale-gen en_US.UTF-8 && \
     locale-gen en_US.UTF-8 && \
     export PATH=/usr/lib/go-1.10/bin:/root/bin:$PATH && \
     export PATH=/usr/lib/go-1.10/bin:/root/bin:$PATH && \
     go get -v github.com/golang/dep/cmd/dep && \
     go get -v github.com/golang/dep/cmd/dep && \
-    cd /root/src/gopkg.in/src-d/hercules.v9 && \
+    cd /root/src/gopkg.in/src-d/hercules.v10 && \
     export CGO_CXXFLAGS=-std=c++14 && \
     export CGO_CXXFLAGS=-std=c++14 && \
     curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-$(go env GOOS)-x86_64-1.7.0.tar.gz" | tar -C /usr/local -xz && \
     curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-$(go env GOOS)-x86_64-1.7.0.tar.gz" | tar -C /usr/local -xz && \
     make && \
     make && \
     rm /usr/local/bin/protoc && rm /usr/local/readme.txt && rm -rf /usr/local/include/google && \
     rm /usr/local/bin/protoc && rm /usr/local/readme.txt && rm -rf /usr/local/include/google && \
     cp /root/bin/hercules /usr/local/bin && \
     cp /root/bin/hercules /usr/local/bin && \
-    cp -r /root/src/gopkg.in/src-d/hercules.v9/*.py /root/src/gopkg.in/src-d/hercules.v9/internal /usr/local/bin && \
+    cp -r /root/src/gopkg.in/src-d/hercules.v10/*.py /root/src/gopkg.in/src-d/hercules.v10/internal /usr/local/bin && \
     sed -i 's/parser.add_argument("--backend",/parser.add_argument("--backend", default="Agg",/' /usr/local/bin/labours.py && \
     sed -i 's/parser.add_argument("--backend",/parser.add_argument("--backend", default="Agg",/' /usr/local/bin/labours.py && \
     echo '#!/bin/bash\n\
     echo '#!/bin/bash\n\
 \n\
 \n\
@@ -30,7 +30,7 @@ echo\n\' > /browser && \
     chmod +x /browser && \
     chmod +x /browser && \
     curl https://bootstrap.pypa.io/get-pip.py | python3 - pip==18.1 && \
     curl https://bootstrap.pypa.io/get-pip.py | python3 - pip==18.1 && \
     pip3 install --no-cache-dir --no-build-isolation cython && \
     pip3 install --no-cache-dir --no-build-isolation cython && \
-    pip3 install --no-cache-dir --no-build-isolation -r /root/src/gopkg.in/src-d/hercules.v9/requirements.txt https://github.com/mind/wheels/releases/download/tf1.7-cpu/tensorflow-1.7.0-cp36-cp36m-linux_x86_64.whl && \
+    pip3 install --no-cache-dir --no-build-isolation -r /root/src/gopkg.in/src-d/hercules.v10/requirements.txt https://github.com/mind/wheels/releases/download/tf1.7-cpu/tensorflow-1.7.0-cp36-cp36m-linux_x86_64.whl && \
     rm -rf /root/* && \
     rm -rf /root/* && \
     apt-get remove -y software-properties-common golang-1.10-go python3-dev libyaml-dev libxml2-dev curl git make unzip g++ && \
     apt-get remove -y software-properties-common golang-1.10-go python3-dev libyaml-dev libxml2-dev curl git make unzip g++ && \
     apt-get remove -qy *-doc *-man && \
     apt-get remove -qy *-doc *-man && \

+ 2 - 2
Makefile

@@ -10,7 +10,7 @@ TAGS ?=
 all: ${GOPATH}/bin/hercules${EXE}
 all: ${GOPATH}/bin/hercules${EXE}
 
 
 test: all
 test: all
-	go test gopkg.in/src-d/hercules.v9
+	go test gopkg.in/src-d/hercules.v10
 
 
 ${GOPATH}/bin/protoc-gen-gogo${EXE}:
 ${GOPATH}/bin/protoc-gen-gogo${EXE}:
 	go get -v github.com/gogo/protobuf/protoc-gen-gogo
 	go get -v github.com/gogo/protobuf/protoc-gen-gogo
@@ -34,4 +34,4 @@ vendor:
 	dep ensure -v
 	dep ensure -v
 
 
 ${GOPATH}/bin/hercules${EXE}: vendor *.go */*.go */*/*.go */*/*/*.go internal/pb/pb.pb.go internal/pb/pb_pb2.py cmd/hercules/plugin_template_source.go
 ${GOPATH}/bin/hercules${EXE}: vendor *.go */*.go */*/*.go */*/*/*.go internal/pb/pb.pb.go internal/pb/pb_pb2.py cmd/hercules/plugin_template_source.go
-	go get -tags "$(TAGS)" -ldflags "-X gopkg.in/src-d/hercules.v9.BinaryGitHash=$(shell git rev-parse HEAD)" gopkg.in/src-d/hercules.v9/cmd/hercules
+	go get -tags "$(TAGS)" -ldflags "-X gopkg.in/src-d/hercules.v10.BinaryGitHash=$(shell git rev-parse HEAD)" gopkg.in/src-d/hercules.v10/cmd/hercules

+ 4 - 4
README.md

@@ -4,7 +4,7 @@
 <h1 align="center">Hercules</h1>
 <h1 align="center">Hercules</h1>
 <p align="center">
 <p align="center">
       Fast, insightful and highly customizable Git history analysis.<br><br>
       Fast, insightful and highly customizable Git history analysis.<br><br>
-      <a href="http://godoc.org/gopkg.in/src-d/hercules.v9"><img src="https://godoc.org/gopkg.in/src-d/hercules.v9?status.svg" alt="GoDoc"></a>
+      <a href="http://godoc.org/gopkg.in/src-d/hercules.v10"><img src="https://godoc.org/gopkg.in/src-d/hercules.v10?status.svg" alt="GoDoc"></a>
       <a href="https://travis-ci.com/src-d/hercules"><img src="https://travis-ci.com/src-d/hercules.svg?branch=master" alt="Travis build Status"></a>
       <a href="https://travis-ci.com/src-d/hercules"><img src="https://travis-ci.com/src-d/hercules.svg?branch=master" alt="Travis build Status"></a>
       <a href="https://ci.appveyor.com/project/vmarkovtsev/hercules"><img src="https://ci.appveyor.com/api/projects/status/49f0lm3v2y6xyph3?svg=true" alt="AppVeyor build status"></a>
       <a href="https://ci.appveyor.com/project/vmarkovtsev/hercules"><img src="https://ci.appveyor.com/api/projects/status/49f0lm3v2y6xyph3?svg=true" alt="AppVeyor build status"></a>
       <a href="https://hub.docker.com/r/srcd/hercules"><img src="https://img.shields.io/docker/build/srcd/hercules.svg" alt="Docker build status"></a>
       <a href="https://hub.docker.com/r/srcd/hercules"><img src="https://img.shields.io/docker/build/srcd/hercules.svg" alt="Docker build status"></a>
@@ -33,7 +33,7 @@ The second is the Python script which draws some predefined plots. These two too
 a pipe. It is possible to write custom analyses using the plugin system. It is also possible
 a pipe. It is possible to write custom analyses using the plugin system. It is also possible
 to merge several analysis results together. The commit history includes branches, merges, etc.
 to merge several analysis results together. The commit history includes branches, merges, etc.
 
 
-Blog posts: [1](https://blog.sourced.tech/post/hercules.v9), [2](https://blog.sourced.tech/post/hercules).
+Blog posts: [1](https://blog.sourced.tech/post/hercules.v10), [2](https://blog.sourced.tech/post/hercules).
 [Presentation](http://vmarkovtsev.github.io/gowayfest-2018-minsk/).
 [Presentation](http://vmarkovtsev.github.io/gowayfest-2018-minsk/).
 
 
 ![Hercules DAG of Burndown analysis](doc/dag.png)
 ![Hercules DAG of Burndown analysis](doc/dag.png)
@@ -59,8 +59,8 @@ Numpy and Scipy can be installed on Windows using http://www.lfd.uci.edu/~gohlke
 You are going to need Go (>= v1.10), [`protoc`](https://github.com/google/protobuf/releases),
 You are going to need Go (>= v1.10), [`protoc`](https://github.com/google/protobuf/releases),
 and [`dep`](https://github.com/golang/dep).
 and [`dep`](https://github.com/golang/dep).
 ```
 ```
-go get -d gopkg.in/src-d/hercules.v9/cmd/hercules
-cd $GOPATH/src/gopkg.in/src-d/hercules.v9
+go get -d gopkg.in/src-d/hercules.v10/cmd/hercules
+cd $GOPATH/src/gopkg.in/src-d/hercules.v10
 make
 make
 ```
 ```
 
 

+ 2 - 2
cmd/hercules/combine.go

@@ -14,8 +14,8 @@ import (
 	"github.com/gogo/protobuf/proto"
 	"github.com/gogo/protobuf/proto"
 	"github.com/spf13/cobra"
 	"github.com/spf13/cobra"
 	progress "gopkg.in/cheggaaa/pb.v1"
 	progress "gopkg.in/cheggaaa/pb.v1"
-	"gopkg.in/src-d/hercules.v9"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
+	"gopkg.in/src-d/hercules.v10"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
 )
 )
 
 
 // combineCmd represents the combine command
 // combineCmd represents the combine command

+ 1 - 1
cmd/hercules/plugin.template

@@ -24,7 +24,7 @@ import (
 
 
   "github.com/gogo/protobuf/proto"
   "github.com/gogo/protobuf/proto"
   "gopkg.in/src-d/go-git.v4"
   "gopkg.in/src-d/go-git.v4"
-  "gopkg.in/src-d/hercules.v9"
+  "gopkg.in/src-d/hercules.v10"
 )
 )
 
 
 // {{.name}} contains the intermediate state which is mutated by Consume(). It should implement
 // {{.name}} contains the intermediate state which is mutated by Consume(). It should implement

+ 2 - 2
cmd/hercules/root.go

@@ -34,8 +34,8 @@ import (
 	"gopkg.in/src-d/go-git.v4/storage"
 	"gopkg.in/src-d/go-git.v4/storage"
 	"gopkg.in/src-d/go-git.v4/storage/filesystem"
 	"gopkg.in/src-d/go-git.v4/storage/filesystem"
 	"gopkg.in/src-d/go-git.v4/storage/memory"
 	"gopkg.in/src-d/go-git.v4/storage/memory"
-	"gopkg.in/src-d/hercules.v9"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
+	"gopkg.in/src-d/hercules.v10"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
 )
 )
 
 
 // oneLineWriter splits the output data by lines and outputs one on top of another using '\r'.
 // oneLineWriter splits the output data by lines and outputs one on top of another using '\r'.

+ 1 - 1
contrib/_plugin_example/churn_analysis.go

@@ -13,7 +13,7 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9"
+	"gopkg.in/src-d/hercules.v10"
 )
 )
 
 
 // ChurnAnalysis contains the intermediate state which is mutated by Consume(). It should implement
 // ChurnAnalysis contains the intermediate state which is mutated by Consume(). It should implement

+ 7 - 7
core.go

@@ -4,13 +4,13 @@ import (
 	"github.com/spf13/pflag"
 	"github.com/spf13/pflag"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
-	"gopkg.in/src-d/hercules.v9/internal/yaml"
-	_ "gopkg.in/src-d/hercules.v9/leaves"          // add burndown and other analyses
-	_ "gopkg.in/src-d/hercules.v9/leaves/research" // add "research" analyses
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
+	"gopkg.in/src-d/hercules.v10/internal/yaml"
+	_ "gopkg.in/src-d/hercules.v10/leaves"          // add burndown and other analyses
+	_ "gopkg.in/src-d/hercules.v10/leaves/research" // add "research" analyses
 )
 )
 
 
 // ConfigurationOptionType represents the possible types of a ConfigurationOption's value.
 // ConfigurationOptionType represents the possible types of a ConfigurationOption's value.

BIN
doc/dag.png


+ 2 - 2
internal/burndown/file.go

@@ -5,8 +5,8 @@ import (
 	"log"
 	"log"
 	"math"
 	"math"
 
 
-	"gopkg.in/src-d/hercules.v9/internal"
-	"gopkg.in/src-d/hercules.v9/internal/rbtree"
+	"gopkg.in/src-d/hercules.v10/internal"
+	"gopkg.in/src-d/hercules.v10/internal/rbtree"
 )
 )
 
 
 // Updater is the function which is called back on File.Update().
 // Updater is the function which is called back on File.Update().

+ 1 - 1
internal/burndown/file_test.go

@@ -6,7 +6,7 @@ import (
 	"testing"
 	"testing"
 
 
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
-	"gopkg.in/src-d/hercules.v9/internal/rbtree"
+	"gopkg.in/src-d/hercules.v10/internal/rbtree"
 )
 )
 
 
 func updateStatusFile(status map[int]int64, _, previousTime, delta int) {
 func updateStatusFile(status map[int]int64, _, previousTime, delta int) {

+ 1 - 1
internal/core/forks.go

@@ -9,7 +9,7 @@ import (
 
 
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/toposort"
+	"gopkg.in/src-d/hercules.v10/internal/toposort"
 )
 )
 
 
 // OneShotMergeProcessor provides the convenience method to consume merges only once.
 // OneShotMergeProcessor provides the convenience method to consume merges only once.

+ 1 - 1
internal/core/forks_test.go

@@ -6,7 +6,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 type testForkPipelineItem struct {
 type testForkPipelineItem struct {

+ 2 - 2
internal/core/pipeline.go

@@ -18,8 +18,8 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/storer"
 	"gopkg.in/src-d/go-git.v4/plumbing/storer"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	"gopkg.in/src-d/hercules.v9/internal/toposort"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	"gopkg.in/src-d/hercules.v10/internal/toposort"
 )
 )
 
 
 // ConfigurationOptionType represents the possible types of a ConfigurationOption's value.
 // ConfigurationOptionType represents the possible types of a ConfigurationOption's value.

+ 2 - 2
internal/core/pipeline_test.go

@@ -14,8 +14,8 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 type testPipelineItem struct {
 type testPipelineItem struct {

+ 1 - 1
internal/core/registry_test.go

@@ -9,7 +9,7 @@ import (
 	"github.com/spf13/pflag"
 	"github.com/spf13/pflag"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func getRegistry() *PipelineItemRegistry {
 func getRegistry() *PipelineItemRegistry {

+ 4 - 4
internal/global_test.go

@@ -7,10 +7,10 @@ import (
 	"testing"
 	"testing"
 
 
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
-	"gopkg.in/src-d/hercules.v9/internal/test"
-	"gopkg.in/src-d/hercules.v9/leaves"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
+	"gopkg.in/src-d/hercules.v10/internal/test"
+	"gopkg.in/src-d/hercules.v10/leaves"
 )
 )
 
 
 func TestPipelineSerialize(t *testing.T) {
 func TestPipelineSerialize(t *testing.T) {

+ 2 - 2
internal/plumbing/blob_cache.go

@@ -13,8 +13,8 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // ErrorBinary is raised in CachedBlob.CountLines() if the file is binary.
 // ErrorBinary is raised in CachedBlob.CountLines() if the file is binary.

+ 3 - 3
internal/plumbing/blob_cache_test.go

@@ -6,9 +6,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureBlobCache() *BlobCache {
 func fixtureBlobCache() *BlobCache {

+ 1 - 1
internal/plumbing/diff.go

@@ -9,7 +9,7 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // FileDiff calculates the difference of files which were modified.
 // FileDiff calculates the difference of files which were modified.

+ 6 - 6
internal/plumbing/diff_test.go

@@ -8,12 +8,12 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9"
-	"gopkg.in/src-d/hercules.v9/internal"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/test"
-	"gopkg.in/src-d/hercules.v9/internal/test/fixtures"
+	"gopkg.in/src-d/hercules.v10"
+	"gopkg.in/src-d/hercules.v10/internal"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test/fixtures"
 )
 )
 
 
 func TestFileDiffMeta(t *testing.T) {
 func TestFileDiffMeta(t *testing.T) {

+ 1 - 1
internal/plumbing/identity/identity.go

@@ -9,7 +9,7 @@ import (
 	"github.com/pkg/errors"
 	"github.com/pkg/errors"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // Detector determines the author of a commit. Same person can commit under different
 // Detector determines the author of a commit. Same person can commit under different

+ 2 - 2
internal/plumbing/identity/identity_test.go

@@ -14,8 +14,8 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/storer"
 	"gopkg.in/src-d/go-git.v4/plumbing/storer"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureIdentityDetector() *Detector {
 func fixtureIdentityDetector() *Detector {

+ 1 - 1
internal/plumbing/languages.go

@@ -9,7 +9,7 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // LanguagesDetection run programming language detection over the changed files.
 // LanguagesDetection run programming language detection over the changed files.

+ 2 - 2
internal/plumbing/languages_test.go

@@ -6,8 +6,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func TestLanguagesDetectionMeta(t *testing.T) {
 func TestLanguagesDetectionMeta(t *testing.T) {

+ 1 - 1
internal/plumbing/line_stats.go

@@ -8,7 +8,7 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // LinesStatsCalculator measures line statistics for each text file in the commit.
 // LinesStatsCalculator measures line statistics for each text file in the commit.

+ 5 - 5
internal/plumbing/line_stats_test.go

@@ -6,11 +6,11 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/test"
-	"gopkg.in/src-d/hercules.v9/internal/test/fixtures"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test/fixtures"
 )
 )
 
 
 func TestLinesStatsMeta(t *testing.T) {
 func TestLinesStatsMeta(t *testing.T) {

+ 3 - 3
internal/plumbing/renames.go

@@ -14,9 +14,9 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/levenshtein"
+	"gopkg.in/src-d/hercules.v10/internal"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/levenshtein"
 )
 )
 
 
 // RenameAnalysis improves TreeDiff's results by searching for changed blobs under different
 // RenameAnalysis improves TreeDiff's results by searching for changed blobs under different

+ 2 - 2
internal/plumbing/renames_test.go

@@ -12,8 +12,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureRenameAnalysis() *RenameAnalysis {
 func fixtureRenameAnalysis() *RenameAnalysis {

+ 1 - 1
internal/plumbing/ticks.go

@@ -7,7 +7,7 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // TicksSinceStart provides relative tick information for every commit.
 // TicksSinceStart provides relative tick information for every commit.

+ 2 - 2
internal/plumbing/ticks_test.go

@@ -10,8 +10,8 @@ import (
 
 
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureTicksSinceStart(config ...map[string]interface{}) *TicksSinceStart {
 func fixtureTicksSinceStart(config ...map[string]interface{}) *TicksSinceStart {

+ 1 - 1
internal/plumbing/tree_diff.go

@@ -13,7 +13,7 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/core"
 )
 )
 
 
 // TreeDiff generates the list of changes for a commit. A change can be either one or two blobs
 // TreeDiff generates the list of changes for a commit. A change can be either one or two blobs

+ 2 - 2
internal/plumbing/tree_diff_test.go

@@ -7,8 +7,8 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureTreeDiff() *TreeDiff {
 func fixtureTreeDiff() *TreeDiff {

+ 2 - 2
internal/plumbing/uast/changes_xpather_test.go

@@ -10,8 +10,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/bblfsh/client-go.v3"
 	"gopkg.in/bblfsh/client-go.v3"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
-	uast_test "gopkg.in/src-d/hercules.v9/internal/plumbing/uast/test"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	uast_test "gopkg.in/src-d/hercules.v10/internal/plumbing/uast/test"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func TestChangesXPatherExtractChanged(t *testing.T) {
 func TestChangesXPatherExtractChanged(t *testing.T) {

+ 2 - 2
internal/plumbing/uast/diff_refiner.go

@@ -8,8 +8,8 @@ import (
 	"gopkg.in/bblfsh/sdk.v2/uast"
 	"gopkg.in/bblfsh/sdk.v2/uast"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing"
 )
 )
 
 
 // FileDiffRefiner uses UASTs to improve the human interpretability of diffs.
 // FileDiffRefiner uses UASTs to improve the human interpretability of diffs.

+ 3 - 3
internal/plumbing/uast/diff_refiner_test.go

@@ -13,9 +13,9 @@ import (
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes/nodesproto"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes/nodesproto"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureFileDiffRefiner() *FileDiffRefiner {
 func fixtureFileDiffRefiner() *FileDiffRefiner {

+ 1 - 1
internal/plumbing/uast/test/utils.go

@@ -6,7 +6,7 @@ import (
 	"gopkg.in/bblfsh/client-go.v3"
 	"gopkg.in/bblfsh/client-go.v3"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
-	core_test "gopkg.in/src-d/hercules.v9/internal/test"
+	core_test "gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 // ParseBlobFromTestRepo extracts the UAST from the file by it's hash and name.
 // ParseBlobFromTestRepo extracts the UAST from the file by it's hash and name.

+ 3 - 3
internal/plumbing/uast/uast.go

@@ -23,9 +23,9 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
 )
 )
 
 
 // Extractor retrieves UASTs from Babelfish server which correspond to changed files in a commit.
 // Extractor retrieves UASTs from Babelfish server which correspond to changed files in a commit.

+ 4 - 4
internal/plumbing/uast/uast_test.go

@@ -16,10 +16,10 @@ import (
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureUASTExtractor() *Extractor {
 func fixtureUASTExtractor() *Extractor {

+ 2 - 2
internal/test/fixtures/fixtures.go

@@ -1,8 +1,8 @@
 package fixtures
 package fixtures
 
 
 import (
 import (
-	"gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 // FileDiff initializes a new plumbing.FileDiff item for testing.
 // FileDiff initializes a new plumbing.FileDiff item for testing.

+ 7 - 7
leaves/burndown.go

@@ -19,13 +19,13 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/burndown"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/rbtree"
-	"gopkg.in/src-d/hercules.v9/internal/yaml"
+	"gopkg.in/src-d/hercules.v10/internal/burndown"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/rbtree"
+	"gopkg.in/src-d/hercules.v10/internal/yaml"
 )
 )
 
 
 // BurndownAnalysis allows to gather the line burndown statistics for a Git repository.
 // BurndownAnalysis allows to gather the line burndown statistics for a Git repository.

+ 7 - 7
leaves/burndown_test.go

@@ -10,18 +10,18 @@ import (
 	"testing"
 	"testing"
 	"time"
 	"time"
 
 
-	"gopkg.in/src-d/hercules.v9/internal/burndown"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/test/fixtures"
+	"gopkg.in/src-d/hercules.v10/internal/burndown"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/test/fixtures"
 
 
 	"github.com/gogo/protobuf/proto"
 	"github.com/gogo/protobuf/proto"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func AddHash(t *testing.T, cache map[plumbing.Hash]*items.CachedBlob, hash string) {
 func AddHash(t *testing.T, cache map[plumbing.Hash]*items.CachedBlob, hash string) {

+ 5 - 5
leaves/comment_sentiment.go

@@ -17,11 +17,11 @@ import (
 	progress "gopkg.in/cheggaaa/pb.v1"
 	progress "gopkg.in/cheggaaa/pb.v1"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
-	sentiment "gopkg.in/vmarkovtsev/BiDiSentiment.v1"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
+	"gopkg.in/vmarkovtsev/BiDiSentiment.v1"
 )
 )
 
 
 // CommentSentimentAnalysis measures comment sentiment through time.
 // CommentSentimentAnalysis measures comment sentiment through time.

+ 6 - 6
leaves/comment_sentiment_test.go

@@ -16,12 +16,12 @@ import (
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/query"
 	"gopkg.in/bblfsh/sdk.v2/uast/query"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
-	uast_test "gopkg.in/src-d/hercules.v9/internal/plumbing/uast/test"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
+	uast_test "gopkg.in/src-d/hercules.v10/internal/plumbing/uast/test"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureCommentSentiment() *CommentSentimentAnalysis {
 func fixtureCommentSentiment() *CommentSentimentAnalysis {

+ 5 - 5
leaves/commits.go

@@ -8,11 +8,11 @@ import (
 	git "gopkg.in/src-d/go-git.v4"
 	git "gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/yaml"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/yaml"
 )
 )
 
 
 // CommitsAnalysis extracts statistics for each commit
 // CommitsAnalysis extracts statistics for each commit

+ 6 - 6
leaves/commits_test.go

@@ -9,12 +9,12 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/test"
-	"gopkg.in/src-d/hercules.v9/internal/test/fixtures"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test/fixtures"
 )
 )
 
 
 func TestCommitsMeta(t *testing.T) {
 func TestCommitsMeta(t *testing.T) {

+ 5 - 5
leaves/couples.go

@@ -10,11 +10,11 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/yaml"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/yaml"
 )
 )
 
 
 // CouplesAnalysis calculates the number of common commits for files and authors.
 // CouplesAnalysis calculates the number of common commits for files and authors.

+ 5 - 5
leaves/couples_test.go

@@ -11,11 +11,11 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	gitplumbing "gopkg.in/src-d/go-git.v4/plumbing"
 	gitplumbing "gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureCouples() *CouplesAnalysis {
 func fixtureCouples() *CouplesAnalysis {

+ 5 - 5
leaves/devs.go

@@ -10,11 +10,11 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/yaml"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/yaml"
 )
 )
 
 
 // DevsAnalysis calculates the number of commits through time per developer.
 // DevsAnalysis calculates the number of commits through time per developer.

+ 6 - 6
leaves/devs_test.go

@@ -8,12 +8,12 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/test"
-	"gopkg.in/src-d/hercules.v9/internal/test/fixtures"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test/fixtures"
 )
 )
 
 
 func fixtureDevs() *DevsAnalysis {
 func fixtureDevs() *DevsAnalysis {

+ 4 - 4
leaves/file_history.go

@@ -12,10 +12,10 @@ import (
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
 	"gopkg.in/src-d/go-git.v4/utils/merkletrie"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
 )
 )
 
 
 // FileHistoryAnalysis contains the intermediate state which is mutated by Consume(). It should implement
 // FileHistoryAnalysis contains the intermediate state which is mutated by Consume(). It should implement

+ 6 - 6
leaves/file_history_test.go

@@ -8,12 +8,12 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	"gopkg.in/src-d/hercules.v9/internal/plumbing/identity"
-	"gopkg.in/src-d/hercules.v9/internal/test"
-	"gopkg.in/src-d/hercules.v9/internal/test/fixtures"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	"gopkg.in/src-d/hercules.v10/internal/plumbing/identity"
+	"gopkg.in/src-d/hercules.v10/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/test/fixtures"
 )
 )
 
 
 func fixtureFileHistory() *FileHistoryAnalysis {
 func fixtureFileHistory() *FileHistoryAnalysis {

+ 5 - 5
leaves/research/typos.go

@@ -13,11 +13,11 @@ import (
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/levenshtein"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/levenshtein"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
 )
 )
 
 
 // TyposDatasetBuilder collects pairs of typo-fix in source code identifiers.
 // TyposDatasetBuilder collects pairs of typo-fix in source code identifiers.

+ 5 - 5
leaves/research/typos_test.go

@@ -10,11 +10,11 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func TestTyposDatasetMeta(t *testing.T) {
 func TestTyposDatasetMeta(t *testing.T) {

+ 4 - 4
leaves/shotness.go

@@ -15,10 +15,10 @@ import (
 	"gopkg.in/bblfsh/sdk.v2/uast/query"
 	"gopkg.in/bblfsh/sdk.v2/uast/query"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
 )
 )
 
 
 // ShotnessAnalysis contains the intermediate state which is mutated by Consume(). It should implement
 // ShotnessAnalysis contains the intermediate state which is mutated by Consume(). It should implement

+ 5 - 5
leaves/shotness_test.go

@@ -15,11 +15,11 @@ import (
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes/nodesproto"
 	"gopkg.in/bblfsh/sdk.v2/uast/nodes/nodesproto"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
 	"gopkg.in/src-d/go-git.v4/plumbing/object"
-	"gopkg.in/src-d/hercules.v9/internal/core"
-	"gopkg.in/src-d/hercules.v9/internal/pb"
-	items "gopkg.in/src-d/hercules.v9/internal/plumbing"
-	uast_items "gopkg.in/src-d/hercules.v9/internal/plumbing/uast"
-	"gopkg.in/src-d/hercules.v9/internal/test"
+	"gopkg.in/src-d/hercules.v10/internal/core"
+	"gopkg.in/src-d/hercules.v10/internal/pb"
+	items "gopkg.in/src-d/hercules.v10/internal/plumbing"
+	uast_items "gopkg.in/src-d/hercules.v10/internal/plumbing/uast"
+	"gopkg.in/src-d/hercules.v10/internal/test"
 )
 )
 
 
 func fixtureShotness() *ShotnessAnalysis {
 func fixtureShotness() *ShotnessAnalysis {

+ 1 - 1
version_test.go

@@ -7,5 +7,5 @@ import (
 )
 )
 
 
 func TestVersion(t *testing.T) {
 func TestVersion(t *testing.T) {
-	assert.Equal(t, BinaryVersion, 9) // v9
+	assert.Equal(t, BinaryVersion, 10) // v10
 }
 }