/srv/irclogs.ubuntu.com/2009/12/03/#launchpad-dev.txt

lifelessjkakar: On Wed, 2009-12-02 at 17:36 -0700, Jason Earl wrote:00:43
lifelessGordon Tyler <gordon@doxxx.net> writes:00:43
lifeless>00:43
lifeless> > lp:~doxxx/bzr/bzrmeta-ignore00:43
lifeless> >00:43
lifeless> > This is the first stage of my branch converting .bzrignore to00:43
lifeless> > .bzrmeta/ignore. It does not have any backwards-compatibility handling00:43
lifeless> > of .bzrignore which is the next stage I will be tackling. All tests00:43
lifeless> > pass and I've updated the docs except the non-English stuff.00:43
lifeless> >00:43
lifeless> > If .bzrignore exists and 'bzr ignore blah' is used to add an ignore00:43
lifeless> > pattern, should it add it to the existing .bzrignore or should it00:43
lifeless> > convert the .bzrignore to .bzrmeta/ignore and add the new pattern to00:43
lifeless> > that?00:43
lifeless>00:43
lifeless> This seems like a pretty simple question to me.  If you use the existing00:43
lifeless> .bzrignore file, then old clients will continue to work.  If you convert00:43
lifeless> the existing .bzrignore file to .bzrmeta/ignore, then old clients will00:43
lifeless> stop working.00:43
lifeless>00:43
lifeless> Using the .bzrignore file if it exists means that projects can migrate00:43
lifeless> to the new structure on their own terms.  New projects will end up with00:43
lifeless> the proper .bzrmeta file, and existing projects can migrate as the need00:43
lifeless> arises.  If a particular project wants to allow older clients then00:43
lifeless> someone simply has to create the proper .bzrignore file (once) and00:43
lifeless> everyone is happy.00:43
lifeless>00:43
lifeless> Jason00:44
lifeless>00:44
lifeless>00:44
lifeless>00:44
lifelessoh, fail.00:44
* lifeless is very very sorry00:44
lifelesshttps://bugs.edge.launchpad.net/launchpad-foundations/+bug/41969100:44
* lifeless also hates firefox for not selecting properly00:44
lifelessjkakar: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/41969100:44
mupBug #419691: Many tests use unnecessarily expensive layers <build-infrastructure> <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/419691>00:44
mupBug #419691: Many tests use unnecessarily expensive layers <build-infrastructure> <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/419691>00:44
jkakarlifeless: Thanks!00:47
lifelessI had forgotten the details. I'm posting a couple of updates there.00:48
=== salgado-afk is now known as salgado
=== mbarnett changed the topic of #launchpad-dev to: **Launchpad will be down/in read-only from 01:30 UTC until 02:30 UTC for a code update ** This is Launchpad Development Channel | Week 4 of 3.1.11 | PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is
maxboh dear. I guess rollout didn't go so well :-/01:28
mwhudson"just" delayed, i think01:31
spmprep had lots of issues. lots of lessons learned, so for all the badness, it's bad in a positive outcomes way.01:32
=== mbarnett changed the topic of #launchpad-dev to: This is Launchpad Development Channel | Week 4 of 3.1.11 | PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is
=== mbarnett changed the topic of #launchpad-dev to: This is Launchpad Development Channel | Week 4 of 3.1.11 | PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is logged: http://irclogs.ubuntu.com/
jmllifeless, https://bugs.edge.launchpad.net/launchpad-foundations/+bug/41969108:03
mupBug #419691: Many tests use unnecessarily expensive layers <build-infrastructure> <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/419691>08:03
adeuringgood morning08:24
mrevellmorning09:09
jmlgood morning09:14
* jml would like to write a computer program09:21
bigjoolsjml: I have plenty waiting, and my rates are very unreasonable09:27
jmlbigjools, sadly, I have wiki pages to edit first09:30
bigjoolsjml: what an exciting life you lead in London!09:30
wgrantHe'll be back with us soon!09:30
bigjoolswgrant: BTW wellington is a go.09:31
bigjoolsdid someone contact you?09:31
wgrantbigjools: Not yet, unless they were very spammy.09:31
* wgrant checks filters.09:31
bigjoolsit would have been from Marianna09:31
bigjoolsperhaps you should contact her and ask for booking agent details09:32
bigjoolsanyway, I have a call, bbiab09:32
=== henninge is now known as henninge-afk
=== henninge-afk is now known as henninge
jmlwill bzr-svn imports be in this rollout?10:15
wgrantgmb: Intriguing. I'm trying that bug import, and it worked the first time on both my local system and an ec2 instance. But a 'make schema' and retry later, and it fails as you said...10:33
gmbOh ho... that's very weird.10:33
gmbwgrant: ... And thinking about it, I didn't do a make schema before testing it on the machine where it worked.10:34
wgrantgmb: Hrmhrm.10:34
wgrant'WTF' comes to mind.10:34
gmbIndeed.10:34
* wgrant kills all clients, drops the DB, and makes schema.10:34
gmbLet me just get this branch on the review queue and then I can take a proper look at this weirdness.10:35
wgrantThanks.10:36
=== jelmer_ is now known as jelmer
wgrantgmb: Oh. It does some crazy bug number map caching thing. That explains the issue here.10:54
wgrantOnce I kill that file, it works perfectly.10:54
gmbwgrant: Ah, okay. What's weird is that when I encountered the problem I was running without a cache.10:58
gmbUnless it creates one on the sly and doesn't tell me...10:58
wgrantgmb: It does.10:58
gmbHah.10:58
gmbBeautiful.10:58
wgrantMake sure you get the latest version of the file, or you'll get a couple of errors.10:59
gmbwgrant: Yep, I'm up-to-date there.10:59
gmbJeeesus, make schema takes ages on this machine.10:59
* gmb really needs something with a bit of punch11:00
deryckMorning, all.11:02
wgrantgmb: David and I are looking through it now, but it all seems to have worked properly.11:05
gmbwgrant: Excellent. I'll move straight onto the ec2 bit then.11:05
gmbSave me wasting time waiting for make schema to complete.11:05
wgrantgmb: What's the purpose of the ec2 test?11:06
gmbwgrant: Well, actually, that's a fair point :)11:06
gmbHabit.11:06
gmbIs all it is.11:06
gmbwgrant: so, scratch that, I'll get it on staging today.11:06
=== matsubara-afk is now known as matsubara
wgrantgmb: Great, thanks.11:33
=== mrevell is now known as mrevell-lunch
jmlwhat's the correct query to do to get the current development series for Ubuntu?12:53
maxbCan someone raise a LOSA? http://bazaar.launchpad.net/<anything> is broken - redirects to LP root12:53
=== mrevell-lunch is now known as mrevell
mrevellmthaddon, around? ^^^^^^12:57
salgadomthaddon is on leave, and the LOSAs from the US should not be around yet12:58
salgadoelmo, ^12:58
mrevellthanks salgado12:59
vilaSorry to arrive late in the game but is there any estimate for bazaar.launchpad.net come-back ?13:07
maxbWe seem to be lacking in UK LOSAs. It might have to wait until the US wakes up.13:11
vilamaxb: thanks13:12
* jml posts a note to launchpadstatus13:13
=== jml changed the topic of #launchpad-dev to: HTTP access to branches is down | This is Launchpad Development Channel | Week 4 of 3.1.11 | PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is logged: http://irclogs.ubuntu.com/
jmllet's escalate this thing properly, eh13:16
=== danilo_ is now known as danilos
=== maxb changed the topic of #launchpad-dev to: Loggerhead and HTTP access to branches are down | This is Launchpad Development Channel | Week 4 of 3.1.11 | PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is logged: http://irclogs.ubuntu.com/
=== henninge_ is now known as henninge
vilalooks like  http://bazaar.launchpad.net is back14:32
matsubarastub, Chex, gary_poster, rockstar, bigjools, danilo_, sinzui, allenap: LP production meeting in 15 min @ #launchpad-meeting14:45
sinzuimatsubara: Can we add an agenda item to the meeting. gary_poster, bigjools, danilos, and myself as in another meeting at the same time. It would help if the production meeting could be held an hour later14:46
matsubarasinzui, sure thing. I'll add it to the proposed items section and we can discuss.14:47
danilosmatsubara, thanks :)14:48
=== beuno changed the topic of #launchpad-dev to: This is Launchpad Development Channel | Week 4 of 3.1.11 | PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is logged: http://irclogs.ubuntu.com/
=== salgado is now known as salgado-lunch
jmlbeuno, thanks! next time please also update identi.ca/launchpadstatus.15:31
beunojml, will do15:31
henningesinzui: ping15:32
sinzuiHi henninge15:33
henningesinzui: FYI, I have a branch ready to land that adds three-column-list to style-3-0.css15:34
henninge;-)15:34
henningesinzui: first file in this mp: https://code.edge.launchpad.net/~henninge/launchpad/bug-425583-languages/+merge/1559415:34
sinzuihenninge: I wonder if we can use that on the root pages then remove the old 3 column markup15:35
henningesinzui: I don't see what you mean.15:37
henningetwo/three-column-list only works well with elements of equal height.15:38
sinzuiThe root pages have  3 column layouts that use float right and float left15:38
* sinzui has a branch that removed 1100 lines from the CSS15:39
* henninge reviewed it (or part of it?)15:39
henningesinzui: root pages are pages like https://answers.edge.launchpad.net/ ?15:40
sinzuiyes15:40
sinzuiWe never developer a 3.0 design for them15:40
sinzuiThe tour button is 1.015:40
sinzuibeuno: would prefer that the counts be higher on the page as we show on other 3.0 pages15:41
henningewhich counts?15:41
sinzuilook at the footer of that page15:42
henninge 1312134 strings in 19148 translation templates15:42
henninge289 languages, 43469 translators and 32 translation groups15:42
henningeoh!15:42
henninge"higher on the page"15:42
henningenot "counts be higher" ...15:42
henninge:-D15:42
sinzuiEnglish sucks15:43
beunosinzui, in what page?15:43
henningetoo few commas ....15:43
sinzuibeuno: https://answers.edge.launchpad.net/ has counts at the bottom of the page as an after thought15:44
sinzuiThe icons are hacked in that page too, the sprite has better spacing15:44
beunoargh15:45
beunohttps://pastebin.canonical.com/25324/15:45
beuno(when hitting code.lp.net15:45
beuno)15:45
henningebeuno: got it too, and on translations15:45
beunosinzui, counts on those top level pages seem to be on the bottom15:45
sinzuiyes, 1.0 style15:45
beunosinzui, I think the counts are fine on the bottom15:46
sinzuiokay15:47
beunoI'd like them formatted the same way as the homepage15:47
beunosalgado cooked up a formatter15:47
=== beuno is now known as beuno-lunch
=== matsubara is now known as matsubara-lunch
=== deryck is now known as deryck[lunch]
=== salgado-lunch is now known as salgado
asabilhi again16:34
asabilis there a list of the cron jobs that I need to have running in order to run launchpad properly ?16:35
=== matsubara-lunch is now known as matsubara
=== deryck[lunch] is now known as deryck
=== beuno-lunch is now known as beuno
mptbeuno, hi, is there a scalable version of the PPA icon?17:39
beunompt, hi. I think not, because it had to be pixeled in the end17:44
beunolet me search though17:44
mptbeuno, it would be nice if we could use it for PPAs in the Ubuntu Software Center too17:44
beunompt, 64x64 too small?17:45
* beuno is pinging the designer who do it17:46
mptbeuno, oh, it wasn't you?17:46
mpthm, this would require signing Canonical Contributor Agreement17:46
mptbeuno, unless they have already17:46
beunompt, I didn't do the pixel-munging, no17:46
beunompt, we contracted out the work17:46
beunowe own it17:46
mptah, great17:46
mptanyway, I have to leave now, back in an hour or so17:46
mwhudsonmorning17:52
mwhudsonjml: you around?17:52
bigjoolsmwhudson: he's on the way to the airport17:53
bigjoolsand morning!17:53
mwhudsonbigjools: hello!17:55
bigjoolsdid you read my reply to your email?17:56
mwhudsonbigjools: i just did17:56
mwhudsonbigjools: it seems i was only confusing on one minor point this time :-)17:56
bigjoolswell that's an improvement :)17:57
bigjoolsI have to go for food now but I'll be back later17:57
mwhudsonbigjools: to do with buildstate17:57
mwhudsonok17:57
mrevellback later to check up on the roll-out, if I can, if not see you tomorrow.17:58
bigjoolsbbiab17:58
sinzuibeuno: I have a plan to give karma to all the project maintainers during my weekends this month. 1) Extend structural subscriptions to include project lifecycle event. 2) ensure that events are published, give karma for the important events19:07
beunosinzui, you have my blessing and admiration for it. Make sure you blog about it, there's quite a few project owners who feel they should be getting more karma for being the maintainer of the project19:09
sinzuigetting more...they get NONE19:09
beunoright, so it's easy to give them more!  :)19:09
sinzuiI am very aware of the bug that lets someone get more karma then me when I have slaved by weekends to make a wonderful too19:10
beunosinzui, if you need any UI, let me know and I will weekend it as well19:11
sinzuibeuno: I may take you up on that. I need to extend the structural subscription page (which only shows bugs)...19:11
mwhudsonjml: jabber gave you away19:12
sinzuibeuno: We could do something interesting on the structural subscription page, like show that there is a notification level for bugs: Nothing, lifecycle, metadata, and comments19:14
* beuno looks up the current page19:18
mptbeuno, any luck finding a vector PPA icon?19:18
beunompt, it's in your inbox19:18
mptoh excellent19:18
mptthanks very much beuno19:18
beunoy'er welcome mpt19:19
beunosinzui, so the current structural subscription is done via de bug index page. Would we add it on the overview as well?19:20
beunomove it more towards "project subscription"?19:20
sinzuibeuno: intellectronica landed a nice update that ensures that the structural subscription link appears correctly for most of the objects on the over view page.19:23
sinzuibeuno: The edit page says, bugs, but that is a label. We set it to bugs because that is all that it shows19:24
=== bigjools-afk is now known as bigjools
sinzuiI may need to ad the link to objects that I want to subscribe to, but do not have bugs.19:24
bachi sinzui.  for the snapshot bug we've talked about product.branches.  i'm confused as to where it comes from.  it isn't in the interface and i don't think it should be in the model.  do you know anything about it?19:29
sinzuibac: The problem I faced was a year ago. The attr may have been removed from the interface since then. I think I must have because private branches (branch visibility) requires a method19:30
sinzuis/I think I must/I think IT must/19:30
bacsinzui: i've removed it from the model and 'test -vvm lp.registry -t product' passes19:31
sinzuiumm19:31
sinzuiwell19:31
bacsinzui: i think it is a leftover19:31
sinzuiI wonder if anything uses it19:31
bacsinzui: i can't find anything.19:32
sinzuiNothing obviously uses it in python or template19:32
sinzuibac: the only use I suspect is 'context/branches' in branch-listing.pt19:34
bacsinzui: and i'll be that is an oversight19:36
bacbet19:36
sinzuibac: I think you are right. I do not see an tests in code for product.branches19:39
sinzuiI see that potemplate still thinks it has a calendar19:39
sinzuiWho wants to remove schoolbell and links to the calendar that was removed fore the release of 1.019:41
bacsinzui: in branch-listing.pt the context is an IBranchBatchNavigator not an IProduct, so that's not affected19:44
sinzuiI think then that problem has passed19:45
bacgreat.  de-crufting now19:46
mptbigjools, I have a question about the Release files in PPA19:53
bigjoolsmpt: shoot19:54
mptbigjools, <http://www.debian.org/doc/manuals/repository-howto/repository-howto#release> says "Label: Some label adequate for the packages or for your repository."19:54
mptbigjools, but <http://ppa.launchpad.net/yorba/ppa/ubuntu/dists/karmic/Release> for example simply has "Label: Ubuntu"19:54
mptbigjools, should it perhaps be the display name of the person/team that owns the PPA instead?19:55
mptbigjools, e.g. "Label: Yorba"19:56
bigjoolsmpt: sorry phone went off20:01
bigjoolslet me look20:01
mptok20:01
bigjoolsmpt: it could be changed I guess20:03
mptbigjools, the reason I ask is that for the Ubuntu Software Center, we want to show a nice display name for each PPA20:04
bigjoolsheh, you're very trusting of display names set by users then :)20:04
mptbigjools, and (I'm assuming) it would be easier if we could just get that from the Release file we've already read, rather than using the Launchpad API to get the archive's display name20:04
=== salgado is now known as salgado-afk
mptbut showing "Ubuntu" as the name of every PPA wouldn't be so great20:05
bigjoolsmpt: it's a trivial change to make if that's what you want, file a bug and I'll get it sorted20:05
bigjoolsI've seen some pretty awful display names mind20:06
mptbigjools, users need to add PPAs manually in the first place, so I don't think it's a big deal20:06
mptthough I'm willing to be persuaded otherwise20:06
mptbigjools, display names of PPAs?20:06
bigjoolsyeah20:07
mptAny examples you remember?20:07
bigjoolsnot off hand, just really short crpytic stuff20:07
mpthm20:07
mptmaybe it appearing like that in the USC will be a forcing function to get them to make the names sensible20:07
mptor maybe it won't20:07
bigjoolshttps://edge.launchpad.net/ubuntu/+ppas?name_filter=20:08
bigjoolssee there20:08
wgrantbigjools: LP doesn't even suggest a possibly correct value any more.20:08
wgrantSo users have no idea what to put.20:08
bigjoolsyep20:08
bigjools"PPA for wangker".... awesome20:09
mptIf we can't trust the display name the maintainer provides, there isn't anything else we could use, really20:10
bigjoolsmpt: do you have plans to inclide all PPAs?20:10
bigjoolsor only reviewed ones?20:10
mptWe could use "PPA for {owner}", but that fails in the case of multiple PPAs20:10
mptbigjools, only ones the user has added.20:10
bigjoolsmpt: heh we've been through that before, we set the title to "PPA named X for <owner>"20:10
=== EdwinGrubbs is now known as Edwin-lunch
wgrantAnd then created keys with those names :(20:11
mptbigjools, I guess the Release Label: should actually be set to the PPA display name20:11
bigjoolsit should be yeah20:12
mptok, I'll report a bug for that.20:12
bigjoolsbut I think we need more than that20:12
bigjoolsSomething like Launchpad PPA "<displayname>"20:12
mptBy v4, users should be getting software from PPAs without knowing either what Launchpad is or what PPAs are20:13
mptThis is just a tiny step along that path, but putting either "Launchpad" or "PPA" in the display name would be something we'd eventually have to go back on I think20:14
mptHowever, all PPAs will have the PPA icon to distinguish them from official Ubuntu or Canonical archives20:15
mptWe have "LP-PPA-" in the Origin: header20:16
bigjoolsthat's for pinning20:16
mptWell maybe, but it would also tell us that it's a PPA, even if the URL didn't20:17
=== matsubara is now known as matsubara-afk
mptbigjools, reported bug 492077. Thanks for your answers.20:28
mupBug #492077: Release file for PPA contains nondescript "Label: Ubuntu" <Soyuz:New> <https://launchpad.net/bugs/492077>20:28
bigjoolsnp20:28
mwhudsonbigjools: what build state precedes FULLYBUILT or FAILEDTOUPLOAD ? that's all i'm confused over20:29
bigjoolsmwhudson: NEEDSBUILD20:29
wgrantBUILDING, you mean?20:31
bigjoolserr, yes :)20:33
bigjoolsbut technically I was still right :)20:33
wgrantTrue.20:34
mwhudson"immediately precedes" :)20:35
wgrantbigjools: Is dogfood going to come alive again at some point?20:38
wgrantWould be nice to test out the 3.0 stuff on something production-like soonish.20:38
bigjoolswgrant: very soon, the restore finished and subsequent upgrade is done now I looked at my screen session20:39
wgrantbigjools: Ooh, finally.20:39
wgrantHow long did it end up taking?20:39
bigjools17 days20:39
wgrantOuuuch.20:40
bigjoolswill be qucker next time20:40
bigjoolsmaybe a week .... :/20:40
bigjoolsI'll remember to restore into a tmp db first so I can drop the old one and rename the restored one20:40
wgrantGood idea.20:40
james_wwgrant: hi. By any chance have you ever used getPublishedSources for Debian?20:50
ajmitch17 days seems to be unusably long20:51
bigjools\o/ dogfood lives20:52
ajmitchyay20:52
wgrantjames_w: I have used it occasionally, but not for anything regular.20:53
wgrantjames_w: Why?20:53
wgrantbigjools: Excellent.20:54
bigjoolsajmitch: yeah there was a bug in the restore script but it will be considerably shorter next time20:54
james_wwgrant: just wanted a sanity check that it actually worked :-)20:54
wgrantjames_w: Assuming that you're querying for stuff that gina likes, sure.20:54
james_wI'm investigating why it never seems to do what it does for Ubuntu20:54
wgrantbigjools: Speaking of gina, it seems to be not picking up some stuff in squeeze properly.20:54
bigjools /o\20:54
wgrantIt picks the same source up in sid, but doesn't catch the testing migration.20:54
james_wyeah, I reassigned a bug the other day that looked like that20:55
wgrantjames_w: boost1.40, wasn't it?20:56
ajmitchthe one that I filed?20:56
james_wyeah, that was it20:56
wgrantActually, I wonder if the mirror is just out of date.20:57
ajmitchbug 49119320:57
mupBug #491193: Debian import of boost1.40 out of date <Launchpad itself:New> <https://launchpad.net/bugs/491193>20:57
wgrantBecause lots of new sid stuff isn't there either.20:57
bigjoolsgar20:57
wgrant(eg. dpkg)20:57
bigjools3.0 formats?20:57
ajmitchmost of this stuff isn't, I know boost1.40 isn't20:58
bigjoolsk20:58
bigjoolsI'll check the logs tomorrow20:58
bigjoolsadmins are a tad busy at the moment20:58
wgrantAh.20:58
wgrantdpkg seems to now be 3.0, so that explains that.20:58
wgrantGaaah.20:59
bigjools?20:59
wgrantdpkg >= 1.15.5 is itself 3.0 (native)20:59
wgrantAlready.21:00
wgrantSo that explains the lack of dpkg imports.21:00
bigjoolsha21:00
james_wit ran about 5 hours ago and imported ['augeas', 'emacs-goodies-el', 'gtkhtml3.14', 'lxsession', 'mpdtoys'] apparently21:00
wgrantjames_w: Is anything new in squeeze, though?21:01
ajmitchaugeas was only uploaded to sid today, so that part is up to date21:01
james_w'xfce4-power-manager' is new in squeeze in the last 60 hours21:03
james_wplus a few more21:03
=== mbarnett changed the topic of #launchpad-dev to: This is Launchpad Development Channel | Week 4 of 3.1.11 | **Launchpad will be down/in read-only from 22:00 UTC until 23:30 UTC for a code update** PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is lo
barrysinzui: ping21:22
sinzuihi barry21:22
barrysinzui: hi.  you're going to love this.21:23
* sinzui waits for the message that we need to keep moderation21:23
barrysinzui: bug 409588 is ready.  it's probably a substantive 20 characters or so change.  2325 line diff21:23
barrysinzui: lots of deletions though21:23
sinzuiha ha21:23
barrysinzui: lots of test repair21:23
sinzuisend it to me21:24
barrysinzui: you are the man21:24
sinzuibarry: what is the delete to add ratio?21:24
barrysinzui:  22 files changed, 312 insertions(+), 1003 deletions(-)21:25
sinzui\o/21:26
barrysinzui: it might be a little bit before i get the merge proposal pushed.  just watch your email.21:26
sinzuiI am available most hours of the day21:26
=== mbarnett changed the topic of #launchpad-dev to: This is Launchpad Development Channel | Week 4 of 3.1.11 | || Launchpad will be down/in read-only from 22:00 UTC until 23:30 UTC for a code update || PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is
* thumper afk for a bit21:48
barrysinzui: mp send.  i hate to do this to you, but i'm away early today.  ping me tomorrow morning with any questions.  good luck!22:03
sinzuibarry: np22:04
james_wanyone know of any changes in the way launchpadlib/wadllib handle the case of the method?22:22
james_wI'm seeing caching broken, apparently because wadllib uses "return self.tag.attrib.get('name').lower()" for the method22:22
james_wand httplib2 only checks against upper case method names22:23
james_wso it invalidates the cache every time because the method isn't a GET22:23
james_whowever, I don't know why this would have changed on this machine22:23
james_wbecause I don't think the packages have been upgraded22:24
sinzuijames_w: I do not see any changes for the current milestone: https://edge.launchpad.net/launchpad-foundations/+milestone/3.1.1122:27
sinzuior any bugs in launchpadlib about this22:27
james_wI can't work out what has changed22:28
james_wI'm pretty sure the cache used to work22:28
sinzuino api bugs reported in launchpad-foundations either22:28
sinzuicould this by a change from python 2.4 to 2.5?22:28
james_wah, good question22:30
wgrantBut isn't this a client-side issue?22:31
lifelessno, lp is slow so a cache is a must :P22:32
sinzuiwgrant: I assume it should be, but the wadl is not on the client22:32
sinzuiso as james_w asks, maybe the wadl file changed22:32
=== mbarnett changed the topic of #launchpad-dev to: This is Launchpad Development Channel | Week 4 of 3.1.11 | || Launchpad will be down/in read-only from 23:00 UTC until 23:45 UTC for a code update || PQM is closed; for RC only. salgado is this cycle's RM | I am Zero OOPS and So Can You! http://is.gd/4fkLl | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | This channel is
wgrantUhoh.22:34
james_wno, not a 2.4/2.5 issue22:34
james_wthis machine was always 2.5 default it seems22:34
james_wso, the wadl has methods specifed as GET22:34
james_wbut when you use a NamedOperation it is lower cased22:35
ajmitchrollout delayed again?22:35
james_wthis is passed down to httplib2, which doesn't uppercase it, but compares with GET22:35
sinzuiajmitch: the rollout yesterday wa aborted22:35
ajmitchsinzui: So I saw, what broke?22:36
sinzuijames_w: named ops have certainly been problematic for my work, but I do not see any changes to them recently (me watches for fixed)22:37
sinzuiajmitch: The switch to read-only did not work on all machines.22:37
james_wactually, I don't think it's a regression22:39
james_wI think it's never worked22:39
james_wI just only noticed now as I recently added a lot more code that would use operations that weren't cached22:40
sinzuijames_w I think  I agree.22:40
james_wsimple test case: http://paste.ubuntu.com/334146/22:40
james_wcreate /tmp/cache22:40
james_wrun that22:40
lifelessanyone around that knows how the oauth support is glued into httplib requests?22:41
james_wand then you won't have a file in /tmp/cache with "ssss" in the name as you should22:41
lifelessI mean, I can check the code, but pointers appreciated.22:41
james_wlifeless: in launchpadlib?22:41
lifelessI want to use an oauth ticket to support screen scraping a non-lp oauth protected site.22:41
lifelessjames_w: no22:41
lifelessor rather ys22:41
sinzuiThere may be some justification to not cache, but an explicit cached arg may help22:41
lifelessyes I want to know how its glued to gether in lplib, so that I can use it from python to do non lplib things22:42
james_wlifeless: class OAuthSigningHttp(RestfulHttp):22:43
james_win launchpad.py in the launchpadlib code base22:43
james_wRestfulHttp is in lazr.restfulclient, it's a subclass of Http from httplib222:43
james_woverrides _request to add the signing headers, then calls the super22:44
sinzuilifeless: I do not think you need lplib. It is reading you mozilla cookies and passing that info in your requests. The login is automatic if you have authenticated/set-access-privs for the script.22:44
lifelesssinzui: I don't quite follow, how would python get at mozilla cookies?22:45
sinzuithe lib is reading your filesystem22:45
james_whttps://code.edge.launchpad.net/~james-w/lazr.restfulclient/fix-caching/+merge/1563523:02
james_wnot nice that that is the fix, but it works23:03
* james_w goes back to working around the issue by only ever calling each method once23:04
* mwhudson lunches23:34

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