/srv/irclogs.ubuntu.com/2016/03/10/#launchpad.txt

=== psivaa_ is now known as psivaa
=== JoseeAntonioR is now known as jose
=== tsimonq2alt is now known as tsimonq2-
=== tsimonq2- is now known as tsimonq2
=== pavlushka_ is now known as pavlushka
=== maclin1 is now known as maclin
=== yofel_ is now known as yofel
sidiIs there a way for me to know how many times a specific version of a package was downloaded off a PPA? i.e. the number of active users15:15
cjwatsonsidi: Dig through the API until you get the right binary_package_publishing_history object, and then you have getDownloadCount and getDownloadCounts methods: https://launchpad.net/+apidoc/devel.html#binary_package_publishing_history15:21
sidicjwatson, thanks, is that also part of the Python API for launchpadlib? If not I wouldn't mind a documentation outlining what the package names, distro and id ought to be for a PPA package15:27
cjwatsonsidi: +apidoc is the specification of the webservice API which you can access through launchpadlib, yes15:27
sidiAlright. Thanks, I'll have a go at it before I pester you then :-) back to C for now.15:28
cjwatsonsidi: you generally get at BPPH records for a PPA by first loading the PPA object and then using getPublishedBinaries on that15:28
cjwatsonhttps://launchpad.net/+apidoc/devel.html#archive-getPublishedBinaries15:29
sidiCheers15:30
cjwatsonThe URL spec for BPPH is informational - you won't know the ID, in general, so you can't construct it manually that way15:31
=== JoseeAntonioR is now known as jose
=== JanC_ is now known as JanC
=== caraka_ is now known as caraka
mhall119hey, does `bzr branch ubuntu:<package>` not work anymore?19:37
mhall119if not, what's the correct way to get the branch for the archive package?19:38
dobeythere are no branch imports for xenial19:39
dobeyuse pull-lp-source to pull a source package19:39
mhall119dobey: that doesn't give me a bzr branch though, so how would a change get submitted back?20:03
dobeymhall119: submitted back to where? most packages in ubuntu are not managed via bzr branches. to submit it back to the archive, you'd attach a debdiff to the bug report, or if you have upload rights, upload the new package; or if the package has Vcs-Bzr: listed in debian/control, and lands via ci train for example, then make a branch against that branch, and propose it so it can land via silo20:06
mhall119dobey: ok, last time I tried it was all in bzr20:07
dobeythe branch import stuff was very unreliable20:08
dobeyso it was turned off for xenial20:08
mhall119ack20:08
dobeythere was a mail on the list back in october i think, where cjwatson or wgrant explaind this and why :)20:08
mhall119so where's the documentation for how to submit patches to Ubuntu packages now?20:08
mhall119dobey: yeah, not being normally involved in that I probably just ignored it20:09
dobeyhttps://wiki.ubuntu.com/UbuntuDevelopment20:09
cjwatsonI've been saying for ages (long before we stopped the importer) that the bzr workflow was in practice not fit for purpose and the docs should be changed to recommend working with source packages20:10
cjwatsonI was ignored20:10
dobeyi'm not sure which exact sub-part of that wiki tree is relevant to whatever you're trying to do20:10
mhall119cjwatson: I'm not disagreeing with the change, just trying to figure out the new way20:10
cjwatsonOne part of the problem was that the bzr workflow worked OK until you uploaded a package using it20:10
cjwatsonThe new way is the old way.  Should be in the doc history somewhere :)20:10
dobeythe new way isn't the new way; it's the old way :)20:10
mhall119well, ok, the new-to-me way20:10
cjwatsonI really want to get the corresponding git workflow working20:11
cjwatsonBut our priorities right now are snappy snappy snappy20:11
dobeymhall119: grab source package, make changes, generate a debdiff, attach it to the bug, subscribe ubuntu-sponsors; generally20:11
cjwatsonSo it's hard to slot in20:11
mhall119cjwatson: you should make a snappy app for the git workflow, that'll solve everything :)20:12
cjwatsonYou joke, but we've been able to slot in more than one git improvement with that strategy ;-)20:12
dobeymhall119: https://wiki.ubuntu.com/UbuntuDevelopment/CodeReviews maybe more specifically relevant to your question now20:12
mhall119cjwatson: heh20:12
dobeylaunchpad.snap20:13
mhall119thanks dobey20:13
dobeysnappy install launchpad20:14
dobeyor has "install" been changed to "deploy" this week? ;)20:14
wgrantYou joke, but it's actually "snap install" now.20:15
mhall119clearly this all should be in a juju charm too, so you can juju deploy your snap install of a git workflow20:16
mhall119and it hurts me just a little that what I just say is actually a valid technical approach20:17
dobeylol20:17
cjwatson"valid"20:17
cjwatsonpossible :-)20:17
mhall119ok, possible :)20:17
mhall119oh, wait, damn, I forgot to involve LXC20:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!