Git code hosting beta
Today we’re announcing early support for hosting Git repositories directly on Launchpad, as well as or instead of Bazaar branches. This has been by far the single most commonly requested feature from Launchpad code hosting for a long time; we’ve been working hard on it for several months now, and we’re very happy to be able to release it for general use.
This is distinct from the facility to import code from Git (and some other systems) into Bazaar that Launchpad has included for many years. Code imports are useful to aggregate information from all over the free software ecosystem in a unified way, which has always been one of the primary goals of Launchpad, and in the future we may add the facility to import code into Git as well. However, what we’re releasing today is native support: you can use git push to upload code to Launchpad, and your users and collaborators can use git clone to download it, in the same kind of way that you can with any Git server.
Our support is still in its early stages, and we still have several features to add to bring it up to parity with Bazaar hosting in Launchpad, as well as generally making it easier and more pleasant to use. We’ve released it before it’s completely polished because many people are clamouring to be able to use it and we’re ready to let you all do so. From here on in, we’ll be adding features, applying polish, and fixing bugs using Launchpad’s normal iterative deployment process: changes will be rolled out to production once they’re ready, so you’ll see the UI gradually improving over time.
What’s supported?
You can:
- push Git repositories to Launchpad over SSH
- clone repositories over git://, SSH, or HTTPS
- see summary information on repositories and the branches they contain in the Launchpad web UI
- follow links from the Launchpad web UI to a full-featured code browser (cgit)
- push and clone private repositories, if you have a commercial subscription to Launchpad
- propose merges from one branch to another, including in a different repository, provided that they are against the same project or package
What will be supported later?
Launchpad’s Bazaar support has grown many features over the years, and it will take some time to bring our Git support up to full parity with it and beyond. Git repositories use a somewhat different model from Bazaar branches, which we’ve had to account for in many places, and some facilities will require complete reimplementation before we can support them with Git.
Here’s an incomplete list of some of the features we hope to add:
- useful subscriptions (currently only attribute change notifications work, which are not usually very interesting in themselves)
- RSS feeds
- mirroring
- webhooks
- an integrated code browser
See our help page for more known issues and instructions on using Launchpad with Git.
Helping out
This is a new service, and we welcome your feedback: you can ask questions in #launchpad on freenode IRC, on our launchpad-users mailing list, or on Launchpad Answers, and if you find a bug then please tell us about that too.
Launchpad is free software, licensed under the GNU AGPLv3. We’d be very happy to mentor people who want to help out with parts of this service, or to build things on top of it using our published API. Some preliminary documentation on this is on our developer wiki, and you can always contact us for help.
Tags: front-page
May 1st, 2015 at 11:49 pm
[…] Dari blog resmi Launchpad: […]
May 2nd, 2015 at 9:10 am
Any future plans to use Git for Ubuntu Distributed Development?
May 2nd, 2015 at 9:37 am
Thank you! I was waiting that for a long time now!
May 2nd, 2015 at 10:26 am
Marius: This was one of the motivations, indeed; in particular, dgit is arguably a much better fit for the goals of UDD than bzr + package-import ever was, simply because the lack of file-ids makes parallel imports so much easier to arrange in git. I’d suggest that interested Ubuntu folks experiment with dgit and see what works well. It may need some work to play well with the 3.0 (quilt) source format, and with other related tools such as git-dpm.
May 2nd, 2015 at 10:55 am
Thank you for this important feature.
May 2nd, 2015 at 3:33 pm
Where is the bug list for this exactly ?
May 3rd, 2015 at 9:20 pm
Where can we track the progress of the the facility to import code into Git as well?
This would be so great and helpful for the PPA builds.
May 4th, 2015 at 6:40 am
Thanks!
That’s especially useful for IDE users (like me). Executing all commands on the command line feels archaic. Eclipse supports Git very nicely.
May 5th, 2015 at 1:09 am
Will Git-buildpackage finally work with launchpad PPA?
May 5th, 2015 at 12:45 pm
Donald (#6): Relevant bugs are tagged here: https://bugs.launchpad.net/launchpad-project/+bugs?field.tag=git
Tim (#7): Feel free to file a bug against Launchpad itself requesting it; otherwise I expect we’ll announce it on this blog once the facility becomes available.
Gabriel (#9): It already worked before this; you can construct a source package however you like before uploading it to a PPA. However, this does mean that you can push the Git repository in question to Launchpad.
May 5th, 2015 at 3:35 pm
Will this make it possible for git and bzr users to collaborate on same project?
May 7th, 2015 at 3:25 pm
And Mercurial???
June 27th, 2015 at 8:50 pm
@Colin (10):
done:
https://bugs.launchpad.net/launchpad/+bug/1469459
July 9th, 2015 at 1:07 am
[…] Git code hosting beta […]
July 26th, 2015 at 8:32 am
[…] in – including the recent AWTomation project, and Canonical’s recent announcement that Launchpad will now support Github for source storage, meant that we could leverage the infrastructure provided by Canonical, and also take advantage of […]