-
-
Notifications
You must be signed in to change notification settings - Fork 507
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
Push/Pull/Fetch while sql-server is running #6460
Comments
Work around for this is
|
@timsehn doesn't work in case of a hosted dolt instance as you can't pass the remoteapi creds |
@ricardoreiter - I've been running up against the authentication issues of these methods, and I believe there is an inherent security concern which needs to be addressed before we tackle these methods. The issue is pretty fundamental to how we address this, and I believe getting this working securely in hosted is a heavy lift. The first step to implementing these functions will actually disable the use of these CLI commands for any invocation which is off host - which doesn't actually address your concern. The first iteration of these methods will enable the CLI to run seamlessly when there is a local server running - with the caveat that the DOLT_REMOTE_PASSWORD used will be from the environment of the local server. This isn't a security risk because the CLI and the sql-server are run with the same admin permissions. |
More explicitly. Before doing this make sure you are Here is the repro:
Get lock file error using the CLI but using sql interface works. The CLI should work.
With no updates the first push succeeds from the command line because it doesn't write a new manifest.
Fails from the command line |
We should fix the DoltHub case first because it is easier, then make it work with Hosted Dolt or other remotes. |
Resolved by the following PRs: |
It would be amazing if we can push/pull/fetch from the command line while the dolt sql-server is running.
The text was updated successfully, but these errors were encountered: