-
Notifications
You must be signed in to change notification settings - Fork 11
Investigate the idea of a remote git #58
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
Conversation
I'm going to be listing some of the "local" filesystem assumptions being made in Elastic-Git currently here.
|
Not remotely read for review. |
@Rizziepit & @miltontony ready for initial review. Still need to implement |
Oh wait, it was already implemented in |
@Rizziepit & @miltontony ready for review. |
Uh, no wait, haven't made it hook up to EG yet. |
|
||
def store(self, model, message, author=None, committer=None): | ||
raise RemoteStorageException( | ||
'Remote storage is read only.') |
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.
Is this for now or indefinitely?
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.
For now. At some point we may want to write to the API, depends on which direction things go.
@Rizziepit & @miltontony can I get a review please? |
+1 |
@Rizziepit please review the last commit, it adds the |
import warnings | ||
warnings.warn('Pulling without updating the index!') | ||
self.sm.pull(branch_name=branch_name, | ||
remote_name=remote_name) |
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.
universalcore/unicore.distribute#18 addresses this and will implement in a different PR.
Looks good. Should EG have a method to create a remote workspace? Might have missed it. |
@Rizziepit I considered it but |
Makes sense. All the +1 from me |
The idea is to see if we can combine
unicore.distribute
into a server endpoint for all git + elasticsearch related operations that elasticgit may want to do on a remote server.