Support git branches & merges.

Bug #1504274 reported by Robert Bruce Park
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bileto
Fix Released
Critical
Robert Bruce Park

Bug Description

Bzr is dead and the train needs to support git sooner or later.

Fortunately, all the bzr knowledge is encapsulated in a single class (the Branch class), so it should be relatively straightforward to write a similar class that uses git instead of bzr, and then just add a little bit of magic to determine which to use when.

There's a few unknowns I need to investigate:

1. Has LP's git support reached parity with bzr yet? If not parity, the train needs at least the ability to pass a git MP to lp.load() and access various properties on it, such as merge.target_branch, merge.source_branch etc. Hopefully lplib exposes these in a consistent way otherwise we'll need to write quite the wrapper around the two, which has the potential to become an enormous glue layer.

2. We use 'bzr launchpad-login' as well, git probably won't have anything like that but still we'll need to teach git the bot credentials so we can push to launchpad at all.

3. Probably other things.

Related branches

Changed in cupstream2distro:
assignee: nobody → Robert Bruce Park (robru)
importance: Undecided → Medium
Michał Sawicz (saviq)
Changed in cupstream2distro:
status: New → Won't Fix
status: Won't Fix → Confirmed
affects: cupstream2distro → bileto
Changed in bileto:
status: Confirmed → In Progress
Changed in bileto:
importance: Medium → Critical
Changed in bileto:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.