-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: case-based name conflict with
DataDog
(#288)
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
- Loading branch information
1 parent
87351e4
commit c6451d2
Showing
108 changed files
with
281 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ In addition to this, Orchestrion only supports projects using [Go modules][go-mo | |
|
||
1. Install Orchestrion: | ||
```console | ||
$ go install github.com/datadog/orchestrion@latest | ||
$ go install github.com/DataDog/orchestrion@latest | ||
``` | ||
|
||
2. <details><summary>Optional: project <tt>go.mod</tt> registration</summary> | ||
|
@@ -61,9 +61,9 @@ In addition to this, Orchestrion only supports projects using [Go modules][go-mo | |
> | ||
> package tools | ||
> | ||
> import _ "github.com/datadog/orchestrion" | ||
> import _ "github.com/DataDog/orchestrion" | ||
> ``` | ||
> 2. Run `go get github.com/datadog/orchstrion@<current-release>` to make sure the project version corresponds to the | ||
> 2. Run `go get github.com/DataDog/orchstrion@<current-release>` to make sure the project version corresponds to the | ||
> one currently being used | ||
> 3. Run `go mod tidy` to make sure your `go.mod` and `go.sum` files are up-to-date | ||
> | ||
|
@@ -82,13 +82,13 @@ In addition to this, Orchestrion only supports projects using [Go modules][go-mo | |
``` | ||
╭──────────────────────────────────────────────────────────────────────────────╮ | ||
│ │ | ||
│ Warning: github.com/datadog/orchestrion is not present in your go.mod │ | ||
│ Warning: github.com/DataDog/orchestrion is not present in your go.mod │ | ||
│ file. │ | ||
│ In order to ensure build reliability and reproductibility, orchestrion │ | ||
│ will now add itself in your go.mod file by: │ | ||
│ │ | ||
│ 1. creating a new file named orchestrion.tool.go │ | ||
│ 2. running go get github.com/datadog/[email protected] │ | ||
│ 2. running go get github.com/DataDog/[email protected] │ | ||
│ 3. running go mod tidy │ | ||
│ │ | ||
│ You should commit the resulting changes into your source control system. │ | ||
|
@@ -110,7 +110,7 @@ In addition to this, Orchestrion only supports projects using [Go modules][go-mo | |
> The version of `orchestrion` used to compile your project is ultimately tracked in the `go.mod` file. You can manage | ||
> it in the same way you manage any other dependency, and updating to the latest release is as simple as doing: | ||
> ```console | ||
> $ go get github.com/datadog/orchestrion@latest | ||
> $ go get github.com/DataDog/orchestrion@latest | ||
> ``` | ||
|
||
## Supported libraries | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ | |
package tools | ||
|
||
import ( | ||
_ "github.com/datadog/orchestrion" | ||
_ "github.com/DataDog/orchestrion" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.