Commit Graph

317 Commits

Author SHA1 Message Date
Zach Musgrave efc0c8ebe3 Added support for explain statements, fixed a short description 2019-07-16 17:27:33 -07:00
Brian Hendriks 8f78b7166a bump release version 2019-07-16 11:20:45 -07:00
Daylon Wilkins 466c3faaaa Implemented minor changes based on feedback 2019-07-15 17:29:47 -07:00
Daylon Wilkins d8343e0bff Merged and commands 2019-07-15 17:29:47 -07:00
Daylon Wilkins dbf62a8317 Moved sql serve to its own command named sql-server 2019-07-11 16:48:50 -07:00
Daylon Wilkins 60cdd9ef07 Skipped failing test on Jenkins 2019-07-11 14:10:33 -07:00
Daylon Wilkins 2039502f98 Implemented dolt serve 2019-07-11 14:10:33 -07:00
Matt Jesuele c4e1099ebb dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Fix tiny misspelling in comment 2019-07-10 15:50:15 -07:00
Matt Jesuele cf1605affa Update README.md again 😞 2019-07-10 10:47:38 -07:00
Matt Jesuele 6167043acc Update README.md 2019-07-10 10:46:55 -07:00
Matt Jesuele 5fe651992b dolt/go/cmd/git-dolt/utils/find_git_config_dir_test.go: Nix unnecessary underscores in testdir names 2019-07-10 08:35:30 -07:00
Matt Jesuele c83472fba6 dolt/{bats,go}: git dolt install finds the .git directory even if it's in a parent directory (#1715)
Closes #1701.

* dolt/go/cmd/git-dolt/utils/find_git_config_dir*.go: Add util for finding git directory in parent directory structure

* dolt/bats/git-dolt.bats: Add test for git dolt install working in subdirectories of git repos

* dolt/go/cmd/git-dolt/commands/install.go: Find the .git directory even if it's in a parent of the working directory

* dolt/bats/git-dolt.bats: Fix indentation

* dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Omit extraneous type annotation like a good Gopher

* dolt/go/cmd/git-dolt: Use filesystem root instead of home directory as terminal path for .git search

* dolt/bats/git-dolt.bats: Unskip no-longer-hanging test

* dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Add method docs

* dolt/go/cmd/git-dolt/utils/find_git_config_dir_test.go: Create all test files in a temp directory

* dolt/go/cmd/git-dolt/utils/find_git_config_dir*.go: Return an error instead of hanging when currentPath is not a descendent of terminalPath

* dolt/go/cmd/git-dolt: Gofmt

* dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Actually, if these are always absolute paths, we can simplify things a bit
2019-07-09 17:44:28 -07:00
Matt Jesuele c7664b0eb9 dolt/{bats,go}: Improve output and README for git-dolt (#1682)
* dolt/{bats,go}: Improve output for git dolt update command

* dolt/go/cmd/git-dolt/README.md: Add install and update commands

* dolt/go/cmd/git-dolt/README.md: Add example of usage
2019-07-05 12:48:21 -07:00
Daylon Wilkins bdadb34cc6 Fixes Dolt tests on Windows 2019-07-03 16:36:30 -07:00
Matt Jesuele 190e73e95e dolt/go/cmd/git-dolt/utils/utils_test.go: Add unit tests of dubious necessity for LastSegment 2019-07-02 11:55:40 -07:00
Matt Jesuele 07e2bdc46a dolt/go/cmd/git-dolt/doltops/doltops.go: Remove hacky conditional to suppress branch change output for git-dolt demo 2019-07-02 11:55:40 -07:00
Matt Jesuele 5e3bd27c7f dolt/go/cmd/git-dolt/git-dolt.go: Use log.Fatal where appropriate 2019-07-02 11:55:40 -07:00
Matt Jesuele bd212a8260 dolt/go/cmd/git-dolt{,-smudge}: Add git smudge filter for git-dolt (#1651)
* dolt/go/cmd/git-dolt/config/config.go: Add package comment

* dolt/go/cmd/git-dolt: Factor CloneToRevision function out of Fetch command

* dolt/go/cmd/git-dolt: Factor AppendToFile out of Link command

* dolt/go/cmd/git-dolt: Add install command

* dolt/go/cmd/git-dolt-smudge: Create git-dolt-smudge command to use as a git smudge filter

* dolt/go/cmd/git-dolt/git-dolt.go: Cleanup

* dolt/bats/git-dolt.bats: Add bats test for git dolt install

* Jenkinsfile: Add git-dolt-smudge to dolt/bats stage

* dolt/bats/git-dolt.bats: Add test for git-dolt smudge filter

* dolt/bats/git-dolt.bats: Configure fake name and email in test git repos so that committing works on Jenkins

* dolt/{bats,go}: Improve git-dolt cloning behavior (especially streaming output from dolt clone); refactor

* dolt/{bats,go}: Small tweaks to git-dolt output
2019-07-01 11:46:02 -07:00
Matt Jesuele b4869ef71f Merge pull request #1638 from liquidata-inc/mj/git-dolt-update
dolt/{bats,go}: Factor git-dolt into several packages
2019-06-26 14:59:17 -07:00
Zach Musgrave b62c1de34d Merge master 2019-06-26 10:24:37 -07:00
Matt Jesuele 02cf3c1d61 dolt/go/cmd/git-dolt/commands/link.go: Use GitDoltConfig's String method to format the config file contents 2019-06-25 19:50:17 -07:00
Zach Musgrave 9a2272740b Replaced forked mysql parser with vitess.io 2019-06-25 16:56:13 -07:00
Matt Jesuele ba173837aa dolt/{bats,go}: Factor git-dolt into several packages 2019-06-25 14:18:01 -07:00
Matt Jesuele f03c753c4d dolt/go/cmd/git-dolt: Handle errors more idiomatically 2019-06-25 14:08:00 -07:00
Matt Jesuele 14580c32a3 dolt/{bats,go}: Super basic implementation of git dolt update (#1621)
* dolt/{bats,go}: Super basic implementation of git dolt update

* dolt/go/cmd/git-dolt: Refactoring/cleanup

* dolt/bats/git-dolt.bats: Improve some output assertions
2019-06-25 11:56:43 -07:00
Zach Musgrave 823107ee43 Fixed remainder of failures from noms -> dolt/store refactoring 2019-06-24 13:01:17 -07:00
Zach Musgrave ccf8ea53f4 Merge branch 'master' into zachmu/sql-engine 2019-06-24 12:53:51 -07:00
Zach Musgrave f80a8383a4 Skip last of the failing tests. 2019-06-24 12:10:17 -07:00
Zach Musgrave 819d23dac1 Most tests of sql select passing with new engine, except for specific error message expectations. Wrote sqle -> dolt conversion code. 2019-06-21 15:30:20 -07:00
Brian Hendriks de36628918 update paths 2019-06-21 12:06:08 -07:00
Brian Hendriks 6ae6d7e595 move store files to the structure we want 2019-06-21 11:55:01 -07:00
Zach Musgrave 68c6a1c4cd Cleaned up initial engine integraiton code into multiple files with commented methods 2019-06-20 15:16:27 -07:00
Zach Musgrave 758ac188ef Restored original sql.go 2019-06-20 14:24:30 -07:00
Zach Musgrave e6e38ddb38 Almost working table / row iterators 2019-06-20 14:13:31 -07:00
Zach Musgrave 81a9983096 Hide the sqle command from the help listing 2019-06-20 11:22:03 -07:00
Zach Musgrave 074afd9d84 Added skeleton code for sqle command, checking in local override for go-mysql-engine module 2019-06-20 10:28:35 -07:00
Matt Jesuele 0ba9cb3abb dolt/{bats,go}: Implement git dolt fetch, improve error messaging and tests, add README (#1503) 2019-06-20 10:02:42 -04:00
Brian Hendriks f9769590c1 use new branch name checking and bump version 2019-06-19 16:53:23 -07:00
Zach Musgrave a236b0cc5f Merge pull request #1502 from liquidata-inc/zachmu/sql-export
SQL export
2019-06-19 15:38:24 -07:00
Zach Musgrave b274cba630 Just saving my place so I can switch to another branch: 2019-06-19 14:49:10 -07:00
Zach Musgrave 9916c8a725 Added warning text for attempting SQL import, fixed bats tests 2019-06-14 12:23:02 -07:00
Zach Musgrave 3c9af00487 Initial implementation of SQL export, still missing a drop / create table statement. Also changed SQL schema output to quote the table name, and removed an unused error return param. 2019-06-14 10:17:16 -07:00
Brian Hendriks 9993e369f8 bump version 2019-06-14 09:42:22 -07:00
Brian Hendriks 6b50ad113a err if --hard includes extra params 2019-06-14 09:42:22 -07:00
Brian Hendriks 026e6e6a99 dolt reset --hard 2019-06-14 09:42:22 -07:00
Aaron Son 5dd42d336b Merge pull request #1487 from liquidata-inc/aaron/dolt-warn-on-low-max-fileno
dolt/go: cmd/dolt: First pass at printing a warning if max file descriptors available to dolt is too low.
2019-06-13 16:02:28 -07:00
Aaron Son e40bfed090 dolt/go: cmd/dolt: fileno_check_windows.go -> default fileno_check implementation. 2019-06-13 15:36:02 -07:00
Aaron Son 9769b69e0b dolt/go: cmd/dolt: First pass at printing a warning if max file descriptors available to dolt is too low. 2019-06-13 15:25:07 -07:00
Brian Hendriks 2a86bcf643 push fixes 2019-06-13 15:08:06 -07:00
Brian Hendriks bd3966e147 bump dolt 2019-06-13 15:08:06 -07:00