-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It's not possible to use v0.0.9 in module mode because it contains "tests/fileutils/FindMe.txt" and "tests/fileutils/findme.txt" files that cause a case-insensitive file name collision. The go command rejects it as a result.
To Reproduce
Steps to reproduce the behavior:
$ cd $(mktemp -d)
$ export GOPATH=$(pwd)
$ export GO111MODULE=on
$ export GOPROXY=direct
$ export GOSUMDB=off
$ go get -d github.com/alessiosavi/[email protected]
go: finding github.com/alessiosavi/GoGPUtils v0.0.9
go: downloading github.com/alessiosavi/GoGPUtils v0.0.9
go: extracting github.com/alessiosavi/GoGPUtils v0.0.9
-> unzip /tmp/NPdspiwu/pkg/mod/cache/download/github.com/alessiosavi/!go!g!p!utils/@v/v0.0.9.zip: case-insensitive file name collision: "tests/fileutils/FindMe.txt" and "tests/fileutils/findme.txt"
go get github.com/alessiosavi/[email protected]: unzip /tmp/NPdspiwu/pkg/mod/cache/download/github.com/alessiosavi/!go!g!p!utils/@v/v0.0.9.zip: case-insensitive file name collision: "tests/fileutils/FindMe.txt" and "tests/fileutils/findme.txt"
Expected behavior
It should work without an error.
Additional context
There is an open issue in the Go issue tracker about documenting the restrictions on contents that can be a part of modules. See golang/go#33778.
/cc @jayconrod FYI.
alessiosavi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working