Skip to content

Instantly share code, notes, and snippets.

@tyrannasaurusbanks
Created May 2, 2017 15:32
Show Gist options
  • Save tyrannasaurusbanks/09c30b23e1ee32581e2d9525bf069947 to your computer and use it in GitHub Desktop.
Save tyrannasaurusbanks/09c30b23e1ee32581e2d9525bf069947 to your computer and use it in GitHub Desktop.
$ glide -version
glide version v0.12.3
$ glide cc && glide get github.com/Masterminds/sprig
[INFO] Glide cache has been cleared.
[INFO] Preparing to install 1 package.
[INFO] Attempting to get package github.com/Masterminds/sprig
[INFO] --> Gathering release information for github.com/Masterminds/sprig
[INFO] The package github.com/Masterminds/sprig appears to have Semantic Version releases (http://semver.org).
[INFO] The latest release is 2.10.0. You are currently not using a release. Would you like
[INFO] to use this release? Yes (Y) or No (N)
Y
[INFO] The package github.com/Masterminds/sprig appears to use semantic versions (http://semver.org).
[INFO] Would you like to track the latest minor or patch releases (major.minor.patch)?
[INFO] Tracking minor version releases would use '>= 2.10.0, < 3.0.0' ('^2.10.0'). Tracking patch version
[INFO] releases would use '>= 2.10.0, < 2.11.0' ('~2.10.0'). For more information on Glide versions
[INFO] and ranges see https://glide.sh/docs/versions
[INFO] Minor (M), Patch (P), or Skip Ranges (S)?
M
[INFO] --> Adding github.com/Masterminds/sprig to your configuration with the version ^2.10.0
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/spf13/cobra.
[INFO] --> Fetching github.com/Masterminds/sprig.
[INFO] --> Fetching github.com/coreos/go-semver.
[INFO] --> Fetching github.com/aws/aws-sdk-go.
[INFO] --> Fetching github.com/coreos/coreos-cloudinit.
[INFO] --> Fetching gopkg.in/yaml.v2.
[INFO] Resolving imports
[INFO] --> Detected semantic version. Setting version for github.com/aws/aws-sdk-go to v1.8.19.
[INFO] --> Fetching github.com/go-ini/ini.
[INFO] --> Fetching github.com/inconshreveable/mousetrap.
[INFO] --> Fetching github.com/spf13/pflag.
[INFO] --> Detected semantic version. Setting version for github.com/coreos/coreos-cloudinit to v1.13.0.
[INFO] --> Fetching github.com/coreos/yaml.
[INFO] --> Fetching github.com/jmespath/go-jmespath.
[INFO] Downloading dependencies. Please wait...
[INFO] --> Detected semantic version. Setting version for github.com/Masterminds/sprig to 2.10.0.
[INFO] --> Detected semantic version. Setting version for github.com/coreos/go-semver to v0.2.0.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/aws/aws-sdk-go
[INFO] --> Exporting github.com/coreos/coreos-cloudinit
[INFO] --> Exporting github.com/coreos/go-semver
[INFO] --> Exporting github.com/inconshreveable/mousetrap
[INFO] --> Exporting github.com/Masterminds/sprig
[INFO] --> Exporting github.com/go-ini/ini
[INFO] --> Exporting github.com/spf13/pflag
[INFO] --> Exporting github.com/coreos/yaml
[INFO] --> Exporting github.com/jmespath/go-jmespath
[INFO] --> Exporting github.com/spf13/cobra
[INFO] --> Exporting gopkg.in/yaml.v2
[INFO] Replacing existing vendor dependencies
$ git diff glide.yaml | cat
diff --git a/glide.yaml b/glide.yaml
index c39b567..233a7b6 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -21,3 +21,5 @@ import:
- semver
- package: github.com/spf13/cobra
- package: gopkg.in/yaml.v2
+- package: github.com/Masterminds/sprig
+ version: ^2.10.0
$ git diff -- glide.lock | cat
diff --git a/glide.lock b/glide.lock
index b55b95f..8c115b1 100644
--- a/glide.lock
+++ b/glide.lock
@@ -1,8 +1,8 @@
-hash: c867da102c81c3ad5b5b7e9016f1b020fe22311da8f3532b65a0a2832f0b0b3c
-updated: 2017-03-12T18:50:39.127225917+01:00
+hash: 61650b1ec198a8e63d341908512a136ee16a45bd82e46f71945f807ccbee2715
+updated: 2017-05-02T16:25:47.580482392+01:00
imports:
- name: github.com/aws/aws-sdk-go
- version: 819b71cf8430e434c1eee7e7e8b0f2b8870be899
+ version: 0dbc446aca87aebb6e0a24509b59bafc0e3ec0ae
subpackages:
- aws
- aws/awserr
@@ -29,7 +29,6 @@ imports:
- private/protocol/rest
- private/protocol/restxml
- private/protocol/xml/xmlutil
- - private/waiter
- service/cloudformation
- service/ec2
- service/elb
@@ -38,7 +37,7 @@ imports:
- service/s3
- service/sts
- name: github.com/coreos/coreos-cloudinit
- version: 3c68e2e67d2ea077e2b79383c0ad313770c62ca2
+ version: 5be99bf577f2768193c7fb587ef5a8806c1503cf
subpackages:
- config
- config/validate
@@ -49,15 +48,17 @@ imports:
- name: github.com/coreos/yaml
version: 6b16a5714269b2f70720a45406b1babd947a17ef
- name: github.com/go-ini/ini
- version: 6e4869b434bd001f6983749881c7ead3545887d8
+ version: e7fea39b01aea8d5671f6858f0532f56e8bff3a5
- name: github.com/inconshreveable/mousetrap
version: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
- name: github.com/jmespath/go-jmespath
version: bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d
+- name: github.com/Masterminds/sprig
+ version: 23597e5f6ad0e4d590e71314bfd0251a4a3cf849
- name: github.com/spf13/cobra
- version: 856b96dcb49d6427babe192998a35190a12c2230
+ version: 8f0203be891287870100e4af46262cdf4a4261d1
- name: github.com/spf13/pflag
- version: dabebe21bf790f782ea4c7bbd2efc430de182afd
+ version: c990990ab4981d84da820b7b00c85139ca150b5f
- name: gopkg.in/yaml.v2
- version: a5b47d31c556af34a302ce5d659e6fea44d90de0
+ version: cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
testImports: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment