{"action":"created","issue":{"url":"https://api.github.com/repos/constabulary/gb/issues/231","labels_url":"https://api.github.com/repos/constabulary/gb/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/constabulary/gb/issues/231/comments","events_url":"https://api.github.com/repos/constabulary/gb/issues/231/events","html_url":"https://github.com/constabulary/gb/pull/231","id":89536707,"number":231,"title":"cmd/gb: add experimental depset command","user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-19T11:09:45Z","updated_at":"2015-06-23T10:19:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/constabulary/gb/pulls/231","html_url":"https://github.com/constabulary/gb/pull/231","diff_url":"https://github.com/constabulary/gb/pull/231.diff","patch_url":"https://github.com/constabulary/gb/pull/231.patch"},"body":"depset is an experimental command to explore analysing dependency sets.\r\nIt produces output like this, http://paste.ubuntu.com/11739677/\r\n\r\nAt the moment it has worse than quadratic behaviour, making it unsuitable for anything serious.\r\n\r\nThe goal of depset is to develop a set of functions in the `cmd` package that can be used by tools like `gb-vendor` to analyse dependencies as a set rather than as individual imports.\r\nDependency sets are groups of packages that are related by being children of a single source root. A canonical example of a source root is $GOPATH/src, another is $PROJECT/src. However we can be smarter and create sets for each vendored import tree, which in turn allows us to determine which dependencies are no longer referenced with more accuracy than the current gb vendor purge command.\r\n\r\nAnother function of dep sets is to determine missing packages, the output of which could be fed back into gb vendor fetch to drive recursive depdendency fetching.\r\n\r\n/cc @davidkaya "},"comment":{"url":"https://api.github.com/repos/constabulary/gb/issues/comments/114431944","html_url":"https://github.com/constabulary/gb/pull/231#issuecomment-114431944","issue_url":"https://api.github.com/repos/constabulary/gb/issues/231","id":114431944,"user":{"login":"davidkaya","id":3832960,"avatar_url":"https://avatars.githubusercontent.com/u/3832960?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkaya","html_url":"https://github.com/davidkaya","followers_url":"https://api.github.com/users/davidkaya/followers","following_url":"https://api.github.com/users/davidkaya/following{/other_user}","gists_url":"https://api.github.com/users/davidkaya/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkaya/subscriptions","organizations_url":"https://api.github.com/users/davidkaya/orgs","repos_url":"https://api.github.com/users/davidkaya/repos","events_url":"https://api.github.com/users/davidkaya/events{/privacy}","received_events_url":"https://api.github.com/users/davidkaya/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T10:19:16Z","updated_at":"2015-06-23T10:19:16Z","body":"@davecheney Is it just me or the Wercker is weird? I see it as \"Waiting to hear about 7332c04\" for 3 days already."}}