Support for Launchpad-hosted Git repositories

Bug #1032731 reported by James Haigh
166
This bug affects 26 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Colin Watson

Bug Description

Allow to import Git repos as Git repos, rather than assuming that Bzr is what everyone wants.

If the original repo is Git, then many issues are created by trying to convert back and to. In fact, Launchpad is only able to convert one-way, so there's very little point importing the Git repository anyway.

Furthermore, importing defaults to HEAD, and there doesn't seem to be a way of selecting the branches to import.

Alternatively, it would be nice to link to the Git repository _without_ importing it. I'm just going to use Launchpad as an issue tracker for my latest project, Hexiano, but Launchpad says my project is not configured until I have some Bzr branch there.

I would use Launchpad for code as well if it supported Git directly.

Related branches

Curtis Hovey (sinzui)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: branches git lp-code
Revision history for this message
William Grant (wgrant) wrote :

This bug requests natively supporting git, so it's separate from bug #651844 which asks for bzr branches to be exposed as git repository.

Colin Watson (cjwatson)
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → In Progress
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Colin Watson (cjwatson) wrote :

2015-02-10 16:39:55,062 INFO 2209-61-0 applied just now in 3.3 seconds

tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
SirVer (sirver) wrote :

Can we get an ETA on this? And maybe also an official stance if/how bzr based projects can be converted.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 1032731] Re: Support for Launchpad-hosted Git repositories

This is at the top of our feature development queue right now and we're
working hard on it, but it's a substantial chunk of work and I can't
give you an ETA yet. We'll think about conversion somewhere down the
line, perhaps with something along the lines of our existing code import
facility for Bazaar, although at minimum you can always convert branches
manually using bzr-git or bzr fast-export / git fast-import.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Colin Watson (cjwatson) wrote :

2015-02-18 13:14:27,850 INFO 2209-61-1 applied 2015-02-18 in 0.2 seconds

(Also applied hot.)

tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Colin Watson (cjwatson) wrote :

2015-03-16 12:42:36,357 INFO 2209-61-2 applied just now in 0.3 seconds

tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Colin Watson (cjwatson) wrote :

This is now up and running on qastaging. Documentation is here:

  https://help.launchpad.net/Code/Git

We still have a good deal of polish to do before this lands on production, but it's well underway now. To avoid this bug getting too unwieldy, I expect we'll close it once the core support lands on production (at which point you'll at least be able to push mirrors of other repositories to Launchpad manually, even if we don't have automatic imports yet), and use separate bugs as necessary for further development beyond that.

Revision history for this message
Colin Watson (cjwatson) wrote :
Changed in launchpad:
status: In Progress → Fix Released
Revision history for this message
Josh Brown (joshbrown) wrote :

Thanks man. Good work!

Revision history for this message
Thiago Martins (martinx) wrote :

WOW!! This is awesome!! Thanks!!

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.