-
Notifications
You must be signed in to change notification settings - Fork 2
Add MySQL 8.4 LTS and 9.x Innovation release support #16
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
Changes from all commits
0ca17ee
ea70a48
a393732
7a8a3ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| run: | ||
| timeout: 5m | ||
|
|
||
| linters: | ||
| enable: | ||
| - errcheck | ||
| - govet | ||
| - ineffassign | ||
| - staticcheck | ||
| - unused | ||
| disable: | ||
| - depguard | ||
|
|
||
| linters-settings: | ||
| errcheck: | ||
| check-type-assertions: false | ||
|
|
||
| issues: | ||
| exclude-use-default: true | ||
| max-issues-per-linter: 50 | ||
| max-same-issues: 10 |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -19,7 +19,7 @@ type GuessInfo struct { | |||||||||
| Url string | ||||||||||
| } | ||||||||||
|
|
||||||||||
| var allowedGuessVersions = []string{"5.7", "8.0"} | ||||||||||
| var allowedGuessVersions = []string{"5.7", "8.0", "8.4", "9.0", "9.1", "9.2"} | ||||||||||
|
||||||||||
| var allowedGuessVersions = []string{"5.7", "8.0", "8.4", "9.0", "9.1", "9.2"} | |
| // Only include versions for which the guessing logic (including extensions and naming) | |
| // is known to produce valid URLs. | |
| var allowedGuessVersions = []string{"5.7", "8.0"} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,21 +61,21 @@ var downloadsSettings = map[TarballType]TarballDef{ | |
| NameInFile: "mysql-cluster", | ||
| NameInUrl: "cluster", | ||
| DownloadDir: "MySQL-Cluster-VERSION", | ||
| Versions: []string{"7.6", "8.0"}, | ||
| Versions: []string{"7.6", "8.0", "8.4", "9.0"}, | ||
| }, | ||
| TtMysql: { | ||
| Flavor: "mysql", | ||
| NameInFile: "mysql", | ||
| NameInUrl: "mysql", | ||
| DownloadDir: "MySQL-VERSION", | ||
| Versions: []string{"5.7", "8.0"}, | ||
| Versions: []string{"5.7", "8.0", "8.4", "9.0", "9.1", "9.2"}, | ||
| }, | ||
| TtShell: { | ||
| Flavor: "shell", | ||
| NameInFile: "mysql-shell", | ||
| NameInUrl: "shell", | ||
| DownloadDir: "MySQL-Shell-VERSION", | ||
| Versions: []string{"8.0"}, | ||
| Versions: []string{"8.0", "8.4", "9.0"}, | ||
| }, | ||
|
Comment on lines
+64
to
79
|
||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,41 +1,39 @@ | ||||||
| module github.com/datacharmer/dbdeployer | ||||||
|
|
||||||
| go 1.18 | ||||||
| go 1.22 | ||||||
|
||||||
| go 1.22 | |
| go 1.18 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -249,8 +249,8 @@ func findRemoteTarballByVersion(version, flavor, OS, arch string, minimal, newes | |||||
|
|
||||||
| tarball, err = downloads.FindOrGuessTarballByVersionFlavorOS(version, flavor, OS, arch, minimal, newest, guessLatest) | ||||||
| if err != nil { | ||||||
| return downloads.TarballDescription{}, fmt.Errorf(fmt.Sprintf("Error getting version %s (%s-%s)[minimal: %v - newest: %v - guess: %v]: %s", | ||||||
| version, flavor, OS, minimal, newest, guessLatest, err)) | ||||||
| return downloads.TarballDescription{}, fmt.Errorf("Error getting version %s (%s-%s)[minimal: %v - newest: %v - guess: %v]: %s", | ||||||
|
||||||
| return downloads.TarballDescription{}, fmt.Errorf("Error getting version %s (%s-%s)[minimal: %v - newest: %v - guess: %v]: %s", | |
| return downloads.TarballDescription{}, fmt.Errorf("error getting version %s (%s-%s)[minimal: %v - newest: %v - guess: %v]: %s", |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -60,7 +60,7 @@ func findErrorsInLogFile(ts *testscript.TestScript, neg bool, args []string) { | |||||
| ts.Check(err) | ||||||
| hasError := strings.Contains(string(contents), "ERROR") | ||||||
| if neg && hasError { | ||||||
| reLines := regexp.MustCompile(`(?sg)(^.*ERROR.*)`) | ||||||
| reLines := regexp.MustCompile(`(?s)(^.*ERROR.*)`) | ||||||
|
||||||
| reLines := regexp.MustCompile(`(?s)(^.*ERROR.*)`) | |
| reLines := regexp.MustCompile(`(?m)^.*ERROR.*$`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README now points to the ProxySQL-maintained repo, but the “features comparison” link still points to
datacharmer/dbdeployer. Consider switching it to a relative link (e.g.,docs/features.md) or updating to the new repo so it doesn’t send users to the legacy project.