/srv/irclogs.ubuntu.com/2017/03/22/#launchpad.txt

clivejowgrant: how would you build a python project then?00:08
wgrantclivejo: There are thousands of examples -- depend on python-foo00:09
clivejoand if the requirement isnt packaged ?00:10
wgrantclivejo: That you'll need to package it.00:10
clivejoinject it via the packaging?00:11
wxlclivejo: he means package the requirement00:11
wgrantclivejo: That's not acceptable for the Ubuntu archive. If you require another piece of software that isn't packaged in Ubuntu, you must first package that piece of software before you can depend on it.00:11
wxland then package what you want to package that needs the requirement :)00:11
wgrantFortunately, packaging most Python libraries is trivial.00:12
clivejowgrant: is there a channel deals with this kind of thing?00:12
wxlclivejo: #packaging on oftc is fairly useful00:13
clivejoor group ?00:13
wgrantclivejo: http://packaging.ubuntu.com/html/ is probably the best resource00:13
clivejoI mean is there a LP team who primarily deal with python packaging?00:15
wgrantclivejo: Most of that work is done in Debian, with the Debian Python Modules Team.00:16
* nacc thinks there is also #ubuntu-packaging and #debian-packaging -- not sure01:22
=== jamesh_ is now known as jamesh
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
ePierreHi! Can anyone from the Launchpad project have a look at this request? → https://answers.launchpad.net/launchpad/+question/566017  Thanks in advance!07:39
wgrantePierre: Done.07:41
ePierrewgrant, thanks a lot!07:43
caribouHi, what's the best place to ask questions about python's launchpadilb ?08:53
wgrantcaribou: Here.08:57
caribouwgrant: thought so08:57
caribouI'm having difficulties with the API : I'm building a script that will search all bugs with the 'sts-sru' tag. So far it works when I use distribution['ubuntu'].getSeries08:58
cariboubut I'm not fetching bugs like this one : LP: #166420308:58
ubot5Launchpad bug 1664203 in neutron-lbaas (Ubuntu Trusty) "[SRU] v1 driver does not delete namespace when pool deleted" [High,New] https://launchpad.net/bugs/166420308:58
cariboueven if I loop through all the 'ubuntu' series08:59
caribouwgrant: my guess is that it is caused by the fact that the bug was not created for Ubuntu but for the cloud-archive project08:59
wgrantcaribou: What is the specific call you're making that is not returning the bug?09:00
wgrantThe original task shouldn't change things.09:00
caribouwgrant: http://pastebin.ubuntu.com/24227378/09:02
wgrantcaribou: Which API version are you using?09:03
caribouwgrant: devel, here is the whole script : https://github.com/karibou/sts_tag_queries/blob/master/BugTasks.py09:03
wgrantcaribou: Bug 1664203 definitely shows up in trusty and xenial searches (though not in yakkety, since it's closed there)09:06
ubot5bug 1664203 in neutron-lbaas (Ubuntu Trusty) "[SRU] v1 driver does not delete namespace when pool deleted" [High,New] https://launchpad.net/bugs/166420309:06
caribouwgrant: yep, maybe I picked up a bad example, let me find one that matches09:08
caribouwgrant: This one is listed if I use the Web search on tag but doesn't come up in the query : LP: #160205709:13
ubot5Launchpad bug 1602057 in Ubuntu Cloud Archive mitaka "(libvirt) KeyError updating resources for some node, guest.uuid is not in BDM list" [Medium,Triaged] https://launchpad.net/bugs/160205709:13
wgrantIn [4]: 1602057 in [task.bug.id for task in list(lp.load('/ubuntu/xenial').searchTasks(tags='sts-sru', created_since='2017-01-01', order_by='id'))]09:15
wgrantOut[4]: True09:15
wgrantcaribou: ^^09:15
apwi see Aa-series sorts in the wrong place on the "nominate for release" page ..09:16
apwi assume we have bugs galore filed for that kind of thing.09:17
wgrantapw: No bugs on that sort of thing yet. We know nothing core will actually break, but I imagine we'll run into cosmetic sorting issues around the place.09:17
wgrantapw: Hm, sorts OK for me.09:17
wgrantThe list is in descending order of release date, so aa-series is first, followed by zesty.09:18
apwwgrant, oh i am so blind it is criminal09:18
wgrantGood :)09:19
caribouwgrant: indeed, it's there. I must be dropping it along the lines, sorry for the noise09:19
wgrantcaribou: np, let me know if you run into anything else.09:19
caribouwgrant: sure, thanks!09:20
wgrantcaribou: (and make sure to stick to devel -- the 1.0 API has some quirks that would affect you here)09:20
caribouwgrant: yeah, I found out the hard way when I first wrote this script09:20
wgrantHeh09:20
* apw idly wonders if devel will ever spawn a new stable api09:21
wgrantapw: No.09:21
wgrantThe LP API versioning strategy was a terrible mistake.09:22
wgrantYou can't give an API with a thousand distinct operations and even more fields a single version number.09:23
apwi guess you need to expose feature bits if anything09:23
wgrantIt might have been possible to stabilise API versions if we could, for example, say this is Bugs API 2.0.09:23
wgrantAnd Archive API 3.0.09:23
apwthat does sound more plausible09:24
wgrantOh, only 2200 fields, it seems.09:26
apwwgrant, i more expect api versioning to tell me when i have to worry about intefaces going away, so i expect 1.0 to grow new foo2 foo3 variants as we go, but when we remove something then it changes09:26
apwbut hey ... if devel is the one, the only, then i am good09:27
wgrantapw: Yeah, that's similar to the strategy we're using in the services we're working on atm. APIs are versioned in smaller subsets, and feature flags can be a thing before a new release is rolled.09:28
=== shadeslayer_ is now known as shadeslayer
=== morphis_ is now known as morphis
=== chihchun is now known as chihchun_afk
=== JanC_ is now known as JanC
neutrino__Hi. I'm experimenting with building recipes on launchpad and noticed that the build logs include email addresses in clear. Is there any way to disable that?12:51
=== chihchun_afk is now known as chihchun
om26erHi! How can I check version of a package available in a repository ? example: I need to check what version of snapd is available in xenial-proposed while the release I am running is zesty.17:13
naccom26er: rmadison17:13
naccom26er: `rmadison snapd -s xenial-proposed`17:13
naccom26er: or you can look on the package page on lp17:14
om26ernacc: that is it. that command helps. -- I needed that info for a script so can't go to lp.17:14
dobeywell17:16
dobeythere's also the API you can use from python with launchpadlib :)17:17
=== acheronUK is now known as acheronuk
=== grumble is now known as grumble2
=== grumble2 is now known as grumble

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