Direct pull from github/gitorious/gitlab/... #1102

Closed
cpf opened this Issue Jul 17, 2012 · 24 comments

Comments

Projects
None yet

cpf commented Jul 17, 2012

It would be nice to be able to pull a project into gitlab directly from github, gitorious, gitlab or another (simple) git host.

Second

Definitely!

Shuro commented Jul 20, 2012

👍

Contributor

chopmann commented Sep 7, 2012

you mean doing a "git pull git://github.com/gitlabhq/gitlabhq.git" to an existing repository in gitlab, or more like
my repository is on github i want to clone it to gitlab?

Shuro commented Sep 7, 2012

go in gitlab, open button "repository from external repository", choose which, for example github, with your access Key (or clone) and import it in your own gitlab (so I think)

cpf commented Sep 7, 2012

I was thinking about something in the likes of creating a new project, which already has code in another git repository (e.g. github), where if I push to my gitlab, it would also sync with the "parent" (If applicable, otherwise, a nice addon would be to put down a pull request, but that's not for this issue)

So, workflow: Create new project -> name project -> Define alternative (origin) git repository -> Still provide the usual local repository stuff.
After that, the project is created, the gitlabs repo is also created, and populated automagically with the github version.

Contributor

chopmann commented Sep 7, 2012

I made a rake task As in your workflow, well is a "tiny bit" complex with all the gui stuff, but ill try to work on it.
the usage is: bundle exec rake environment import_repository[source_url,user@emal] RAILS_ENV=production

cpf commented Sep 7, 2012

Very cool, I will try and check this out this evening...

Contributor

chopmann commented Sep 7, 2012

i tried it using github git-readonly. I think the next step would be getting the keys from gitlab so you can pull and sync with github. We'll see

@chopmann nice work.

Contributor

riyad commented Oct 8, 2012

+1

+1

jbohren commented Jan 27, 2013

+1

+1

Contributor

chopmann commented Jan 29, 2013

@riyad I would like to contact you 📧

Contributor

riyad commented Feb 4, 2013

@chopmann you can find my email on my profile (or in the commits ;) )

Owner

randx commented Feb 13, 2013

Already in master
import

randx closed this Feb 13, 2013

randx was assigned Feb 13, 2013

awesome!

tua commented Feb 14, 2013

awesome!

falinsky commented Mar 6, 2013

thx!

mexgui commented Mar 28, 2014

I need direct pull to gihub form local files on pc similar to BATCHing. All suggestions is to install some cygwin or similar program just to use pulling... I don't want that. I downloaded the library, I edited it and I want to upload my zip directly from github to greate pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment