Nick Tobey
ab6152c4f3
Fix bats test that verifies the behavior of --help
2023-05-10 15:49:48 -07:00
Aaron Son
0d024eb0a3
Merge remote-tracking branch 'origin/main' into aaron/dolt_gc-unavailable-on-standby-replica
2023-05-10 10:10:01 -07:00
James Cor
e40a3b303a
sort pk???
2023-05-09 14:34:41 -07:00
Aaron Son
6e6ed1b77b
Fix result ordering in integration test.
2023-05-09 14:08:19 -07:00
Aaron Son
acf99f1edf
go: sqle: dolt_gc.go: Disable CALL dolt_gc() on a standby replica, where it is not currently safe. Shallow GC is still available.
2023-05-09 13:41:16 -07:00
jennifersp
537a651690
fix empty string import for ENUM and SET types ( #5856 )
2023-05-09 07:15:44 -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
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
Nick Tobey
91dfcb5aa9
Merge pull request #5870 from dolthub/nicktobey/doltignore
...
Improve dolt_ignore pattern rules
2023-05-05 15:14:41 -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
Neil Macneale IV
adae7f3bc7
Fix bats test which is not checking for '|| false'
2023-05-05 14:09:42 -07:00
Nick Tobey
f03b2240dd
Skip dolt_ignore bats tests on __LD_1__ format.
2023-05-05 14:03:53 -07:00
Neil Macneale IV
15f60698f9
Move cli flags in bats tests to make them compliant
2023-05-05 11:46:46 -07: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
Zach Musgrave
75b1395510
New integration test ala aaron
2023-05-05 07:42:32 -07:00
Nick Tobey
a57f9cfed1
Update error messages in tests.
...
With the preemptive check removed, the error messages actually become more informative!
2023-05-04 16:16:04 -07:00
Daylon Wilkins
c1a3768493
Added "read" permission to branch control, now force longest match and denial rules
2023-05-04 15:14:13 -07:00
Nick Tobey
d87f6d9fc1
Add bats check for importing table with absent auto-increment column.
2023-05-04 14:25:08 -07:00
Daylon Wilkins
40a859500f
Fixed branch control issue causing a nil panic under very specific conditions
2023-05-04 07:58:51 -07:00
Andy Arthur
1ca6a1277c
go/doltcore/merge: use unresolved-aware fk matching method in ForeignKeysMerge
2023-05-03 15:23:01 -07:00
Nick Tobey
1e91d99634
Update ignore.bats
2023-05-03 12:24:35 -07:00
Nick Tobey
689cc0c6c8
Add bats tests for % wildcard.
2023-05-03 11:40:02 -07:00
Tim Sehn
dea6dcb6a2
Testing dolt commit in branch control bats tests
2023-05-03 08:14:09 -07:00
Nick Tobey
3838afe3ad
Merge pull request #5853 from dolthub/nicktobey/doltignore
...
`dolt diff` shouldn't print ignored tables.
2023-05-02 17:48:17 -07:00
Nick Tobey
a322a31408
Add bats tests for dolt diff -R
2023-05-02 15:16:09 -07:00
Neil Macneale IV
aeadf45fd2
BATS Executor Exemplar
...
Utility tool to run a lot-o-bats tasks, and summarize their results.
Currently doesn't run on windows, and is primary geared toward local dev testing.
2023-05-02 14:56:24 -07:00
Nick Tobey
9e3528db9c
Merge pull request #5842 from dolthub/nicktobey/tables_not_files
...
Output for `dolt status` should say "tables", not "files"
2023-05-02 11:17:47 -07:00
Nick Tobey
6c67b65afe
Only suppress diff of ignored table when they're being created.
...
If a table that matches a dolt_ignore rule has already been staged or committed, those subsequent changes should be displayed by `dolt diff`
2023-05-01 17:35:42 -07:00
Nick Tobey
3fcb243eac
Update formatting of bats tests.
2023-05-01 15:40:29 -07:00
Nick Tobey
07465b6e28
Fix bats tests that reference old dolt status output.
2023-05-01 15:30:53 -07:00
Nick Tobey
e2a84f6f7d
Add test that dolt diff doesn't print ignored tables.
2023-05-01 15:20:14 -07:00
Nick Tobey
996a143ff2
Replace mentions of "files" in bats tests with "tables"
2023-05-01 13:47:01 -07:00
Aaron Son
1d0a6001ac
go/libraries/doltcore/sqle: database_provider.go: When cloning a remote into a sql-server, always run the InitDatabaseHook on it.
...
Failing to run the hook means that the cloned database is not appropriately
configured for replication, for example.
Fixes : #5850
2023-05-01 12:42:02 -07:00
Nick Tobey
f3597dc7d8
Replace mentions of "files" in dolt commit bats tests with "tables"
2023-04-28 16:23:30 -07:00
Neil Macneale IV
1144060af6
Add support for retrying tests
2023-04-28 16:11:23 -07:00
Neil Macneale IV
df60657d12
Add pandas in the README.md
2023-04-28 16:11:23 -07:00
Jason Fulghum
eda36c40ed
Merge branch 'main' into fulghum/dolt-5834
2023-04-28 15:59:07 -07:00
Jason Fulghum
faf5343e2b
Adding ruby-dev to pick up ruby C header files
2023-04-28 15:30:09 -07:00
Jason Fulghum
235a98bc7d
Adding a mysql connector integ test for the Ruby mysql2 library
2023-04-28 14:36:35 -07:00
AndyA
76c1f5c741
Merge pull request #5828 from dolthub/andy/bootstrap-faster
...
go/store/nbs: reduce startup latency for chunk journal
2023-04-28 11:51:00 -07:00
Andy Arthur
ca28d33c6c
bats: added integration test for chunk journal bootstrapping
2023-04-28 10:23:42 -07:00
Nick Tobey
3d4dd5785c
Merge pull request #5809 from dolthub/nicktobey/doltignore
...
Add `dolt_ignore` system table.
2023-04-27 22:22:05 -07:00
Nick Tobey
e059edd1b2
Skip dolt_ignore tests on LD_1
2023-04-27 20:25:55 -07:00
Zach Musgrave
0cc9e1269a
Merge branch 'main' into zachmu/multi-db3
2023-04-27 16:48:56 -07:00
Nick Tobey
862fdeef44
Merge branch 'main' of github.com:dolthub/dolt into nicktobey/doltignore
2023-04-27 16:38:26 -07:00
Nick Tobey
8031eaaf5b
Add additional bats tests to ignore.bats
2023-04-27 16:31:24 -07:00
Nick Tobey
80364f012b
Update ignore.bats to be compatible with cli changes to show and commit.
2023-04-27 16:13:48 -07:00
Nick Tobey
83fab42d62
Update typo in integration-tests/bats/ignore.bats
...
Co-authored-by: Jason Fulghum <jason@dolthub.com >
2023-04-27 15:43:15 -07:00
Zach Musgrave
3676f79096
Bug fix in bats test
2023-04-27 15:04:22 -07:00