Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: case-based name conflict with DataDog #288

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

RomainMuller
Copy link
Contributor

Case-conflicting import paths cause issues when using go mod vendor as the layout on case-sensitive file systems is different from that on case-insensitive file system. This is a long-known issue with the Go toolchain, however fixing this is non-trivial and could have undesirable consequences.

Since the capitalized form of DataDog (sic) is most common today, renaming the orchestrion module is the most pragramtic solution today.

Caused-By golang/go#38342
Fixes #287

Case-conflicting import paths cause issues when using `go mod vendor` as
the layout on case-sensitive file systems is different from that on
case-insensitive file system. This is a long-known issue with the Go
toolchain, however fixing this is non-trivial and could have undesirable
consequences.

Since the capitalized form of `DataDog` (sic) is most common today,
renaming the `orchestrion` module is the most pragramtic solution today.

Caused-By golang/go#38342
Fixes #287
@RomainMuller RomainMuller requested a review from a team as a code owner September 23, 2024 08:19
@eliottness
Copy link
Contributor

Should we do a v0.9.0 for this ?

@RomainMuller RomainMuller force-pushed the romain.marcadier/issue-287 branch from c72b146 to 69a5ea7 Compare September 23, 2024 08:45
@RomainMuller RomainMuller added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit c6451d2 Sep 23, 2024
24 checks passed
@RomainMuller RomainMuller deleted the romain.marcadier/issue-287 branch September 23, 2024 09:31
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.48%. Comparing base (87351e4) to head (715aa9a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #288   +/-   ##
=======================================
  Coverage   73.48%   73.48%           
=======================================
  Files         144      144           
  Lines        7861     7861           
=======================================
  Hits         5777     5777           
  Misses       1655     1655           
  Partials      429      429           
Components Coverage Δ
Generators 76.69% <100.00%> (ø)
Instruments 88.05% <ø> (ø)
Go Driver 72.81% <ø> (ø)
Toolexec Driver 70.88% <ø> (ø)
Aspects 71.79% <100.00%> (ø)
Injector 73.24% <100.00%> (ø)
Job Server 63.20% <ø> (ø)
Integration Test Suite 87.64% <ø> (ø)
Other 73.48% <100.00%> (ø)
Files with missing lines Coverage Δ
instrument/instrument.go 77.77% <ø> (ø)
internal/cmd/go.go 40.00% <ø> (ø)
internal/cmd/pin.go 0.00% <ø> (ø)
internal/cmd/server.go 13.07% <100.00%> (ø)
internal/cmd/toolexec.go 59.45% <ø> (ø)
internal/cmd/version.go 35.71% <ø> (ø)
internal/ensure/integration/main.go 0.00% <ø> (ø)
internal/ensure/requiredversion.go 72.28% <ø> (ø)
internal/goflags/flags.go 76.28% <ø> (ø)
internal/goproxy/dashc.go 20.00% <ø> (ø)
... and 50 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Naming of module on case-insensitive filesystems
2 participants