Commit Graph

10234 Commits

Author SHA1 Message Date
Zach Musgrave
b3eaff2ec1 More tests of config, and made it so that SQL envs with no local config write updates to global config 2021-11-09 13:16:13 -08:00
Zach Musgrave
9873a81b54 More tests 2021-11-09 09:03:40 -08:00
zachmu
f064c7abc0 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-08 22:09:52 +00:00
Zach Musgrave
e724926b18 I don't know Tim, is fun necessary? 2021-11-08 13:28:51 -08:00
Zach Musgrave
5352a787db Tests of failsafe config 2021-11-08 12:37:27 -08:00
Zach Musgrave
576753d38c Added failsafe values to dolt CLI config, only in sql context for now 2021-11-08 12:26:52 -08:00
Zach Musgrave
c76f4bde26 Fixed bug in config hierarchy construction -- it was being constructed backwards, so globals were being returned instead of locals 2021-11-08 11:43:13 -08:00
Zach Musgrave
21a17f0c7b Test fix 2021-11-05 15:53:12 -07:00
Zach Musgrave
dd24ced73f Unskipped test 2021-11-05 15:46:55 -07:00
Zach Musgrave
202c512257 Moved some common logic into DoltEnvAsMultiEnv, unskipped test 2021-11-05 15:46:32 -07:00
Dustin Brown
402183d1d1 Merge pull request #2351 from dolthub/db/handle-v
[no-release-notes] /.github/workflows/cd-release.yaml: handle bad v on release
2021-11-05 12:44:35 -07:00
Dustin Brown
175be7c25f /.github/workflows/cd-release.yaml: handle bad v on release 2021-11-05 12:43:32 -07:00
coffeegoddd
f60446800b [ga-bump-release] Update Dolt version to 0.33.1 and release v0.33.1 v0.33.1 2021-11-05 19:16:35 +00:00
Dustin Brown
0042e4bdad Merge pull request #2349 from dolthub/db/fix-version
/go/cmd/dolt/dolt.go: fix dolt version format
2021-11-05 12:11:57 -07:00
Dustin Brown
c0e7de24c8 /go/cmd/dolt/dolt.go: fix dolt version format 2021-11-05 12:10:36 -07:00
zachmu
bb5da8de42 [ga-bump-release] Update Dolt version to v0.33.0 and release vv0.33.0 v0.33.0 2021-11-05 18:37:16 +00:00
Zach Musgrave
9a0d803766 Merge pull request #2326 from dolthub/zachmu/create-db
CREATE DATABASE now creates a new dolt repository in the working directory
2021-11-05 09:49:46 -07:00
zachmu
89b9f45e7d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-05 03:35:47 +00:00
Zach Musgrave
c99f147ac4 Polished arg lists of new methods, added docs 2021-11-04 20:29:44 -07:00
Zach Musgrave
d0a33ab8bc Added a skipped test for running dolt sql outside a repo 2021-11-04 20:20:29 -07:00
Zach Musgrave
13cdb2b1a4 Merge branch 'zachmu/create-db' of github.com:dolthub/dolt into zachmu/create-db 2021-11-04 20:09:59 -07:00
Zach Musgrave
9272181c0d Fixed and added tests 2021-11-04 20:09:54 -07:00
Zach Musgrave
32edfcdd49 Fixed initial DB bug caused by hash ordering in database provider 2021-11-04 20:03:51 -07:00
zachmu
7a9828f160 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-05 00:14:22 +00:00
Zach Musgrave
c81828d107 Merge branch 'zachmu/create-db' of github.com:dolthub/dolt into zachmu/create-db 2021-11-04 17:13:09 -07:00
Zach Musgrave
0b4d4bb16e Fixed bug in sql server startup 2021-11-04 17:09:52 -07:00
zachmu
9ccd95ae90 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-04 21:13:45 +00:00
Zach Musgrave
37c2137557 merge main 2021-11-04 14:12:38 -07:00
Zach Musgrave
93752c9922 Fixed problem with in memory filesystems in test 2021-11-04 14:06:23 -07:00
jennifersp
c48a4ca933 Merge pull request #2343 from dolthub/jennifer/dolt-dump
doltdump - add csv format
2021-11-04 12:06:43 -07:00
Zach Musgrave
51278c3166 Fixed bug in session initialization in dolt sql 2021-11-04 12:02:13 -07:00
Zach Musgrave
22f7f63991 Introduced a new kind of config reader / writer, used it to fix tests 2021-11-04 11:27:03 -07:00
jennifersp
cd6b016457 fix dump.bats typo 2021-11-04 11:08:40 -07:00
jennifersp
1af46fca87 fix dump cmd 2021-11-04 11:00:27 -07:00
Zach Musgrave
9f177fec26 Finished fixing compile errors 2021-11-04 10:53:15 -07:00
jennifersp
ffa3ded9fc [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-04 16:53:31 +00:00
Zach Musgrave
4a236171e7 More clean up of session setup 2021-11-04 09:51:30 -07:00
jennifersp
cd0fdb201b Update dump.go 2021-11-04 09:51:26 -07:00
jennifersp
51ed0fd79e add dump csv format 2021-11-04 09:47:11 -07:00
jennifersp
15e3498ba5 Merge pull request #2339 from dolthub/aaron/jennifer-branch-surgery-two
dolt dump: Add dolt dump command and bats tests.
2021-11-04 09:36:39 -07:00
Zach Musgrave
e487a84ea2 Gave MultiEnv its own file system and config 2021-11-04 09:25:10 -07:00
Maximilian Hoffman
5fe094b8ed dolt session methods error when no config -- for DoltHub (#2341) 2021-11-04 09:17:03 -07:00
Zach Musgrave
dd120d83a1 More refactoring 2021-11-04 08:56:34 -07:00
Zach Musgrave
7857966984 Factored out different exec modes better 2021-11-04 08:50:38 -07:00
Maximilian Hoffman
9db9a0f9dc dolt_fetch error when working directory != server directory (#2340)
* use database tempfile for mrEnv

* sql-server bats for fetch/working dir issue

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

* snazzier name

* [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-11-03 17:33:17 -07:00
Zach Musgrave
8a47db3dcf Refactoring sql command, added a failing bats test 2021-11-03 17:00:45 -07:00
Zach Musgrave
9b565a19df Changed multirepo env to use deterministic ordering and to initialize with nested repositories by default. Removed commit arg from sql command. 2021-11-03 16:37:53 -07:00
jennifersp
efef83b167 dolt dump: Add dolt dump command and bats tests. 2021-11-03 15:21:46 -07:00
Zach Musgrave
c255cf9787 Fixed / skip tests involving dropping databases 2021-11-03 10:44:49 -07:00
Tim Sehn
281551f46f Merge pull request #2331 from dolthub/tim/bats/test-null-pk-add
Add skipped bats for adding a primary key to a column with NULL in it
2021-11-02 17:10:04 -07:00