Skip to content

cmd/go: unexpected module path when using get on a repo with incorrect path casing #27154

@exts

Description

@exts

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.11rc1

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

windows 10 64bit

What did you do?

  • Create a module
  • Upload module to bitbucket or github (I'm using bitbucket)
  • Call go get bitbucket.org/lowercase/reponame (the user is upper cased, but I called it using all lower case)
  • Let the execution call, watch the execution fail.

What did you expect to see?

  • If you run the command with the correct url case the error goes away and it properly grabs the latest module from the repo

What did you see instead?

  • `go: bitbucket.org/lowercase/vsc@v0.0.2: parsing go.mod: unexpected module path "bitbucket.org/LOWERCASE/vsc"

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.modules

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions