{"action":"created","issue":{"url":"https://api.github.com/repos/golang/dep/issues/1556","repository_url":"https://api.github.com/repos/golang/dep","labels_url":"https://api.github.com/repos/golang/dep/issues/1556/labels{/name}","comments_url":"https://api.github.com/repos/golang/dep/issues/1556/comments","events_url":"https://api.github.com/repos/golang/dep/issues/1556/events","html_url":"https://github.com/golang/dep/issues/1556","id":290978112,"number":1556,"title":"Ignore constraint in Gopkg.toml leads to weird behavior","user":{"login":"stefan-improbable","id":27731402,"avatar_url":"https://avatars1.githubusercontent.com/u/27731402?v=4","gravatar_id":"","url":"https://api.github.com/users/stefan-improbable","html_url":"https://github.com/stefan-improbable","followers_url":"https://api.github.com/users/stefan-improbable/followers","following_url":"https://api.github.com/users/stefan-improbable/following{/other_user}","gists_url":"https://api.github.com/users/stefan-improbable/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-improbable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-improbable/subscriptions","organizations_url":"https://api.github.com/users/stefan-improbable/orgs","repos_url":"https://api.github.com/users/stefan-improbable/repos","events_url":"https://api.github.com/users/stefan-improbable/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-improbable/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-23T20:15:35Z","updated_at":"2018-02-06T16:58:31Z","closed_at":null,"author_association":"NONE","body":"### What version of `dep` are you using (`dep version`)?\r\nNewest built on master.\r\n```\r\ndep:\r\n version     : devel\r\n build date  : \r\n git hash    : \r\n go version  : go1.8.3\r\n go compiler : gc\r\n platform    : linux/amd64\r\n```\r\n\r\n### What `dep` command did you run?\r\n```\r\ngit clone git@github.com:stefan-improbable/tesrepo.git\r\nexport GOPATH=$PWD/tesrepo\r\ncd tesrepo/src/testpkg\r\ndep ensure\r\ngo run main.go\r\n```\r\nEverything works fine. Now try to edit `Gopkg.toml` according to the instructions in the file\r\nto upgrade `k8s.io/client-go` to a new version. Then run:\r\n```\r\ndep ensure\r\ngo run main.go \r\n```\r\nNow everything fails because of missing packages.\r\n\r\n### What did you expect to see?\r\nUpdated `k8s.io/client-go` package.\r\n\r\n### What did you see instead?\r\nSome packages in `k8s.io/client-go/pkg/` were deleted even though they should be ignored by  `ignored = [\"k8s.io/client-go/pkg/*\"]`."},"comment":{"url":"https://api.github.com/repos/golang/dep/issues/comments/363490190","html_url":"https://github.com/golang/dep/issues/1556#issuecomment-363490190","issue_url":"https://api.github.com/repos/golang/dep/issues/1556","id":363490190,"user":{"login":"stefan-improbable","id":27731402,"avatar_url":"https://avatars1.githubusercontent.com/u/27731402?v=4","gravatar_id":"","url":"https://api.github.com/users/stefan-improbable","html_url":"https://github.com/stefan-improbable","followers_url":"https://api.github.com/users/stefan-improbable/followers","following_url":"https://api.github.com/users/stefan-improbable/following{/other_user}","gists_url":"https://api.github.com/users/stefan-improbable/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-improbable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-improbable/subscriptions","organizations_url":"https://api.github.com/users/stefan-improbable/orgs","repos_url":"https://api.github.com/users/stefan-improbable/repos","events_url":"https://api.github.com/users/stefan-improbable/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-improbable/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T16:58:31Z","updated_at":"2018-02-06T16:58:31Z","author_association":"NONE","body":"@sdboyer thanks for the reply :). I've tried to use the prune approach but am still getting errors\r\n```\r\nSolving failure: No versions of k8s.io/client-go met constraints:\r\n\t9389c055a838d4f208b699b3c7c51b70f2368861: Could not introduce k8s.io/client-go (from https://github.com/kubernetes/client-go.git)@9389c055a838d4f208b699b3c7c51b70f2368861 due to multiple problematic subpackages:\r\n\tSubpackage k8s.io/client-go/pkg/api/v1 is missing. (Package is required by (root).)\tSubpackage k8s.io/client-go/pkg/util/intstr is missing. (Package is required by (root).)\r\n```\r\nThe newest version of my `Gopkg.toml` is at https://github.com/stefan-improbable/tesrepo/blob/master/src/testpkg/Gopkg.toml and my `dep` is at current master."}}
{"actor":{"display_login":"stefan-improbable"}}