Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

migrate vendor to golang/dep #4396

Merged
merged 7 commits into from
Mar 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 4 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,23 +145,11 @@ Scrub build results:
make lint
make dco

### Restore, update and save dependencies
### Managing dependencies

When you make a fresh copy of the repo, all the dependecies are in `vendor/` directory for the builds to work. If you want to update the dependencies

#### Restore the dependencies

make dep-restore

This uses godep to restores all the dependencies to your `$GOPATH`. Note that this changes the packages in your `$GOPATH`

#### Add one ore more dependencies

go get -u <new dependency>

#### Save the dependencies to `vendor/`

make dep-save
When you make a fresh copy of the repo, all the dependencies are in `vendor/` directory for the build to work.
This project uses [golang/dep](https://github.com/golang/dep) as vendor management tool. Please refer to `dep` documentation
for further details.

4. Verify the changes in your repo, commit and submit a pull request

Expand Down
Loading