Commit Graph

1479 Commits

Author SHA1 Message Date
Dhruv Sringari
9d1cdec100 add some json bats for the new format 2022-11-03 18:36:25 -07:00
Aaron Son
9b70201ef7 Merge remote-tracking branch 'origin/main' into aaron/cluster-serve-jwks-use-jwt-on-rpcs 2022-11-02 11:22:24 -07:00
Aaron Son
57523a9323 go/libraries/doltcore/sqle/cluster: Add the ability to generate a keypair, serve a JWKS, and sign outbound RPCs with a JWT. 2022-11-02 09:54:09 -07:00
Pavel Safronov
14277bc638 Merge pull request #4636 from dolthub/pavel/dolt_commit-amend
Support --amend in dolt_commit
2022-11-01 15:23:02 -07:00
Pavel Safronov
6ee5641644 PR feedback:
- moved commit tests to an existing test collection
- added error handling for when headCommit.GetParent fails
- added BATS test that amends a merge commit
2022-11-01 12:12:42 -07:00
Andy Arthur
62c6c69b51 special cased reset --hard handling of table renames 2022-10-31 13:15:38 -07:00
Daylon Wilkins
79ca7f8b7f Added database collation support 2022-10-31 06:42:37 -07:00
Aaron Son
363248538e Merge pull request #4659 from dolthub/aaron/remotesrv-tls-san
go/libraries/doltcore/sqle/cluster: Add the ability to configure SAN assertions on URIs and DNS names in the server certificate when configuring TLS.
2022-10-28 16:29:39 -07:00
Aaron Son
e7cde63106 Merge pull request #4641 from dolthub/aaron/bats-move-sql-server-temporary-table-test
integration-tests/bats/sql-server.bats: Move the temporary table session specific test to go-sql-server-driver.
2022-10-28 16:27:56 -07:00
Tim Sehn
cff2342692 Merge pull request #4640 from dolthub/daylon/sql-client-fixes
SQL client --query fixes
2022-10-28 14:53:57 -07:00
Tim Sehn
fc8eccc860 Merge pull request #4658 from dolthub/tim/bats/remove-server_query
Remove `server_query` in favor of `dolt sql-client` in bats
2022-10-28 14:13:25 -07:00
Taylor Bantle
4da6a6459f Merge pull request #4656 from dolthub/taylor/fix-docs
Improve dump-docs error and add bats, fix diff docs
2022-10-28 13:59:10 -07:00
Tim Sehn
c2491abd0f Bats tests for sql-client fixes 2022-10-28 13:46:00 -07:00
Aaron Son
d85ad51b4b Merge remote-tracking branch 'origin/main' into aaron/bats-move-sql-server-temporary-table-test 2022-10-28 13:33:00 -07:00
Tim Sehn
b85a49b535 Remove unused code from pytest as well 2022-10-28 12:55:30 -07:00
Tim Sehn
a2bd70e822 Delete server_query code 2022-10-28 12:54:16 -07:00
Tim Sehn
542ef5f78d Missed one server_query in sql-server.bats 2022-10-28 12:46:14 -07:00
Tim Sehn
63d5c325ab Migrated sql-server.bats to dolt sql-client 2022-10-28 12:43:15 -07:00
Tim Sehn
cfd7ff015a Removed server_query in all bats except sql-server.bats 2022-10-28 11:53:55 -07:00
Taylor Bantle
a3460d99e4 Add dolt command to dump-docs error, fix diff docs 2022-10-28 11:34:52 -07:00
Aaron Son
248be8b21a go/libraries/doltcore/sqle/cluster: Add the ability to configure SAN assertions on URIs and DNS names in the server certificate when configuring TLS. 2022-10-28 10:31:14 -07:00
Aaron Son
3ead3aebe7 Merge remote-tracking branch 'origin/main' into aaron/remotesrv-tls 2022-10-28 10:28:54 -07:00
Taylor Bantle
772e9368a9 Merge pull request #4637 from dolthub/taylor/diff-dot-cli
Add two and three dot diff syntax to CLI
2022-10-28 09:39:28 -07:00
Taylor Bantle
221a73795c Merge remote-tracking branch 'origin/main' into taylor/diff-dot-cli 2022-10-28 08:27:17 -07:00
Tim Sehn
fc60d3a6b5 Merge remote-tracking branch 'origin/main' into tim/remove-server-query 2022-10-27 19:30:02 -07:00
Dhruv Sringari
8ca1183110 Handle removed tables in //.../doltcore/migrate (#4647)
* handle removed tables in //.../doltcore/migrate

* fix migration-integration.bats

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-10-27 19:25:29 -07:00
Tim Sehn
56a232b145 Merge branch 'main' into tim/remove-server-query 2022-10-27 16:56:40 -07:00
Taylor Bantle
2c0e5cabbc Merge remote-tracking branch 'origin/main' into taylor/diff-dot-cli 2022-10-27 14:35:32 -07:00
Tim Sehn
e58f5585e0 Removed mistakenly added character 2022-10-27 12:37:18 -07:00
Tim Sehn
eb9acdd940 Migrated all server_query tests I could without autocommit, multi-statement, and connect to branch support to dolt sql-client 2022-10-27 11:36:53 -07:00
Tim Sehn
6801407055 Migrated sql-server.bats up to test 28 2022-10-27 11:05:28 -07:00
James Cor
9d41187d30 Merge branch 'main' into james/indexes 2022-10-27 10:49:50 -07:00
Tim Sehn
4b0a3e22e1 About half done sql-server.bats migration to dolt sql-client 2022-10-27 10:12:51 -07:00
Aaron Son
4d93b69ef3 integration-tests/bats/sql-server.bats: Move the temporary table session specific test to go-sql-server-driver. 2022-10-27 09:43:29 -07:00
Tim Sehn
e94532a1cc Merged the sleep fix. Had already done it locally so I kept local 2022-10-26 17:58:25 -07:00
Taylor Bantle
5fe1a0083d More bats 2022-10-26 17:57:50 -07:00
Tim Sehn
b7bf34b052 Merge branch 'main' into tim/remove-server-query 2022-10-26 17:56:44 -07:00
Tim Sehn
d88df25223 Add sleeps to give the server a cvhance to start up. Was failing weirdly on my Maxc without this 2022-10-26 17:52:19 -07:00
Tim Sehn
e2928925ff More tests migrated to dolt sql-client 2022-10-26 17:32:04 -07:00
Tim Sehn
482d32351f Good checkpoint on sql-server.bats migration to dolt sql-client 2022-10-26 17:07:58 -07:00
James Cor
b3aa6b633a Merge pull request #4626 from dolthub/james/import
more permissive constraints and types when importing
2022-10-26 16:46:01 -07:00
Aaron Son
27a528e498 go/libraries/doltcore/sqle/cluster: Add support for configured tls_{cert,key,ca} on the cluster.remotesapi.
For now, this is server-side TLS, not mTLS.

If a tls_ca is configured, the certificates in that file are PEM encoded. They
are the only trusted roots for server certificate verification on both gRPC and
HTTP connections. If tls_ca is set, no server name verification is done for
now.
2022-10-26 16:13:51 -07:00
Tim Sehn
1d4da2df98 Fixed sql-server.bats leaving around garbage directories 2022-10-26 16:09:29 -07:00
Taylor Bantle
3f666c98ba Add --merge-base flag to dolt diff 2022-10-26 16:04:43 -07:00
Tim Sehn
7558fc896c Progress on migration to dolt sql-client. Also unskipped a test that now works 2022-10-26 15:57:22 -07:00
Taylor Bantle
c79bd513b2 Three dot dolt diff syntax 2022-10-26 15:34:30 -07:00
Taylor Bantle
9b9448c426 Two dot diff syntax cli 2022-10-26 14:49:15 -07:00
James Cor
76de8187b5 another bats test 2022-10-26 14:10:14 -07:00
Tim Sehn
aaa5a15434 Removed a server_query in sql-privs.bats I missed 2022-10-26 13:23:04 -07:00
Tim Sehn
752a954b67 Migrated sql-privs.bats to dolt sql-client 2022-10-26 13:15:55 -07:00