Commit Graph

60 Commits

Author SHA1 Message Date
timsehn
2c6b26473b [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-24 18:15:44 +00:00
Timothy Sehn
93c677ea48 Kill git-dolt 2022-08-24 11:09:58 -07:00
reltuk
fb0c453951 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-16 19:07:59 +00:00
Vinai Rachakonda
f86e2996d6 Lockfile should be ignored if encoded pid is different than the current process (#3986) 2022-08-03 13:41:05 -07:00
tbantle22
6844018cde [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-20 00:47:12 +00:00
Dhruv Sringari
59c86f6a3b [no-release-notes] index cat and rebuild for new format (#3814)
* cleanup table package

* delete TextTableWriter

* dolt index [cat, rebuild] for new format

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

* fix tests

* use reflect.DeepEqual when determining column diff results

* use sql type compare instead of reflect.DeepEqual

* update test to use sql column types

* fix semantic merge conflict

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-13 10:03:56 -07:00
reltuk
7a94e0ee56 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-08 17:20:15 +00:00
coffeegoddd
b7d3917d05 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-08 17:12:22 +00:00
Andy Arthur
40d5d56641 pruning lisences 2022-06-23 09:48:18 -07:00
coffeegoddd
183988d7e9 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-06-04 07:42:23 +00:00
andrew-wm-arthur
390e254d0d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-04-21 21:02:49 +00:00
andrew-wm-arthur
277748b418 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-04-05 16:55:16 +00:00
Dhruv Sringari
540b2268f9 pr prep 2022-02-16 16:01:16 -08:00
andrew-wm-arthur
714b6663ee [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-02-02 22:09:46 +00:00
andrew-wm-arthur
f2f9a19dc2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-01-13 20:10:26 +00:00
Brian Hendriks
15eb290524 Bh/prom ss metrics (#2511) 2021-12-17 13:53:10 -08:00
jennifersp
6890336d25 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-18 22:55:19 +00:00
jennifersp
63366c0507 resolve conflicts 2021-11-18 14:54:15 -08:00
Aaron Son
3021f93316 go/go.mod: github.com/kch42/buzhash -> github.com/silvasur/buzhash.
Closes #2416.
2021-11-18 10:08:57 -08:00
jennifersp
f823451735 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-17 00:43:02 +00:00
andrew-wm-arthur
ccbd381786 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-06 16:57:49 +00:00
andrew-wm-arthur
bb008c11b8 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-05 23:55:40 +00:00
Hydrocharged
656a532cfa [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-09-16 12:35:45 -07:00
liquidata-jenkins
407a546040 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-05-06 14:57:25 +00:00
Aaron Son
a1bf8b62fd repofmt: Hygiene. 2021-01-06 15:02:24 -08:00
Aaron Son
5b2fb65b47 go/Godeps: Pickup new license. 2020-11-24 15:56:25 -08:00
Zach Musgrave
624364c001 Updated godeps licenses
Signed-off-by: Zach Musgrave <zach@dolthub.com>
2020-11-06 17:42:02 -08:00
Andy Arthur
c177266252 Godeps/update.sh 2020-11-05 12:51:02 -08:00
Daylon Wilkins
dcee7d562f Added dolt sql-client hidden command 2020-10-13 15:36:11 -07:00
Andy Arthur
32650e3726 ./Godeps/update.sh 2020-10-12 18:49:00 -07:00
Aaron Son
36abc47fba go/Godeps: Update. 2020-10-09 13:34:21 -07:00
Daylon Wilkins
b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Aaron Son
a9dabb8599 go/Godeps/LICENSES: Update for go.mod bump. 2020-06-22 09:22:28 -07:00
Zach Musgrave
37991ca6c8 Updated third party licenses
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-06-17 10:00:51 -07:00
Andy Arthur
a19766298e hotfix 2020-05-06 15:32:19 -07:00
Daylon Wilkins
c52f790ac1 PR feedback & changes 2020-02-18 13:22:59 -08:00
Aaron Son
54c3859e64 go/Godeps/update.sh. 2020-02-12 12:54:06 -08:00
Katie McCulloch
e609fa2bf7 dolt_docs feature branch (#222)
* Add Notes struct and some helper functions

* go/libraries/doltcore/env: Add Notes paths and create README and LICENSE on dolt init

* bats/no-repo.bats: Check that readme and license are created on init

* go/libraries/doltcore/env/notes.go: Let Notes key/val pairs be a map[string]string

* go/libraries/doltcore: Store notes on RootValue

* added license and readme to dolt status; merge on already existing repos not working

* fix merge for existing repos by using existing rootvals when notesMap is nil

* go/{cmd,libraries}: Use Doc instead of Note

* go/{cmd,libraries}: Move dolt docs to tableMap

* go/{cmd, libraries}: Get rid of abbreviation of Doc

* bats: Add comments for test where we rm LICENSE and README

* go/cmd/dolt/commands/status: Transform errors on  to get rid of panics

* go/libraries/dolctore/doltdb/root_val: Extract duplicate code in DocDiff to helper function

* go/libraries/doltcore: NewDocDiffs and root.DocDiff to take a slice of docs, easier to add docs in the future

* go/libraries/doltcore/env: Make Doc related env/path functions more general purpose that take in file name

* go/libraries/doltcore/actions: gofmt errors.go and minor update to defining docDetails

* go/libraries/doltcore/env/environment.go: Add PutDocsToWorking function

* go: Add docs to 'dolt add .' and update 'dolt status' to include staged docs

* bats: Add dolt doc tests and update comments where we rm <doc>

* go/libraries/doltcore/env/environment.go: Add generic functions to retrieve all or one valid docDetail(s)

* go: Pass specific docDetails for  to staged one PK at a time

* bats/dolt-docs.bats: dolt add <doc> for LICENSE.md and README.md

* bats/dolt-docs.bats: Remove fragile tests using  and use  instead

* go/libraries/doltcore: Break DocDiffs into helper functions and remove dereference to NewerText

* go/libraries/doltcore/env/environment: Extract updateExistingDocs and createDocsTable helper functions

* go/libraries/doltcore: Add RemoveDocsFromWorking so we unstage docs if stageTables encounters an error

* {bats,go}: Add test for adding invalid <table|doc>, simplify GetDocDiffs, and use PutDocsToWorking directly

* go/{cmd,libraries}: Implement dolt reset --hard, refactor dolt_docs.go env file for general use

* bats/dolt-docs.bats: Add dolt reset --hard tests for docs

* go/{cmd,libraries}: Implement soft reset for docs, make doltcore/env doc functions more general use

* bats/dolt-docs.bats: Add test coverage for soft reset of docs

* go/libraries/doltcore/env/environment.go: Extract PutDocsAndGetNewRoot function from PutDocsToWorking/PutDocsToStaged and use it in those functions

* {bats,go/cmd/dolt/commands/diff.go}: Add docs to working root before diffing, update tests

* {bats,go}: Print doc diffs

* {go,bats}: Print lines for deleted doc, and simplify doc diff printing

* Comitting output of ./Godeps/update.sh that was giving me error in ./Godeps/verify.sh

* {bats, go/libraries/doltcore/sqle/database.go: Remove DocTableName from sql commands

* go/{cmd,libraries}: Declare DoltNamespace and add HasDoltPrefix and FilterDoltInternalTables

* {go,bats}: Implement dolt diff <dic> by parsing docs from args, with bats test

* {go,bats}: Fix bug from commit #7b15ae8201083cbee57 that did not print deleted staged docs correctly

* rename docs test file: bats/dolt-docs.bats --> docs.bats

* go/{cmd,libraries/doltcore/env}: Implement dolt checkout <doc>

* bats/docs.bats: Add tests for dolt checkout <doc>

* Added test for branch, merge, and conflicts for dolt docs

* Actually Fixed weird space issue

* {go,bats}: Return error for dolt table *, schema *, ls, add, diff and reset command arguments that contain doltdb.DocTableName, with tests

* go/{cmd,libraries}: Remove pointer from type Docs and refactor resetHard to work with the change

* bats: 2 more tests for checkout

* SaveTrackedDocs for checkout, merge; still one skipped bats test

* go/{cmd,libraries}: Clean up doc checkout

* Simplify bats test docs.bats

* bats/docs.bats: simplify testing

* go/libraries/doltcore/doltdb/root_val_test.go: TestAddNewerTextAndValueToDocFromTbl

* go/libraries/dotlcore/doltdb/root_val: TestAddNewerTextAndDocPkFromRow

* simplify bats tests; remove run/status check where it is unneccesary

* Simplify bats test docs.bats

* libraries/doltcore/doltdb/root_val_test: TestDocDiff

* bats/docs.bats: Add newlines and notes to long test, remove comment

* {go,bats}: Stage tables and docs after successful merge with auto resolved conflicts

* go,{cmd,libraries}: Catch errors, return helpful doc error for checkout, add a comment

* cmd/dotl/commands/cnfcmds/resolve.go: Save docs in autoResolve and manualResolve instead of Resolve command function

* go/{cmd,libraries}: Refactor Checkout to handle docs explicitly

* bats/docs.bats: Add test coverage for checkout doc bug; still not working

* go/cmd/dolt/commands/status.go: Extract methods for retrieving lines of added, modified and removed not staged tbls and docs

* go: Move functions that Save docs to actions/docs.go

* go/cmd/dolt/commands/reset.go: Simplify RemoveDocsTbl helper fxn

* go/libraries/dotlcore/env/dolt_Docs.go: Use fs instead of os

* go/{cmd,libraries}: Simplify GetTblsDocsAndRootsForCheckout and add function comment

* gofmt-w

* go/{cmd,libraries}: Only use localDocs in actions/docs.go, and save docs where root has been updated

* go/cmd/dolt/commands/merge.go: Fail silently on updating staged root on merge

* go/cmd/dolt/commands: Move docsInCnfOnRoot to commands/status.go where it is being used

* go/{cmd,libraries}: Only use localDocs in actions/docs.go, and save docs where root has been updated

* go/cmd/dolt/commands/merge.go: Fail silently on updating staged root on merge

* go/cmd/dolt/commands: Move docsInCnfOnRoot to commands/status.go where it is being used

* bats/docs.bats: Add more test coverage for checkout

* go/{cmd,libraries}: Refactor Checkout command

* go/cmd/dolt/commands/merge.go: Remove silent fail, print message

* go/libraries/doltcore/env: Fix error that was deleting both untracked docs when only one was checked out

* go/{cmd,libraries}: Refactor Checkout command

* go/cmd/dolt/commands/merge.go: Remove silent fail, print message

* go/libraries/doltcore/env: Fix error that was deleting both untracked docs when only one was checked out

* Remove HasDoltPrefix from 2 checks that break create-view tests

* go/cmd/dolt/commands/checkout.go: Use HandleVErrAndExitCode, fix error msg when  is present, remove unneccessary verr declaration

* go/cmd/dolt/commands/checkout.go: Rename functions, return ref (not ref.String()) from getRemoteBranchRef

* Extract helper fxn getTblNotExistError, return NewTblNotExistError with bad table info

* go/cmd/dolt/commands/merge.go: Save docs in merge functions where roots are updated, add comment for UpdatedStagedWithVErr

* go/libraries/doltcore/env/actions: Move getupdatedWorkingAndStagedWithDocs to actions/docs.go

* Declare ctx := context.Background() at top of tests, use ctx throughout test

* Small improvement to AddValueToDocFromTbl, add comments to root_val_teset

* go/cmd/dolt/commands/checkout.go: Return verbose error rather than set variable and return later

* go/cmd/dolt/commands/checkout.go: Return verbose error from helper fxns in commands/checkout.go

* go/libraries/doltcore/env/actions/table.go: Remove err declaration from return params, declare err inline instead

* go/libraries/doltcore/env/actions/tables.go: Rename getTblNotExistError to validateTablesExist

Co-authored-by: Tim Sehn <tim@liquidata.co>
2020-01-17 10:50:15 -08:00
Aaron Son
bd879a9066 go/go.mod: Run go get -u all. Migrate to dbr/v2. 2020-01-08 11:23:07 -08:00
Zach Musgrave
9200a05f04 Updated third party licenses
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-12-27 09:01:58 -08:00
Aaron Son
2dbdc07d5d go/Godeps/LICENSES: Update for zap. 2019-12-19 17:14:17 -08:00
Zach Musgrave
8e957bcd5f Re-enabled index lookups for dolt SQL. Updated dependencies for sqllogictest and go-mysql-server.
Added time to the handled cases in DATETIME & changed tests (originally @hydrocharged, squashed)

Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-11-12 17:07:36 -08:00
Daylon Wilkins
f4f2a8c010 Added Timestamp to Dolt and Datetime to SQL 2019-11-07 12:40:18 -08:00
Aaron Son
0383709bf3 go/Godeps/LICENSES: Update licenses. 2019-11-01 15:03:30 -07:00
Zach Musgrave
5a42a5658f Merge master, update third party licenses
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-10-30 10:14:10 -07:00
Aaron Son
ff6adfc08e go/gen/proto/dolt/services/eventsapi: Add LICENSE file for Godeps. 2019-10-28 11:21:22 -07:00
Zach Musgrave
74ade84eb9 Added new LICENSE file for jstream
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-10-25 15:34:48 -07:00
Matt Jesuele
24f720cda3 Basic dolt blame 2019-10-24 14:04:15 -07:00
Zach Musgrave
2bd9cde657 Added new license file
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-10-18 13:53:38 -07:00
Aaron Son
ed5f6feddb go/Godeps: Make sure to include windows-only third party software in Godeps/LICENSES. 2019-09-11 17:18:12 -07:00