use_launchpad_with_git
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Prossima revisione | Revisione precedente | ||
use_launchpad_with_git [2011/02/14 18:07] – creata toobaz | use_launchpad_with_git [2011/02/15 11:04] (versione attuale) – bug toobaz | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
+ | **Parts of this HOWTO are work in progress.** | ||
+ | |||
+ | ===== READ HERE FIRST ===== | ||
+ | |||
+ | This howto is currently a **lie**, it doesn' | ||
+ | |||
===== Introduction ===== | ===== Introduction ===== | ||
Linea 6: | Linea 12: | ||
So it is natural to ask: is it possible to use Launchpad with git? Or even better: is it possible to migrate an already existing bzr branch pushed on bazaaar to git? | So it is natural to ask: is it possible to use Launchpad with git? Or even better: is it possible to migrate an already existing bzr branch pushed on bazaaar to git? | ||
+ | |||
+ | **Quick remark:** in many places it is suggested to just use the // | ||
===== Yes, it is possible ===== | ===== Yes, it is possible ===== | ||
Linea 11: | Linea 19: | ||
Thanks to **bzr-git** (package **bzr-git** in Debian/ | Thanks to **bzr-git** (package **bzr-git** in Debian/ | ||
- | Just install it, then | + | Let's assume you have a bzr branch in " |
+ | - mkdir ~/ | ||
+ | - cd ~/ | ||
+ | - git init | ||
+ | - cd ~/ | ||
+ | - bzr push ~/ | ||
+ | - cd ~/ | ||
+ | - git checkout | ||
+ | |||
+ | Edit the file // | ||
+ | |||
+ | parent_location = ../ | ||
+ | push_location = bzr+ssh:// | ||
+ | |||
+ | (" | ||
+ | |||
+ | Now you can work in your git repo as you love to. When you want to push changes to Launchpad, just | ||
+ | - cd ~/ | ||
+ | - bzr pull | ||
+ | - bzr push | ||
+ | |||
+ | ===== TODO ===== | ||
+ | |||
+ | - verify that merging in changes from Launchpad is similarly easy | ||
+ | - verify which quantity of magic can be done with git hooks | ||
+ | - verify how bzr-git behaves with respect to branches (does it pulled master? or checked one?) |
use_launchpad_with_git.1297703256.txt.gz · Ultima modifica: 2011/02/14 18:07 (modifica esterna)