Skip to content

Commit

Permalink
vendoring: isolate the vendor directory
Browse files Browse the repository at this point in the history
Due to the new vendoring logic in the golang compiler it can cause
issues for projects that import a package that has vendored a package
that is used locally. See containers/image#223

This change moves the vendored sources to the package that uses them,
rather than for the whole project. Also is explictly is not vendoring
code repos from "github.com/opencontainers/". For now we'll consider
these non-remote. Though versioning may likely be future concern.

Fixes opencontainers#527
Obsoletes opencontainers#528

Signed-off-by: Vincent Batts <[email protected]>
  • Loading branch information
vbatts committed Jan 26, 2017
1 parent eee8749 commit 002d764
Show file tree
Hide file tree
Showing 45 changed files with 20 additions and 1,022 deletions.
22 changes: 0 additions & 22 deletions glide.lock

This file was deleted.

2 changes: 2 additions & 0 deletions identity/vendor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This imports `github.com/opencontainers/go-digest` and has intentionally not
been vendored.
16 changes: 16 additions & 0 deletions schema/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions glide.yaml → schema/glide.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package: github.com/opencontainers/image-spec
package: github.com/opencontainers/image-spec/schema
import:
- package: github.com/pkg/errors
version: '>=0.7.0'
Expand All @@ -8,4 +8,3 @@ import:
version: ~v1.4
- package: github.com/shurcooL/sanitized_anchor_name
version: 10ef21a441db47d8b13ebcc5fd2310f636973c77
- package: github.com/opencontainers/go-digest
1 change: 1 addition & 0 deletions vendor/go4.org/LICENSE → schema/vendor/go4.org/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
191 changes: 0 additions & 191 deletions vendor/github.com/opencontainers/go-digest/LICENSE.code

This file was deleted.

Loading

0 comments on commit 002d764

Please sign in to comment.