{"action":"created","issue":{"url":"https://api.github.com/repos/sdboyer/gps/issues/27","repository_url":"https://api.github.com/repos/sdboyer/gps","labels_url":"https://api.github.com/repos/sdboyer/gps/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/sdboyer/gps/issues/27/comments","events_url":"https://api.github.com/repos/sdboyer/gps/issues/27/events","html_url":"https://github.com/sdboyer/gps/issues/27","id":154034523,"number":27,"title":"Handling slightly different URLs to same project","user":{"login":"mattfarina","id":62991,"avatar_url":"https://avatars.githubusercontent.com/u/62991?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfarina","html_url":"https://github.com/mattfarina","followers_url":"https://api.github.com/users/mattfarina/followers","following_url":"https://api.github.com/users/mattfarina/following{/other_user}","gists_url":"https://api.github.com/users/mattfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfarina/subscriptions","organizations_url":"https://api.github.com/users/mattfarina/orgs","repos_url":"https://api.github.com/users/mattfarina/repos","events_url":"https://api.github.com/users/mattfarina/events{/privacy}","received_events_url":"https://api.github.com/users/mattfarina/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sdboyer/gps/labels/correctness","name":"correctness","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sdboyer/gps/milestones/1","html_url":"https://github.com/sdboyer/gps/milestones/MVP","labels_url":"https://api.github.com/repos/sdboyer/gps/milestones/1/labels","id":1705094,"number":1,"title":"MVP","description":"Bringing `gps` to the point where it is viable as an engine, as indicated by successfully replacing glide's internals","creator":{"login":"sdboyer","id":21599,"avatar_url":"https://avatars.githubusercontent.com/u/21599?v=3","gravatar_id":"","url":"https://api.github.com/users/sdboyer","html_url":"https://github.com/sdboyer","followers_url":"https://api.github.com/users/sdboyer/followers","following_url":"https://api.github.com/users/sdboyer/following{/other_user}","gists_url":"https://api.github.com/users/sdboyer/gists{/gist_id}","starred_url":"https://api.github.com/users/sdboyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdboyer/subscriptions","organizations_url":"https://api.github.com/users/sdboyer/orgs","repos_url":"https://api.github.com/users/sdboyer/repos","events_url":"https://api.github.com/users/sdboyer/events{/privacy}","received_events_url":"https://api.github.com/users/sdboyer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":26,"state":"open","created_at":"2016-04-14T02:49:34Z","updated_at":"2016-07-19T20:16:21Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-05-10T15:22:34Z","updated_at":"2016-07-20T15:21:56Z","closed_at":null,"body":"How does the source manager handle the case of two URLs to the same location. For example,\r\n\r\n* `https://github.com/foo/bar`\r\n* `git@github.com:foo/bar`\r\n\r\nThis case can arise in a global cache where two different projects specify the same location two different ways.\r\n\r\nIn some systems the (e.g., private git installs) there may be a difference in available branches (e.g., private branches) and the access that entails. Don't need that to leak.\r\n\r\nHow does the source manager handle this so it can be used in the `GOPATH` and scanning?\r\n\r\nGlide handles this by creating a key for the cache that's based on the URI. So, the two examples above would be two different cache entries."},"comment":{"url":"https://api.github.com/repos/sdboyer/gps/issues/comments/233983362","html_url":"https://github.com/sdboyer/gps/issues/27#issuecomment-233983362","issue_url":"https://api.github.com/repos/sdboyer/gps/issues/27","id":233983362,"user":{"login":"mattfarina","id":62991,"avatar_url":"https://avatars.githubusercontent.com/u/62991?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfarina","html_url":"https://github.com/mattfarina","followers_url":"https://api.github.com/users/mattfarina/followers","following_url":"https://api.github.com/users/mattfarina/following{/other_user}","gists_url":"https://api.github.com/users/mattfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfarina/subscriptions","organizations_url":"https://api.github.com/users/mattfarina/orgs","repos_url":"https://api.github.com/users/mattfarina/repos","events_url":"https://api.github.com/users/mattfarina/events{/privacy}","received_events_url":"https://api.github.com/users/mattfarina/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T15:21:56Z","updated_at":"2016-07-20T15:21:56Z","body":"Don't you control the directory you scan for dependencies? For example, when a reference to `github.com/Masterminds/sermver` comes in can you then scan for the dependencies in `$CACHEPATH/src/https-github.com-sdboyer-semver` instead? Keeping the mapping internal?"}}
{"actor":{"display_login":"mattfarina"}}