Commit Graph

19174 Commits

Author SHA1 Message Date
JCOR11599 8358b906b4 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-09 05:25:41 +00:00
James Cor 50c3a9a811 bump again 2023-05-08 22:15:34 -07:00
James Cor f996051cd9 bump 2023-05-08 22:07:05 -07:00
James Cor 12b4d7a202 merge and bump 2023-05-08 22:03:05 -07:00
jennifersp 093e14a6be add support for ALTER EVENT (#5895) 2023-05-08 20:57:23 -07:00
Jason Fulghum 6f2caa5223 Merge pull request #5892 from dolthub/fulghum/binlog-replication
Fix binlog connection re-establishment when connection closes between messages
2023-05-08 17:43:38 -07:00
Neil Macneale IV 9575228ae5 Refactor SQLEngine instantiation into the Queryist interface
SQL Command arguments which pertain to instantiating a local SqlEngine instance are now global arguments which come before the sql subcommand. This is a breaking change for users of the sql command who pass in the following arguments:

--data-dir
--user
--doltcfg-dir
--privilege-file
--branch-control-file
All of the test changes pertain to moving those arguments, and nothing else. This is by design to ensure we don't have broader impact to the interface.

With this abstraction in place, we can put a different Queryist implementation in place - specifically one which talks to a remotes server - which is the end goal.

See: https://github.com/dolthub/dolt/issues/3922
2023-05-08 16:50:46 -07:00
Jason Fulghum c87de40bb6 Switching from fmt.Printf to t.Logf 2023-05-08 16:03:30 -07:00
Neil Macneale IV 962cd4b0df Print a better error for users who provide arguments in their legacy location 2023-05-08 15:12:19 -07:00
macneale4 44450e7bb2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-08 21:30:54 +00:00
Aaron Son 724dee501c Merge pull request #5885 from dolthub/aaron/optimize-fetch
go/libraries/doltcore/env/actions: remotes.go: Have fetch pull all the branch heads at once.
2023-05-08 14:28:15 -07:00
Neil Macneale IV d6bc02571e Refactor DDL update path in sql command to work with a Queryist 2023-05-08 14:20:11 -07:00
Neil Macneale IV 860dd278fa better grammar
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2023-05-08 14:18:20 -07:00
Neil Macneale IV dd5fd5979c fix typos
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2023-05-08 14:17:08 -07:00
Jason Fulghum d8cc72cbbc Re-establishing connection on io.EOF (just like io.UnexpectedEOF) 2023-05-08 13:50:58 -07:00
Jason Fulghum 31f40578b4 Merge pull request #5893 from dolthub/fulghum-74ba62a3
[auto-bump] [no-release-notes] dependency by fulghum
2023-05-08 10:29:25 -07:00
AndyA c203c10589 Merge pull request #5874 from dolthub/andy/merge-unresolved-fk-fix
go/doltcore/merge: use unresolved-aware fk matching method in Foreign…
2023-05-08 09:30:34 -07:00
fulghum 000205f8e9 [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-05-08 16:00:00 +00:00
James Cor 3062c240b6 Merge pull request #5890 from dolthub/james/windows
normalize windows file paths better
2023-05-06 01:15:39 -07:00
Jason Fulghum e16d6a9896 Minor tweaks to TestBinlogReplicationAutoReconnect test 2023-05-05 16:21:07 -07:00
James Cor ecba507c64 skipping 2023-05-05 15:53:24 -07:00
Nick Tobey 91dfcb5aa9 Merge pull request #5870 from dolthub/nicktobey/doltignore
Improve dolt_ignore pattern rules
2023-05-05 15:14:41 -07:00
Jason Fulghum 1d5d33ef35 Merge pull request #5891 from dolthub/fulghum-34e72594
[auto-bump] [no-release-notes] dependency by fulghum
2023-05-05 15:04:44 -07:00
Nick Tobey 952fcc81f9 Merge pull request #5881 from dolthub/nicktobey/bodega-cats
Remove overzealous validation check.
2023-05-05 14:38:04 -07:00
JCOR11599 d3ddbd5ee2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-05 21:35:09 +00:00
James Cor 6d664a5963 deleted wrong tests 2023-05-05 14:24:15 -07:00
James Cor a36702de15 fix 2023-05-05 14:17:49 -07:00
Neil Macneale IV adae7f3bc7 Fix bats test which is not checking for '|| false' 2023-05-05 14:09:42 -07:00
James Cor 7da3ffec00 asdf 2023-05-05 14:08:07 -07:00
James Cor 9120ab1ad3 better fix 2023-05-05 14:06:32 -07:00
Nick Tobey f03b2240dd Skip dolt_ignore bats tests on __LD_1__ format. 2023-05-05 14:03:53 -07:00
James Cor 88031899fd fix windows path 2023-05-05 13:57:56 -07:00
fulghum 1bf7b1dd3f [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-05-05 20:44:01 +00:00
James Cor 91ec7aaf21 oops 2023-05-05 12:36:32 -07:00
James Cor 142f7b1502 remove extra comment 2023-05-05 12:34:54 -07:00
James Cor e2fdc9d16d fix unit tests 2023-05-05 12:21:50 -07:00
James Cor b98a8949ee normalize windows file paths better 2023-05-05 12:08:05 -07:00
macneale4 56932587b5 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-05 11:46:47 -07:00
Neil Macneale IV 35b0420bfa Ensure the context is stopped and get more accurate start time 2023-05-05 11:46:47 -07:00
Neil Macneale IV 2dd8ad68f9 Update Go tests to use CliContext with an SqlEngine 2023-05-05 11:46:47 -07:00
Neil Macneale IV 6c21d2a8d9 NoOp comment updates 2023-05-05 11:46:47 -07:00
Neil Macneale IV e3cc54110d Move the Queryist interface into a more logical location
Added some additional godocs too
2023-05-05 11:46:47 -07:00
Neil Macneale IV dfb01ac909 Fix --feature-version not have an out of bounds panic. 2023-05-05 11:46:46 -07:00
Neil Macneale IV 15f60698f9 Move cli flags in bats tests to make them compliant 2023-05-05 11:46:46 -07:00
Neil Macneale IV c1ac312333 Refactor of SqlCmd.Exec to use the CliContext for obtaining a SQLEngine instance
This impacts the `dolt sql` command by dropping support for several flags
after the subcommand. They need to be placed after `dolt` now.
2023-05-05 11:46:46 -07:00
timsehn b6eb0d8e16 [ga-bump-release] Update Dolt version to 1.0.0 and release v1.0.0 v1.0.0 2023-05-05 18:08:52 +00:00
Nick Tobey e3806bdd4d Add bats test for detectign equivalent patterns. 2023-05-05 11:03:12 -07:00
Nick Tobey 2a933b5c59 Update error messages in tests.
With the preemptive check removed, the error messages actually become more informative!
2023-05-05 10:54:23 -07:00
James Cor a69722c93e skipping some tests 2023-05-05 10:24:31 -07:00
Jason Fulghum 34712ec6f6 Merge pull request #5883 from dolthub/fulghum-abbd20c3 2023-05-05 08:59:14 -07:00