/srv/irclogs.ubuntu.com/2010/02/17/#launchpad-dev.txt

* mwhudson lunches00:04
bjfhas anyone tried interacting with lpapi from groovy?00:07
thumpermwhudson: ping me when you want to talk about code import scheduling00:29
thumperbjf: not that I know of00:29
thumperbjf: but I don't know everything :)00:29
bjfthumper, was just curious, looks like a nice language and I've got a bunch of lp work going on00:33
bjfthumper, it also talks to databases well and I'm doing that as well00:33
* thumper nods00:33
=== bjf is now known as bjf-afk
thumpergrrrr!!!!!00:47
thumperattachment fail!00:47
=== jamesh_ is now known as jamesh
EdwinGrubbsthumper, rockstar: can I get a review for the fix of the missing branch sprite?01:02
thumperyes01:02
EdwinGrubbsthumper: you can pretty much ignore the changes in the icon-sprites.positioning file since that is autogenerated. https://code.edge.launchpad.net/~edwin-grubbs/launchpad/bug-521934-missing-sprites/+merge/1945401:04
thumperok01:04
thumperEdwinGrubbs: done01:15
EdwinGrubbsthumper: thanks01:16
thumperrockstar: ping01:24
rockstarthumper, pong01:24
thumperrockstar: quick call?01:27
rockstarthumper, sure.01:27
mwhudsonthumper: say 15:30 for a call about code imports?01:40
* mwhudson actually wants to get some programming done01:40
thumpermwhudson: sure01:40
mwhudsonthumper: i think i've broken the back of the incremental import thing \o/02:44
mwhudsonfor git at least02:44
thumperw00t02:44
thumpermwhudson: call soon?02:44
mwhudsonthumper: now, or rather in about 1 min, works for me02:45
thumperok02:45
mwhudsonthumper: https://bugs.edge.launchpad.net/launchpad-code/+bug/497645/comments/203:05
mupBug #497645: code imports should run fewer jobs at once <code-import> <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/497645>03:05
mwhudsonhttps://bugs.edge.launchpad.net/launchpad-code/+bug/51049003:08
mupBug #510490: importds and DB authentication <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/510490>03:09
* thumper back after dinner to finish some stuff off04:35
mwhudsonthumper: incremental git imports all but ready for review04:56
mwhudson(one test needs some love)04:56
* mwhudson EODs04:56
thumperis anyone else having issues with firebug and firefox?08:00
thumperas soon as I go inspect element, or click on the bug on the status bar, firefox crashes08:01
stubI had it crashing as soon as I tried to get to the error console a week or three ago08:01
stubI think it is still doing it too08:02
thumper:(08:02
thumperstub: I bet the answer will be "upgrade to lucid"08:02
noodles775thumper: depending on what you need, the chromium inspector might do the job too.08:03
thumpernoodles775: chromium has a whole other pile of issues rendering launchpad08:03
thumpernoodles775: chromium doesn't seem to like the css or the cert08:06
thumpernoodles775: know how to tell it to just FJDI and accept that I know what I'm doing?08:06
noodles775thumper: you can usually just click through it?08:07
* noodles775 runs dev server08:07
thumpernoodles775: I did click through, but I get no css08:07
noodles775thumper: ah, you're probably looking at a code.lp.dev?08:07
thumpernoodles775: yes08:07
noodles775look at lp.dev first...08:07
thumperWTF?08:08
noodles775Working now?08:08
thumperyeah08:09
noodles775Great.08:09
noodles775thumper: btw, just in case you haven't already, you'll need the chromium-browser-inspector pkg too.08:10
thumpernoodles775: I'm looking at adding a description to the merge proposal (for the first comment)08:12
thumpernoodles775: I now have two multiline JS editors on the one page08:12
thumpernoodles775: it looks interesting...08:12
noodles775fun!08:12
adeuringgood morning08:17
noodles775Moin adeuring08:18
adeuringhi noodles775!08:18
thumpernoodles775: have you talked to jml about the recipe stuff08:40
thumper?08:40
noodles775thumper: not since two days ago.08:40
thumpernoodles775: probably worth scheduling a chat08:41
thumpernoodles775: jml is planning on talking with james_w about the multiple series on Thursday (after lucid code freeze)08:41
mrevellMorning09:08
jtvhi mrevell!09:25
mrevellHey jtv!09:25
* gmb could've sworn he ran `make schema`; why's combine-css running?09:48
=== salgado-afk is now known as salgado
deryckMorning, all.10:59
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
=== beuno_ is now known as beuno
=== salgado is now known as salgado-lunch
=== fjlacoste is now known as flacoste
gary_posterquestion for someone on code team: I have two branches that were not imported because of sqllite db locks afaict: https://code.edge.launchpad.net/~gary/zc.buildout/system-python-2-bootstrap-changes and https://code.edge.launchpad.net/~gary/zc.buildout/system-python-3-option-cleanup .  I don't see a bug for this.  Should I file one?  Is there a workaround to get my two branches imported?14:26
=== salgado-lunch is now known as salgado
gary_postercode team, another question: afaict, I cannot make a MP to request a merge from one imported branch to another (that is, I don't see a way to make a MP request for https://code.edge.launchpad.net/~gary/zc.buildout/system-python-1-simple-fixes ).  If that's the case, then I might as well delete these branches anyway.  Am I right?14:30
gary_posterabentley, rockstar ^^^14:31
=== Ursinha_ is now known as Ursinha
rockstargary_poster, import branches cannot be proposed for merge.14:52
rockstargary_poster, if in doubt, file a bug.  We can always close it as a dupe.14:52
deryckallenap, since you're work is really a feature outside of the two on the board, I'm going to take your bugs off the bugs backlog.  just FYI.14:58
allenapderyck: Okay.14:58
deryckallenap, you can continue to pull from the story tag until we make bug sync the feature 1 story.14:58
allenapderyck: Cool. I'm on a skunkworks project ;)14:59
deryckheh14:59
deryckindeed.14:59
deryckallenap, for a day or two anyway ;)14:59
gary_posterrockstar ack thank you14:59
allenapderyck: Do you still want a card for bug 282178?15:03
mupBug #282178: Make IPerson an IHasBugs and make sure calling searchTasks on it works <api> <ubuntu-qa> <Launchpad Bugs:In Progress by thekorn> <https://launchpad.net/bugs/282178>15:03
deryckallenap, I do for that, yeah.  As a bugs lane coding task for you, since you're in progress on that for bug fixing.15:03
allenapderyck: Okay, I think I get it :)15:05
deryckallenap, the idea is that we have no actual work in progress that isn't accounted for on the board, and the card limit numbers keep us from taking on too much WIP.15:06
deryckallenap, so if you do work outside the board, it defeats the purpose of the board.15:06
deryckallenap, but then there's that skunkworks matter, so it's not perfect now. ;)  But we'll get there as we transition to it. :)15:06
abentleyrockstar, gary_poster: I thought import branches could be proposed for merge.  We've seen that with couchdb.15:07
=== EdwinGrubbs_ is now known as EdwinGrubbs
=== salgado is now known as salgado-brb
rockstarabentley, you can propose for merge against an import branch, but the branch itself can't be a source_branch of the mp.15:38
deryckflacoste, ping15:39
flacostehi deryck15:40
abentleyrockstar, Ah.15:42
allenapthekorn: I fixed up those test failures: http://paste.ubuntu.com/378410/15:49
=== salgado-brb is now known as salgado
kfogelnoodles775: when you get a chance, UI review on https://code.edge.launchpad.net/~kfogel/launchpad/255868-patches-view-from-bugs-page/+merge/19438  (there are screenshots attached to bug #255868, so you can just look at those if you want to avoid building the branch).16:31
mupBug #255868: Project summary page should show links to patches <story-patch-report> <ubuntu-upstream-relations> <Launchpad Bugs:In Progress by kfogel> <https://launchpad.net/bugs/255868>16:31
kfogelnoodles775: use the most recent two screenshots; the ones before that are from a now-abandoned UI16:34
noodles775kfogel: sorry, I'm EODing now, but either I can do it first thing in the morning, or you could check whether sinzui would like to do the UI review.16:38
kfogelnoodles775: oh, I didn't know sinzui could.  thanks16:38
kfogelnoodles775: will ask him16:38
kfogelsinzui: when you get a chance, UI review on https://code.edge.launchpad.net/~kfogel/launchpad/255868-patches-view-from-bugs-page/+merge/19438  (there are screenshots attached to bug #255868, so you can just look at the two most recent screenshots there if you want to avoid building the branch).16:39
mupBug #255868: Project summary page should show links to patches <story-patch-report> <ubuntu-upstream-relations> <Launchpad Bugs:In Progress by kfogel> <https://launchpad.net/bugs/255868>16:39
noodles775He's wanting to build up ui-reviews (at least he was, I keep repeating that, tell me if that's not the case anymore sinzui!)16:39
sinzuinoodles775: I do not have a choice. I think UI reviews are hard and stressful, but We really need to do them16:40
noodles775sinzui: yes, but I mean particularly whether you'd *like* to do them... ie. with the one earlier today, whether you'd prefer if I just did them now that you've built the number of ui reviews that you've done?16:42
noodles775(I remember you saying that you hadn't been getting any, so I've been specifically defering to you)16:43
sinzuiyes, I certainly was not getting reviews, and I think you should continue asking for my reviews. But what is the criteria for graduation?16:44
noodles775sinzui: The chat with beuno - I'd hoped that that was what he wanted to chat with you about the other week before he left. Maybe we should ask him, as his last official service to LP :L16:46
beunoyes16:48
noodles775:)16:48
beunoI want to gradtuate sinzui16:48
beunoif he will let me16:48
sinzuikfogel: This change looks consistent. I do not have much to say about it. But I have a question about this layout verses the older layout? Do we know if users are seeing this list of reports better than the old position next to the old chart? I think I miss the icons of the past (but not the CVE icon which always looked super scary)16:50
kfogelsinzui: when you say the "old" layout, do you mean the one formerly tried in this bug for this specific link, or do you mean something about the portlet box?16:50
kfogelsinzui: (by the way, I reassigned the UI review to you, from michael)16:51
sinzuiI mean the inline information. This list is now 7 long. IT is not as effective as a smaller list.16:51
sinzuikfogel: Yes I saw16:52
kfogelsinzui: I mean, yes, it's now increased by one item (but not sure what that has to do with "the old position next to the old chart")...16:53
kfogelor with icons?16:53
sinzuikfogel: deryck: I am looking at http://launchpadlibrarian.net/39277302/255868-screenshot-bugs-with-patches-in-project-group-portlet.png We have now reached the magic number of 7 in the box. If we want to add more reports, I think we need to consider breaking the list up. What I am really asking is if there is evidence now that this list is more or less usable than before16:55
kfogelsinzui: I don't think we have evidence either way yet.  Do we have any strategy for collecting such evidence?16:56
derycksinzui, I don't know of any evidence, no.16:56
beunosinzui, lets try and have a call today?16:56
sinzuibeuno: okay16:56
derycksinzui, but beuno suggested this link in there back at a UDS session. :-)  And nothing was added until now.16:57
kfogelsinzui: should we consider that a separate question from the UI review of this particular change?  That is, we may want to further break up the portlet box, but that can be a separate question, before or after this change, I think.16:57
sinzuikfogel: deryck: okay. As it said at the start, the addition is consistent and I think it is good to land. I think though we have exhausted this list as a means to add more reports16:57
derycksinzui, agreed16:57
kfogelsinzui: "But isn't more always better?"16:58
* kfogel ducks16:58
derycksinzui, I think we need 3 separate types of filters -- a "me" section, status filters, and other interesting junk. :-)16:59
deryckthey wouldn't all have to be portlets if those use cases were met.16:59
sinzuideryck: yes, I think that is what I want to see on my project pages. One day we will do that17:00
sinzuikfogel: I approved the UI, I would approve the code, but I wonder why there is no test for the presence of the link. Is it okay of the link disappears from the page?17:05
kfogelsinzui: writing test now17:07
kfogelsinzui: may I submit the code to you for review when the tests are done?17:07
sinzuiokay. show me when you are ready and I will give the code my +117:07
kfogelsinzui: I like the pre-approval, thanks :-).17:07
=== beuno is now known as beuno-lunch
kfogelsinzui: btw, if no patches, it says "0 bugs with patches".  Having the link disappear in the empty case has both advantages and disadvantages; I went with showing it because I thought it's best for the portlet to maintain a consistent size and shape and contents, and for people to see explicitly that there are no bugs with patches rather than wonder if the feature simply stopped working.17:12
sinzuikfogel: I know that, I wrote the plural macro with bac. I want "0 bugs with patches" to show all the time. Otherwise users need to hunt for that information, wasting time.17:14
kfogelsinzui: oh, you wrote that macro?  Thanks!  (Don't know if you saw, but I'm using it.)17:15
sinzuiYes, I saw, which is why I know that "0" is plural without seeing the page.17:16
bacsinzui: the blueprints did have a portlet on the distroseries-index page but it is conditional17:22
sinzuibac: I suspected, but since I see lots of blueprints, I think the condition may be smoking crack17:23
bacah, right.  yes i'm looking into it17:23
sinzuibac: I would not spend a lot of time on this. I think latest bugs and blueprints are flawed. I think they should only show items that younger than 3 months17:25
kfogelsinzui: re testing: I'm trying to use find_portlet() from lib/canonical/launchpad/testing/pages.py.  But it demands the portlet's name, as text between <h2> tags, and in this case the portlet has no name.  Is there some typical way to examine the text in the bugfilters-portlet in a test?17:40
sinzuido not use find portlet, it is a 1.0 test helper17:41
kfogelsinzui: oh17:41
kfogelsinzui: ok :-)17:41
sinzuikfogel use find_tag_by_id which is good and also faster because you can pass existing soup object17:42
kfogelsinzui: I'm starting out with page tests, just to see that the right thing happens, but am I right in thinking I'll also need to write a windmill test b/c this portlet is populated with data by a javascript call?17:42
sinzuino windmill, we just need to see that the link is in the portlet list17:43
kfogelsinzui: *nod*17:44
kfogelsinzui: should be done soon then17:44
salgadorockstar, should I assign bug 514400 to you?17:45
mupBug #514400: Make combine-css skip work when it is not needed <Launchpad Foundations:Triaged by salgado> <https://launchpad.net/bugs/514400>17:45
rockstarsalgado, yes.  In fact, I'm making headway on that now.17:45
salgadocool!17:45
rockstarsalgado, what's weird is that lazr-js has the ability to do this already, but the launchpad Makefile seems to ignore it.17:46
salgadorockstar, but can we use that even for combine-css or is this something we could use in the jsbuild target only?17:46
=== beuno-lunch is now known as beuno
rockstarsalgado, I'm not sure what you mean.  combine-css and the jsbuild stuff use similar code paths from lazr-js18:00
=== danilos is now known as daniloff
salgadorockstar, combine-css uses just lazr.js.combo.combine_files()18:09
kfogelsinzui or anyone: want to play Captain Obvious on my page test?  http://paste.ubuntu.com/378501/18:09
sinzuifind tags by class does not except a soup object.18:10
kfogelsinzui: *nod* thx18:10
sinzuikfogel: find_tags_by_class is another helper that should not be used18:10
kfogelsinzui: oh18:10
=== deryck is now known as deryck[lunch]
kfogelsinzui: do we mark things as obsolete when we decide they're obsolete, in some way that would get a warning when the thing is used at run time?18:11
sinzuiit is slow, and prone to failure as pages change. We use ids to test18:11
thekornallenap, great!18:11
sinzuikfogel: place a id on any element you want to test.18:12
rockstarsalgado, yeah, so does jsbuild.18:12
rockstarsalgado, well, no, I take that back.  They both use a subclass of lazr.js.build.ComboFile18:12
kfogelsinzui: so I should change the generated html to be more testable?18:13
sinzuiyes18:13
kfogelsinzui: ok18:13
kfogelsinzui: but, oddly, I just got "None" for the portlet, using this code:18:13
kfogel    >>> def show_bugs_with_patches_from_portlet(contents):18:13
kfogel    ...     portlet = find_tag_by_id(contents, 'portlet-bugfilters')18:13
kfogel    ...     print portlet18:13
kfogeloh18:14
kfogelduh18:14
kfogelnm18:14
kfogelwrong id I ihnk18:14
sinzuikfogel: in many cases when you are updating a page, you really just want to update the existing story to show what the user seed18:14
kfogelsinzui: ah -- maybe I should be looking for the existing tests of that portlet, instead of adding a new test to patches-view.txt, then?18:14
sinzuikfogel: isn't there already a story that verifies the contents of the portlet, and did it fail when you changed the page?18:14
kfogelsinzui: dunno, am in EC2 right now18:15
kfogelsinzui: but I'll grep around for it.  thanks for the advice_18:15
kfogelsinzui: lib/lp/bugs/stories/xx-bugs-statistics-portlet.txt   :-)18:16
sinzuiyep18:16
rockstarsalgado, hi18:33
salgadohi rockstar18:34
rockstarsalgado, could I call you?18:35
=== EdwinGrubbs is now known as Edwin-lunch
salgadorockstar, I'm with gary reviewing a branch over on #launchpad-foundations; can it be in, say, 15 minutes?18:39
rockstarsalgado, yes, just ping me when you're done.18:40
salgadowill do18:40
=== gary_poster is now known as gary-lunch
salgadorockstar, I'm ready now19:00
rockstarsalgado, cool.  Skype?19:00
=== deryck[lunch] is now known as deryck
mwhudsongood morning19:19
adiroibanhi. the code from lib/lp/services/worlddata is part of registry project?19:34
sinzuiadiroiban: launchpad-foundations19:38
sinzuisalgado: ping19:39
adiroibansinzui: thanks19:39
salgadohi sinzui19:39
sinzuisalgado: I am looking at OOPS-1506G1386 which is a very common occurrence in production. It is caused by an email address that belongs to an account but not a person19:40
sinzuisalgado: validate_action_add_email tries to do the right thing by checking if you own the address, or tells you who owns it. It does in the or case.19:41
salgadoI was looking at that today as well: bug 42344719:41
mupBug #423447: Trying to add an email that's already registered as a SSO account but not a person, oopses <oops> <Launchpad Foundations:Triaged by salgado> <https://launchpad.net/bugs/423447>19:41
sinzuisalgado: I am trying to decide how to fix this. I think I need to use ensure person on the email.person *before*  it checks if the person is the current user or someone else19:42
salgadosinzui, that might create a Person entry for someone who's not a Launchpad user19:44
sinzuisalgado: exactly my concern19:44
sinzuisalgado: This event implies these are the same users, so we need to merge accounts, but we cannot until both accounts has a person, which sounds like a bad design :(19:46
salgadoyeah, that's exactly why I said this is a tricky one in that last comment on the bug report19:47
salgadowe could "merge" accounts, maybe?19:48
sinzuisalgado: yes that sounds right (and lightweight), but we have never exposed an account in traversal. I think we need a new kind of login/authtoken19:49
salgadosinzui, yes, I think we'd need that, but this might become a non-issue once we split the auth/main databases for real19:52
sinzuiyes19:53
=== gary-lunch is now known as gary_poster
sinzuisalgado: if we do not know how to fix this, we could at least avoid the oops by adding a third condition that states the email address is owned by a email.account.displayname. We provide an action for the user to choose a merge. the action will create the Person for the account and then redirect to +requestmerge19:59
salgadosinzui, that sounds good to me.  another option would be to change the view that handles ACCOUNTMERGE tokens to create the missing Person, if needed20:00
sinzuino, that is ugly too. What happens when the user decides that the SSO account is the master, and the current person/account is the dupe?20:01
salgadosince an SSO account is identified by its email address, I don't think that's a problem20:01
salgadowe'd move the email address to the remaining account, so to the user it'd seem as if there ever was just one account20:02
* sinzui ponders if he looses U1 data if his email address goes to an account that has not used U120:03
kfogelsinzui: My mods to make that bugs portlet test expect the new stuff don't seem to take effect -- I'm wondering if I'm missing something obvious.  http://paste.ubuntu.com/378578/20:03
thumpermorning20:06
sinzuisalgado: I think adding a 3rd condition and creating the person as needed by ACCOUNTMERGE is a right, but I really do not know who other apps use account, and I wonder is bad things are happening know when we merge persons.20:07
sinzuikfogel: the output implies that there are more lines to change, or worse, we are over testing the whole portlet.  I see 5 failure *before* the part of the test you changed.20:13
kfogelsinzui: I'm accustomed to seeing "ghost failures" that precede an actual failure, but what puzzles me is that the change in my branch is minimal (just adds that new line to the portlet), and yet the same test currently passes in db-devel pristine.20:14
adiroibanwhen exposing a new interface via LP API, after adding export_as_webservice_entry, should I do any other steps to be listed in +apidoc?20:14
sinzuikfogel: I think the test failures are legitimate, though I question why everything is tested twice for a story...this looks like state testing that I would do in a unittest.20:15
sinzuikfogel: You changed the obvious print_portlet_contents calls, but not the print_portlet that often precede the test you changed20:16
kfogelsinzui: no idea how I missed that.  Thank you for the clear eyes.20:17
kfogelsinzui: (after a certain point, a lot of similar stanzas start to look the same, sigh)20:18
sinzuikfogel: this is not a story. it is a bad test, though this is the right place to make your addition.20:18
kfogelsinzui: sigh.  I want to file an XXX, but... every place I turn (and adeuring confirms this is not unusual) there's something like that, where we all agree it's not ideal and that it should be fixed.  I could have, almost literally, spent my entire day filing XXXs.20:20
sinzuikfogel: yes. That is why adding to this test is the right thing at this moment. We don't need another note stating the obvious20:23
kfogelsinzui: :-)20:23
kfogelsinzui: is it necessary to add a test anywhere expecting a non-zero patches count?20:24
sinzuiLooks like it in this test. I would consider using "..." in places where we really do not want to do duplicate verification20:25
sinzuiadiroiban: no the API is generated from the introspection of the interface20:27
kfogelsinzui: sorry, didn't understand "Looks like it in this test."  (agree about the ... thing, in the general case)20:28
sinzuikfogel: this test looks like it really wants you to risk a hand injury repeating uninteresting information20:29
kfogelsinzui: agreed, but I can use ... to elide that stuff.  My question is, should we also test for a case where there are more than 0 bugs with patches?  If so, I'm tempted to do it in patches-view.txt instead of in xx-bugs-statistics-portlet.txt, but would like your opinion.20:30
sinzuikfogel: yes, you are right on all points20:30
kfogelsinzui: cool, thanks for the help.  off to do that now, then will submit to you for review20:31
kfogelsinzui: is there any way for me to "import" print_portlet() and print_portlet_contents() from that other test, or do I need to move those two methods to some other place first?20:32
kfogele.g. ./lib/canonical/launchpad/testing/pages.py20:32
=== Edwin-lunch is now known as EdwinGrubbs
=== salgado is now known as salgado-afk
sinzuikfogel: you would need to move the two helpers into a module first, then reimport them into a doc test.20:34
adiroibansinzui: hm... but it looks like +apidoc/index.html is mapped to lib/canonical/launchpad/apidoc/index.html, and this is a static file. make apidoc is not updating this file.20:35
kfogelsinzui: (is pages.py (see above) the right module?)20:36
sinzuiadiroiban: make build generates the wadl doc20:36
jtvadiroiban: your branch has landed20:40
adiroibansinzui: thanks. Then something is fishy on my side as after running make build, the wadl files and apidoc/index.html were not updated20:40
sinzuihmm20:40
adiroibanjtv: thanks. I'm waiting to hit edge and I will test it20:41
jtvcool20:41
bachi sinzui - you free for a quick call?20:52
adiroibanjtv: do you have time to answer some questions regarding adding something to the Launchpad API? I have something like this: http://paste.ubuntu.com/378609/20:57
adiroibanbut make apidoc, make build or make run will not update the +apidoc/index.html20:58
sinzuiadiroiban: it does not update, delete it first20:58
jtvadiroiban: all I can add to what sinzui says is, "hey, great that you're doing that!" :-)20:59
adiroibanit worked. thanks! Can I add this note to https://dev.launchpad.net/API/ImplementingAPIs ?21:02
sinzuiadiroiban: I think we need to document that trick some where. I think I discovered it as 45 minutes of shouting at my computer21:12
sinzuibac: I am available now21:12
sinzuibac: this is the report we are linking to from the new portlet https://edge.launchpad.net/ubuntu/lucid/+needs-packaging21:15
adiroibansinzui: I have added a tips and tricks section on ImplementingAPIs wiki page. I put this info togheter with some tips from wgrant to simplify the testing of APIs21:16
wgrantsinzui: Hm, that view name is suboptimal.21:17
wgrant"needs-packaging" is a bug tag meaning that some software needs to be packaged.21:17
sinzuiwgrant: rock, file bugs and tell me how to make this work21:17
=== bjf is now known as bjf-afk
rockstarthumper, this looks much better: https://devpad.canonical.com/~rockstar/floating.png21:20
thumperrockstar: +1 on that21:20
deryckHave a nice <whatever-day-part-applies>, all.  I'm out.  cheers.21:20
rockstarthumper, great.  I'll pass that on to abentley.21:23
mwhudsonthumper: i'm re-requesting mirrors on those brancehs james_w mentioned, i think that'll clear most of the formats up21:36
thumpermwhudson: cool, I was going to ask;)21:37
james_wthanks mwhudson21:37
james_wthat's based on what the db thinks fwiw21:37
mwhudsonjames_w: ok, that's good to know21:38
mwhudson(and a good thing to check, i think)21:38
thumperyeah, if the db thinks it is 2a then the puller and scanner both worked21:40
thumpermwhudson: we should talk about the recipe stuff some more, perhaps around 1pm?21:44
=== bjf-afk is now known as bjf
mwhudsonthumper: okay21:47
Ursinhahow could I searchTasks using the order_by parameter? I'm trying to order_by date_created and it gives a KeyError22:11
poolieUrsinha: it's 'datecreated'22:12
Ursinhapoolie: ahhh22:12
Ursinhapoolie: thanks :)22:12
pooliei found this out by grepping the code :-/22:12
poolienp, you're welcome22:12
wgrantI normally work it out by doing an advanced search and looking at the query string.22:12
pooliei think i tried that22:12
pooliethere might be an intermediate level of mapping22:12
Ursinhapoolie: maybe it would be nice to have a list in the api docs22:15
pooliei agree22:15
Ursinhapoolie: I'll file a bug22:15
poolieyou could add a tip to the api faq in help.l.n or wherever it is22:15
wgrantIt would be nice if bug search didn't suck, too.22:15
Ursinhawgrant: :)22:15
pooliethere are some interesting recent bugs in https://bugs.edge.launchpad.net/launchpadlib/+bugs22:16
pooliemostly 'be faster'22:16
rockstarthumper, any idea where the launchpad.branches is exposed for launchpadlib?  It thinks getByUniqueName is exposed, but I don't see where.22:17
thumperrockstar: not really, jml did that bit, but try grep :)22:17
rockstarthumper, grep doesn't seem to be very helpful.22:18
rockstarOr maybe it's just too noisy and I need to adjust the squelch on it.22:18
rockstarAh, I see now.22:19
thumperrockstar: where? I didn't see it22:22
Ursinhapoolie: I guess it's somehow bug 25694022:23
mupBug #256940: Make it possible to discover enumerated values <launchpadlib :Triaged> <https://launchpad.net/bugs/256940>22:23
thumperwgrant: ping22:24
rockstarthumper, IBranch has pass-thru methods for IBranchLookup22:24
rockstarUnfortunately, it doesn't seem to work.22:24
wgrantthumper: Hi.22:25
thumperwgrant: do you know if sourcepackagename is exported anywhere?22:25
thumperwgrant: I was considering exporting the text of the name from the sourcepackage object22:25
wgrantthumper: Exporting it is forbidden. Just export a text field.22:25
thumperwgrant: yes... that is what I ment, but do you know if it is done anywhere yet22:26
wgrantthumper: See ISourcePackagePublishingHistory22:26
thumperwgrant: defined where?22:27
wgrantthumper: lib/lp/soyuz/interfaces/publishing.py22:27
thumperta22:27
thumperwgrant: just wanted to be consistent in naming22:27
wgrantGood idea.22:27
thumperfooey22:29
thumperit is exported but as "name"22:29
thumperyay (not)22:29
wgrantHeh.22:29
thumperoh well, at least I don't need to do that22:30
james_wthere is source_package_name elsewhere I think22:31
thumperjames_w: yeah, on the publishing history that wgrant mentioned22:31
thumperjames_w: I'm just exposing the sourcepackage on the branch22:31
thumperthrough the api22:31
james_wand source_name22:32
james_wand package_name22:32
james_wso, clearly you need to pick a new one22:32
thumperjames_w: how about package_source_name?22:33
james_wunused, good choice!22:33
thumperw00t22:33
pooliehello james_w22:34
james_whi poolie22:34
pooliejames_w: jam was having some trouble getting import-packages running to test it22:34
pooliei don't know if he already posted or spoke to you about it22:34
james_whe has22:34
pooliek22:34
james_wI think it's running now, if a little slow for him22:35
=== Ursinha is now known as Ursinha-afk
jmlrockstar, I'm pretty sure the getByUniqueName API works.23:37
rockstarjml, yes, there was a previous facepalm moment that was not announced on IRC.  :)23:37
jmlrockstar, :)23:38
leonardrgary, flacoste: the new launchpadlib was packaged and uploaded to debian earlier today23:50

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