New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dolt_clone stored procedure #3745
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
a1fae36
Trying something
zachmu 134e9d5
Inlined credtypes
zachmu 6cf1d2d
working dolt_clone
zachmu 3797be1
Added new db to session after clone
zachmu 3f52707
Cleaned up clone
zachmu 58d115c
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/upda…
zachmu d5fa232
Fixed compile error
zachmu 44a1652
Merge main:
zachmu a65c3a7
Small cleanup
zachmu 83347ed
Couple typos and comments
zachmu 8bd4a0f
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/upda…
zachmu a597beb
Added bats test for dolt_clone procedure
zachmu 990ffef
Merge main
zachmu 67d59c4
Restoring changes after merge conflict
zachmu 69a2a60
Merge branch 'zachmu/clone' of github.com:dolthub/dolt into zachmu/clone
zachmu 9281576
Adding some godocs, error handling, and minor cleanup.
fulghum 9e7fbc0
whitespace cleanup
fulghum 92db69c
Filling in empty error message; disabling SetPrintUsage, since this i…
fulghum 329f02b
Changing FileSystem.WithWorkingDir implementations to actually return…
fulghum b3d5592
Hack to fix a bug where clone logic was changing the process' current…
fulghum 9526c9b
Expanding on interface documentation
fulghum a0ea4ca
Updated BATS tests
fulghum 63a3d57
Reverting extra copy
fulghum d122e0b
Updating BATS tests to test remaining cases (single branch, overridin…
fulghum b6e6dd7
Switching to use remotesrv instead of DoltHub for tests
fulghum 5ea361e
Adding issue URL for not creating remote tracking branches when cloni…
fulghum caefe9e
Merge branch 'main' into zachmu/clone
fulghum b6d48d0
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/upda…
fulghum abda8af
Fixing from dialer refactoring
fulghum e31d52f
Tweaking argument descriptions.
fulghum 24b2afb
Removing duplicate function definition (from merge) and cleaning up i…
fulghum bbf3c99
Merge branch 'zachmu/clone' of https://github.com/dolthub/dolt into z…
fulghum 44e4afa
Removing os.Chdir from actions.Clone since this isn't safe in a serve…
fulghum 26cfe9d
Removing more usage of os.Chdir
fulghum 0be183b
Renaming DoltEnv variables to be more explicit and clear
fulghum b161368
Updating godocs to better explain functions
fulghum File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is potentially a loooong time to be holding a lock! I think this is okay for v1, since
dolt_clone()
will not be frequently used, but it would be good to follow up and shrink down the code that executes with this lock.