22160 Commits

Author SHA1 Message Date
reltuk
80a8e1db48 [ga-bump-release] Update Dolt version to 1.29.0 and release v1.29.0 v1.29.0 2023-12-01 21:19:21 +00:00
Aaron Son
8f0818c11a Merge pull request #7076 from dolthub/aaron/fix-some-spurious-retries-in-remotestorage
[no-release-notes] go/libraries/doltcore/remotestorage: Fix some spurious retries on authentication failures and the likes when interacting with remotestorage.
2023-12-01 13:06:34 -08:00
Taylor Bantle
a2a2e90527 Merge pull request #7085 from dolthub/tbantle22-a3ee71b2
[auto-bump] [no-release-notes] dependency by tbantle22
2023-12-01 13:06:27 -08:00
Aaron Son
e7d3f149df Merge pull request #7081 from dolthub/aaron/fix-bats-ls-flakey-failure
[no-release-notes] integration-tests/bats: ls.bats: Fix a flakey failure where an unlucky hash could cause a negative assertion to fail.
2023-12-01 12:47:55 -08:00
Taylor Bantle
1ca0872848 Merge pull request #7084 from dolthub/taylor/typo
Fix existant typo
2023-12-01 12:32:05 -08:00
tbantle22
1149e86632 [ga-bump-dep] Bump dependency in Dolt by tbantle22 2023-12-01 19:26:45 +00:00
Taylor Bantle
a0c0fa6e51 Fix existant typo 2023-12-01 11:10:55 -08:00
stephanie
18f65fbdf2 Merge pull request #7077 from dolthub/steph/sql-client-depre
remove dolt sql-client command
2023-12-01 10:17:55 -08:00
Maximilian Hoffman
de1e666cd0 [no-release-notes] Unique ids bump (#7067)
* [no-release-notes] Unique ids bump

* bump
2023-11-30 21:38:39 -08:00
Aaron Son
b977298464 Merge pull request #7069 from dolthub/aaron/new-sql-server-lock-semantics
go/cmd/dolt: Implement new semantics for sql-server.lock.
2023-11-30 18:03:55 -08:00
Aaron Son
83602c2f80 [no-release-notes] integration-tests/bats: ls.bats: Fix a flakey failure where an unlucky hash could cause a negative assertion to fail.
ls.bats was using test table names like `t1` and `t2` and making assertions
against the output of `dolt ls`. But the output of `dolt ls` also sometimes
includes a commit hash, which can itself contain these strings.

Change it so that we use names which will never appear in a commit hash.
2023-11-30 16:23:39 -08:00
stephkyou
d135c4b95d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-11-30 23:45:28 +00:00
Stephanie You
9761372c98 move queryist utils into sqlserver package 2023-11-30 15:38:08 -08:00
Stephanie You
bd045ae658 refactor queryist utils 2023-11-30 15:32:43 -08:00
Aaron Son
2d738b7b1d intergration-tests/bats: Update tests for new sql-server.info filename. 2023-11-30 15:15:13 -08:00
stephkyou
9486e434bc [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-11-30 23:11:26 +00:00
Stephanie You
86d12d7b8e remove dolt sql-client command 2023-11-30 14:59:59 -08:00
Aaron Son
5cfc7e482d [no-release-notes] go/libraries/doltcore/remotestorage: Fix some spurious retries on authentication failures and the likes when interacting with remotestorage. 2023-11-30 14:58:05 -08:00
Aaron Son
0d5eeb5130 Merge pull request #7075 from dolthub/aaron/fix-local-remote-ref-update-in-push
[no-release-notes] go/libraries/doltcore/env/actions: remotes.go: Small fix to SetHeadToCommit our local remote ref when pushing even in fast-forward mode.
2023-11-30 14:10:02 -08:00
Aaron Son
67535bbda1 go/cmd/dolt: sql-server.lock/sql-server.info changes. PR feedback. 2023-11-30 12:01:43 -08:00
Aaron Son
18b96edd11 [no-release-notes] go/libraries/doltcore/env/actions: remotes.go: Small fix to SetHeadToCommit our local remote ref when pushing even in fast-forward mode. 2023-11-30 10:53:03 -08:00
reltuk
8b74402ead [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-11-30 05:48:45 +00:00
Aaron Son
677c553c5c integration-tests/bats: Skip some tests where we use dolt init in SQL_ENGINE=remote-engine mode. 2023-11-29 21:42:03 -08:00
Aaron Son
d3473c602c go/Godeps/update.sh. 2023-11-29 20:26:10 -08:00
Aaron Son
3b6ce07897 go/cmd/dolt: Explicitly mark --ignore-lock-file as deprecated. 2023-11-29 18:20:25 -08:00
Nick Tobey
804f1c1d8f Merge pull request #7035 from dolthub/nicktobey/schemamerge4
Detect data conflicts even when one branch has the same binary representation as the ancestor.
2023-11-29 18:00:21 -08:00
Aaron Son
2e9546d902 integration-tests/go-sql-server-driver: sqlserver_lock_test.go: Add a test documenting the current odd behavior where you can run two sql-servers against the same directory if they have no DoltDBs. 2023-11-29 17:57:06 -08:00
Aaron Son
751840ea61 integration-tests/bats: Update bats tests for new sql-server.lock semantics. 2023-11-29 17:56:24 -08:00
Nick Tobey
ce5f98a655 Update go/libraries/doltcore/diff/diff_stat.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2023-11-29 16:30:39 -08:00
Aaron Son
044ae94050 go/cmd/dolt: dolt.go: Fix all the other commands which need a usedEnv/targetEnv that I accidentally broke. 2023-11-29 14:48:46 -08:00
Aaron Son
634bdf3e30 integration-tests/go-sql-server-driver: sqlserver_lock_test.go: Add some integration tests for sql-server.lock file handling. 2023-11-29 14:28:04 -08:00
Aaron Son
082f5bf61e go/cmd/dolt: dolt.go: Change the logic for when we look for sql-server access in a CLI invocation to be: look if we have a target dolt db and it is currently read only, or look if all the dolt dbs (possibly 0) in our loaded MulitEnv are read only. 2023-11-29 14:27:23 -08:00
Aaron Son
8174f31fb7 go/cmd/dolt/commands/sqlserver: server.go: Remove seemingly incorrect server.Close call in the session builder when we see a certain error. 2023-11-29 11:48:24 -08:00
Aaron Son
99fa4f0a32 cmd/dolt: Implement new sql-server.lock semantics. Assert sql-server has write access to the databases it loads when it starts, look for the credentials file in parent directories. 2023-11-29 11:47:16 -08:00
Neil Macneale IV
207d284d87 Merge pull request #7062 from dolthub/macneale4/aws-upgrade
aws sdk upgrade
2023-11-29 09:27:36 -08:00
Kamat, Trivikram
a4dfae036c chore: update dependencies 2023-11-29 08:43:14 -08:00
Kamat, Trivikram
beee304ade chore: manual cleanup 2023-11-29 08:43:14 -08:00
Kamat, Trivikram
efd08ab01c Migrate AWS SDK for JavaScript v2 APIs to v3 2023-11-29 08:43:14 -08:00
dependabot[bot]
687aa0ea1a Bump golang.org/x/image from 0.5.0 to 0.10.0 in /go (#6938)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.5.0 to 0.10.0.
- [Commits](https://github.com/golang/image/compare/v0.5.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 08:39:19 -08:00
Aaron Son
e1d37213cc go/libraries/doltcore/env: Move the relevant *DBLock stuff into cmd/commands/sqlserver as LocalCreds. 2023-11-28 18:56:09 -08:00
Aaron Son
2ae990d6b1 go/libraries/doltcore/env: multi_repo_env.go: Remove Lock/Unlock/IsLocked from MultiRepoEnv. 2023-11-28 18:20:14 -08:00
Aaron Son
cd03d381ed go/libraries/doltcore/sqlserver: Change GetRunningServer to only return the server, not the DBLock. 2023-11-28 17:47:05 -08:00
Aaron Son
8111143b6b go/libraries/doltcore/env: Remove MultiRepoEnv construct which took a set of paths and databases to load. 2023-11-28 17:39:24 -08:00
Aaron Son
6c47612ff7 go/libraries/doltcore/sqle: database_provider.go: Remove sql-server.lock handling in DatabaseProvider. 2023-11-28 17:36:25 -08:00
Aaron Son
d440045b06 go/store/chunks: Add a way for a ChunkStore to report its ExclusiveAccessMode: Shared, ReadOnly or Exclusive. 2023-11-28 17:25:51 -08:00
Aaron Son
59f3de6a4f go/store/nbs: journal.go: Fix some nil dereference panics is rarely executed error handling code regarding a journal manifest in readOnly mode. 2023-11-28 17:03:10 -08:00
Neil Macneale IV
3c9d6342d3 [no-release-notes] hasher utility (#7059) 2023-11-28 16:42:03 -08:00
Dustin Brown
1a0499f67b [ga-bump-dep] Bump dependency in Dolt by JCOR11599 (#7058)
Co-authored-by: JCOR11599 <jcor@ucsd.edu>
2023-11-28 14:58:16 -08:00
Nick Tobey
60ccfec068 Propagate considerAllRowsModified to more relevant places, and add more meaningful comments and todos. 2023-11-28 12:48:08 -08:00
Nick Tobey
09d8c9db47 Propagate considerAllRowsModified to more relevant places, and add more meaningful comments and todos. 2023-11-28 12:21:03 -08:00