[Openerp-community] Repository migration to Git

2014-06-13 Thread Daniel Reis
Hello all, I was willing to give a try on migrating repositories from LP to GitHub. Could someone share the state of the art on this - is there any migration scripts available? Thanks /DR ___ Mailing list: https://launchpad.net/~openerp-community P

Re: [Openerp-community] Repository migration to Git

2014-06-13 Thread Yury Tello
Hi, Daniel, check kn the readme.md of https://github.com/CubicERP/odoo Other way to migrate your repository is: 1) Install bzr-fastimport $ sudo apt-get install bzr-fastimport 2) Move into your bazzar branch local directory 3) Initialice your local branch directory with git $ git init 4) Run

Re: [Openerp-community] Repository migration to Git

2014-06-13 Thread Stefan
On 13-06-14 16:26, Daniel Reis wrote: Hello all, I was willing to give a try on migrating repositories from LP to GitHub. Could someone share the state of the art on this - is there any migration scripts available? Hi Daniël, as for branches, the keyword seems to be fastimport, supported

Re: [Openerp-community] Repository migration to Git

2014-06-13 Thread Daniel Reis
Thanks for the advice. I think I got it working. It seems to me you should repeat the process for each branch to migrate:   $ bzr branch lp:/6.1   $ bzr branch lp:/7.0   $ mkdir git-repo && cd git-repo   $ git init   $ bzr fast-export --export-marks=../bzr.mark ../6.1 --plain | git

Re: [Openerp-community] Repository migration to Git

2014-06-14 Thread Ovnicraft
On Fri, Jun 13, 2014 at 9:43 AM, Stefan wrote: > On 13-06-14 16:26, Daniel Reis wrote: > >> >> Hello all, >> >> I was willing to give a try on migrating repositories from LP to GitHub. >> Could someone share the state of the art on this - is there any migration >> scripts available? >> >> > Hi Da

Re: [Openerp-community] Repository migration to Git

2014-06-16 Thread Daniel Reis
Stephan, I tried the recipe in the linked SO question, but I can't see any branches being created on git. The script I used is here: https://gist.github.com/dreispt/d9b751a6aac8e7728c36 It seems the "git branch ..." step in my previous script is necessary, but if that's so why isn't it men