shurcooL-legacy / backlog

My backlog of things I want to get to get around to resolving.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Follow up on go get -u not verifying remote URL for non-custom import paths.

dmitshur opened this issue · comments

See:

  1. golang/go#10952
  2. golang/go#16471
  3. shurcooL/Go-Package-Store#65 (comment)

shurcool: I think what they should've done is do a schema-less equality comparison, so that "https://github.com/user/repo" is considered equal to "git@github.com:user/repo". (and maybe ignore .git suffix because people keep trying to use them for some reason.) not ignore everything altogether.

Reported as golang/go#20039 and elaborated on a proposed fix in golang/go#20039 (comment).