[12:01] i would have thought it becomes hard to pick an alias pretty quickly though [12:01] "zope-interfaces"... [12:01] it depends on the size of your project or on the amount of subproducts you have in it [12:03] i've never used an alias for a bugzilla bug; it seems like overkill. in any case, it's probably safe to remove it from the bugs-index.pt for now. [12:04] I have, though. agreed it's not needed in the listing [12:05] kiko: how do you think Bugzilla compares to RT? Just curious. [12:05] they solve different problem sets [12:05] RT is obviously more visually agreeable [12:06] Bugzilla is a hard-core bug/trasktracker that scales [12:06] is RT more an issue tracker? [12:06] Bugzilla's killer feature for me is review support [12:06] flags and attachment editing, IOW [12:06] yes, RT's more issue-tracker. [12:06] ah [12:06] and bugzilla scales and provides query options that matter [12:07] i'd like bugzilla to make me not have to think when I want to Cc, when i rarely have any idea what email address they've registered with in the BT [12:07] "they", i.e. the people i want to Cc on the bug [12:07] hum, but how do you CC: an arbitrary person? you do know we have user matching on substrings, right? [12:08] kiko: i dunno, how do you Cc an arbitrary person? :) i would have expected that to Just Work too, but then it gave me an error saying that it couldn't find that address when i tried to Cc someone who, apparently, wasn't reg'd with that addy. [12:08] you can specify portions of the person's address [12:09] as for user matching substrings, i still didn't know which substring to pick (and not accidentally hit someone else) [12:09] it's okay, you get a picker to choose from if there are collisions [12:09] oh, didn't know that [12:09] and a confirmation page if you didn't match uniquely (if that's configured) [12:09] err [12:09] if you *did* match uniquely [12:09] it could be trivially extended to also match on user *name*s but it doesn't today [12:09] maybe on purpose [12:10] perhaps, perhaps [12:10] I think we do the best we can do *given* a large user base [12:10] for a reduced user base glob implemented a userpicker [12:10] What is "Package" in ProjectProductSetup? The name of the corresponding Ubuntu package? [12:10] you can use it as well [12:10] debian source package name [12:10] user pickers would make loads of sense for canonical bugzilla [12:10] but not so for ubuntu [12:10] BradB, make sense? [12:10] kiko: i want a combo box [12:10] just email me & cc Mark the mapping [12:11] BradB, there is no such thing in HTML :) [12:11] lifeless: [package] ack [12:11] kiko: nah, i'm too lazy to care about if it's hard to do, i just want a cross-browser compatible combo box. [12:11] lifeless: [email] I am not putting on the wiki??? [12:11] [12:11] BradB, like we have for the package selector in b.ubuntu.c? [12:12] ddaa: no. [12:12] Ok [12:12] the wiki page was a flop, but it shows you want info is needed. [12:12] kiko: i haven't seen that, but you have something that acts like a windows GUI combo box where i start typing and it shrinks the list? [12:12] BradB, try this: [12:13] https://bugzilla.ubuntu.com/show_bug.cgi?id=1235 [12:13] it's justdave's baby [12:13] type into the Package box (yes it could use some visual styling) [12:13] BradB, however, it causes problems with page history and spiv and I well know. [12:14] kiko: woooooooooooo! [12:14] that's wild [12:14] yes, definitely something like that is what i meant. [12:14] heh [12:14] it's probably not difficult [12:14] that's nice work [12:14] I'd do it for a couple of DVDs :) [12:14] DVD bounties? :P === BradB may offer DVD bounties at some point in the future. [12:15] it's working for spiv, it could work for others :) [12:15] hehe [12:21] kiko: Ideally 1. Mark would pay for it, 2. it'd be a thing that can be reusable everywhere, because we have tons of use cases for it in launchpad (I'd add an actual dropdown though too, rather than waiting for me to type) [12:22] Malone already needs it for package and product selection [12:22] didn't limi design one of these for us? [12:22] I believe he did.. [12:22] hm, i don't think his looked anything like that [12:22] i found it pretty weird to be honest (a submit button for each result? eek) [12:23] agreed on all counts! I just didn't have the nerve to tell. I wanted it to be *SIMPLE*. [12:23] hehe, yep [12:25] ideally we'd bug the W3C to include one in the next spec [12:25] mark should buy the w3c [12:26] that'd be wild [12:27] let me ask hixie [12:27] kiko: that's no the way of Mark [12:27] kiko: hixie? [12:28] I'm going to email the list right now and ask Mark to buy us a combo box. [12:28] Instead, you should suggest him that having half the w3c staff on board could be useful to improve our standard-compliance ;-) [12:28] lol [12:29] yes, ask mark to buy us a spec and patches to IE and Moz. [12:29] Hixie_, how's it going? had a question for you [12:29] has the w3c ever evaluated something like a combobox for HTML Forms? [12:29] I'm literally emailing the list though, not to change the w3c spec, but... :) [12:29] (Hixie sits in on the XForms board) [12:29] This is a major UI problem now that we're dogfooding. [12:29] http://whatwg.org/specs/web-forms/current-work/#the-datalist [12:29] sorry [12:29] kiko: http://whatwg.org/specs/web-forms/current-work/#the-datalist [12:29] from the man himself [12:31] BradB, that's what you wanted right? [12:32] the page history issue should only affect that selector field itself now. [12:32] the main page history problem was fixed by reordering the element order on the page so that the dynamic listbox was the last item in the page (in the DOM) rather than being in the middle of it. [12:33] the trashed history only trashed the fields that occurred after it in the DOM. [12:33] ah. [12:33] kiko: from a .5 second skim, yeah, that looks like it. === ddaa [~ddaa@nemesis.xlii.org] has left #launchpad [] [12:33] in any case, we need something nowish. [12:35] yeah. and justdave's the man! [12:36] I'm using justdave's example in my lp@ mail [12:36] with the addition that it needs to let me make a selection without typing (i.e. like a true combo box) [12:37] it was theoretically possible to do that, the three-characters-required was to make the page load faster. [12:37] the index required to make it substring match on a single character made the index file a few hundred MB. [12:38] er, few MB actually. It's a few hundred KB now, with a three-character index. [12:38] anyhow, you don't want to shove multiple MB at someone's dialup connection just so they can file a bug. [12:39] yes we do :) === lifeless stops trolling [12:39] there's 3000 (or more now?) items in that listbox though. If you only have 20 or 30 things in it, the index would be really short :) [12:40] My thinking on making that scale better for dialup users was the switch it to a server-side search instead of client-side... have a button to pop up a new window that they can do the search in, and feed it back to the textbox when they select one. [12:41] that would also give them the option of browsing the entire list IF they wanted to download the whole list. [12:49] justdave: i would have thought xml-rpc + dom mutation was the way to solve that === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad === debonzi|dinner is now known as debonzi [12:52] BradB: yes, that's what you would do in the popup window [12:52] when you type a couple letters, you expect results to start showing up, the way it currently works. [12:53] you have a minimum 2 to 3 second delay every time you hit the server to look for something, just with browser and server overhead [12:53] yeah [12:53] and longer if they're on dialup. the delay to grab new info is confusing to the user if they didn't purposely initiate the server hit. [12:54] justdave: my concern is that i'm too lazy to click my mouse button to many times [12:54] s,to many,too many, [12:54] it might be worth making dialup users suffer, depending on just how much suffering it would be [12:56] ("suffer" by just bringing everything across the first time the page is fetched.) === dilys [daf@muse.19inch.net] has joined #launchpad [12:57] could you ... [12:57] bring down an index of the first item from the first two letters initially. [12:58] i.e. aardvark, abroken, acat [12:58] etc [12:58] then when they hit a, replace that with the a** index ? [12:58] if we do left-side match, the data necessary to download to the client is not all that bad. [12:58] as in, typing in the text field only matching things that start with what you've typed so far [12:59] the humungous amounts of data required to download only happens when we do a substring match [12:59] ohh. yeah [01:00] javascript doesn't have a "grep" command or equivalent. [01:00] (not natively implemented anyway) [01:00] so you have to manually step through an array looking for matches... (which will take forever and a day because javascript is slow)... [01:01] or you create a property list with all of the possible substring combinations as keys, and an array of the matches as the value to each key. [01:01] which is what our hack on Bugzilla is doing right now. [01:02] (the arrays are tokenized and there's no whitespace in the .js file to try to minimize data transfer) [01:32] Does anyone know if Limi has made any progress on an asynchronous selection widget? [01:32] stub, well, BradB and I don't really like the design we saw, but shhhh [01:34] design can be worked on - that was only a mockup. The main trick is the javascript for the textbox and the async. queries to do matching. [01:35] oic - you were talking about the delay incurred between hitting a letter and the results comming back... hmm... [01:36] so it has to have that ugly search button... [01:36] stub! [01:36] Greeting [01:36] s [01:37] stub: can you put a new dogfood version up? also, we really need email notification to be working properly (spiv filed the bug in bugzilla) [01:38] we also need to get rid of the test bugs [01:38] Fresh dogfood went up yesterday. I thought I'd turned on mail (but forgot to check it - there was a rather long and frustrating delay between configuring and actually rolling out). [01:38] it's turned on. perms error. [01:38] ok [01:38] i landed a bunch of crap today. [01:38] plus one more little thing whenever pqm finishes [01:39] that'll fix all the bugs except the sorting problem spiv reported...i went to fix that, then i go "crap, why am i presented a list of source package releases and product releases on a bug add form?" [01:39] As for test bugs - I think that dogfooding has found a feature we need. We need a way of deleting bugs. [01:40] stub: i seem to remember asking mark about that in london, but i thought he didn't want that. [01:40] dodgefooding. [01:40] lunchpod dogfood [01:40] kiko: does bugzilla let you simply delete bugs? [01:41] not really. [01:41] i'm not sure we want that [01:41] Sourceforge lets you set the status of a bug to 'Deleted'. It is still there, but you generally won't search for them. [01:41] it does, but it doesn't work 100% and it's not really something we encourage. [01:41] stub: ah [01:41] that's the right solution IMO. [01:41] for any history-based bit of software [01:41] Every single project that starts using the system will create at least one test bug, because everyone wants to confirm it actually works before telling their users to use it. [01:42] any kind of "delete" (even just a status) would seem so easy to be used wrong [01:42] "oh, it's fixed, i can delete this bug now!" and other horror stories. [01:43] i'm all about interfaces that are hard to use incorrectly [01:43] well [01:43] I would like to develop a tool rather than a bureaucracy. I think a way of hiding test bugs and such would be useful. [01:43] "Closed" might be enough for these extremely rare cases. [01:43] bugzilla *does* let you do it. :) [01:44] I really don't want a googlebomber to start submitting malone bugs to increase page rankings of some porn site ;) [01:44] ah yeah, hm [01:44] (oh... no hyperlinks so that isn't a problem) [01:45] i think plone's solved that with "reject" [01:45] (unless we parse the text and turn URLs into hyperlinks ala roundup, in which case it is a problem) [01:48] My grand plan for allowing people to merge code into the dogfood branch to allow trivial rollout has failed btw, mainly due to our central archive being managed by a lobotomized monkey (PQM... not lifeless...). I'll need to talk to lifeless to see if I can redesign the process. At the moment it is all working the way I hoped except it is stuck in my personal archive so nobody else can play. [01:49] arch-submit-merge "my evil changes" $dogfood? [01:50] Yes - but without the arch loops that would cause (that was my initial attempt, which jblack explained wouldn't work). [01:50] the most critical thing for the DF right now is email perms, because it prevents anything from being done in malone [01:51] So that just involves changing the queue directory right? I remember that one now... [01:51] yehh [01:54] ok - just fixed that. I'll do another push to get yesterdays code up. [01:58] thanks === BradB is now known as BradB|afk [02:06] BradB|afk, please give salgado some attention tomorrow, can you? [02:07] he's wanting to show you a fixed up sample data set that mark has commissioned, but it needs testing by a malone-expert; daf, if you could do so for rosetta as well, we'd appreciate it [02:08] hmm? [02:09] kiko: what needs doing? [02:10] daf, basically, just test the new sampledata package he's produced and help him into deciding what to do with the original files we have (which are rather broken AFAWCT) [02:11] kiko: what does he want to know, if it'll break malone? [02:12] i hope so, because I've already got python code figuring that out for me [02:12] that's right. [02:12] and then he wants someone to replace the current files by what we have :) [02:13] i don't think it's feasible for it to be significant. tests depend on the test data. [02:14] but other than that, if make check passes, he's good to go as far as malone's concerned. [02:15] okidok [02:15] time for me to run, thanks guys [02:15] adieu [03:49] the common (and supported) way of removing test bugs on Bugzilla is to create a "Test Product" which is set up as restricted so that only the admin can see it. [03:49] then just move all of the test bugs into that product. === doko [doko@dsl-082-082-065-071.arcor-ip.net] has joined #launchpad [04:46] Mmm... we don't want to have to do the gardening ourselves though, since there will be way too may projects for us to look after. === stub [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has joined #launchpad === BradB|afk is now known as BradB|zzz === doko [doko@dsl-082-082-070-249.arcor-ip.net] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad [10:56] Morning === cprov [~cprov@200.158.100.251] has joined #launchpad === elmo [~james@82.211.81.249] has joined #launchpad [11:52] lifeless: and I'm not sure why it's whining that there are no cmmits [11:52] when there areally are [11:53] buildbot doesn't look at commits, ignore that. [11:53] ^our [11:53] so what is it syncing? === salgado [~salgado@200-206-134-238.async.com.br] has joined #launchpad [12:38] commits. [12:39] the UI thing that says 'no commits' isd what you should ignore === Signon time : Fri Oct 15 14:54:13 2004 === Signoff time : Fri Nov 5 12:41:13 2004 === Total uptime : 20d 22h 47m 0s === warthylog [~warthylog@port49.ds1-van.adsl.cybercity.dk] has joined #launchpad === Topic for #launchpad: lunchpad: home of the sandwich artists | fogo na bomba | "qorking along happily, with SteveA egging us on" === Topic (#launchpad): set by sabdfl at Tue Oct 19 11:05:38 2004 [01:01] y'know; one thing that I dislike about test-driven-development is that seeing a 100% pass rate no longer fills me with joy === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad === kiko [~kiko@200.144.121.120] has joined #launchpad === kiko is now known as kiko-afk === debonzi [~debonzi@200.158.100.251] has joined #launchpad === Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad [02:56] time for me to head off === BradB|zzz is now known as BradB [03:40] daf: ping [03:40] salgado: ping [03:41] BradB: pong [03:41] salgado: did kiko-afk pass on the message to you about how to know if your sample data will break malone? [03:42] BradB: no [03:42] "make check" :) [03:43] salgado: if it breaks any tests, the sample data should be adjusted to not break any tests, unless there's an exceedingly good reason for it to warrant me spending the time to go through and fix all the tests (i.e. the malone forcefield) [03:43] salgado: if "make check" passes, you might not have broken soyuz and rosetta, but you almost certainly didn't break malone. [03:45] BradB: ok, thanks. === salgado is now known as salgado-lunch === BradB is now known as BradB|brb === BradB|brb is now known as BradB [04:39] spiv: ping [04:40] pong. [04:41] spiv: we probably want the submitter of a bug to be automatically subscribed to notifications eh? [04:41] Uh, yeah :) [04:41] I assumed that was already the cae :) [04:41] i'll report that and fix it today [04:41] So I guess that's a "yes" :) [04:41] nope...you didn't get notifications when you reported your bugs, right? [04:42] I did, actually. [04:43] which bug #? [04:43] Hmm, the notification emails don't include: [04:43] - a bug number [04:43] - or a url [04:43] :) [04:43] 12 and 13, which I added today. [04:43] Ah yeah...I hacked the actual content of the messages in pretty au hazard. Now that it all works though, I can fine-tune what it tells you about the bug, or what's changed WRT to the bug. [04:44] Should I file bugs about that, or will you take care of it? :) [04:45] i'm doing it...just looking at how you're getting notifications right now [04:45] oh, it's because i special-cased adds [04:45] Heh. === BradB reports that one and the message content one [04:46] i'm also still not clear on how to "resolve" a bug, hmph. [04:46] Bug title has to be widened on the add form too. [04:46] woo! [04:48] debonzi: ping [04:49] er, hm...i'm just wondering if it's worth creating products for m, s, r, and l, instead of filing bugs against "source packages" m, s, r and l. [04:49] calling the lp apps source packages is dirty [04:54] BradB, pong [04:55] BradB: pong [05:00] debonzi: n/m for the moment...i was going to ask you to create products for m, r, s and l (instead of what SteveA had said previously that they'd be treated as "unreleased packages"), but maybe we can wait on that for the moment. [05:00] daf: is dilys getting malone email? [05:01] I got one today [05:01] you should have several more now [05:01] From: noreply@bbnet.ca [05:01] yeah [05:01] BradB, ok [05:01] Subject: Comment on "What is an "Owner" of a bug?" [05:01] oh crap, yeah the bug adding notification really sucks [05:02] I only see that one [05:02] it special cases the owner, and *only* notifies the owner, in fact. [05:02] ah, I see [05:05] elmo: do we have any domains with the word "launchpad" in them? [05:05] BradB: launchpad.ubuntu.com [05:05] i thought we had thelaunchpad.org, but unless i'm reading dig output incorrectly, i guess we don't [05:05] elmo: o [05:05] er, ok i mean [05:06] BradB: we might have a tld with launchpad in it, but I don't know what it is, Mark would tho [05:23] daf: my jabber client does not work at the moment [05:23] BradB: any chance to get imported our current bugzilla bugs into malone? === salgado-lunch is now known as salgado [05:25] carlos: it could be done. sabdfl would have to decide if it's worth the money. [05:26] (i.e. nothing exists currently to do it; we'd have to write an importer) [05:27] so we are going to throw to the trash current bugs at bugzilla.ubuntu.com when we move to malone :-? [05:27] carlos: what you're suggesting is that it's probably worth the money. mark'll have to confirm that. [05:28] carlos: ah [05:28] carlos: Did we agree on update makeTranslationSighting so it accepts a list of translations instead of doing several calls with the pluralform number? [05:28] carlos: it's not in your mail [05:28] dgh: I think making it take a list would make it more difficult to update only one translation [05:29] (paste from Jabber) [05:29] yes, I saw that, it's the last thing you saw? [05:29] :-( [05:29] "bad, bad server, no donut for you" [05:29] :-P [05:30] yes, that's the end [05:33] 17:16 hmm, I'm having problems to figure [05:33] 17:16 how to mark a messageset as fuzzy when importing a pofile [05:33] 17:16 inside that method the way it's done now [05:33] 17:17 the only option will be to do it explicity [05:33] 17:17 instead of implicit in that method [05:33] that's what I wrote [05:33] hmm [05:34] It's not a bad thing [05:34] with the new model we are doing now [05:34] true [05:34] ok, so I will do it that way [05:35] well, the flag should either be set when the message set is created, or have a default and be updated later [05:35] daf: :-? [05:35] are you talking about import time? [05:35] and fuzzy or in general? [05:36] I'm not sure, what do you think? [05:36] :) [05:37] you are not sure about what are you talking about? [05:37] X-) [05:37] lots of people do it, they just don't usually admit it :) [05:38] ok [05:38] on import time, when we create a msgset, we could know already if that msgset should be marked as fuzzy or not [05:39] so we could set it when it's created [05:39] how do we create a message set at import time? [05:40] pomsgset = self.pofile.createMessageSetFromMessageSet(potmsgset) [05:41] there are some defaults there, it's easy to fix them [05:41] ok, cool [05:42] well, a new messageset should have iscomplete = FALSE and fuzzy = TRUE to begin with, right? [05:42] actually, perhaps fuzzy should be FALSE [05:42] we won't export it if it's not complete [05:42] I don't think the translator should have to explicitly mark things as not fuzzy [05:42] then, from Rosetta UI, we also know if the msgset is fuzzy or not so we could do the same approach [05:42] hmmm [05:43] I don't follow you [05:43] BradB: Hmm, the forgotten password page is broken on the dogfood server... [05:43] BradB: I wonder if that's the same issue as the live plone system? [05:43] ok, let's say we have a translator translating GNU Hello into Spanish [05:43] and it hasn't been translated into Spanish before [05:44] he goes to the translation page [05:44] types in a few translations, and hits Submit [05:44] ok [05:44] then, a new PO file is created [05:44] and createMessageSetFromMessageSet is called for each of the message sets he submitted translations for [05:45] if those new message sets are fuzzy by default, he's going to have to explicitly set each translation he makes non-fuzzy for them to be used [05:45] do you see my point? [05:46] spiv: maybe try the live server and see if it works [05:46] well, I don't think they should be set fuzzy by default [05:46] ok, neither do I :) [05:46] I think I'm not talking clear here :-) [05:46] spiv: of course, resetting it on the live server won't mean you can get into dogfood, but still, just to see... [05:46] carlos: maybe :) [05:46] BradB: What do you mean by the live server? [05:47] ubuntulinux.org [05:47] the method does not accepts if a new msgset is or not fuzzy, I was talking about adding that option [05:47] /forgottenpassword, i think [05:47] BradB: We know that one's broken, remember the issue form yesterday? [05:47] BradB: Malone emails don't seem to contain bug numbers [05:47] s/form/from [05:47] we know if it should be fuzzy or not when we create it [05:47] spiv: we know it is with the email address he reported, yeah. i didn't test with any other. [05:47] carlos: how do we know? [05:47] BradB: I tested it with my own :) [05:48] spiv: then it's unsurprising that it wouldn't work on dogfood. [05:48] daf: that's reported as a bug. [05:48] Ok, so the dogfood breakage isn't a known issue, but probably the same as the live breakage. [05:49] daf: because we have already parsed that msgset (when importing from a pofile) and from rosetta we also know if we have all needed translations [05:49] spiv: that's my hunch [05:49] So if we fix the dogfood breakage, then all we need to do is find this mysterious live launchpad and roll out the fix there :) [05:49] BradB: groovy -- so if, I have a bug number, it's trivial to construct a link to that bug, right? [05:49] spiv: not live launchpad, ubuntulinux.org [05:50] daf: yeah [05:50] BradB: Well, yeah, but where is it's forgotten password page coming from? [05:50] BradB: It's not plone, from what you say. [05:50] carlos: the user interface code shouldn't have to decide whether a message is complete or not [05:50] spiv: er, yeah, no idea there [05:50] carlos: I think the DB code should do that work [05:50] BradB: Hence "mysterious live launchpad" :) [05:51] yes, i know what you mean now :P [05:51] daf: ok, then, how? [05:51] Ok, ta. [05:51] debonzi: ping? [05:51] spiv, pong [05:51] spiv: you can reset it in the db manually though [05:51] spiv: can you sudo to launchpad on mawson? [05:51] daf: If we call several times to the makeTranslationSighting it's too difficult to track all translations [05:52] debonzi: do you know why the forgotten password page on dogfood is broken? [05:52] spiv: er, wait, you didn't forget your password anyway though, right? [05:52] carlos: if (len(self.translationSightings()) == self.pluralForms): self.iscomplete = True [05:52] carlos: ? [05:52] because you've been submitting bugs... [05:52] BradB: I've forgotten andrew@canonical.com... [05:52] BradB: But I remember andrew+test@canonical.com :) [05:52] hehe [05:52] spiv, no idea.. Im not working on it since the sprint [05:53] BradB: You win points for observation, though :) [05:53] heh [05:53] spiv, but I can check if you want [05:54] debonzi: that'd be good, I'm getting ForbiddenAttribute: ('getPersonFromDatabase', ) [05:54] spiv: there's already a bugzilla bug where i clarified that [05:54] daf: ok, I get the idea [05:54] spiv: (that steve's the one to bug, and that i spoke to debonzi about it) [05:54] i guess you're not Cc'd on it, perhaps [05:54] BradB: Yeah, I saw. [05:54] carlos: it makes sense? [05:54] daf: but what about the fuzzy flag? [05:55] carlos: yeah, the fuzzy flag must be explicit, I think [05:55] daf: if I have four plural forms and I put there only three [05:55] we agree that the translator will set/unset it explicit [05:55] BradB: But if we fix it for dogfood, hopefully it'll be trivial for Steve to fix the live one when he returns :) [05:55] I mean explicit in the call to the makeMessageSet... [05:55] but if they don't give us enough pluralforms [05:55] ok [05:56] so that will be set from the UI code [05:56] I've changed my mind about the fuzzy flag [05:56] I think fuzziness and completeness should be orthogonal in the database, but related on export [05:56] :-? [05:57] could you then give me a propossal? [05:57] oh yeah, ok, cool, useful debugging output. [05:57] :-) [05:57] carlos: sure :) [05:57] carlos: ok, so I think a translator should be able to mark a message set non-fuzzy even if it is not complete [05:57] carlos: but if a message set is not complete, it should be fuzzy on export [05:58] carlos: this method means we don't have to set fuzzy flags on import [05:58] ok [05:58] how does it sound? [05:58] It's ok for me, I don't have a preference about all this as soon as it's consistent [05:58] it's another approach and I see it as valid as the previous one [05:59] ok, sorry for being slow to get this decided [05:59] spiv, seems to me that IPasswordResets is not right [05:59] did I answer your question? [05:59] let me think about it looking for "problems" [05:59] ok, I think maybe I need a bit more sleep [06:00] spiv, ops.. wait [06:00] so when we import a po file, if we have all plural forms, iscomplete = TRUE if it's fuzzy or it lacks a plural form iscomplete = FALSE [06:01] fuzzy = TRUE only if the msgset is fuzzy in the pofile [06:01] iscomplete = TRUE if we have all translations [06:01] fuzzy = TRUE if it has the fuzzy flag [06:02] spiv, yes.. but it is in IAuthApplication .. it does not define getPersonFromDatabase [06:02] that's all [06:02] on export: fuzzy = ((fuzzy = TRUE) or (iscomplete = FALSE)) [06:02] from the website, fuzzy as the translator sets it and iscomplete= TRUE only if we have all pluralforms [06:02] ok [06:02] yes [06:02] I think we will not have any hard problem with this model [06:03] yeah, I think it's slightly easier than the previous revision [06:03] debonzi: That would explain it :) [06:03] yes [06:03] we fix .po files we will export [06:03] and don't touch .po files we import [06:04] yep [06:04] it's nice because it meets "be liberal in what you accept and careful in what you generate" [06:04] spiv, also, EmailAddress is used inside auth/__init__.py but is not imported [06:05] debonzi: Heh. Badly broken :) [06:06] daf: true [06:06] spiv, and there are some more little thinks :) do you want me to fix it? [06:07] s/thinks/things [06:07] debonzi: Yes please :) [06:07] spiv, right [06:20] BradB: ping? [06:22] spiv, fixed.. Ill merge it into rocketfuel === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad [06:25] debonzi: Great :) [06:25] debonzi: Thank you [06:25] salgado: pong [06:26] spiv, no problem :) [06:26] BradB: did you removed pkgurgency and binaries from ISourcePackageRelease? [06:28] salgado: Yep, as mentioned yesterday I fixed ISourcePackageRelease to what it used to be, so that it does what it's expected to do (i.e. be an ISourcePackageRelease.) [06:28] salgado: You'll need to create a new interface for the view. [06:29] s/be an ISourcePackageRelease/be a schema for a source package release/ [06:30] BradB: but pkgurgency and binaries already was in ISourcePackageRelease, they're not part of our view [06:40] salgado: I don't get it, why would they be schema attributes? [06:40] there's already "urgency", which surely must be the same as pkgurgency, and if not, one of them needs renaming [06:42] BradB: pkgurgency is a property to translate urgency using dbschema [06:43] salgado: I'm not sure if that's a common way to handle that, but I don't think we should do that. Schemas are meant to describe what kind of data we want to store. [06:44] it turns out that those dbschema vocabs are just more trouble than they're worth, I think [06:45] if that stuff were stored in tables, life would be easier (because we could simple do dot access on the relevant sqlobject properties to get the title, instead of BugStatusVocabulary.items[foo.bar] .title, etc.) [06:45] BradB: the fact is that we need pkgurgency in ISourcePackegeRelease, cause if it's not there, classes implementing this Interface will break, as they access pkgurgency [06:46] i checked in the change because the tests told me i didn't break anything. [06:47] feel free to add them back though, but i'd suggest first writing a test that breaks because they're not there, and then adding them to make the test pass. [06:49] (this might mean generating a functional doctest, which is even better, because you don't have to write any code.) === BradB emails lp@ with some tips on what you need to hack to make functional doctests that pass. [06:52] BradB: can you please cc to salgado@async.com.br ? [06:53] sure [06:53] thanks [07:18] BradB: is there something I need to do before running make check? [07:19] salgado: nope === BradB is now known as BradB|lunch [07:33] INVALID SIGNATURE ON REVISION! [07:33] archive: rocketfuel@canonical.com [07:33] revision launchpad--devel--0--patch-736 [07:33] checksum file: checksum [07:33] ?! [07:34] daf: press the arch HELP button :-) [07:34] I'm looking for it! :) [07:34] > tla panic [07:34] tla: unrecognized command (panic) [07:40] :-P === stub [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has joined #launchpad [08:04] daf: I found the problem to this new approach (sorry O:-)) [08:04] :) [08:04] what is it? [08:04] daf: it's solved adding a precondition before calling to makeTranslationSighting [08:05] the fuzzy flag should be set/removed before calling makeTranslationSighting [08:05] why? [08:05] because that also controlls the iscomplete [08:05] no, it doesn't [08:05] if it's fuzzy it's not complete [08:05] no [08:05] no? [08:05] fuzzy and completeness are not related [08:05] so fuzzy=TRUE and iscomplete=TRUE is valid? [08:06] of course [08:06] ok, that also changed since yesterday :-) [08:06] "complete, but needs review" [08:06] ok [08:06] # Explicit set of iscomplete [08:06] # If we have all translations, it's complete, if we lack a [08:06] # translation, it's not complete. Also, it's not complete if it's [08:06] # fuzzy. [08:06] if None in self.translations(): [08:06] # The set is not complete [08:06] self.iscomplete = False [08:06] else: [08:06] self.iscomplete = True [08:06] that's the code added to makeTranslationSighting [08:06] complete ONLY means "has the correct number of translations" [08:06] ok [08:07] the two flags are only related on export [08:07] hmm /s/Explicit/implicit/ [08:07] and forget the fuzzy comment [08:07] looks good [08:11] we should update the documentation [08:18] I know [08:19] I'm also trying to guess how to write a unittest for this change [08:19] or should It be a functional test? [08:42] hmm [08:43] I think it would be difficult to make a unit tet [08:43] test [08:50] daf: yeah, I discarted it already [08:51] daf|carlos: do you know how to delete a row using SQLO ? [08:52] cprov: I think it's in The Guide [08:52] cprov: not sure if it's the same, but SQLObject.delete() should remove it [08:52] hmmm [08:53] SQLO == SQLObject [08:53] right? [08:53] carlos: aha, yes [08:53] I need to sleep more... [08:53] carlos: lol [08:53] daf:our guide in wiki ? [08:54] cprov: yes [08:54] cprov: https://wiki.canonical.com/SQLObjectGuide#head-d6f5636098cd458ce9d22939f8e3e8deab0e9bd0 [08:54] www.sqlobject.org has also some documentation [08:56] cprov: obj.destroySelf() or cls.delete(id) === BradB|lunch is now known as BradB [08:58] daf: carlos: salgado: thanks [09:01] carlos: I've already gone to sleep once since I got up :) === mdz_ [~mdz@69-167-148-207.vnnyca.adelphia.net] has joined #launchpad [09:02] daf: :-D === carlos leaves to go to the cinema [09:02] see you later [09:02] good weekend if I don't see you before Monday [09:02] carlos, have fun === mdz_ is now known as mdz [11:10] !alindeman:*! Hi all! The irssi project is redesigning their website and are having a contest, looking for the person who comes up with the best design for the new site. If you're interested, please see the rules on http://www.irssi.org/ and join #irssi-site === ddaa [~ddaa@nemesis.xlii.org] has joined #launchpad === ddaa [~ddaa@nemesis.xlii.org] has left #launchpad []