Skip to content

Commit

Permalink
Migrate project to go modules (#2098)
Browse files Browse the repository at this point in the history
* Move to go modules, not working tools, vendor in makefile

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Remove gogo from tools

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Remove vendor from proto

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* revert nocover

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* empty test for tools

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Fix version metadata

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Remove x/cover

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Remove /

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
  • Loading branch information
pavolloffay authored Mar 2, 2020
1 parent 98386ad commit 3fa04c8
Show file tree
Hide file tree
Showing 11 changed files with 777 additions and 1,657 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ services:

env:
global:
- GO111MODULE=off
- DOCKER_COMPOSE_VERSION=1.8.0
- COMMIT=${TRAVIS_COMMIT::8}
# DOCKER_USER
Expand Down
10 changes: 2 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ We gratefully welcome improvements to documentation as well as to code.
### Pre-requisites
* Install [Go](https://golang.org/doc/install) and setup GOPATH and add $GOPATH/bin in PATH

This library uses [dep](https://golang.github.io/dep) to manage dependencies.
This library uses Go modules to manage dependencies.

To get started, make sure you clone the Git repository into the correct location `$GOPATH/github.com/jaegertracing/jaeger`:

```
mkdir -p $GOPATH/src/github.com/jaegertracing
cd $GOPATH/src/github.com/jaegertracing
git clone git@github.com:jaegertracing/jaeger.git jaeger
cd jaeger
```
Expand All @@ -31,7 +28,6 @@ Then install dependencies and run the tests:

```
git submodule update --init --recursive
dep ensure
make install-tools
make test
```
Expand Down Expand Up @@ -64,7 +60,6 @@ github.com/jaegertracing/jaeger
app/ - The actual code for the binary
main.go
crossdock/ - Cross-repo integration test configuration
 docs/ - Documentation
examples/
hotrod/ - Demo application that uses OpenTracing API
idl/ - (submodule) https://github.com/jaegertracing/jaeger-idl
Expand All @@ -88,8 +83,7 @@ github.com/jaegertracing/jaeger
jaeger/
sampling/
zipkincore/
Gopkg.toml - Dep is the project's dependency manager
mkdocs.yml - MkDocs builds the documentation in docs/
go.mod - Go module file to track dependencies
```

- Note 1: `pkg` is a collection of utility packages used by the Jaeger components
Expand Down
Loading

0 comments on commit 3fa04c8

Please sign in to comment.