Commit Graph

1437 Commits

Author SHA1 Message Date
Dustin Brown bc446ed070 /go/{cmd,libraries}: add branch flag to dolt init 2021-09-23 14:29:33 -07:00
Dustin Brown 2de8664f79 /go/libraries/doltcore/env/environment.go: change default init branch name 2021-09-23 14:29:33 -07:00
Maximilian Hoffman b0a75ccbc0 replicate HEAD on commit (#2151)
* save progress

* progress before stash  pop

* hacky prototype

* bad merge

* simple bats

* delete unnecessary code

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

* format

* refactor commitHook command structure

* progress commit, local testing works

* Fix head update issue

* re: aaron, fix ctx cleanup

* commit hooks recieve error handler from user facing packages

* Add storage level replication hook test

* Simplify replication parameters

* Add bats test for server commit replication

* rename backup key, was missing the stop progress channel call

* small fixes

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

* Attach server Logger.Out to commit hooks

* formatting

* zach's comments

* missed sql-server test

* accidentally commented bats

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-09-23 11:15:36 -07:00
zachmu b3c1b82b99 [ga-bump-release] Update Dolt version to 0.28.5 and release v0.28.5 2021-09-23 16:30:18 +00:00
Brian Hendriks 4c6f0fe809 pprof-server usage message on start (#2159) 2021-09-21 14:30:38 -07:00
Zach Musgrave 63f42a8c52 Merge pull request #2137 from dolthub/zachmu/sql-tx-commit
Made SQL commits involving a dolt commit atomic
2021-09-20 14:38:34 -07:00
Maximilian Hoffman 47a4640e4c no panic if HOME does not exist (#2148)
* no home dir exist

* dolt root can be empty

* move test to bottom

* dir -> directory

* Windows complaining about smth
2021-09-17 14:12:35 -07:00
Brian Hendriks 3070d3af9f merge rows on dolt table import -u when import data only represents a subset of the columns (#2105) 2021-09-16 14:06:45 -07:00
andrew-wm-arthur d5bcca0f5f [ga-bump-release] Update Dolt version to 0.28.4 and release v0.28.4 2021-09-16 20:29:01 +00:00
Andy Arthur f5551a3b69 pr feedback, make 'dolt config unset' case insensitive 2021-09-16 11:35:32 -07:00
Andy Arthur 90010e8929 threading config for default branch 2021-09-16 11:24:07 -07:00
Andy Arthur d59e68bcae merged master 2021-09-16 10:30:41 -07:00
AndyA d6ba9e2764 Merge pull request #2131 from dolthub/andy/create-dolt-database
Create Dolt Database
2021-09-16 09:40:44 -07:00
Zach Musgrave 3e72f09187 Fix lingering issues 2021-09-15 17:39:53 -07:00
Maximilian Hoffman 1cfdb7ed57 Fetch refactor (#2139)
* Fetch refactor

* fix localbs-remotes test

* another missed bats

* zach's comments
2021-09-14 17:24:16 -07:00
andrew-wm-arthur 2bfa87e27b [ga-bump-release] Update Dolt version to 0.28.3 and release v0.28.3 2021-09-13 23:39:37 +00:00
Andy Arthur 3c49f8447f initial pass at default init branch 2021-09-13 15:37:06 -07:00
Zach Musgrave a7545939eb Merge pull request #2032 from dolthub/zachmu/transaction-merge
Method to add a commit and update working set together atomically
2021-09-13 13:12:43 -07:00
Dustin Brown c6eb60def4 Merge pull request #2119 from dolthub/db/unhide-sql-client
Release `dolt sql-client` command
2021-09-13 12:37:37 -07:00
Andy Arthur effc8bffc9 Merge branch 'master' into andy/create-dolt-database 2021-09-13 12:27:23 -07:00
Maximilian Hoffman ef2df6761f add sql push and fetch (#2120)
* sql_pull compiles

* Fix sql-merge bats

* Fix merge bats tests, add pull

* Cleanup comments

* refactor fetch; inital dolt_fetch and dolt_push compile, untested

* push bats

* Fetch tests

* delete comments

* Better push status return

* PR touch ups

* Duplicate test name

* Zach's commentsg

* return push ErrUpToDate so cli can log

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

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-09-13 12:22:36 -07:00
Daylon Wilkins 49e451cb82 Fixed VRW reference issues 2021-09-13 11:16:40 -07:00
Andy Arthur c3aeffa07d cleanup 2021-09-13 11:09:00 -07:00
Andy Arthur c77a8b289f fix create-database and revision database bats 2021-09-13 10:54:00 -07:00
Andy Arthur e6e2e93818 Merge branch 'master' into andy/create-dolt-database 2021-09-12 14:53:47 -07:00
Andy Arthur 3594bfff71 refactored GetInitialDBState, new memory databases now dynamically provide initial state to session 2021-09-12 13:21:12 -07:00
Brian Hendriks 01c56100dc hoist editor parameters up for greater flexibility 2021-09-11 02:40:14 -07:00
Dustin Brown a6ca77189e /{go,integration-tests}: revert shell renames, skip on windows 2021-09-10 16:04:58 -07:00
Maximilian Hoffman 72cd1109fa sql server dolt_pull function first pass (#2102)
* sql_pull compiles

* Fix sql-merge bats

* Fix merge bats tests, add pull

* Cleanup comments

* Some of zach's comments

* Fresh set of sql-pull unittests

* bats name typo

* Windows doesn't support file:/// with 3 slashes

* Add one more comment line

* fix one of the check errors

* Add short circuits to cli progress goroutines

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

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-09-10 14:27:37 -07:00
Dustin Brown 949b4fe2e0 /{go, integration-tests}: unhide sql-client command 2021-09-10 14:07:36 -07:00
Andy Arthur a80e38e69e added GetInitialDbState 2021-09-10 13:36:26 -07:00
Aaron Son cdcf9b7411 Merge remote-tracking branch 'origin/master' into aaron/dbfactory-grpc-dialer-through-params 2021-09-10 10:41:52 -07:00
Zach Musgrave bdaacfdbc7 Merge branch 'master' into zachmu/transaction-merge 2021-09-09 15:33:50 -07:00
Zach Musgrave 8ae837f659 Fixed bug in setting the prompt after a delimiter statement 2021-09-09 14:18:23 -07:00
Andy Arthur 3477a5659f use latest gms APIs 2021-09-09 13:32:31 -07:00
Aaron Son 7fe09e2c5c Fix some unbuffered channels passed to signal.Notify. 2021-09-09 12:17:40 -07:00
Aaron Son c59cbead58 go/libraries/doltcore/dbfactory: Change our GRPC remote DB factory to take the GRPC dialer through a param.
Prior to this change, we used to set a global variable in the dbfactory package
which referred to whichever DoltEnv was loaded most recently. It was racey and
it has pretty terrible semantics.
2021-09-09 12:08:22 -07:00
Zach Musgrave d72465e5cb PR feedback, and fixed bug in autocommit handling 2021-09-09 11:11:28 -07:00
Zach Musgrave 8d2a91571d Fixed signal lint errors 2021-09-09 10:46:54 -07:00
Zach Musgrave 44bab632a4 Merge branch 'zachmu/sql-context' of github.com:dolthub/dolt into zachmu/sql-context 2021-09-09 10:25:45 -07:00
Zach Musgrave e62c6b6e05 Use signal.NotifyContext instead of installing signal handlers manually 2021-09-09 10:01:19 -07:00
zachmu 074ba091f3 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-09-09 16:16:22 +00:00
Zach Musgrave 5bb6acb8af Merge master 2021-09-09 09:15:15 -07:00
Zach Musgrave ca14702839 Added an extension to Command to deal wtih signal handlers 2021-09-08 17:40:15 -07:00
Zach Musgrave 42dbf0e485 Give a new context to every query in the SQL shell. Unfortunately, SIGTERM still cancels the global parent context, so we need something better at the top level. 2021-09-08 17:20:11 -07:00
Brian Hendriks 775ac0af51 Import Performance and Garbage Generation improvements. 2021-09-08 14:52:42 -07:00
Zach Musgrave fcb3bdcf2a Merge master 2021-09-03 15:11:53 -07:00
Zach Musgrave 92fc59b85b Merge branch 'master' into zachmu/logging 2021-09-02 11:31:32 -07:00
reltuk 6696c2ecdd [ga-bump-release] Update Dolt version to 0.28.2 and release v0.28.2 2021-09-02 03:01:10 +00:00
Zach Musgrave 47bd5510f9 Merge master 2021-09-01 11:50:12 -07:00