Skip to content

Commit

Permalink
vendor: Switch from godep to glide tool
Browse files Browse the repository at this point in the history
* Use glide for dependency management
* coreos/docs#775
  • Loading branch information
dghubble authored and rothgar committed Aug 4, 2016
1 parent bd73653 commit 118456e
Show file tree
Hide file tree
Showing 3,186 changed files with 633,030 additions and 25,405 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 17 additions & 2 deletions Documentation/dev/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Alternately, build a Docker image `coreos/bootcfg:latest`.

sudo ./build-docker

## Check Version
## Version

./bin/bootcfg -version
sudo rkt --insecure-options=image run bootcfg.aci -- -version
Expand All @@ -41,4 +41,19 @@ Run the ACI with rkt on `metal0`.

Alternately, run the Docker image on `docker0`.

sudo docker run -p 8080:8080 --rm -v $PWD/examples:/var/lib/bootcfg:Z -v $PWD/examples/groups/etcd-docker:/var/lib/bootcfg/groups:Z coreos/bootcfg:latest -address=0.0.0.0:8080 -log-level=debug
sudo docker run -p 8080:8080 --rm -v $PWD/examples:/var/lib/bootcfg:Z -v $PWD/examples/groups/etcd-docker:/var/lib/bootcfg/groups:Z coreos/bootcfg:latest -address=0.0.0.0:8080 -log-level=debug

## Dependencies

Project dependencies are commited to the `vendor` directory, so Go 1.6+ users can clone to their `GOPATH` and build or test immediately. Go 1.5 users should set `GO15VENDOREXPERIMENT=1`.

Project developers should use [glide](https://github.com/Masterminds/glide) to manage commited dependencies under `vendor`. Configure `glide.yaml` as desired. Use `glide update` to download and update dependencies listed in `glide.yaml` into `/vendor` (do **not** use glide `get`).

glide update --update-vendored --strip-vendor --strip-vcs

Recursive dependencies are also vendored. A `glide.lock` will be created to represent the exact versions of each dependency.

With an empty `vendor` directory, you can install the `glide.lock` dependencies.

rm -rf vendor/
glide install --strip-vendor --strip-vcs
95 changes: 95 additions & 0 deletions glide.lock

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

77 changes: 77 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
package: github.com/coreos/coreos-baremetal
import:
- package: github.com/alecthomas/units
version: 2efee857e7cfd4f3d0138cc3cbb1b4966962b93a
- package: github.com/camlistore/camlistore
version: 9106ce829629773474c689b34aacd7d3aaa99426
- package: github.com/coreos/coreos-cloudinit
version: b3f805dee6a4aa5ed298a1f370284df470eecf43
subpackages:
- Godeps/_workspace/src/github.com/coreos/yaml
- config
- package: github.com/coreos/go-semver
version: 294930c1e79c64e7dbe360054274fdad492c8cf5
subpackages:
- semver
- package: github.com/coreos/go-systemd
version: 7b2428fec40033549c68f54e26e89e7ca9a9ce31
subpackages:
- journal
- package: github.com/coreos/ignition
version: 44c274ab414294a8e34b3a940e0ec1afe6b6c610
subpackages:
- config
- config/types
- config/v1
- config/v1/types
- package: github.com/coreos/pkg
version: 66fe44ad037ccb80329115cb4db0dbe8e9beb03a
subpackages:
- capnslog
- flagutil
- package: github.com/davecgh/go-spew
version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
subpackages:
- spew
- package: github.com/golang/protobuf
version: f0a097ddac24fb00e07d2ac17f8671423f3ea47c
subpackages:
- proto
- package: github.com/pmezard/go-difflib
version: 792786c7400a136282c1664665ae0a8db921c6c2
subpackages:
- difflib
- package: github.com/spf13/cobra
version: 65a708cee0a4424f4e353d031ce440643e312f92
- package: github.com/spf13/pflag
version: 7f60f83a2c81bc3c3c0d5297f61ddfa68da9d3b7
- package: github.com/stretchr/testify
version: 1f4a1643a57e798696635ea4c126e9127adb7d3c
subpackages:
- assert
- package: github.com/vincent-petithory/dataurl
version: 9a301d65acbb728fcc3ace14f45f511a4cfeea9c
- package: go4.org
version: 03efcb870d84809319ea509714dd6d19a1498483
subpackages:
- errorutil
- package: golang.org/x/crypto
version: 5dc8cb4b8a8eb076cbb5a06bc3b8682c15bdbbd3
subpackages:
- cast5
- openpgp
- package: golang.org/x/net
version: fb93926129b8ec0056f2f458b1f519654814edf0
subpackages:
- context
- http2
- internal/timeseries
- trace
- package: google.golang.org/grpc
version: 8eeecf2291de9d171d0b1392a27ff3975679f4f5
subpackages:
- codes
- package: gopkg.in/yaml.v2
version: f7716cbe52baa25d2e9b0d0da546fcf909fc16b4
- package: github.com/coreos/yaml
version: 6b16a5714269b2f70720a45406b1babd947a17ef
34 changes: 34 additions & 0 deletions vendor/github.com/camlistore/camlistore/.gitignore

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

23 changes: 23 additions & 0 deletions vendor/github.com/camlistore/camlistore/.hackfests/2010-12-01.txt

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

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

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

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

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

20 changes: 20 additions & 0 deletions vendor/github.com/camlistore/camlistore/.header

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

65 changes: 65 additions & 0 deletions vendor/github.com/camlistore/camlistore/AUTHORS

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

12 changes: 12 additions & 0 deletions vendor/github.com/camlistore/camlistore/BUILDING

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

Loading

0 comments on commit 118456e

Please sign in to comment.