Skip to content
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
  •  
  •  
  •  
512 changes: 512 additions & 0 deletions Gopkg.lock

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
ignored = ["github.com/openshift/installer/tests*"]

[prune]
non-go = true
go-tests = true
unused-packages = true

[[constraint]]
name = "gopkg.in/AlecAivazis/survey.v1"
version = "1.6.2"

[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "1.15.39"

[[constraint]]
name = "github.com/coreos/ignition"
version = "0.26.0"

[[constraint]]
branch = "master"
name = "github.com/coreos/tectonic-config"

[[constraint]]
name = "github.com/libvirt/libvirt-go"
version = "4.7.0"

[[constraint]]
branch = "master"
name = "github.com/shurcooL/vfsgen"

[[constraint]]
name = "github.com/sirupsen/logrus"
version = "1.1.0"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.2.2"

[[constraint]]
branch = "master"
name = "github.com/vincent-petithory/dataurl"

[[constraint]]
name = "gopkg.in/alecthomas/kingpin.v2"
version = "2.2.6"

[[override]]
name = "k8s.io/apimachinery"
version = "kubernetes-1.11.3"

[[constraint]]
name = "k8s.io/client-go"
version = "6.0.0"
25 changes: 15 additions & 10 deletions docs/dev/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,29 @@ If you need support for [libvirt destroy](libvirt-howto#cleanup), you should als

We follow a hard flattening approach; i.e. direct and inherited dependencies are installed in the base `vendor/`.

Dependencies are managed with [glide](https://glide.sh/) but committed directly to the repository. If you don't have glide, install the latest release from [https://glide.sh/](https://glide.sh/). We require version 0.12 at a minimum.
Dependencies are managed with [dep](https://golang.github.io/dep/) but committed directly to the repository. If you don't have dep, install the latest release from [Installation](https://golang.github.io/dep/docs/installation.html) link.

The vendor directory is pruned using [glide-vc](https://github.com/sgotti/glide-vc). Follow the [installation instructions](https://github.com/sgotti/glide-vc#install) in the project's README.
We require atleast following version for dep:

```
dep:
version : v0.5.0
build date : 2018-07-26
git hash : 224a564
go version : go1.10.3
```

To add a new dependency:
- Edit the `glide.yaml` file to add your dependency.
- Ensure you add a `version` field for the sha or tag you want to pin to.

- Edit the `Gopkg.yaml` file to add your dependency.
- Ensure you add a `version` field for the tag or the `revision` field for commit id you want to pin to.
- Revendor the dependencies:

```sh
rm glide.lock
glide install --strip-vendor
glide-vc --use-lock-file --no-tests --only-code
dep ensure
```

If it worked correctly it should:
- Clone your new dep to the `/vendor` dir and check out the ref you specified.
- Update `glide.lock` to include your new package, add any transitive dependencies and update its hash.
This [guide](https://golang.github.io/dep/docs/daily-dep.html) a great source to learn more about using `dep` is .

For the sake of your fellow reviewers, commit vendored code separately from any other changes.

Expand Down
226 changes: 0 additions & 226 deletions glide.lock

This file was deleted.

40 changes: 0 additions & 40 deletions glide.yaml

This file was deleted.

Loading