{"action":"created","issue":{"url":"https://api.github.com/repos/shurcooL/gostatus/issues/30","repository_url":"https://api.github.com/repos/shurcooL/gostatus","labels_url":"https://api.github.com/repos/shurcooL/gostatus/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/shurcooL/gostatus/issues/30/comments","events_url":"https://api.github.com/repos/shurcooL/gostatus/issues/30/events","html_url":"https://github.com/shurcooL/gostatus/issues/30","id":143048929,"number":30,"title":"Repo URLs should probably be compared with the protocol removed","user":{"login":"siebenmann","id":865382,"avatar_url":"https://avatars.githubusercontent.com/u/865382?v=3","gravatar_id":"","url":"https://api.github.com/users/siebenmann","html_url":"https://github.com/siebenmann","followers_url":"https://api.github.com/users/siebenmann/followers","following_url":"https://api.github.com/users/siebenmann/following{/other_user}","gists_url":"https://api.github.com/users/siebenmann/gists{/gist_id}","starred_url":"https://api.github.com/users/siebenmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siebenmann/subscriptions","organizations_url":"https://api.github.com/users/siebenmann/orgs","repos_url":"https://api.github.com/users/siebenmann/repos","events_url":"https://api.github.com/users/siebenmann/events{/privacy}","received_events_url":"https://api.github.com/users/siebenmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shurcooL/gostatus/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/shurcooL/gostatus/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-23T18:51:52Z","updated_at":"2016-05-11T23:44:36Z","closed_at":null,"body":"I tend to configure local copies of my own Github repos with the remote being `git@github.com:siebenmann/repo`, so that I push to Github via SSH. Right now this makes gostatus think that the remote path doesn't match the local path, since the official remote path it picks is `https://github.com/siebenmann/repo`. The best solution for this seems likely to be a protocol independent comparison of the remote path.\r\n\r\n(By the way, thank you for gostatus. It's a great tool and a nice complement to Go-Package-Store.)"},"comment":{"url":"https://api.github.com/repos/shurcooL/gostatus/issues/comments/218622274","html_url":"https://github.com/shurcooL/gostatus/issues/30#issuecomment-218622274","issue_url":"https://api.github.com/repos/shurcooL/gostatus/issues/30","id":218622274,"user":{"login":"eduncan911","id":104980,"avatar_url":"https://avatars.githubusercontent.com/u/104980?v=3","gravatar_id":"","url":"https://api.github.com/users/eduncan911","html_url":"https://github.com/eduncan911","followers_url":"https://api.github.com/users/eduncan911/followers","following_url":"https://api.github.com/users/eduncan911/following{/other_user}","gists_url":"https://api.github.com/users/eduncan911/gists{/gist_id}","starred_url":"https://api.github.com/users/eduncan911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduncan911/subscriptions","organizations_url":"https://api.github.com/users/eduncan911/orgs","repos_url":"https://api.github.com/users/eduncan911/repos","events_url":"https://api.github.com/users/eduncan911/events{/privacy}","received_events_url":"https://api.github.com/users/eduncan911/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T23:44:36Z","updated_at":"2016-05-11T23:44:36Z","body":"Btw, this observation is incorrect:\r\n\r\n>It seems that go get -u does not perform a check on whether the import path matches the expected remote URL\r\n\r\nActually, it does -  but only if the author of the package specifies the check like so:\r\n\r\n    package pdf // import \"rsc.io/pdf\"\r\n\r\nThis will cause `go get` to fail if the url does not match.  But, the vast majority of authors out there do not enforce this.  And therefore, no errors.\r\n\r\nIs there a way we can just suppress this information?  Because we know it works and we know it matches.\r\n\r\n"}}