go mod vendor
fails on MacOS due to case-sensitivity and the package name
#177
Labels
bug
Something isn't working
Scenario & Reproduction Steps
tl;dr, I think renaming this package from
github.com/1password/onepassword-sdk-go
github.com/1Password/onepassword-sdk-go
(uppercaseP
) would make this package work withgo mod vendor
; it currently does not.This package and
github.com/1Password/connect-sdk-go
cannot be used together withgo mod vendor
due to case sensitivity issues.This repo shows two pull requests, one where I ran
go mod vendor
on linux and the other on MacOS. The difference is that MacOS's filesystem is not case-sensitive (☹), and so on Mac v.s. linux you get differentvendor
foldersIf you go to run the MacOS generated vendor folder on linux (e.g. in a github action), this fails with an error like this:
I have tried a range of go mod
replace
operations but to no avail.Actual Behavior
Cannot use
1Password/connect-sdk-go
and1password/onepassword-sdk-go
together withgo mod vendor
on MacOS, getting errors about finding packages.Expected Behavior
Expect
go mod vendor
to work. (Also expected MacOS to have a case-sensitive FS, but there's less I can do about that one)SDK version
v0.1.7
Additional information
Microsoft
v.smicrosoft
The text was updated successfully, but these errors were encountered: