[12:07] hey [12:07] does anyone know how to rebuild the fti in sampledata? [12:07] I copy and pasted and now I have bogus data in the fti fields [12:08] it's updated by a trigger [12:08] okay so far [12:08] so you can insert whatever you want without fti and it'll generate the fti for you [12:08] do I need to explicitly clear the field? [12:08] maybe not [12:09] what do I do? make schema? === kiko tries [12:10] kiko: make sampledata [12:11] not newsampledata? === G0SUB [n=ghoseb@ubuntu/member/g0sub] has joined #launchpad [12:12] meh, probably === kiko attempts [12:12] make schema loads -> database [12:12] make newsampledata unload -> disk [12:12] and how do I get fti generated? [12:12] make schema? [12:14] what's wrong with pqm, btw? it hasn't hung once today [12:15] I think it's not really running tests [12:15] just pretending to === kiko fails to get fti fields updated [12:16] triggers are disabled to load sampledata [12:16] so a make schema won't do it [12:16] what do I need to do? [12:17] copy the insert lines and paste them into psql [12:17] :) [12:17] ok [12:17] kiko: launchpad test suite got fixed - I talked with spiv, SteveA and JamesH at london [12:17] kiko: then jamesh fixed it [12:17] wow [12:17] was it always the same hang? [12:18] the external processes is what fucked it over [12:18] the ones that daemonised [12:18] so the process group killer could not kill them [12:19] what would happen is some failures would not teardown 'right' [12:19] then there would be a stale process connected to the db [12:19] after that, every test run was doomed === sgt_pepper [n=sgt_pepp@200.69.103.130] has joined #launchpad [12:24] FAILED (errors=46) [12:24] I think ddaa will be unhappy [12:28] muhahha [12:28] pqm has been nice to me today [12:33] food! [12:33] back soon [12:39] food, bah, what a wimp! [12:39] real hackers don't eat [12:39] they live off prana === kiko make schemas for the, say, 10th time? [12:43] Merge to devel/launchpad/: [trivial] Add a harness Makefile target for the sake of convenience and my wrists (r3418: kiko) [12:56] i need ubuntu's cds [12:56] sgt_pepper, shipit.ubuntu.com [12:57] thank kiko [12:57] sure [01:00] ubuntu have suport openoffice2.0? === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #launchpad [01:03] sgt_pepper, yes === mdke [n=matt@ubuntu/member/mdke] has joined #launchpad [01:06] thank Burgwork [01:06] sgt_pepper, np [01:09] kiko: ping? [01:09] elmo, pong [01:10] ah, never mind sorry, I'm being an idiot [01:10] never [01:11] but I should roll home if I am to not miss my swimming tonight [01:11] catch you all later [01:15] tchau [01:16] join #glud [01:16] ./join #glud [01:21] Merge to devel/launchpad/: [trivial] Last part of bug 30500: fix package searching for distroarchrelease, allowing us to match on non-ftiable values such as 'at'. Includes test, yay (r3419: kiko) [01:43] ok, wtf [01:44] how can adding a 3rd table to a from clause (no where clause at all) make a select return no results? [01:44] literally, 'select * from foo, bar;' works, 'select * from foo, bar, bat;' returns no rows [01:45] mmm, is there a relation ? [01:45] how do you mean? [01:47] if you do a \d bat in psql, is there a constraint between the tables [01:47] no, nothing, they're throwaway tables I just created [01:50] so, I never use that syntax ;). Try adding a full outer join perhaps; [01:52] hmm, I'm wondering if I'm shooting myself in the foot by calling the table 'temp' ;) [01:52] uhm [01:52] perhaps ;0 === erdalronahi [n=erdal@p50874995.dip.t-dialin.net] has joined #launchpad [02:00] hi all === erdalronahi [n=erdal@p50874995.dip.t-dialin.net] has joined #launchpad [02:05] morning === spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad [02:26] spiv: are you blocked on anything for the doc-bazaar review ? [02:30] spiv: you broke my nagios again [02:30] elmo: what went down ? [02:34] lifeless: https://lists.ubuntu.com/mailman/private/launchpad-reviews/2006-March/002580.html is still unanswered. You've told me (although Steve still hasn't replied to my emails directly) that the format is acceptable, but I'm still not sure that doc/ in launchpad is a better location than the wiki. [02:34] elmo: Hmm, that's surprising. I'll take a look. [02:34] spiv: it's specific, I'm no longer getting salt info, back I think [02:34] that may be considered a feature, I dunno [02:34] check_authserver - FAIL: missing salt from returned data [02:35] Oh, I see. [02:35] Yeah, it's returning v2 stuff from /RPC instead of v1. [02:35] Not that anything is still using v1 that I know of... [02:36] what's the difference between v2/v1? [02:37] elmo: see the comment near the top of https://wiki.launchpad.canonical.com/AuthServerAPI [02:37] cool, thanks [02:37] spiv: do you know how annoying links to password-requiring-archives-are ? [02:37] spiv: i.e. whats the date & title [02:37] lifeless: my browser auto-completes them, so no, I don't :P [02:37] spiv: mine hates me [02:38] lifeless: March 6 and "david/launchpad/doc-bazaar" [02:38] teams ['[{'displayname': 'Louise McCance-Price', 'id': 99, 'name': 'name99'}] '] [02:39] lulu! [02:39] oh, right,that's by design [02:39] how weird === Ubugtu [n=bugbot@ubuntu/member/seveas] has joined #launchpad [02:42] spiv: if you get stuck like this again, please bounce the branch to me. [02:42] lifeless: Ok. [02:43] spiv: your questions boiled down to 'I cant review this without someone else taking a decision' - which is fine, but while its in your queue, I'll be heckling *you* rather than the person you are blocked on. [02:43] now I've made it steves problem [02:44] sweet [02:44] we are down to 2 days as the oldest outstanding unreviewed branch, modulo kikos which I know about [02:44] now to sustain it === mdke_ [n=matt@ubuntu/member/mdke] has joined #launchpad [03:59] Gooooooooooooooooooooooooood afternoon Launchpadders! [04:01] that was fast === stub [n=stub@ppp-58.8.6.146.revip2.asianet.co.th] has joined #launchpad === mpt [n=mpt@219-89-143-155.jetstart.xtra.co.nz] has joined #launchpad [04:32] lifeless, every time I've tried to land a branch in the past two days, PQM says "database creation failed: ERROR: source database "launchpad_ftest_template" is being accessed by other users" [04:36] It would actually say a heck of a lot more than that - please paste the output [04:39] when I submit it to Kinnison's paste service I get an empty page in response [04:39] hmm, maybe it's too big [04:39] no, fails with a shorter one too [04:42] mpt: there is a bug in your branch - other branches are landing find [04:42] *fine* [04:42] All the tests are passing [04:43] mpt: try 'make check_merge' [04:43] I can nearly guarantee that that will break. [04:44] I thought make check_merge was what PQM did [04:44] it is [04:44] and PQM says all tests passed [04:45] there are multiple things that emit 'tests passed' output [04:45] the only thing that /matters/ is the return code from 'make check_merge' [04:45] if that is 0 - your branch lands. if its not, its rejected. [04:47] right, but if make check_merge gives me exactly the same output, it's not going to help, because it's not telling me where the failure is [04:48] mpt: well its often easier to debug when you can look for active processes, etc locally [04:53] No module named vfs.ivfs [04:53] Oh, I don't have twisted in this branch yet [04:53] but PQM does, so that's not the problem... === mpt tries again === LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad [06:14] Merge to devel/launchpad/: [trivial] Add options.verbose flag to script verbosity setup (r3420: Stuart Bishop) [06:49] Well, that was interesting === mpt_ [n=mpt@222-154-182-157.jetstream.xtra.co.nz] has joined #launchpad [07:10] lifeless, https://chinstrap.warthogs.hbd.com/~dsilvers/paste/fileEhBDDm.html [07:10] There's just one error, near the bottom, which I'm pretty sure is nothing to do with me [07:10] (my branch is just template changes) [07:13] and it's not the same error as PQM gave [07:13] mpt_: ok. so you've done a diff against rocketfuel and it shows you just the simple diff you expect ? [07:13] yes, just did that [07:14] three templates, one zcml, one line in a view class [07:19] what was the exit code you got from make check_merge (you can echo $? straight after - and only straigh after) to find out [07:20] also that does not appear to be the full test run - it stops where I would expect the importd tests to start. === mpt__ [n=mpt@219-89-149-183.jetstart.xtra.co.nz] has joined #launchpad === mpt__ is now known as mpt === robotgeek [i=venkat@ubuntu/member/robotgeek] has joined #launchpad === mpt [n=mpt@219-89-149-183.jetstart.xtra.co.nz] has joined #launchpad === robotgeek [i=venkat@ubuntu/member/robotgeek] has left #launchpad [""seeking] === mpt [n=mpt@219-89-149-183.jetstart.xtra.co.nz] has joined #launchpad [07:53] Merge to devel/launchpad/: [trivial] Explains products on /products, and fixes a typo on /projects. (r3421: Matthew Paul Thomas) [07:54] oh really! [07:55] So the only difference between an unsuccessful and a successful merge was changing two templates from 2col back to 3col? [07:55] hmmmmmmmmmmmm [07:56] mpt: I suspect that's just co-incidence... [07:59] indeed [07:59] especially since there were no pagetest failures === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad === carlos [n=carlos@68.Red-88-3-205.dynamicIP.rima-tde.net] has joined #launchpad [09:18] morning [09:23] hi carlos [09:23] mpt: hey dude [09:50] lifeless: hi, around? [09:50] yup [09:51] gmorning [09:51] lifeless: did you remove my AJAX branch that steve had on his queue? [09:52] talking about PendingReviews [09:52] nope [09:52] he did [09:52] ok === doko_ [n=doko@dslb-088-073-091-042.pools.arcor-ip.net] has joined #launchpad [09:52] look in the pending reviews history === sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has joined #launchpad [09:56] mpt: ping [10:02] sabdfl, pong [10:03] just about to reply to your mail [10:03] mpt: evening === lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #launchpad [10:18] carlos, got time for 2 questions about rosetta? [10:19] mdke_: I always have time for you ;-) [10:19] carlos, heh :) ok. [10:19] 1. when a package is uploaded with a new pot, how long does it take for rosetta to add the pot? [10:19] does anything need to be done manually? [10:21] mdke_: the first time we see that .pot file, we need to approve it === Ubugtu [n=bugbot@ubuntu/member/seveas] has joined #launchpad [10:21] mdke_: next time, it's imported automatically [10:22] mdke_: unless we decided to block it [10:23] carlos, thanks, ok I'll come to you for some approval [10:24] carlos, second question, which I think you just answered, if the same pot file appears in two packages, is rosetta clever enough to figure that out? [10:24] mdke_: I look at the queue all days, so it should not take more than one day (we have some backlog from kde, but that was a special case) [10:24] mdke_: in two packages? [10:24] yes [10:25] mdke_: well, rosetta is not able to figure it automatically if it's on two different packages [10:25] it depends if I remember that I saw it before... [10:25] carlos, but you can approve one, and disapprove the other? [10:25] mdke_: in general, for approvals, you can come to me too [10:25] and let carlos do the hacking :) [10:25] jordi, ok, I will [10:25] yeah ;-) [10:26] carlos, a concrete example. the pot file for the ubuntu server guide is likely to be in both the ubuntu-docs and kubuntu-docs source. [10:26] mdke_: If you warn us, we can block one of them and leave the other available to translate [10:27] the template is already in rosetta under ubuntu-docs [10:27] i'll upload a newer template soon [10:27] mdke_: should we block the one from kubuntu-docs? [10:27] carlos, great. I hereby warn you: don't accept serverguide.pot for kubuntu-docs :) [10:27] also, can you remove pot files? [10:27] jordi: ^^^^ [10:27] mdke_: yes, I can, is not easy, but I will do a batch removal soon [10:28] carlos, shall I give you the ones to remove over irc, or by email? [10:28] ok :) [10:29] email generally works better :) [10:30] rosetta@ubuntu.com? [10:30] mdke_: rosetta@launchpad.net is better [10:32] carlos, will do. Thanks === frodon_ido [n=patrick@ip-213-49-233-214.dsl.scarlet.be] has joined #launchpad [10:35] carlos, jordi, thanks for help. [10:37] mdke_: you are welcome [10:47] mdke_: should we block the templates you asked us to remove or did you remove them from that package? === mpt [n=mpt@219-89-149-183.jetstart.xtra.co.nz] has joined #launchpad === seb128 [n=seb128@ubuntu/member/seb128] has joined #launchpad [11:08] carlos: grumpf, I just uploaded a gnome-session current potfile over the hoary one due to rosetta :p [11:08] carlos: https://launchpad.net/products/gnome-session/+translations ... why the heck does it default to "hoary"? [11:09] seb128: because someone added the link from hoary to the product [11:09] and no one added the link from breezy or dapper [11:09] hum, that's just confusing :/ [11:10] if I don't manager to use it, I bet that users are having an hard time trying [11:11] seb128: right, but you should also read!!! [11:11] :-P [11:11] I just want to translate gnome-session [11:11] seb128: what did you expect there? [11:11] so I went on rosetta page [11:11] pick gnome-session to the list [11:11] picked french [11:11] and uploaded my po [11:12] I expected translating the current Ubuntu [11:12] seb128: but what version of gnome-session ? [11:12] not hoary which one year old [11:12] well, hoary is still supported... [11:12] whatever is current [11:12] yeah, but default should be current [11:12] current == breezy not dapper [11:12] just in case... [11:12] that's like we don't set tasks on hoary by defaulf when you file a bug :p [11:12] we defined a way to improve this situation las month while the london sprint [11:13] I disagree with the current, but that's arguable [11:13] the fact is [11:13] people go to https://launchpad.net/rosetta [11:13] seb128: at some point, we will move from breezy to dapper, before release [11:13] they want to translate gnome-sessio, they pick it [11:13] you get https://launchpad.net/products/gnome-session/+translations [11:13] click on french [11:13] dude [11:14] you get https://launchpad.net/distros/ubuntu/hoary/+source/gnome-session/+pots/gnome-session-2.0/fr/+translate [11:14] I know users don't read... [11:14] Rosetta is the primary translation system for the Ubuntu distribution. You can help translate any application in Ubuntu, or any of the Ubuntu derivative distributions, using this Web interface. Select a release to start translating. [11:14] you select the distribution you want to translate [11:14] the others are products [11:14] where? [11:14] launchpad.net/rosetta [11:14] https://launchpad.net/products/gnome-session/+translation only list hoary [11:14] no breezy [11:14] no dapper [11:14] because you selected a product [11:14] I went to https://launchpad.net/rosetta [11:15] when we import GNOME's CVS, you will get GNOME CVS there, instead of Ubuntu [11:15] and selected what I want to translate [11:15] seb128: but please, read! ;-) [11:15] I'm not stupid, I figured and fixed the pot [11:15] seb128: I know it's needs to be improved [11:15] my point was about the UI not being good [11:15] s/it's/it/ [11:15] you don't agree I'll stop here [11:15] seb128: I agree [11:15] but I still think most people will just click [11:15] and go to the wrong place [11:15] I already told you that, and that's why we are going to change it [11:15] cool :) [11:16] maybe a transition page "pick what version you want translate" [11:16] but the main problem here is the fact that people don't read :-) [11:16] with the distro branches and upstream product listed [11:16] you have to do with that [11:16] that's why GNOME put verbs on the buttons for its dialogs by example [11:16] carlos: I'd be grateful if you could solve that problem [11:17] you will not change users, you have to live with the fact than most don't want to read your blabla [11:17] and that the UI should make easy to go to the right place for those who don't read [11:17] yeah [11:17] a page when you click on the product [11:18] Pick what version of the product to translate: [11:18] * hoary === WaterSevenUb [n=WaterSev@195-23-238-197.nr.ip.pt] has joined #launchpad [11:18] * breezy [11:18] * dapper === carlos wish he had four hands and two computers... to work faster ... :-P [11:18] * upstream [11:18] would be good enough [11:19] seb128: anyway, we still depend on people linking sourcepackages with products [11:20] :/ [11:20] that will be solved when hct is in place because you will need to do that link to work with your packages. ATM, Rosetta is the only one using it.... [11:20] https://launchpad.net/products/gnome-session/+translations [11:21] if you look at the portlet on the right [11:21] there, you will get the list of distributions that have gnome-session [11:21] to translate [11:21] cool [11:21] and the main page will show the one where the translation focus should be [11:22] seb128: that functionality is already there [11:22] but needs someone to maintain the links [11:22] anyway, as said... we are going to improve it a bit [11:22] right [11:22] another question [11:22] do I have a way to know who updated gnome-session-2.0 fr.po and when? === koke [n=koke@ubuntu/member/koke] has joined #launchpad [11:25] seb128: https://launchpad.net/distros/ubuntu/breezy/+source/gnome-session/+pots/gnome-session-2.0/fr/ [11:25] that shows you who translated [11:25] we are not showing dates [11:25] but we have that information in our database [11:25] so it's a matter of adding it to our UI [11:26] I was working on a UI to expose that information [11:26] would be nice [11:26] when I had to focus on language packs [11:26] k [11:26] so as soon as language packs are rocking, I will finish that [11:26] another question and that should be enough for now [11:26] ok [11:26] when is planned a search feature? [11:26] like I dont want to browse 40 pages of translation to find the string I want to fix [11:27] and I don't want to wait on rosetta sending me a po by mail so I can fix and upload it back :p [11:27] the spec wasn't approved, we need to work a bit more on it and get it approved before I can work on it [11:27] I cannot give you a date, sorry [11:28] so that's not "soon" [11:28] k, thank you === seb128 hugs carlos :) [11:28] you are welcome [11:29] BACK TO WORK [11:29] ups, capslock :p [11:31] seb128: :-D [11:47] carlos, I've removed them from the packages === jinty [n=jinty@135.Red-80-37-34.staticIP.rima-tde.net] has joined #launchpad [11:47] ok === mpt [n=mpt@219-89-149-183.jetstart.xtra.co.nz] has joined #launchpad === erdal_ [n=erdal@p508752C8.dip.t-dialin.net] has joined #launchpad === Keybuk [n=scott@quest.netsplit.com] has joined #launchpad === LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad [01:01] stub: hi, where is your script to remove potemplates? === G0SUB [n=ghoseb@ubuntu/member/g0sub] has joined #launchpad === ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad [01:12] MUHUWAHA! [01:13] there's a package names "cvssuck" in Ubuntu now :) === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has joined #launchpad === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad [01:15] Merge to devel/launchpad/: [trivial] fix bug 37133, make sure MessageSet.fromEmail() doesn't blow up when parsing forwarded emails. (r3422: Bjorn Tillenius) [01:16] carlos: chinstrap:/home/warthogs/archives/stub/dbascripts (which was an experiment that would have been better off being a Python script) [01:16] stub: would you add it to scripts/rosetta on rocketfuel? [01:17] stub: I'm adding a new script to do those kind of tasks there and I would move your script to python code later [01:17] and add tests for it [01:18] It isn't suitable for general use - how 'bout I just paste it to pollute Launchpad with one less file? [01:19] carlos: ^^^ [01:20] ok, I will make it suitable for general use then and will add it when it's ready [01:21] carlos: https://chinstrap.ubuntu.com/~dsilvers/paste/filesJc0mt.html === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has left #launchpad [] [01:22] I will redo the constraints ON CASCADE DELETE and similar, so DELETE FROM POTemplate WHERE will work. I can prioritize that if you want to make things easier. === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has joined #launchpad [01:23] stub: hmm I prefer to do the removal myself, that will prevent that we remove POTemplates if we don't realy want to do it... [01:23] ok [01:23] myself == using the same procedure you did with the .sql === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has joined #launchpad [01:24] score! 3 public holidays next week, not two. [01:24] Although that would be a bit rude taking them all === stub sighs [01:24] stub: well... if those are public holidays... === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has joined #launchpad [01:25] I have two days next week (Thursday and Friday) and one more the week after that (Monday) === WaterSevenUb [n=WaterSev@195-23-238-222.nr.ip.pt] has joined #launchpad === jinty [n=jinty@135.Red-80-37-34.staticIP.rima-tde.net] has joined #launchpad === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has joined #launchpad === G0SUB [n=ghoseb@ubuntu/member/g0sub] has joined #launchpad [01:53] Merge to devel/launchpad/: [trivial] fix bug 38567, make sure that the 'close support request' checkbox is visible when it should be. (r3423: Bjorn Tillenius) === bradb [n=bradb@modemcable092.66-130-66.mc.videotron.ca] has joined #launchpad === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad === sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has joined #launchpad === matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === niemeyer [n=niemeyer@200.193.155.88] has joined #launchpad === beyond [n=beyond@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:03] o/~ hotline operator o/~ [03:03] hey elmo [03:03] say hi when you can [03:03] carlos, yeah, so do I [03:03] What's the equivalent to 'login' for zopeless scripts? [03:03] mmmm [03:04] I wonder if such a thing exists [03:04] kiko: I think you said nex meeting is on Thursday.. if most of us will be on holidays, shouldn't we move it to Wednesday? [03:04] thursday is not a holiday for me [03:04] but I am open to moving it [03:04] kiko: then, how could I change attributes that requiere launchpad.Edit permissions? [03:04] BjornT might know. [03:04] kiko: carlos, yeah, so do I [03:05] I have holidays friday and then the other monday [03:05] kiko: then I don't understand that [03:05] oh, ok [03:05] it was a more or less so do I [03:05] ;-) [03:05] BjornT: around? [03:05] carlos: yeah [03:06] BjornT: I have a zopeless script that needs to write to an attribute that is protected with: [03:06] [03:06] [03:06] permission="launchpad.Edit" [03:06] set_schema="canonical.launchpad.interfaces.IPOFile" /> [03:06] [03:06] carlos: by default zopeless scripts are allowed to get and set attributes, as long as there is a security declaration for the attribute, so it should work. doesn't it? [03:07] Traceback (most recent call last): [03:07] File "./scripts/rosetta/remove-upstream-translations.py", line 205, in ? [03:07] sys.exit(main(sys.argv)) [03:07] File "./scripts/rosetta/remove-upstream-translations.py", line 165, in main [03:07] pofile.latestsubmission = None [03:07] zope.security.interfaces.ForbiddenAttribute: ('latestsubmission', ) [03:08] with zope.Public it was working... but I changed it because those permissions were wrong [03:08] well, it hadn't exactly that with zope.Public, but with set_attributes + zope.Public [03:09] carlos: it's because latestsubmission is an Attribute, and set_schema="...IPOFile" doesn't include Attributes [03:09] I think I got that problem already and had to use set_attributes... [03:09] that's it [03:09] BjornT: I see [03:10] BjornT: thanks [03:11] np [03:11] BjornT: another thing I don't understand is... what's the utility of set_schema then?, if we have the same interface in allow and require... it's useless, right? [03:11] BjornT: I guess it's only useful if we split the interfaces between queries and modifications calls [03:12] carlos: the only useful thing about it is that it looks if a field is read only, and automatically denies write to such fields. if think it would be good to have something like set_interface though. [03:13] carlos: on the other hand, we should try to avoid being lazy, and don't use Attribute as much as we do [03:14] kiko: ping [03:14] sabdfl, pong [03:14] good news, i think [03:14] BjornT: if instead of Attribute I were using, for instance, an Int(), will set_schema work? [03:14] there's been a surplus of those this week! [03:14] tell me about it [03:15] carlos: yes. (although you should use Int only if the attribute is expected to be an int) [03:15] BjornT: yeah, I know, I said Int as an example for an Int === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === koke [n=koke@ubuntu/member/koke] has joined #launchpad === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #launchpad === G0SUB [n=ghoseb@ubuntu/member/g0sub] has joined #launchpad [03:47] ddaa, ping? [03:47] kiko: pouet [03:47] ah, the flying frenchman [03:48] carlos, have you been noticing the error output in the import and exports of KDE? [03:48] staging is down again? [03:48] yay, yes [03:50] kiko: which kind of errors? [03:50] kiko: I'm aware that some .pot files were rejected [03:50] carlos, character set conversion errors, IIRC, and what else? mmmm [03:50] due encoding problems [03:50] yes [03:50] kiko: yeah, that's an error with the .pot file, I already reported it to riddell [03:50] ok. [03:51] thanks anyway [03:51] matsubara, the staging update failed, I just noticed. [03:53] kiko: we have also those files with the 'FAILED' status on the import queue. I'm planning to go over them to fix any issue we have until that list is empty (and remove the broken ones unrelated with Rosetta). Also, I will add an errorlog field to that table to store there the error to let other people understand why did it fail [03:53] that's a great idea! [03:53] sounds very appropriate [03:53] salgado, ping [03:53] or well I'll just go up [03:54] BjornT, ping? [03:54] pong [03:54] kiko: I can turn staging on if you want [03:54] yo kiko [03:55] carlos, I always want [03:55] well, execute the script to turn it on, not sure if it will fail again... [03:55] BjornT, seen the teammembership failure for s-b-notifications? [03:57] kiko: yes, fixed in r3415. also mailed stub about it, so that he knows that when r3388 gets rolled out, this patch has to be included [03:57] kiko: hmm, perhaps my language pack export caused the problem with stating server.... [03:58] BjornT, okay, thanks for confirming. did you notice the weird output the last run had? [03:58] it included the content-type === mpt [n=mpt@219-89-149-183.jetstart.xtra.co.nz] has joined #launchpad [03:58] BjornT, is that normal? [03:58] Kinnison, around? [03:58] carlos, did you see the message? it was a deadlock. [03:58] kiko: it was running with -v, i'm not sure why. [03:58] kiko: because my script is connected to the database [03:58] or at least that's what I think [03:59] carlos, ah, that is possible! can you change the time it runs, or check to see if the restore is happening? [03:59] I need help on bug 38247 and bug 38256 [03:59] Malone bug 38247 in launchpad "Mirror prober issues HTTP requests looking for unofficial DistroArchReleases" [Normal,Unconfirmed] http://launchpad.net/bugs/38247 [03:59] Malone bug 38256 in launchpad "Mirror prober doesn't know how to generate the filename for binary packages whose version starts with ":"" [Normal,Unconfirmed] http://launchpad.net/bugs/38256 [03:59] well, the problem is that the restore was executed after my script started [04:00] kiko: I need to talk with stuart to see when should I execute it... [04:00] carlos, I'll email him so you can chat about it, cool. [04:00] I already moved it from morning to the afternoon due the first update [04:00] I think this second update is done too early [04:01] carlos, well, it starts at 12:30, you know [04:02] salgado: yo [04:02] Kinnison, I need your help on those bugs I pasted above. :) [04:03] kiko: and the first one is done at 9:30 or 10:30, I'm not sure... [04:03] BjornT, maybe tell stub to turn -v off? also, why did this last run succeed? [04:04] kiko: i'll ask him to do so if the next run is with -v as well. [04:04] okay. [04:04] WTF [04:04] carlos@aragorn:~/Work/Canonical/trivial$ bzr merge ../archive/rocketfuel/launchpad/ [04:04] bzr: ERROR: exceptions.NameError: global name 'self' is not defined [04:04] at /usr/lib/python2.4/site-packages/bzrlib/progress.py line 437 [04:04] in note [04:04] hah hah hah [04:04] you crack of the day user you [04:04] this may be an untested codepath! [04:04] kiko: i think it succeeded, since the db was rebuilt, and the db wasn't in a state that triggered the bug (sending notifications to a team with no contact address) === erdalronahi [n=erdalron@p508752C8.dip.t-dialin.net] has left #launchpad [] [04:04] kiko: yeah :-( [04:05] BjornT, of course [04:05] BjornT, did you add a test for the teammembership-requiring codepath? [04:05] kiko: of course [04:05] wonderful [04:08] salgado: bug 38247 and bug 38256 ? [04:08] Malone bug 38247 in launchpad "Mirror prober issues HTTP requests looking for unofficial DistroArchReleases" [Normal,Unconfirmed] http://launchpad.net/bugs/38247 [04:08] Malone bug 38256 in launchpad "Mirror prober doesn't know how to generate the filename for binary packages whose version starts with ":"" [Normal,Unconfirmed] http://launchpad.net/bugs/38256 [04:08] yep [04:08] salgado: the second, strip off the epoch, the filenames do not contain the epoch [04:09] salgado: We should probe for all archreleases yes [04:09] salgado: It's a very small overhead and means we can spot full mirrors [04:09] salgado, ask me about epoch-stripping [04:10] I had a recent re-encounter with this [04:10] salgado: Any idea when you'll have time to review the test branch of mine you were given? [04:10] can the epoch-stripping be documented somewhere or be done in a single place? [04:10] salgado: In theory, take the binarypackagerelease, find the binarypackagefile entries for it, get the filename out of the libraryfilealias [04:10] or I'm the only one to run into this problem? [04:10] salgado: that way you don't have to add logic, just find it in the db [04:10] ahhhh [04:11] sounds like a plan [04:11] ah, cool [04:12] Kinnison, I think I'll be able to review it today, but later [04:12] salgado: cool, I'm not in a rush, but it'd be nice to get it merged [04:13] kiko: what happened with epochs recently? anything I should know about? [04:13] Kinnison, elmo did epoch-stripping in the sync-source script. [04:13] kiko: aah [04:13] Kinnison, I was unaware of the fact that we could use binarypackagefile for that or else I'd have told him [04:14] matsubara: staging is alive again [04:15] wow, new eye candy! [04:16] carlos: thanks [04:16] kiko: It sometimes takes me a moment to remember, but the filenames are all there because the publisher uses them :-) [04:17] yeah, of course [04:17] gina has no choice but elmo does [04:20] indeed === carlos -> lunch === stub [n=stub@ppp-58.8.6.146.revip2.asianet.co.th] has joined #launchpad [04:46] Merge to devel/launchpad/: [trivial] Update sampledata and FTI which suffers from cut-n-pastry (r3424: kiko) [04:49] thank you dilys [04:49] now where was I? === snail [i=syeates@oucs-yeates.oucs.ox.ac.uk] has joined #launchpad [04:51] ddaa: is there any use case to let a user register a hosted branch thru the web UI? [04:52] BjornT, time for a review for a bug you reported? it is quick and interesting and potentially a disaster :) [04:59] https://chinstrap.ubuntu.com/~dsilvers/paste/filelcEchA.html [04:59] come on BjornT be a sport [05:00] kiko, [BjornT] is away (back later tonight) [05:02] he doesn't love me === kiko shelves [05:09] is pqm borked? [05:09] (stale authserver or similar?) [05:09] not for me [05:10] merged some 5 landings over yesterday and today [05:11] I just sent one and got a failure [05:11] psycopg.OperationalError: FATAL: database "launchpad_empty" does not exist [05:11] in fti.py [05:12] that is a race condition, see launchpad email I got from stub [05:12] you will need to resubmit [05:12] okay [05:12] thanks [05:12] it's unfortunate but one of the lesser pqm problems because it comes back fast === Kinnison nods [05:12] hung processes are much more annoying [05:12] but they seem to be absent this week [05:13] cool [05:13] Does PQM run the checks in a chroot? [05:13] IIRC it does yes [05:13] If so, it could do the same trick we use to clear the chroot on the buildds [05:13] I think we do that [05:13] every time we run a PQM process [05:13] but IMBW [05:13] you can email lifeless CC: lp to ask [05:14] matsubara: the user will likely want to use the web ui eventually to set the title, summary and status [05:14] so being able to do it in any order is easier [05:15] jordi, new ubuntu-docs with brand new pot files has been uploaded. Expecting kubuntu-docs soon [05:15] matsubara: note that sabdfl's branch (that's I'm preparing for review) includes a change to the IBranch.url message to remove the reference to the fact the URL can be nullable. [05:16] matsubara, ddaa: well, given that, I'd forbid it to be nullable, period. [05:16] kiko: well, it has to be nullable in the database :) [05:16] but I'm in favour of making it required in IBranch [05:16] in the form funny man [05:17] I'll edit the IBranch.url comment on the bazaar-ui branch to tell the user to register hosted branches by pushing the branch to bazaar.launchpad.net. [05:18] ddaa, kiko: so this patch fixes bug 37885? https://chinstrap.ubuntu.com/~dsilvers/paste/filesJbUA1.html [05:18] Malone bug 37885 in launchpad "Branch URL field doesn't properly validate input" [Normal,Confirmed] http://launchpad.net/bugs/37885 [05:18] I think eventually we'll want to point to a documentation page, as the use of the sftp server cannot be made really discoverable in the web ui. [05:19] matsubara, in _toFieldValue, when will we have self._missing? [05:19] okay, I see, Required input is missing [05:20] matsubara: nope [05:20] I thought it was a matter of changing the interface, myself [05:21] The interface is correct, it's a bug in BranchAddView [05:21] ddaa: why not? [05:21] hu, I mean BranchUrlWidget [05:23] ddaa: well, that's why I changed the BranchUrlWidget to enforce the required=True in the interface. [05:24] mh... my branch here is slightly out of date... [05:24] ddaa: and changed the interface description to cope with the fact that the field is required, meaning that the user now doesn't have the option to leave it blank [05:24] The interface I have here says it's required, but I can reproduce the OOPS [05:25] ddaa: that's the bug [05:25] it looks like something fails to validate for non-empty value before calling _toFieldValue [05:25] - value = TextWidget._toFieldValue(self, input) [05:26] HYDRATE OR DIE [05:26] if you call that with input = '' it returns None [05:26] or conversely, _toFieldValue should gracefully handle None so the subsequent validation could raise the appropriate exception. === ddaa tries that [05:28] that's exactly what my patch is doing. [05:29] sorry, I got confused by Ubugtu, did not look at the patch :) [05:30] matsubara: that one fixes the oops https://chinstrap.ubuntu.com/~dsilvers/paste/fileC0wwlp.html [05:30] competing fixes for the bug [05:31] but matsubara's fix is more correct and has tests [05:31] I'm do not claim I understand what I have done there :) [05:32] matsubara: you must also make sure that trailing slash in URL are properly stripped in both the +addbranch and branch/+edit forms. [05:32] otherwise you leave the door open to database constraint oops [05:33] ddaa: you wrote tests for that, and they're passing [05:33] Oh, right, I did :) [05:33] Merge to devel/launchpad/: rs=stub Add a rebuildfti Makefile target, and make newsampledata use it (r3425: kiko) [05:33] yay yay yay [05:34] I vaguely do not like the fact of duplicating the "required" information in _toFieldValue [05:34] mh [05:34] I do not think you are, actually [05:34] kiko, doesn't it take long to rebuild the fti? maybe not with our small sampledata [05:34] I just cannot read that code :) [05:34] salgado, it takes exactly 5 seconds on my computer [05:35] salgado: okay, go for it! [05:35] your computer is far better than mine. :) [05:35] me? [05:36] s/salgado/matsubara/ [05:36] ddaa: merci [05:36] those tourists, they all look the same to me ;) [05:36] dude, you can't even use the tab-completion-breakage as an excuse in this case [05:37] oh, right. indeed I look like I came from china [05:37] and that is usually a good excuse [05:37] salgado: korea man! [05:38] salgado: you see, if you cannot tell the difference between china and korea, or can you expect me to tell the difference betwen brazil? [05:38] s/or/how/ [05:40] brazil, china, korea.. they're all the same thing. all from the same bucket [05:40] where is my merge request o pqm [05:40] do not even mention thailandese aussies! [05:47] kiko: dude.... your country's spam scares me so much... [05:47] 1- ORKUT: ROUBE COMUNIDADES, APRENDA A PEGAR SENHA DE OUTROS USURIOS, [05:47] RECEBA UMA LISTA COMPLETA DE SCRIPTS PARA BARBARIZAR OUTROS USURIOS E + [05:47] MANDE MENSAGENS EM MASSA PARA COMUNIDADES E AMIGOS... [05:47] ALGUMAS FERRAMENTAS PARA ORKUT QUE VEM NO CD: [05:47] (ATENO ESSES PROGRAMAS SO VENDIDOS POR AI POR $150 CADA UM!!!) [05:48] :-P [05:48] it's the internet, carlos. it reflects well humanity: some of it isn't healthy. [05:48] kiko: yeah, I wonder who is interested on pay money for those kind of scripts... [05:49] "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." [05:49] well, I got my answer: "Compre j o seu CD Hacker, somente programas testados..." [05:49] carlos: I recently received a spam from a student of the school I have attended, asking for an intership. In finance. [05:49] so they are offering it to the 'I want to be a hacker!' [05:50] obviously, the bloke has just mass mailed a large section of all the former students === SteveA [n=steve@70.88.110.166] has joined #launchpad [05:55] kiko, about bug 28679, I have some questions [05:55] Malone bug 28679 in launchpad "Need email notifications when a person is approved/denied as a member of a team" [Critical,In progress] http://launchpad.net/bugs/28679 [05:56] should you get mailed if I add you to one of my teams without you proposing yourself first? [05:56] (I think so) [05:57] should I mail only you or you and the team admins if/when your membership expires? [05:57] yes and both [05:57] I think [05:58] and I think I agree [05:58] kiko: where can I find the table sorting javascript? [05:58] mdke_: ok [05:59] ddaa, in contrib/templates/ [06:00] I'd like to put an onload on some pages to sort by a specific column. [06:00] is that the right solution I wonder [06:00] I don't think it is [06:00] I think the right solution is to add a hint to the table [06:00] meaning? [06:00] time to leave [06:00] and having the JS when attaching itself to the table DTRT [06:00] see you! [06:00] maybe [06:00] mh... [06:00] carlos, is it all good news? [06:01] kiko, should I send notifications when you join a team and is automatically approved because that team is open? [06:01] in this case I don't think so [06:01] no but the UI should say so [06:01] kiko: well, the script to cleanup oo took more time than I expected (bug #32610) [06:01] Malone bug 32610 in openoffice.org "all untranslated messages imported from OOo are marked as translated" [Normal,In progress] http://launchpad.net/bugs/32610 [06:01] as usual! [06:01] Merge to devel/launchpad/: [trivial] Add the dist-upgrader to the list of things cron.daily signs (r3426: Daniel Silverstone) [06:02] kiko: but other than that... I need to add tests (will do it while travelling) and ask for review to test it on mawson and execute it on production next week [06:02] okay [06:02] how are our statistics looking? [06:02] kiko: well, I had the SQL already done, but had to move it to python code to do it in batches so we don't lock Rosetta for 2-3 hours [06:03] review-breezy-ksystemlog-1 [06:03] review-breezy-lintian-1 [06:03] review-dapper-libidn-1 [06:03] remember to get rid of these soon [06:03] kiko: I was late for today's export to add a bunch of KDE templates, but I hope tomorrow we will have them [06:03] kiko: yeah, don't worry [06:03] I'm trying to reduce the amount of entries on our import queue first... [06:03] I am also surprised at the list of things that are not imported/exported [06:03] for instance [06:04] wget, sed, rpm? === ddaa spots a bug in the JS [06:04] grep, gettext, cpio, discover [06:05] ddaa? [06:05] if (((' '+thisTbl.className+' ').indexOf("sortable") != -1) && [06:05] should be indexOf(" sortable ") [06:05] line 30 [06:05] what does this affect? [06:06] can match class="sortable-no-gocha" [06:06] quite minor, but it's not correct [06:06] jordi, can you ping me when they are all imported? I want to do a quick announcement. [06:06] kiko: I suppose that some of them were not uploaded using soyuz, I didn't import the translations in those cases, is more easy for me to get them from soyuz, thus, if I have work with the ones from soyuz I prefer to concentrate on them before upload manually things that perhaps will appear soon using soyuz directly [06:06] feel free to fix I guess [06:06] carlos, you are suggesting no new uploads of these packages were done? [06:07] kiko: since the migration to soyuz? yes [06:07] kiko: I'll get a quick JS patch through you once I figured out how to do the initial sorting thing. [06:07] kiko: either that or that those packages miss the .pot file [06:07] ddaa, really? tell me about it [06:07] carlos, I will poke a distro person [06:07] kiko: I will [06:07] kiko: please, don't do that is not needed [06:08] does an sqlresult evaluate to true if it has results? [06:08] I'm preparing a list of resources missing a .pot file [06:08] carlos, I just want to verify that is the case. [06:08] sabdfl, no. [06:08] and pitti is already aware of that and he's fixing them [06:08] sabdfl, you need to .count() it. [06:08] what's the canonical way to ... thanks :-) [06:08] sabdfl, actually, I'm wrong, since __nonzero__ now exists [06:08] no, you don't need to .count() it [06:08] kiko: let me study the output and fix anything we need to fix from our side before disturbing other people [06:08] sabdfl, it didn't exist before, but now it does. so reverting myself, yes. [06:08] kiko: as I said, it's a theory [06:08] not a fact [06:08] ;-) [06:08] I need to get a train, need to leave now. [06:09] ok, odd because tal:condition="foo" is not picking up the result even though there is one there [06:09] see you later [06:09] sabdfl, pdb it? [06:09] kiko: i did, that's how i realised there was actually a result in there [06:09] something wrong in your template most likely [06:10] i'm de-listifying, and of course it worked on a list [06:10] mdke_: hold on, will do it right now [06:10] did this change recently, might my sqlobject be out of date? [06:10] sabdfl, not recently. [06:12] is there an interaction between cachedproperty and sqlresults? [06:13] sabdfl, cachedproperty is dangerous if you are modifying the value in this request. === bradb & # make check && lunch [06:13] not modifying it, just querying at this stage [06:14] cachedproperty and sqlresults is silly, btw [06:14] because you are caching an object which holds no data [06:14] remember that the query is only issued when you /use/ the sqlresults [06:14] so if you want to cachedproperty you need to listify, sabdfl [06:15] kiko: what if I cann a method twice, which returns an sqlresult with the same query [06:15] do i get the same sqlresult? [06:15] if it is cachedproperty, sabdfl? [06:15] no [06:16] then no. [06:16] but it doesn't matter [06:16] so, in this page i do a bunch of stuff IF i have matching results [06:16] so lots of condition="view/foo" [06:16] what is view/foo? [06:16] where view/foo is a function that calls a method on the context, which returns an sqlresult [06:16] def speclinks(self): [06:16] """Return the specification links with PROPOSED status this sprint. [06:16] """ [06:16] speclinks = self.context.specificationLinks( [06:16] status=SprintSpecificationStatus.PROPOSED) [06:16] you should cachedproperty the listified results in the view. [06:17] ok [06:17] oh fuck [06:17] blush [06:17] what will the above method return? [06:17] None. always [06:17] doh [06:18] it is a docstring bug, sabdfl! [06:18] mdke_: uh, I don't see it [06:18] is it in product series? (ie, not in the /distros/ubuntu tree)? [06:18] jordi, it should be in the distribution. [06:19] hang on [06:19] oh [06:19] ubuntu/desktopguide/desktopguide.pot in ubuntu-docs in Ubuntu Dapper ? [06:19] jordi, https://lists.ubuntu.com/archives/dapper-changes/2006-April/008952.html [06:19] jordi, that and others, yep [06:19] I see it [06:19] ok [06:20] jordi, looks like the kubuntu one hasn't been uploaded yet === einheit_ [n=steve@70.88.110.166] has joined #launchpad [06:21] desktopguide, about-ubuntu, website-index, preface, packagingguide, serverguide [06:21] is that it? === niemeyer_ [n=niemeyer@200.181.169.97] has joined #launchpad [06:25] mdke_: preface moved form installation-guide to ubuntu-docs? [06:25] jordi, no, it's nothing to do with installation-guide [06:26] there's a potemplatename assigned to the instlalation-guide called preface already [06:26] is that a problem? [06:26] https://launchpad.net/distros/ubuntu/dapper/+source/installation-guide/+pots/preface [06:26] they are probably just different files which share the same name [06:26] Not sure. Probably not a problem, as this doesn't install .mo files, etc. [06:27] right [06:27] it's just for us [06:27] it's a common file for each document [06:27] i thought it would make sense to translate it once only [06:28] (please refuse it if it appears in kubuntu-docs too) [06:30] kiko, how does https://chinstrap.ubuntu.com/~dsilvers/paste/fileu3YDzG.html looks like? [06:30] it looks like a fishing rod [06:31] but does it look like a plan? do you agree with these notifications being sent? [06:32] notifications about group status? pleeeeeease [06:32] seems like in all cases you are sending notifications [06:32] mdke_, I promised, didn't I? [06:32] not really all [06:32] but most [06:32] salgado, only in the else clause not [06:33] salgado, all branches say they will send notifications [06:33] kiko, yes, but you can go from declined back to proposed, and I won't send in that case [06:34] on the other hand, if you go from declined to approved, then it will be sent [06:34] salgado, maybe use classes to indicate each of the cases? [06:34] that would be better I think [06:35] you can then use inheritance to simplify the code further [06:35] Merge to devel/launchpad/: [trivial] Fix for bug #37053: Packages listed under Suggests in details have broken links. Fix dem links and add sampledata so somebody could actually notice what was going on (r3427: kiko) [06:35] y-a-y [06:35] mdke_: I suspect trying to use a unique name would help [06:36] but I don't think this will break [06:36] kiko: quick question: do you know if there are bad side effects with two source packages sharing a potemplatename? [06:36] kiko, I'm not following you [06:36] ie, installation-guide and ubuntu-docs both have a preface.pot. [06:37] jordi, there is no bad side effect I am pretty sure [06:37] I will move upstairs salgado [06:37] kiko: k, approving [06:37] mdke_: should be done [06:38] jordi, thanks [06:43] elmo, note stub's reply to us, you should be able to simplify your code. [06:51] kiko: https://chinstrap.ubuntu.com/~dsilvers/paste/filev0a8fB.html [06:51] I'm going to take a break, please dump your review comments here [06:53] idle thougt: it would be much nicer to allow sorting by url argument, to support non-JS browsers [06:54] uhm [06:54] not trivial === lifeless [n=robertc@dsl-43.1.240.220.rns01-kent-syd.dsl.comindico.com.au] has joined #launchpad [07:04] kiko: do yo still want me to review that patch? [07:05] Merge to devel/launchpad/: Fix https://launchpad.net/products/launchpad/+bug/37885 (Branch URL field doesn't properly validate input) r=ddaa (r3428: Diogo Matsubara) === zyga_ [n=zyga@ubuntu/member/zyga] has joined #launchpad [07:28] kiko: so, any review comments on that little JS trick? [07:28] I'd really like to get it landed before sabdfl's branch so there is no regression [07:29] Besides, I'd love to add a few JS gimmicks, like stable sorting and such. === frodon_ido [n=patrick@ip-213-49-233-214.dsl.scarlet.be] has joined #launchpad [07:33] Merge to devel/launchpad/: [trivial] Fix for bug #37053: Packages listed under Suggests in details have broken links. Fix dem links and add sampledata so somebody could actually notice what was going on (r3429: kiko) [07:40] yay, stable sorting done, too === G0SUB [n=ghoseb@ubuntu/member/g0sub] has joined #launchpad [07:42] https://chinstrap.ubuntu.com/~dsilvers/paste/fileYIvCAe.html [07:46] mh... not quite, sorry [07:49] nevermind, it works :) [07:49] Hey, somebody up to review some intense JS shyniness? [07:50] just have a look, or actually reviewing it? === LarstiQ is tired of having compiz segfault on him and can use some working shyniness [07:51] review as in allow for landing on trunk, sorry LarstiQ, but your are not eligible :) [07:51] thought so :) === LarstiQ gives up on compiz [08:04] Two hours later, the test suite finishes running, w00t. === tonyyarusso [n=anthony@HSE-Ottawa-ppp326439.sympatico.ca] has joined #launchpad [08:13] Does anyone actually understand how Launchpad assigns karma? [08:13] it's based on donations to carlos' paypal account ;) [08:14] Hehe. [08:14] If you sneeze on Rosetta, you get 18000 karma points. === bradb runs [08:15] actually, it's a well defined algo and people know it, but I don't (and I do not care, anyway) [08:15] I ask b/c I don't understand mine. I'm sitting at 10424, marked as soley in specifications, which I have suggested one of. [08:15] basically, some actions are recorded and are associated some base karma [08:15] and the karma for each actions decreases linearly over time to reach 0 after a year [08:16] Hmm. Okay. [08:18] looks like spec tracking is ridiculously overestimated [08:18] maybe file a bug, on my account, my spec karma is 10x my bug karma, that's ridiculous [08:19] Maybe they're trying to encourage more ideas at the moment? [08:19] the aggregating algorithm is busted [08:19] hell no [08:19] we have no shortage of ideas [08:19] sabdfl: Aaah. [08:19] i think stub wants to assign the same "value" to "all the spec work in the system" and "all the bug work in the system" [08:19] so, if you did all the translating, and i did all the bug triage, we get the same score [08:19] ddaa: I thought that was probably the case. Now we get the real answer :) [08:20] the underlying points are totally different from what you see [08:20] but since there are more ways to get points in the bug system, and more people using it, the value of each point is much less [08:20] sabdfl: So would that mean that if one category had very few submissions that each submission would be worth more points than each in another? [08:20] yes [08:21] Got it. [08:21] well, no [08:21] each POINT would be worth more [08:21] Okay, that one lost me. [08:21] in our system, each kind of submission gets a certain number of points [08:21] so, fixing a bug is different to reporting one, is different to marking it a dup [08:21] we can retune THAT balance whenever we want [08:21] that gives you a "total bug score" and a "total spec score" [08:22] then, i think there's a layer on top of that, which says: [08:22] - in the ENTIRE system, the TOTAL bug score for ALL bug people is X [08:22] - " " " " " spec " " " " spec " " Y [08:22] then it normalises those two to be equal [08:22] and then it knows what one "bug point" is worth compared to one "spec point" [08:23] That makes more sense now. [08:23] i think there's a nice idea in there, which is to say that the real overall winners should be people that use the whole system [08:23] but the balance of the underlying points, and the overall aggregation algorithm, need work [08:23] plus, we need to be more sophisticated about the underlying karma points [08:24] It also encourages people to help out in areas that are underused, wouldnt it? [08:24] And more transparent, so people know what's going on underneath. [08:24] yes, it does encourage more use of less-used parts of the system [08:25] which is a good thing, for sure [08:27] kiko: Do you want to review the remove bpn patch? All tests pass, etc. [08:27] All right. Well that was enlightening :) [08:28] bradb: removing them from the bugtask headline? [08:29] sabdfl: removing bpn from Malone, IBugTask, etc. (so, yes, the headline too) [08:29] s/headline/header/ [08:29] bradb: do you know what the intent of the bpn was, there? [08:33] er, you mean in X-Launchpad-Bug? come to think of it, I'm not sure if it was part of that header or not. [08:34] It seems mainly to annoy maintainers on +editstatus, so it would have been even less useful in the header, I think. [08:36] yeah, it wasn't ever in X-L-B, as best I can tell [08:40] i mean, what the purpose of the binary package name field in bugtask was [08:43] ah. I think it was a case of not having enough information about the use cases to realize how much of a burden it would become. it was clear that the user should be able to specify a bpn when filing, but less clear that storing bpn and making it editable on the status page would be a burden to devs. [08:44] Another (somewhat silly) question: I misclicked one day and registered my spec for the fosdem sprint. I don't even really know what that is, and have no idea if it's appropriate for it to have that flag on it, but don't know how to undo that. [08:45] Or is it to late already and it doesn't even matter? [08:46] http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=dpkg-dev [08:46] bradb: ^ [08:46] (spec in question is livecd-apt-install-to-usbflash) [08:46] debian dev like to organise bugs by binary package [08:46] within a source package [08:46] the fundamental unit is the source package [08:47] the binary package is kind of a nice way to group the bugs [08:47] terminating it is no major loss to me [08:47] but you should understand what the DD's want before you do that [08:47] as a data point, mdz says there's been about twice that bpn information was useful to him [08:47] ask them if they want to see listings of bugs on a source package, grouped by binary package [08:48] the data is only there because folks used to debbugs said "i have to have that" [08:48] personally, i don't care [08:48] but don't use the argument of someone who is looking at a broken implementation of a good idea as an excuse for not understanding the original idea [08:48] 'k? [08:49] ok [08:50] maybe I'll mail ubuntu-devel, just to be sure [08:52] take a look at debbugs [08:52] personally, i'm no fan of the feature [08:52] i definitely think the current implementation is all work no play [08:53] but i don't want stuff thrown out when it clearly hasn't been grokk'ed in the first place === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad [08:54] i'm aware of listing bugs by binary package, but there are at least two reasons it has never taken off: 1. nobody every requested it, or spoke of their workflow in a way to suggest such functionality could make their life easier and 2. bpn data is often wrong, and pretty difficult to keep accurate without burdening devs to maintain it [08:55] s/wrong/missing or wrong/ === Panda^ [n=giampaol@host196-40.pool8261.interbusiness.it] has joined #launchpad [09:10] bradb: i agree [09:21] bradb, why is binary package information often wrong? === stub [n=stub@ppp-58.8.6.146.revip2.asianet.co.th] has joined #launchpad === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad [09:24] Burgwork: Because the bug may have been reported on the wrong SP, get reassigned to a new one, and still have the old BP information. [09:24] Or, of course, the user might have just provided the wrong BP. [09:26] bradb, I consider that a bug [09:26] users think in binary package terms [09:26] Burgwork: Indeed, that's why +filebug will continue to accept a BP [09:27] then you have a bait and switch issue [09:27] you get them to file under something and it shows up as something else [09:27] yeah, but we can use feedback messages to solve that [09:28] umm, not really [09:28] to me, this looks like an ingrown toenail, so to fix it we are going to take the leg off [09:29] there is the alternative of nullifying the binary package when the source package gets set [09:31] yeah, so that BP will be less wrong and more missing [09:32] Burgwork: how do you think it should work? [09:33] Burgwork: yes, users do, so we should allow them to file a bug against a binary package and have it automatically directed to the corresponding sourc epackage [09:34] however, not being able to search on binary package is an issue [09:34] because a midly technical user might know to search, only know the binary name and return nothing [09:34] sure, it's reasonable to expect to be able to look up the bugs by binary->source mapping as well [09:35] as long as a search for a binary package name returns what it should, that is ok [09:39] BjornT? [09:39] kiko! === kiko wonders if BjornT is still out. he is, eh? [09:39] hey salgado [09:39] what now? [09:40] kiko: yes? i'm here [09:40] y-a-y [09:40] BjornT, review my patch for your bug! [09:40] I guess we need to send different emails for the admins and to the member that's being approved/whatever [09:41] the templates should be slightly different, you mean? [09:41] BjornT, https://chinstrap.warthogs.hbd.com/~dsilvers/paste/filelcEchA.html [09:41] kiko, yes [09:41] BjornT, it is a gift for you [09:41] salgado, yes, I agree [09:41] kiko: sure, i can review it now [09:41] because of the language "Your request" versus "The request from %s", salgado? [09:41] that makes things a bit more complex [09:42] mmmm, perhaps. [09:42] if we can manage to get a template where the only difference is that... that would be perfect [09:45] BjornT, rock and roll! [09:46] Burgwork: fwiw, I think mapping BP to SP in an SQL query is a much more accurate and effective way to search on BP, than relying on the BP we sometimes have available on a bug [09:47] agreed [09:47] the /only/ thing the BP is useful for is indicating in what area of the SP the bug is [09:48] but that appears to be a very weak link [09:53] bradb: mapping BP to SP is very tricky [09:53] because it depends totally on the DistroArchRelease [09:53] it can be different in different releases, or on the same release in different arch's [09:53] yeah, I've experienced that pain :) [09:54] very tricky indeed [09:54] it's not rigorous, and BugTask does not contain enough data to make it rigorous [09:54] and getting it to contain that data would make it unuseable [09:54] so... [09:54] bradb, sure that works === mdke [n=matt@ubuntu/member/mdke] has joined #launchpad === LaserJock [n=laserjoc@ubuntu/member/laserjock] has joined #launchpad [10:12] bradb: ping? [10:12] LaserJock: pong [10:13] bradb: I was just reading your -devel email. Does that mean that bug reporters need to know the source package name? [10:13] no it doesn't [10:13] perhaps bradb should follow up to that email clarifying [10:13] LaserJock: Nope. As noted in the email, +filebug will still accept a BP. [10:14] bradb: but people trying to file bugs and searching for duplicates before filing will be listing/searching by BP, most of the time? [10:14] elmo: that was my concern [10:16] elmo: They can't list by BP as it is. The search can be made to work without storing BP on the bug. (In fact, it would work a whole lot better if a proper SQL query mapped the BP to the SP, rather than counting on the BP we recorded, which will often be empty or wrong.) [10:16] elmo, that doesn't work today regardless, and I don't think reporter-included information is a good guide to that [10:16] basically what bradb said [10:16] right, I realise it doesn't work today and it's one of the things that makes malone most painful to use IMHO [10:17] ok [10:17] I've got a bug on linux-image-2.6.15-whatever, I don't want to have to jump through the click hoops necessary to figure out which source package that came from to check pre-existing bugs [10:18] okay [10:18] I can appreciate that. I'm just saying that you'd get much better results if we didn't store BP on the bug. [10:18] (http://bugs.lp.net/ would be even better, but that's another story ;-) [10:18] bradb, we could convert this in run-time [10:19] yeah [10:19] using the same algo we use to detect the SP [10:19] given that I think that dropping the BP and doing this sounds like the most reasonable plan [10:19] yep. the URL would list all bugs on the SP for that BP, is that what you're thinking? [10:20] oh, a URL? [10:20] I wasn't thinking of that, but I guess [10:20] kiko: would you be kind enough to review david/launchpad/sorttable? [10:20] well, we /could/ have it possible, but otherwise just as search criteria too [10:20] ddaa, I don't want the a.oldPosition - b.oldPosition [10:20] that's what does stable sorting... [10:20] well, it was a bit buggy, fixed now [10:20] well, find another way of doing it [10:21] keep the ts_sort_* methods as simple as possible [10:21] doable? [10:21] bradb: anyway, I'm all for your proposal. I was just concerned about users having to know the BP->SP mapping. [10:21] I'm going to followup to u-d with some more information/clarification [10:22] I do not think there's any other good way, the sorting is done with Array.sort(). Short of reimplementing that (which would be a bad idea IMO) we have to put the smarts in the comparison methods. [10:22] ddaa, I see. mmmm. [10:23] is JS sort not stable by default? they need timsort [10:23] kiko: obviously, it is not [10:23] as a rule, JS sucks by default [10:24] I have an idea! [10:24] why don't you define a ts_cmp() method [10:24] to which you provide aa and bb? [10:24] return ts_cmp(aa, bb) [10:24] would be at the end of all sorting functions [10:24] instead of the comparison [10:24] Mh. [10:24] would that work I wonder [10:24] jordi, kubuntu-docs is uploaded, I'm told [10:24] What I can do is layer the stable sorting bit [10:24] kiko, what do you think of a template like https://chinstrap.ubuntu.com/~dsilvers/paste/fileaFbJYw.html, to start with? [10:25] kiko: using a closure [10:25] salgado, looks generic enough. the thing about "from %s to %s" sounds like computerese but I understand why you want it [10:25] I heard that JS closures do not suck too much. I'll give it a try. [10:25] ddaa, k [10:26] kiko, or something similar where we only need to change the first line while sending them to team admins [10:26] salgado, perhaps it is better not to disclose who made the change [10:26] that way it is not a personal decision [10:26] but a team decision [10:26] the admins should know who made the change howevever === mdke [n=matt@ubuntu/member/mdke] has joined #launchpad [10:27] yeah, it makes sense [10:27] sorry for complicating [10:27] jordi, also, do you get to delete stuff, or is carlos the only one? I will wait until they are removed before announcing translations because I don't want people wasting more time translating useless stuff [10:27] it's no big deal, actually === LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad [10:46] night all === sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has left #launchpad [] [10:48] BjornT, does it make sense to document __init__ in an interface docstring? [10:48] how is that done? [10:48] or salgado [10:49] __init__ methods are module functions as far as interfaces are concerned [10:50] I think the old pyarch interface had some of that stuff. === LaserJock [n=laserjoc@ubuntu/member/laserjock] has left #launchpad ["Leaving"] [10:51] Something like Froboizer = Attribute("Create a IFroboizer") [10:51] well not quite [10:51] def Froboizer(arg1, arg2): [10:51] """Create a IFroboizer""" [10:51] kiko: why do you want to do that? it gets kind of awkward since the corresponding method in an interface would be __call__ [10:52] BjornT, I want to document the constructor [10:52] kiko: and it doesn't make sense to document it in the class only? [10:53] BjornT, it's weird to have half the documentation in the interface and half in the class. and it is a property of the interface, the constructor! [10:57] Actually, when you think about it, the constructor is effectively a property of the module containing the class. [10:57] yeah. the only reason we don't document our database classes' __init__ is because it doesn't really exist as such :) [10:58] i.e. module.Class is factory method that creates instances of module.Class [10:58] obviously module.Class would be a method of module if Python was Smalltalk.p === LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad [11:02] kiko: i'd say listen to ddaa. an interface documents the public api of objects providing the interface. if a class implements an interface, it most of the time doesn't provide the interface, instances of the class do though. [11:02] kiko: so a class' __init__ isn't a part of the public api [11:03] What BjornT says with the proper terminology. [11:03] BjornT, so what do I do? [11:03] kiko: document the method in the class? [11:04] ok then. === kiko think that's wrong [11:04] it keeps documentation in two separate /files/ [11:04] but I will do it because you said so (and because it allows me to go on working) [11:05] kiko: well, you could create a new interface if you wanted ;) [11:05] kiko: you liking that better? https://chinstrap.ubuntu.com/~dsilvers/paste/fileYexDjG.html [11:06] bradb: who said that binary packages are useful (just curious about it)? [11:07] seb128: elmo, for searching. Burgwork, probably others. [11:07] Burgwork: ping? what is the use of binary package for you? [11:07] bradb: ta [11:08] kiko: for example, if you look at vocabularies, you'll find that vocabulary classes provide IVocabularyFactory (which has a __call__ method). i'm not suggestion you should do that though. [11:10] seb128, I am more thinking of users who maybe don't know the difference and are trying to get into bug filing/triage [11:11] bug filing understood them [11:11] understand === ddaa remembers to add a "var" at the right place... [11:11] ddaa, ah, that is much better [11:11] Burgwork: if you don't know what a source package is you might not be qualified to reassign bugs to an another package [11:11] Burgwork: without any offense [11:12] kiko: I need to "var cmp = sortfn(a, b)", but besides, do you want any other change before I can r=kiko? [11:12] seb128, I know, but there are others that do not [11:12] if we discourage people who don't know what a source package is to reassing that's rather a feature :p [11:12] seb128, here is my usecase: somebody knows how to file a bug and whats to be a good citizen and look for dups. So they search for the binary name. Need to get useful results [11:13] you put a binary, it should convert that to source package for you [11:13] like when you file bug [11:13] Burgwork, that is orthogonal to allowing the user to specify the binary package. [11:13] you don't need to care as an user [11:13] is that part clear? [11:13] yes [11:13] that should be transparent for the user [11:13] right [11:14] I believe that bradb has already answered my objection [11:14] ddaa, can you avoid needing ts_firstChildByName() by changing the resortTable API slightly? [11:14] yeah, but he said to the same mail on the list that you argue to have a binary package option [11:14] kiko: nope, the ts_resortTable API is dictated by onclick="ts_resortTable(this); return false;" [11:15] ddaa, change that. [11:15] no, he said I was concerned about how a user can find other bugs, based simply on the information of knowing what binary package it was in [11:15] "Some users have suggested that searching by binary package is really important" [11:15] ddaa, or make another method that ts_resortTable() calls [11:15] yes [11:15] there is a different between searching by binary [11:15] that doesn't require something as arbitrary as a link [11:15] and mapping to source for the query [11:15] we are talking about the same thing seb128 [11:16] in one case you argue that having to make the different between bugs applying to gedit and gedit-common makes a difference [11:16] not clear by reading the mail [11:16] ok [11:16] you could are that gedit-common query should no list gedit-bin bugs by example [11:16] kiko: well, I could make it onclick="ts_resortTable(getParent(this, 'td'))" [11:16] or say that a gedit-common bugs should list all the gedit source package bugs rather [11:16] anyway, the mapping looks good [11:16] we can work on specific UI issues later [11:17] fine with me [11:17] ddaa, would that be less code? [11:18] not sure, actually ts_firstChildByName() could be used to remove some other code... [11:18] but I wanted to avoid gratuitous refactorings [11:19] I'd do it if you think it works, otherwise getParent() looks more attractive. [11:20] well, it means I'll have to duplicate the firstChildByName logic in ts_resortTable where it looks for img. [11:21] you're right. [11:22] but I _can_ refactor that bit to use ts_firstChildByName :) [11:22] sounds good [11:22] do it, and let me see the patch [11:29] kiko: do you mean change the ts_resortTable API, or just factor out some code using ts_firstChildByName? [11:30] ddaa, factore the code out [11:31] bzr tip of the day [11:31] when in a light checkout [11:31] echo -n ~/path/to/branch > .bzr/branch/location ; bzr update [11:31] effectively implements "bzr switch" functionality [11:32] the -n option is important === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad === lakin [n=lakin@S01060013101832ce.cg.shawcable.net] has joined #launchpad [11:47] fix build bustage. fix build bustage. fix build bustage. [11:47] kiko-buildbot? [11:47] no, kiko-hyatt-mode === raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad