Support for Launchpad-hosted Git repositories

Bug #1032731 reported by James Haigh on 2012-08-03
166
This bug affects 26 people
Affects Status Importance Assigned to Milestone
Launchpad itself
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) on 2012-08-03
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: branches git lp-code
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) on 2015-02-06
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → In Progress
Colin Watson (cjwatson) on 2015-02-10
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
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
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-02-12
tags: added: qa-ok
removed: qa-needstesting
SirVer (sirver) wrote :

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

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.

Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
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
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-02-20
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
William Grant (wgrant) on 2015-02-20
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
William Grant (wgrant) on 2015-02-20
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-02-20
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-02-27
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-02-27
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Launchpad QA Bot (lpqabot) wrote :
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson) on 2015-02-27
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-03-04
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Launchpad QA Bot (lpqabot) wrote :
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson) on 2015-03-06
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2015-03-06
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → In Progress
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
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
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-03-17
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Colin Watson (cjwatson) on 2015-03-18
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson) on 2015-03-20
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Launchpad QA Bot (lpqabot) wrote :
Launchpad QA Bot (lpqabot) wrote :
Colin Watson (cjwatson) on 2015-03-31
tags: added: qa-ok
removed: qa-needstesting
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.

Colin Watson (cjwatson) wrote :
Changed in launchpad:
status: In Progress → Fix Released
Josh Brown (joshbrown) wrote :

Thanks man. Good work!

Thiago Martins (martinx) wrote :

WOW!! This is awesome!! Thanks!!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers