Skip to content
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

Easy way to clone a project #47

Closed
azeey opened this issue May 23, 2014 · 11 comments
Closed

Easy way to clone a project #47

azeey opened this issue May 23, 2014 · 11 comments

Comments

@azeey
Copy link

azeey commented May 23, 2014

This would be useful for testing plugins. The only way to do this right now seems to be to export the project and import it again.

@volgy
Copy link
Member

volgy commented Mar 31, 2015

It would be great, if this could be used/triggered from a properly formatted URL ('Try' link)

@lattmann lattmann added this to the v0.9.0 milestone Mar 31, 2015
@ksmyth
Copy link
Contributor

ksmyth commented Mar 31, 2015

I have a service to copy a project:
https://gist.github.com/ksmyth/e119642ce02d15575f37

@kecso
Copy link
Member

kecso commented Apr 1, 2015

I have created two short specifications for proposed functionalities:
https://github.com/webgme/webgme/wiki/specSeedProject
https://github.com/webgme/webgme/wiki/specFork

@lattmann
Copy link
Contributor

lattmann commented Apr 1, 2015

Looks good to me. Made minor changes.

@pmeijer
Copy link
Contributor

pmeijer commented Apr 1, 2015

I think it's implied but just to clarify;

To fork a project the user needs read access to that project and the user forking gets full rights to the new project.

Correct?

@kecso
Copy link
Member

kecso commented Apr 1, 2015

Yes.
Additionally, the user has to have 'create' rights but I think that was stated explicitly.
Should I clarify it in the document?

@ksmyth
Copy link
Contributor

ksmyth commented Apr 1, 2015

specSeedProject/Parameters: for performance, I'd add a "squash" parameter. true => branches have 1 commit and lose other history

@kecso
Copy link
Member

kecso commented Apr 1, 2015

In the seedProject service we do not have a history.

did you mean fork?
would you like to completely erase the history?

I am asking as I got confused trying to specify your request.
thanks

@volgy
Copy link
Member

volgy commented Apr 1, 2015

Can't we merge these two "services"? Sorry, I do not see the fundamental difference.

@kecso
Copy link
Member

kecso commented Apr 1, 2015

In the fork you copy the whole project while in the seed, you just create a new one with a single branch from a snapshot.
Fork can be done solely with mongoDB queries, while the seed needs the interpretation of the data model (or the serialized format).
I would even add, that in the 'distant' future we might want to allow the fork to be a 'living' connection among projects letting to user to easily synchronize or even to add changes to the original project (as in case of Git).

kecso added a commit that referenced this issue Apr 3, 2015
kecso added a commit that referenced this issue Apr 3, 2015
kecso added a commit that referenced this issue Apr 3, 2015
pmeijer pushed a commit that referenced this issue Apr 4, 2015
Executor ported to this format. And REST slightly modified to fit too.
kecso added a commit that referenced this issue Apr 6, 2015
lattmann pushed a commit that referenced this issue Apr 6, 2015
lattmann pushed a commit that referenced this issue Apr 6, 2015
lattmann pushed a commit that referenced this issue Apr 7, 2015
kecso added a commit that referenced this issue Apr 7, 2015
pmeijer pushed a commit that referenced this issue Apr 7, 2015
Conflicts:
	src/common/util/opencontext.js
	src/server/standalone.js
kecso added a commit that referenced this issue Apr 10, 2015
pmeijer pushed a commit that referenced this issue Apr 10, 2015
kecso added a commit that referenced this issue Apr 10, 2015
…the dump+restore clearly wins above the other two
@lattmann lattmann modified the milestones: v0.10.0, v0.9.0 Apr 13, 2015
@lattmann
Copy link
Contributor

Patrially resolved in v0.9.0 release.

@lattmann lattmann removed this from the v0.10.0 milestone May 8, 2015
@pmeijer pmeijer closed this as completed Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants