-
Notifications
You must be signed in to change notification settings - Fork 536
Closed
Description
Create:
$GOPATH/src/example.com/example/main.go:
package main
import (
"k8s.io/kubernetes/pkg/client/restclient"
client "k8s.io/kubernetes/pkg/client/unversioned"
)
func main() {
var config *restclient.Config
client.New(config)
}
Now run:
cd $GOPATH/src/example.com/example
glide create --non-interactive
glide install
It will make slow progress for a while but eventually seems to hits a wall and seems to make no progress. It's using about 1 full CPU core while resident size increases only very slowly.
I'm using go 1.6 on Ubuntu Xenial and glide 0.12.1 from ppa.
Output looks like:
$ glide init --non-interactive
[INFO] Generating a YAML configuration file and guessing the dependencies
[INFO] Attempting to import from other package managers (use --skip-import to skip)
[INFO] Scanning code to look for dependencies
[INFO] --> Found reference to k8s.io/kubernetes/pkg/client/restclient
[INFO] --> Adding sub-package pkg/client/unversioned to k8s.io/kubernetes
[INFO] Writing configuration file (glide.yaml)
[INFO] You can now edit the glide.yaml file. Consider:
[INFO] --> Using versions and ranges. See https://glide.sh/docs/versions/
[INFO] --> Adding additional metadata. See https://glide.sh/docs/glide.yaml/
[INFO] --> Running the config-wizard command to improve the versions in your configuration
$ glide install
[INFO] Lock file (glide.lock) does not exist. Performing update.
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for k8s.io/kubernetes.
[INFO] Resolving imports
[INFO] --> Fetching updates for github.com/golang/glog.
[INFO] --> Fetching updates for github.com/google/cadvisor.
[INFO] --> Fetching updates for github.com/davecgh/go-spew.
[INFO] --> Fetching updates for github.com/ugorji/go.
[INFO] --> Fetching updates for golang.org/x/net.
[INFO] --> Fetching updates for github.com/go-openapi/spec.
[INFO] --> Fetching updates for github.com/gogo/protobuf.
[INFO] --> Fetching updates for github.com/google/gofuzz.
[INFO] --> Fetching updates for github.com/juju/ratelimit.
[INFO] --> Fetching updates for github.com/blang/semver.
[INFO] --> Fetching updates for github.com/emicklei/go-restful.
[INFO] --> Fetching updates for github.com/spf13/pflag.
[INFO] --> Fetching updates for gopkg.in/inf.v0.
[INFO] --> Fetching updates for github.com/pborman/uuid.
[INFO] --> Fetching updates for github.com/go-openapi/jsonpointer.
[INFO] --> Fetching updates for github.com/go-openapi/jsonreference.
[INFO] --> Fetching updates for github.com/go-openapi/swag.
[INFO] --> Fetching updates for github.com/docker/distribution.
[INFO] --> Fetching updates for golang.org/x/oauth2.
[INFO] --> Fetching updates for k8s.io/client-go.
[INFO] --> Fetching updates for github.com/coreos/go-oidc.
[INFO] --> Fetching updates for github.com/ghodss/yaml.
[INFO] --> Fetching updates for github.com/PuerkitoBio/purell.
[INFO] --> Fetching updates for github.com/mailru/easyjson.
[INFO] --> Fetching updates for google.golang.org/appengine.
[INFO] --> Fetching updates for cloud.google.com/go.
[INFO] --> Fetching updates for github.com/coreos/pkg.
[INFO] --> Fetching updates for github.com/jonboulle/clockwork.
[INFO] --> Fetching updates for github.com/cloudfoundry-incubator/candiedyaml.
[INFO] --> Fetching updates for github.com/PuerkitoBio/urlesc.
[INFO] --> Fetching updates for golang.org/x/text.
seh