[09:10] Does Launchpad support code import from Mercurial repositories? [09:34] Hi guys, I wanted to report some bug in ubuntu 19.04 but launchpad errors out when I try to login - is there a way to report this please? === Guest68623 is now known as mikee3000 [16:27] brlin: Used to, but there wasn't enough demand to justify the cost of maintaining it. https://blog.launchpad.net/notifications/mercurial-imports-will-end-on-october-5th [16:27] (also it wasn't all that reliable) [16:28] cjwatson: That's unfortunate, but thanks for the info. [17:24] Hey [17:25] I wanted to know how to retrieve code from the launchpad api [17:25] Code of a particular repository stored on launchpad [17:28] The webservice API doesn't have methods for code retrieval itself, but branches and repositories have attributes with URLs that you can pass to a bzr or git client [17:30] Can you please elaborate [17:30] It's a bit of a general question so I gave a general answer [17:31] If you can be more specific about exactly what you're trying to do then that would help [17:31] (though I'm about to go for dinner) [17:32] Take for example GitHub's API you can list repos after a particular date so is there a similar functionality for listing out the repos stored along with their code? [17:32] Since a particular date* [17:33] It's conceivable that we might be persuaded to add something like that in future given a good use case, but there is no such functionality today. You can list all repositories for a given target (e.g. a project) [17:33] https://launchpad.net/+apidoc/devel.html#git_repositories has various methods along those lines [17:33] * cjwatson -> dinner [17:34] Thanks a lot [17:35] A single repository object on the API has a git_https_url attribute that you can use to clone it (or git_ssh_url if you're logged in) [17:38] Ohkay but is there functionality that just lists out all the repos stored... Just list..... so then I can run a loop and get their code? [17:42] Also If I would like to implement the functionality as the GitHub API how should I proceed? [17:54] We don't currently have that, and the first step would be some kind of justification for it, since it would be very easy for that to consume a lot of our resources. [17:56] Unlike GitHub, Launchpad has meaningful scopes beyond just ownership (projects and distribution packages), so there's usually less real need for site-wide searches [17:59] Ohkay and is it necessary for a package to have a GitHub url or launchpad can manage it independently? [18:01] Launchpad has its own Git hosting. Repositories can be imported from elsewhere (including GitHub), but that certainly isn't required. [18:01] Ohkay thanks a lot