[09:10] <brlin> Does Launchpad support code import from Mercurial repositories?
[09:34] <mikee3000> 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?
[16:27] <cjwatson> 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] <cjwatson> (also it wasn't all that reliable)
[16:28] <brlin> cjwatson: That's unfortunate, but thanks for the info.
[17:24] <faux__> Hey
[17:25] <faux__> I wanted to know how to retrieve code from the launchpad api
[17:25] <faux__> Code of a particular repository stored on launchpad
[17:28] <cjwatson> 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] <faux__> Can you please elaborate
[17:30] <cjwatson> It's a bit of a general question so I gave a general answer
[17:31] <cjwatson> If you can be more specific about exactly what you're trying to do then that would help
[17:31] <cjwatson> (though I'm about to go for dinner)
[17:32] <faux__> 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] <faux__> Since a particular date*
[17:33] <cjwatson> 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] <cjwatson> https://launchpad.net/+apidoc/devel.html#git_repositories has various methods along those lines
[17:33]  * cjwatson -> dinner
[17:34] <faux__> Thanks a lot
[17:35] <cjwatson> 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] <faux__> 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] <faux__> Also If I would like to implement the functionality as the GitHub API how should I proceed?
[17:54] <cjwatson> 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] <cjwatson> 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] <faux__> Ohkay and is it necessary for a package to have a GitHub url or launchpad can manage it independently?
[18:01] <cjwatson> Launchpad has its own Git hosting.  Repositories can be imported from elsewhere (including GitHub), but that certainly isn't required.
[18:01] <faux__> Ohkay thanks a lot