Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 89bca42

Browse files
committed
Remove incorrect FAQ entry
1 parent 42e3d76 commit 89bca42

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

docs/FAQ.md

-31
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ The FAQ predated the introduction of the rest of the documentation. If something
3434
## Best Practices
3535

3636
* [Should I commit my vendor directory?](#should-i-commit-my-vendor-directory)
37-
* [How do I test changes to a dependency?](#how-do-i-test-changes-to-a-dependency)
3837
* [How do I roll releases that `dep` will be able to use?](#how-do-i-roll-releases-that-dep-will-be-able-to-use)
3938
* [What semver version should I use?](#what-semver-version-should-i-use)
4039
* [Is it OK to make backwards-incompatible changes now?](#is-it-ok-to-make-backwards-incompatible-changes-now)
@@ -384,36 +383,6 @@ It's up to you:
384383
* PR diffs will include changes for files under `vendor/` when Gopkg.lock is modified,
385384
however files in `vendor/` are [hidden by default](https://github.com/github/linguist/blob/v5.2.0/lib/linguist/generated.rb#L328) on GitHub.
386385
387-
## How do I test changes to a dependency?
388-
389-
Making changes in your `vendor/` directory directly is not recommended, as dep
390-
will overwrite any changes. Instead:
391-
392-
1. Delete the dependency from the `vendor/` directory.
393-
394-
```sh
395-
rm -rf vendor/<dependency>
396-
```
397-
398-
1. Add that dependency to your `GOPATH`, if it isn't already.
399-
400-
```sh
401-
$ go get <dependency>
402-
```
403-
404-
1. Modify the dependency in `$GOPATH/src/<dependency>`.
405-
1. Test, build, etc.
406-
407-
Don't run `dep ensure` until you're done. `dep ensure` will reinstall the
408-
dependency into `vendor/` based on your manifest, as if you were installing from
409-
scratch.
410-
411-
This solution works for short-term use, but for something long-term, take a look
412-
at [virtualgo](https://github.com/GetStream/vg).
413-
414-
To test out code that has been pushed as a new version, or to a branch or fork,
415-
see [changing dependencies](#how-do-i-change-change-the-version-of-a-dependecy).
416-
417386
## How do I roll releases that `dep` will be able to use?
418387
419388
In short: make sure you've committed your `Gopkg.toml` and `Gopkg.lock`, then

0 commit comments

Comments
 (0)