Commit Graph

28 Commits

Author SHA1 Message Date
Zach Musgrave
935e7654c4 Repro for bad pull behavior when already up to date 2024-05-19 17:13:29 -07:00
Zach Musgrave
4d98a052c8 Attempt to repro bug, nothing yet 2024-05-19 15:05:38 -07:00
jennifersp
d3c4a9a444 remove dolt stored procedure aliases (#7054) 2023-11-28 10:33:23 -08:00
jennifersp
c107df2bc2 add --all flag for dolt push (#6787) 2023-10-14 12:36:25 -07:00
Stephanie You
961cdfbd4f address PR comments 2023-10-13 01:15:41 -07:00
Stephanie You
4f6e198558 address PR comments 2023-10-09 14:04:27 -07:00
Stephanie You
d8c6d56bce more pull options bats tests 2023-10-09 13:17:41 -07:00
Stephanie You
aef2d199b4 unskip dolt pull --squash test 2023-10-09 10:29:29 -07:00
Stephanie You
5ca6a19962 fix dolt pull --force to work properly 2023-10-08 20:55:19 -07:00
Zach Musgrave
8aa8ebd337 Fix test 2023-09-12 10:19:30 -07:00
Zach Musgrave
39cf00505f Removed redundant tests left over from stored procedure migration 2023-09-12 10:12:57 -07:00
Nick Tobey
c1dcc0b4f0 Remove newlines from server response message. 2023-07-07 11:46:18 -07:00
Daylon Wilkins
8aeb1c659e Removed deprecated dolt functions 2023-01-03 02:13:37 -08:00
Tan Yong Zhi
178f541f34 Fix bats tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi
9b4b805268 Fix more failing bats tests 2022-08-26 12:14:05 +08:00
jennifersp
6886a8721f commit merge if no conflict (#4105) 2022-08-23 12:38:12 -07:00
Jason Fulghum
3c8f4426bb Adding more test cases for SQL and command line dolt pull to test out cases with working set and commit conflicts. 2022-07-29 18:34:34 -07:00
Jason Fulghum
a89d88dd12 Updating dolt pull command and stored procedure/function to allow a remote branch parameter 2022-07-28 13:04:58 -07:00
Jason Fulghum
27c0d6c537 First version of new BATS test for pull <remote> <ref> form 2022-07-28 11:23:43 -07:00
Maximilian Hoffman
3ec0e48b0d dolt_checkout and read replication working set fixes (#3808)
* dolt_checkout and read replication working set fixes

Sql path 'dolt_checkout' used to create a new branch from HEAD
if the checkout name did not have a remote tracking ref. The CLI,
on the other hand, will initialize a local branch if a remote tracking
ref with the same name in the default remote exists. The SQl path
now mirrors the CLI checkout: if we checkout a new branch, like
'new_feature', and we have previously fetched that branch from our
default remote, `dolt_checkout('feature')` will initialize a branch
using the head commit from the remote `feature`.

Second, read replication was creating a local tracking branch for
remote branches (sourced from the master remote), but not creating
corresponding working sets. This let users attach to new branches with
`use db/feature` syntax, but prevented users from
`dolt_checkout('feature')` both for the bug in dolt checkout, but also
because we created an intermediary state with a local branch, but
without a corresponding working set. SQL replication will now fetch,
create the new branch, and create the appropriate working set.

* jennifer's feedback

* unskip
2022-07-12 14:17:28 -07:00
jennifersp
6229f6acb3 fix inconsistencies of dolt checkout and pull commands (#3725) 2022-07-05 09:19:53 -07:00
Dhruv Sringari
24cac1f6c4 [no-release-notes] unskip more bats (#3737)
* Fix merge test for __DOLT_1__

* tree.ThreeWayMerge always calls callback when key collision occurs

* add keyless support for new format merge and other merge related tables

* newline of doom

* unskip more bats

* empty

* skip blame.bats and remotes-aws.bats
2022-07-01 17:00:42 -07:00
Andy Arthur
d5bd000790 more BATS skipping for __DOLT_1__ 2022-05-17 11:44:11 -07:00
Maximilian Hoffman
9154d2e5dd short dolt procs (#3369) 2022-05-06 18:42:13 -07:00
Daylon Wilkins
7fe4d7d780 Added stored procedure versions of dolt functions 2022-04-19 03:44:20 -07:00
Dustin Brown
5371ed510f /integration-tests/bats: fix bats tests 2021-09-23 14:30:43 -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
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