* achiang wonders if poolie is around | 01:23 | |
achiang | or anyone that knows the launchpad api, really... | 01:24 |
---|---|---|
achiang | doing some hydrazine hacking and wondering why i can't convince the 'status' command to do what i think it should | 01:26 |
achiang | http://pastebin.ubuntu.com/704268/ | 01:26 |
achiang | results in http://pastebin.ubuntu.com/704269/ | 01:27 |
achiang | maybe wgrant might know? | 01:28 |
wgrant | achiang: You're authenticated as a user that can see that bug? | 01:30 |
achiang | wgrant: yes | 01:30 |
achiang | wgrant: i can do other things, like set tags on it, etc. (via hydrazine) | 01:30 |
wgrant | achiang: Can you print repr(t.target) and repr(self.pillar) instead of just t.target and self.pillar? | 01:31 |
wgrant | I wonder if the types differ. | 01:32 |
achiang | one sec | 01:32 |
achiang | wgrant: http://pastebin.ubuntu.com/704271/ | 01:33 |
achiang | wgrant: the output on line 2 is another debug print in there, i said, "print t" | 01:33 |
wgrant | achiang: You may have to change hydrazine to compare the self_link attribute of the objects. | 01:34 |
achiang | wgrant: let me play with that | 01:34 |
achiang | i think hydrazine might not get lots of use? | 01:35 |
achiang | seems like this would have been discovered long ago | 01:35 |
wgrant | Possibly not that bit of it. | 01:35 |
achiang | do you know anyone who *does* use it actively? | 01:36 |
achiang | i'm adding a major bit of functionality (batch processing) and would like to get UI feedback | 01:36 |
achiang | comparing self_link works as expected, thanks | 01:37 |
wgrant | Not sure, sorry. | 01:38 |
poolie | achiang, hi, i am | 01:38 |
achiang | poolie: i got squared away by wgrant, but if you want to read a few lines of scrollback, maybe you have additional insight? | 01:39 |
poolie | istr something about object identity changed in lplib and i think hydrazine has not been updated | 01:40 |
poolie | is this on oneiric? | 01:40 |
achiang | poolie: indeed, it is oneiric | 01:41 |
poolie | achiang, i do use this a bit | 01:42 |
poolie | since i got dkim signed mail landed i use it a bit less | 01:42 |
achiang | poolie: would this be a valid patch? http://pastebin.ubuntu.com/704274/ | 01:42 |
poolie | the blocking roundtrips are a bit annoying | 01:43 |
poolie | i think so | 01:43 |
achiang | poolie: ok, i'll go with it | 01:43 |
achiang | poolie: i've spent a few days trying to add sensible batch processing to hydrazine | 01:43 |
achiang | poolie: with that last bit up there, i think it mostly works now | 01:44 |
poolie | that's great! | 01:44 |
poolie | https://bugs.launchpad.net/launchpadlib/+bug/264098 is one of the things i was thinking of | 01:44 |
ubot5 | Ubuntu bug 264098 in launchpadlib "launchpadlib should implement __eq__ and __ne__" [High,Fix released] | 01:44 |
poolie | it compares the entire local proxy object state | 01:44 |
poolie | :/ | 01:44 |
poolie | so it will match or mismatch depending on the state of the local cache, i think | 01:45 |
poolie | which is probably not what you want | 01:45 |
achiang | ah, no | 01:45 |
poolie | perhaps it didn't change | 01:45 |
poolie | oh, not the whole state, just the etag and dirty attribute | 01:45 |
poolie | yes that looks like a good patch | 01:46 |
poolie | congratulations, you have commit access :) please put it in | 01:47 |
achiang | yikes! | 01:48 |
achiang | poolie: http://pastebin.ubuntu.com/704279/ | 01:48 |
achiang | poolie: that's a sample session of what i've been working on | 01:48 |
achiang | poolie: actually, read this one first: http://pastebin.ubuntu.com/704280/ | 01:49 |
poolie | oh that's great | 01:50 |
poolie | i have been doing some lp client hacking towards using text clustering to find dupes | 01:50 |
poolie | nothing actually useful yet, but it may work | 01:50 |
achiang | poolie: our use case is, we have a project that is driving towards a milestone... devs mark bugs as 'fixcommitted' as we go. QA and project managers sign off on release, and we release the project to the customer | 01:51 |
achiang | poolie: now, we want to set say, 60 bugs to fixreleased | 01:51 |
poolie | right | 01:51 |
poolie | there is already a script somewhere that does this specific thing, i think | 01:52 |
achiang | poolie: so, the idea is you filter on milestone | 01:52 |
poolie | though i would be very happy to see it in hydrazine, which would make it more generally useful | 01:52 |
achiang | and status fixcommitted | 01:52 |
achiang | then you batch status fixreleased | 01:52 |
achiang | and life is good! | 01:52 |
poolie | i'd like to see lp eventually unify those statuses and just show the bug as "fixed in milestone X, which is now released" | 01:53 |
achiang | poolie: OEM had a horribly ugly hack of hydrazine that did this, but ugly syntax | 01:53 |
poolie | but it takes some work to be sure that will be ok for everyone | 01:53 |
poolie | that's great | 01:53 |
achiang | so i've been generalizing it | 01:53 |
achiang | (it had an ugly implementation too) | 01:53 |
poolie | i really hope this can be a nucleus for generally useful clients, rather than everyone writing one-offs | 01:53 |
poolie | ok, i've got to go out | 01:54 |
achiang | ok, cool | 01:54 |
achiang | look for a MP next week | 01:54 |
poolie | sure, thanks | 01:54 |
achiang | thanks for the help (and wgrant!) | 01:55 |
=== Quintasan_ is now known as Quintasan | ||
=== yofel_ is now known as yofel | ||
=== bulldog98_ is now known as bulldog98 | ||
=== danilo_ is now known as danilos | ||
coffeecup01 | I found a branch of scripts that I would like to run but dont know how to run them? I used the bzr command how do i initialize them? | 18:56 |
coffeecup01 | Bueller... Bueller... Bueller? | 18:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!