Strumenti Utente

Strumenti Sito


use_launchpad_with_git

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
use_launchpad_with_git [2011/02/14 21:54]
toobaz [Yes, it is possible]
use_launchpad_with_git [2011/02/15 11:04] (versione attuale)
toobaz bug
Linea 1: Linea 1:
 +**Parts of this HOWTO are work in progress.**
 +
 +===== READ HERE FIRST =====
 +
 +This howto is currently a **lie**, it doesn't work, because of [[http://bugs.launchpad.net/bzr-git/+bug/719238|this bug]].
 +
 ===== Introduction ===== ===== Introduction =====
  
Linea 7: Linea 13:
 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?
  
-**Parts of this HOWTO are work in progress**+**Quick remark:** in many places it is suggested to just use the //fastimport// method: it's OK for a one-time migration, but not to represent a durable two-ways bridge!
  
 ===== Yes, it is possible ===== ===== Yes, it is possible =====
Linea 24: Linea 30:
 Edit the file //~/bzr_branch/.bzr/branch/branch.conf//, which should look like the following: Edit the file //~/bzr_branch/.bzr/branch/branch.conf//, which should look like the following:
  
- parent_location = ../git_repo/ +  parent_location = ../git_repo 
- push_location = bzr+ssh://your_lp_id@bazaar.launchpad.net/the/branch/path+  push_location = bzr+ssh://your_lp_id@bazaar.launchpad.net/the/branch/path
  
 ("the/branch/path" is usually "~your_lp_id/project_name/branch_name"). ("the/branch/path" is usually "~your_lp_id/project_name/branch_name").
Linea 34: Linea 40:
   - bzr push   - 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.1297716881.txt.gz · Ultima modifica: 2011/02/14 21:54 da toobaz