Commit Graph

4164 Commits

Author SHA1 Message Date
Zach Musgrave
5128323c45 Fixed panic on empty strings as arguments -- now just passed through to the command 2019-03-21 14:46:37 -07:00
Zach Musgrave
de6119bd6e Merge pull request #802 from liquidata-inc/zachmu/pipeline-refactor
Refactored the pipeline struct:
2019-03-21 11:17:18 -07:00
Zach Musgrave
0054bf315a Fixed long help for sql command 2019-03-20 17:15:00 -07:00
Zach Musgrave
ad3854935b SQL command draft, no implementation. 2019-03-20 16:59:38 -07:00
Zach Musgrave
e170b3436b Refactored the pipeline struct:
* Renamed 'trans' to 'stage' in a few places
* Documented struct values and expanded struct level docs
* Added a RunAfter method to register a function to run after the pipeline finishes. This allows clients to decouple pipeline construction from its execution, making it easier to refactor code involving pipelines.
* Refactored the select command to be easier to read and reuse table printing functionality
2019-03-20 14:21:58 -07:00
Zach Musgrave
2286daa0c2 Cleaned up the method description for field mapping functions 2019-03-20 14:00:40 -07:00
Zach Musgrave
ff183dc98e Fixed the broken tests caused by Brian's panic fix 2019-03-20 13:56:02 -07:00
Matt Jesuele
1c2ec621de dolt/go/cmd/dolt/commands/init.go: Fix help message for missing name/email config 2019-03-20 08:55:25 -07:00
Osheiza Otori
1cd37b7bf2 better error message for inserting row with incorrect schema (#753) 2019-03-19 14:00:24 -07:00
Brian Hendriks
9015c7556e fix panic 2019-03-19 12:06:04 -07:00
Matt Jesuele
9df1ebab0a dolt/go/libraries/doltcore: Rename DoltDBLocation to Location, per golint 2019-03-19 11:42:11 -07:00
Matt Jesuele
8a3efcb53d dolt/go/libraries/doltcore: Minor lint 2019-03-19 11:41:07 -07:00
Zach Musgrave
29ce028009 Fixed Sprintf problems 2019-03-19 11:28:21 -07:00
Zach Musgrave
7f49d54138 Fresh copy of go.mod and go.sum 2019-03-18 17:25:14 -07:00
Zach Musgrave
93e709d922 Fixing broken build caused by changing return type of PullChunks 2019-03-18 17:23:58 -07:00
Zach Musgrave
48199e269f Merge pull request #723 from liquidata-inc/zachmu/doltcore-cleanup
Collection of small cleanups that were easy to make during deep dive …
2019-03-18 16:41:35 -07:00
Matt Jesuele
8de61bf2c4 dolt/go/cmd/dolt/cli/command.go: Allow -h and --help outside of Dolt directories
Resolves #722
2019-03-18 16:21:11 -07:00
Zach Musgrave
4571358d96 Merge pull request #724 from liquidata-inc/zachmu/pipeline-refactor
Small refactoring to pipeline.go. Mostly changed the type of the cont…
2019-03-18 16:15:06 -07:00
Zach Musgrave
490e979380 Got rid of useless NoValue typedef. Extracted a function for creating the arg parser in the select command. 2019-03-18 16:13:38 -07:00
Zach Musgrave
8423f35437 Merge branch 'master' into zachmu/doltcore-cleanup 2019-03-18 16:07:37 -07:00
Brian Hendriks
e2f166da39 Bh/deploy remotes (#742)
* remote chunk service ready for deployment
2019-03-18 14:22:56 -07:00
Matt Jesuele
32115b715e dolt/go/cmd/dolt/commands/version.go: Match git version output
Resolves #737
2019-03-18 12:35:27 -07:00
Timothy Sehn
cae1df7584 Benchmark config changes. Added publish command line arg 2019-03-15 16:23:32 -07:00
Timothy Sehn
b7876ea8de Added a command line argument to overrride the results repo root 2019-03-14 17:56:51 -07:00
Timothy Sehn
25f6f091fd Initial version of publish to dolt 2019-03-14 17:49:39 -07:00
Zach Musgrave
0877e82e8c Small refactoring to pipeline.go. Mostly changed the type of the control channels to be an empty struct to signal that they are only used for control flow. Also made calling Pipeline.NoMore more than once an error (silently suppressed before) 2019-03-14 15:58:32 -07:00
Zach Musgrave
b382f462d5 Collection of small cleanups that were easy to make during deep dive of doltcore code.
* Small refactoring in import command
* Extracted a head constant in commit_spec
* Changed doltdb.LoadDoltDb to panic when the data dir doesn't exist, rather than returning nil, and updated docs
* Added missing method docs to doltdb.go, and fixed many typos
* Removed unused error handling code
* Added a version of PanicToError for nullary functions
* Imported testify/assert testing library
2019-03-14 12:49:29 -07:00
Timothy Sehn
efcf79ffe7 Added help documentation and other small cleanup changes. 2019-03-14 11:29:44 -07:00
Timothy Sehn
d9cb4b386f Added command line inputs and appropriate defaults. Moved configuration into one big data structure with no external references. 2019-03-13 18:50:41 -07:00
Timothy Sehn
b16c11fa6a Added logging and pretty output 2019-03-13 14:26:30 -07:00
Timothy Sehn
824c0ded5b Merge pull request #706 from liquidata-inc/tim/more-benchmark-iteration
Tim/more benchmark iteration
2019-03-13 12:38:27 -07:00
Timothy Sehn
14486637f3 Added status messages 2019-03-12 16:40:49 -07:00
Zach Musgrave
342c2e2e82 Reverted unchanged go.sum file 2019-03-12 16:21:50 -07:00
Zach Musgrave
8164a2b238 Put struct docs above fields instead of next to them. 2019-03-12 16:10:09 -07:00
Zach Musgrave
7f03493bbd Added docs to parser methods and fixed a few errors constructing error strings. 2019-03-12 16:10:02 -07:00
Timothy Sehn
3e4a4df812 Cleaned up the benchmark script 2019-03-12 15:23:58 -07:00
Brian Hendriks
167d1e4f48 bh/fix deadlock (#697)
* fix deadlock
* check stop condition less
* bump version
2019-03-12 13:09:08 -07:00
Timothy Sehn
163e2a3845 Randomize the row order in the change CSVs 2019-03-12 12:05:36 -07:00
Timothy Sehn
467a19ff24 Added schema definition for dolt. The JSON file is manually generated with print
statements. Could be cleaner.
2019-03-12 11:07:08 -07:00
Timothy Sehn
0a579c7ca7 Added check disk utility 2019-03-12 09:10:12 -07:00
Timothy Sehn
9e27f6df16 Merge pull request #677 from liquidata-inc/tim/dolt-benchmarks
Second pass at benchmarking script
2019-03-12 09:07:22 -07:00
Zach Musgrave
b8efe6cc75 Merge pull request #673 from liquidata-inc/zachmu/init-test-fix
Updated help text for init to not refernce noms and reflect current b…
2019-03-11 16:31:35 -07:00
Zach Musgrave
5e8499a9e7 Merge pull request #675 from liquidata-inc/zachmu/panic
Removed unnecessary level of lambdas from panic utils
2019-03-11 16:30:27 -07:00
Zach Musgrave
6fe4247fe9 Rewrote panic-to-error functions without named returns 2019-03-11 16:29:19 -07:00
Zach Musgrave
cd6e0f00b3 Non-zero return code for bad usage, 0 for --help (nice catch bheni) 2019-03-11 16:24:14 -07:00
Zach Musgrave
fc20e1115e Merge pull request #676 from liquidata-inc/zachmu/config
Documented the behavior of getOperation and updated existing test to …
2019-03-11 15:48:49 -07:00
Timothy Sehn
da1181e43b Second pass at benchmarking script 2019-03-11 15:42:28 -07:00
Zach Musgrave
333b236a30 Documented the behavior of getOperation and updated existing test to match that behavior (missing key is a non-zero return value, per git behavior) 2019-03-11 15:42:01 -07:00
Timothy Sehn
24932c9956 Merge pull request #646 from liquidata-inc/tim/dolt-benchmarks
Tim/dolt benchmarks
2019-03-11 15:40:20 -07:00
Zach Musgrave
cecfde7057 Removed unnecessary level of lambdas from panic utils 2019-03-11 15:13:22 -07:00