[12:01] ok [12:01] but I don't know the city so don't know a good place to buy it outside big stores that are also in Valencia [12:01] at worst, lamont's bringing me one, but i was hoping to have my own [12:02] carlos: how commonly spoken is french in spain? [12:02] BradB: zero [12:03] BradB: but Catalan is close to French (some words) so perhaps you could understand somethings [12:03] damn! i would have thought sort of popularish, given that the francophones i know learning spanish say it's really easy to learn spanish once you know french, thought it might be reciprocal [12:04] BradB: the problem is that Catalua has its own language, thus they usualy learn Spanish, Catalan and English [12:05] BradB: in other Spanish regions where don't have a local language, they learn Spanish, English and French [12:06] ah [12:27] sabdfl: I can't figure out if logging everything (in BugActivity) that gets added to a bug (an assignment, an infestation, a web link, etc.) makes sense or not. What do you think? [12:38] sabdfl: I'll try and make the time up on saturday instead then. === kiko_bz is now known as kiko [01:33] Merge to rocketfuel@canonical.com/launchpad--devel--0: Small improvements to the potemplate add/edit forms (patch-934) === stub [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has joined #launchpad [02:11] BradB: ping === kiko [~kiko@200-206-134-238.async.com.br] has joined #launchpad === Signon time : Thu Dec 2 08:38:37 2004 === Signoff time : Fri Dec 3 06:27:18 2004 === Total uptime : 0d 21h 48m 41s === 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 === 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 [09:44] morning all [09:46] BradB: log only what you think makes sense, we'll get user bug requests if they think they want to see something in there that we are not logging and can deal with those on a case by case basis. [10:01] stub: around? [10:01] sabdfl: Yup [10:01] did you get a chance to look at mark-project-refactor.sql? [10:02] Yes - emailed you about it [10:03] Its already to put it in if we want. [10:05] My main concern is when I checked the documentation on the project table, it looked like we could no longer reasonably support some of the original use cases (gnome project's website product, kde project's website product) without people having to use the project name as a prefix for some or all of their products. === silbs [~sbsm0084@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad === ddaa [~ddaa@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad [10:09] sabdfl: Is that manifest patch waiting on me btw? I don't remember getting an 'its ready' but may have missed it. [10:11] sabdfl: those areones brought in previously as we'd agreed. bob2 will be working on them today. [10:12] yup [10:29] stub: no, i am going to work on code with keybuk today, then we'll know it's ready [10:30] (the manifest patch) [10:30] stub: new version of the projectless patch will be in as soon as pqm is ready [10:31] i've dropped the old UNIQUE (project, product.name); [10:31] and added comments [10:31] Did you get my modifications? Or are we going to get a clash [10:31] stub: need some manual tinkering with the production db at some stage [10:32] i refueled just before modifying it, had you comitted? [10:33] Yes - but I don't know if it got through in time (I hadn't noticed my first commit bounced due to forgetting to update launchpaddatabaserevision earlier today) [10:34] See what happens [10:35] Merge to rocketfuel@canonical.com/launchpad--devel--0: bugassignment table and bugactivity tweak (patch-935) [10:36] I win. [10:37] sabdfl: I think your patch will conflict. Email me the file and I'll sort it at my end. [10:55] bugger [10:55] :-) [10:55] i'll have to resolve the conflict anyhow [11:04] Merge to rocketfuel@canonical.com/launchpad--devel--0: update project refactoring patch for stub (patch-936) [11:14] sabdfl: do you think we'll have malone working as the ubuntu bug tracker later this month? [11:55] Merge to rocketfuel@canonical.com/launchpad--devel--0: Soyuz classmethod clean up done. All classmethods used before for Soyuz app componentes has been removed. Other solutions has been used like utilits as sugested by SteveA. Thanks SteveA. (patch-937) === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad [11:57] morning [11:58] Merge to rocketfuel@canonical.com/cscvs--devel--1.0: production fixes to the gnarly port (patch-42) [11:58] hi carlos [11:58] you pingged me, but I was asleep [11:58] SteveA: yes, it was about the mail I sent you later [11:58] the file upload problem [12:03] okay, I'll take a look at it. It does seem very strange that adding another field to the form stops it working properly. [12:03] what browser are you using? [12:03] SteveA: no, it does not stops working , the forms works, but the upload field does not work like it should [12:04] SteveA: epiphany [12:04] the old upload form works always [12:04] that's what I mean by "stops working properly" [12:04] can you try it with firefox? [12:04] but my template creation form with that upload field does not handles the upload [12:04] ok [12:04] sure [12:04] daf had a similar problem earlier with epiphany, and it seems to be a problem with epiphany === debonzi [~debonzi@103.21.77.83.cust.bluewin.ch] has joined #launchpad [12:09] SteveA: it works now so I could assume that it's epiphany's fault [12:09] do we have any epiphany hackers on the warty/hoary team? [12:09] I thought it was not the problem because daf had a check to prevent it, but it does not work. I will fix it now [12:10] maybe they've come across this problem before. perhaps it is a reported bug [12:10] SteveA: don't know [12:10] if we knew more about it, perhaps there's a way of working around it [12:10] I could check that with seb128 [12:11] SteveA: I will do a check to see if it's a file like object or a unicode instance [12:12] if it's a unicode instance will show a warning saying that the upload failed [12:12] that should stop breaking launchpad [12:12] that's a good idea [12:12] as soon as we know if there is a way to fix work around it we could change it later [12:13] /s/fix/ / [12:13] actually, here's what I want you to do. [12:13] 1. file a bug in malone on this. this is okay, even if it isn't our bug, as we need to resolve it one way or another. [12:14] 2. put your workaround in the code, and write a comment in there saying why this is there, and making reference to the bug in malone [12:15] 3. write a message to the launchpad mailing list describing the problem and the workaround and the bug, so that everyone else on the team knows about it [12:15] we can get seb128 to look at it in mataro [12:15] ok === salgado [~salgado@200-206-134-238.async.com.br] has joined #launchpad [12:16] SteveA: I have other problem that prevents me to reduce code duplication [12:17] I'm not able to do a "from canonical.rosetta.pofile_adapter import foo" [12:17] from canonical/launchpad/database/pofile.py [12:18] because canonical/rosetta/__init__.py imports the class Project [12:18] "from canonical.launchpad.database import Product" [12:18] and seems like it's not ready at that point [12:18] sorry, Product, not Project [12:19] well [12:19] I see the problem [12:19] I know I could fix it with: "from canonical.launchpad.database.product import Product" [12:19] RosettaApplication has changed from being a "placeholder application object" that doesn't do anything but have some views [12:19] into a database object that directly uses SQL [12:19] but I know that we are trying to prevent those imports [12:20] So, RosettaApplication needs to move in to the launchpad/database area [12:20] or, that code (the translatables method) needs to be separated from it somehow [12:20] the way I'd do this is as follows [12:20] * keep RosettaApplication where it is [12:21] * make translatables() part of the IProductSet interface and the ProductSet class. [12:21] * make RosettaApplication use this by looking up getUtility(IProductSet) [12:21] so, we get to keep RosettaApplication where we expect to find it [12:22] and it does not depends on the sql code directly [12:22] and the translatables() method is also in a reasonable place, seeing as it is to do with products [12:22] yes [12:22] I get the idea, ok. [12:22] thanks [12:30] SteveA: seb says that it's the first time he knows about that epiphany bug and he says he don't have a problem with bugzilla uploading files from it === stub [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has joined #launchpad === SteveA [~steve@adsl-213-190-44-43.takas.lt] has joined #launchpad === SteveA [~steve@adsl-213-190-44-43.takas.lt] has joined #launchpad [12:57] Merge to thelove@canonical.com/bazaar--devo--1.1: Now baz changes does a tree-lint (patch-23) === cprov [~cprov@200.158.100.251] has joined #launchpad [01:16] if I do a "baz delta --diffs patch-998 patch-999" where neither of these patchlevel exists, I got a "corrupt archive" error. [01:17] but if I specify launchpad--devel--0--patch-99{8,9} it tells me that these patchlevels doesn't exist(exactly what I expected). [01:17] is this intensional behaviour? === kiko [~kiko@200-206-134-238.async.com.br] has joined #launchpad === debonzi [~debonzi@103.21.77.83.cust.bluewin.ch] has joined #launchpad [02:44] carlos: heard of "trados" ? [02:46] SteveA: context? [02:46] translation tool [02:46] my wife is a linguist and she works with Trados [02:46] the defacto standard for translators and linguists [02:46] standard of what? [02:46] of a translations tool [02:46] one of its main functionalities is the translation memory [02:46] okay. I'll ask the rosetta team about it. [02:46] you put a document in and Trados records Translations of sentences of this document [02:46] yes [02:47] I think some people was talking about it at gnome mailing list [02:47] let me check [02:49] yeah. I know that the name was familiar for me [02:49] I think it's the most used application to do translations [02:49] it's a commercial tool [02:49] we should try to look at it sometime [02:50] http://www.trados.com/ [03:00] stub: pong [03:00] sabdfl: yes, i've been following some ideas to keep the bug changelog fairly simple [03:01] eh? Oh - I emailed you about that (and then Mark said on the mailing to do it the way I did anyway) [03:02] catching up on email now [03:02] Patch is in, but the bug migration isn't === salgado is now known as salgado-afk === kiko is now known as kiko-afk [03:44] New Malone bug #116: "Upload fails sometimes from epiphany", submitted by Carlos Perell Marn [03:44] https://dogfood.ubuntu.com/malone/bugs/116 [03:46] Is there a standard login on the dogfood server? [03:49] Urgh... I thought my merge went through hours ago - bounced :-( [03:50] Kinnison: Real accounts please [03:50] stub: real accounts? [03:50] stub: UNIQUE(project, name) will allow dup names for products that don't have projects. Is that something we want to allow? [03:50] I'm guessing not. [03:50] Not a shared one - yours. === Kinnison looks [03:52] BradB: No. My bad. [03:52] stub: the forgotten password thing mails me an ubuntulinux.org change url [03:53] Yer - you need to create your account in launchpad_dogfood or con someone else into doing it for you. [03:53] But apparently the password I last thought of was correct [03:54] Kinnison: dude, you already bypassed the forgotten p/w and manually reset your p/w in the dogfood db, IIRC :) [03:54] BradB: product.name is about to become UNIQUE anyway - patch should have gone through a few hours ago but I didn't check that mailbox ;) [03:54] BradB: it seems so [03:54] stub: So product names will be *globally* unique? [03:54] BradB: Yup [03:54] BradB: I forget these things when using a different browser :-) === Kinnison has taught his desktop the login data now ;-) [03:55] Kinnison: heh heh [03:55] stub: hm, interesting :) [03:58] * jblack@gnuarch.org--2004/baz--lintchanges--1.1--patch-1 [03:58] Now baz changes does a tree-lint [03:58] finally! :) [04:01] BradB: We arrive at Barcelona at the same time. Look out for the unshaven dude with stupidly long hair and a Zope T-Shirt. [04:02] wicked! [04:02] I just shaved yesterday, but I might be too lazy to shave again once the con gets under way. [04:04] I mean [04:04] SERIOUSLY long hair [04:05] X-) [04:08] Merge to thelove@canonical.com/bazaar--devo--1.1: By default show qualified revisions (patch-24) [04:13] Actually - I'll wear my Async SHOW ME THE CODE T-Shirt [04:13] 'Cause it is cool [04:14] Merge to rocketfuel@canonical.com/launchpad--devel--0: Product.name is now globally unique, and Product.project optional (patch-938) [04:38] BradB: do we have a way to do form validation easily in launchpad? [04:38] I'm more interested on the visual feedback of errors (missing mandatory fields and things like that) [04:41] Merge to thelove@canonical.com/bazaar--devo--1.1: merge in tla inode sig integrity improvements from rbtcollins@hotmail.com--barch/tla--inode-sigs--1.2 - helps bug #3869 (patch-25) [04:41] carlos: for forms that aren't add or edit forms, you mean? [04:41] BradB: well, at this moment it's for add/edit forms [04:42] I know you are using autogenerated forms with malone, that's why I'm asking [04:46] carlos: Yes. [04:47] Pass a callable to the constraint paramater. [04:47] (of a field in your schema) [04:47] carlos: src/zope/schema/README.txt [04:47] BradB: thanks [04:48] no prob === carlos leaves for a while, will be back in one hour or so [05:08] elmo: roughly what time would be a good time for gina to run? I.E. when will the daily archive sync complete? [05:19] Farewell until Spain! I'm off in 12 hours. [05:20] see you there dude === debonzi [~debonzi@38.90.203.62.cust.bluewin.ch] has joined #launchpad [05:58] Kinnison, BradB: I plan to fix up forgottenpassword tonight [05:58] SteveA: cool [05:58] awesome [05:58] SteveA: hang on... tonight? Aren't you at the lunchpad? [05:58] no [05:58] I'm in lithuania [05:58] oh I thought you flew to .uk on wednesday [05:58] I'd just popped in to see what condition my condition was in. [05:58] well, that and a schooltool meeting. [05:59] oh heh [05:59] afaik, the schooltool meeting had been planned before the arch sprint [05:59] so I did 1/3 day on schooltool and 2/3 on canonical [05:59] each day === debonzi [~debonzi@61.208.76.83.cust.bluewin.ch] has joined #launchpad [06:03] nice article on wrapping GTK+ things for python: http://www-106.ibm.com/developerworks/linux/library/l-wrap/ [06:07] I was in this cafe, and the "ubuntu" song came on the sound system. So, I bought the CD from them. [06:09] it's one of the songs on the "Africa" compilation published by Putomayo [06:10] SteveA: bring the CD with you to mataro? [06:11] yep, willdo [06:11] I'm listening to it now, as I'm not sure which track is the one with the ubuntu chorus. [06:12] definitely "move your ass around" music though [06:12] ideal for those long coding sessions [06:14] Mmm donkey! [06:14] aha, got it: "Thandaza" by "Soul Brothers" [06:25] SteveA: email sent [06:26] thanks === Kinnison -> london. [06:44] BradB: do you need this fixed up urgently? [06:44] I mean, is it stopping you doing something you really want to get done right now? [06:44] (just trying to plan my evening's work) [06:45] SteveA: It's not stopping me, per se, but it's still leaving a major gap in the fact that the whole point of keeping history (or well, an important part of it) is to be able to make a note about why one changed something (e.g. why a bug was rejected.) [06:45] I'm just putting a dummy message in the BugActivity.message field in the meantime. [06:46] I think it's more of a showstopper than the forgotten p/w though, if that's what you're asking :) [06:46] okay. I'll take a brief look now, and if I don't get the "eureka", I'll try and get to it more thoroughly this evening. [06:48] BradB: probably unrelated... fields="title shortdesc description name" [06:48] I see no changelog_comment in there [06:49] SteveA: Unrelated. Error is precisely the same with or without. [06:50] try adding a "for" attribute perhaps [06:55] I'll have to try it a bit later, as I've commented out the code and reverted the ZCML, and am in the midst of merging some of the activity stuff. [06:56] Merge to thelove@canonical.com/bazaar--devo--1.1: merge in aaron.bentley@utoronto.ca--baz/bazaar--three-way--0 (patch-26) [06:56] okay. let me know how it goes, and whether I need to look into it further. [06:56] if it *does* work, that makes it easier to find out exactly what is going on. [06:57] ok, I'll let you know when I get around to it. === kiko-afk is now known as kiko === salgado-afk is now known as salgado [07:24] SteveA, I want to get rid of person-{join,unjoin}.pt, wich only serves to display "User foo joined team bar". for this I was thinking in self-posting to the team page and then look in the request for +join/+unjoin. [07:24] what do you think of this? [07:26] salgado, except it's not self-posting! [07:27] yeah, it's not. but how do I'll call it? [07:28] sounds like something that could use a status message and a redirect === mdz_ [~mdz@69-167-148-207.vnnyca.adelphia.net] has joined #launchpad [07:32] SteveA, can you elaborate or point out a simile? [07:33] -----> d:-) [07:33] oh, you didn't mean "a smiley" [07:33] simile [07:33] n : a figure of speech that expresses a resemblance between [07:33] things of different kinds (usually formed with `like' or [07:33] `as') [07:34] I meant that, rather than fill in a form and go to a do-nothing page that just says "you did something", go to a normal "+index" page, but with a status message saying "you did something". [07:34] For a self-posting form, this is usually done with a redirect on successful form submission [07:35] SteveA, using person-join.pt and a redirect, or using index itself and sniffing +join from the request location? [07:35] kiko: yep -- had metaphor and simile drilled into me for years in school :-) [07:35] thank god someone here went to school! barbarians! ;) === kiko is completely crushed-tired today [07:36] the message would be done in the same way brad has been doing messages. [07:36] ah? [07:36] kiko: I wrote a mail to the list about it already. [07:36] kiko: It should contain everything you need to know. [07:37] a bit subject to "we can make your page say something lame" injection attacks [07:37] but we'll worry about that later [07:37] SteveA: Mine isn't. :) [07:37] ok -- must read it more carefully ;-) [07:37] BradB, did the message have a subject? :) [07:37] Merge to rocketfuel@canonical.com/launchpad--devel--0: record some of the more important bug activity, namely bug add/edit, package assignment add/edit and product assignment add/edit (still a work in progress\!) (patch-939) [07:37] kiko: Yeah, it mentioned "status messages" in the subject :) [07:38] And "add forms" too, I think. [07:38] okay [07:38] salgado, see if you can find it, otherwise I can explore my launchpad mailbox [07:38] but if it is not sufficient [07:38] I WILL BE BACK === kiko whimpers about this is documentation, wiki material, not friggin mail content! [07:39] and that wasn't english either [07:39] kiko, I'm reading it right now [07:39] kiko, salgado: http://rince.africaninspace.com/mailman/private/launchpad/2004-December/000845.html [07:40] that shows how sadly difficult it currently is to display status messages that 1. survive redirects and 2. avoid content injection attacks. === BradB is now known as BradB|lunch [07:42] BradB|lunch: okay -- so it works only for ints [07:43] you can pass in any bug number [07:43] salgado: yes, but you won't get a defacement [07:43] the general form of that is a regex or other callable that verifies the form of the passed-in replacement [07:43] basically a schema field ;-) [07:43] salgado: I could have also verified that the bug exists, but that's just the details [07:43] so, perhaps we have a "redirect message schema" [07:44] class IBugAddedRedirect(Interface): [07:44] bugnumber = Int(u"The bug number") [07:44] something like that [07:44] SteveA: i dunno about regexes there though, it depends on what you want to show. [07:45] normally the general form is intended to be: 1. you pass back something that uniquely identifies something you want to show, 2. you leave it to the view to write the actually message, and lookup whatever it's supposed to lookup from the identifier it was given. [07:45] then, in the redirect, it says ..../+index?schema=IBugAddedRedirect&bug=123 [07:45] could also use the docstring of the IBugAddedRedirect schema as the message [07:45] class IBugAddedRedirect(Interface): [07:45] """Bug number ${bug} has been added.""" [07:45] bugnumber = Int(u"The bug number") [07:46] bug = Int(u"The bug number") [07:46] (oops -- ignore 'bugnumber') [07:46] seeing schema=IBugAddedRedirect makes me worry a bit :) [07:46] is this total CA crack ? ;-) [07:46] heh [07:47] okay, really |lunch now [07:47] of course, we could use a code instead of IBugAddedRedirect [07:47] like, an int [07:48] but, that would be handled by the framework -- no need to see that in the code === cprov [~cprov@200.158.100.251] has joined #launchpad === silbs [~sbsm0084@host217-37-231-28.in-addr.btopenworld.com] has left #launchpad [] === BradB|lunch is now known as BradB [08:54] SteveA, BradB: the View class should as a general pattern have a "messages" attribute, which is a list of messages [08:55] perhaps those could be smart enough to know what sort of message they are (info, alert, error sort of thing) [08:55] then a form can trivially iterate over those and display them [08:55] without content-injection problems [08:58] sabdfl: hm? I don't see how that survives redirects. [08:59] sabdfl: Realistically, what happens is that .nextURL gets called on the add form's view, which redirects to another URL (e.g. redirect back to the bug listing from a bug add form) [09:02] We need some kind of smart "IPC", I think. e.g. perhaps a status could be associated with a unique token, registered in a global utility. The global utility could store the status object + receipt in the ZODB, and pass the receipt to the nextURL. A view could then try to "pick up" a status message (like picking up something waiting for you at the post office), using the receipt. That's one idea anyway. [09:04] e.g.: [09:04] (in some method where something happens) [09:05] status.setInfo("congrats, something happened successfully") [09:05] browser_status = getUtility(IBrowserStatus) [09:05] sabdfl: what I proposed is similar to what you describe above. [09:05] browser_status.set(status, 'some unique receipt') [09:05] with the formalism of using schemas to describe messages and the allowed form of replacement text [09:06] then in nextURL: [09:06] BradB: sounds a bit complex and heavy; could do that, though [09:06] return "foo?status_receipt=some+unique+receipt" [09:07] another scheme entirely is to use crypto, and pass a digest along with the query string stuff [09:07] foo?message=You+have+added+bug+123&digest=0x123abcde [09:07] still, not a big problem at the moment. let's chat about it next week [09:08] SteveA: If I check that IBugEditForm thing now (with for=), will you have any time to look into tonight/ [09:08] yes [09:08] ok, then I'll check it now [09:14] I expect that it's going to tell me that my view doesn't implement IBugEditForm. Let's see... [09:16] SteveA: Adding for="canonical.launchpad.interfaces.IBugEditForm", produced the exact same KeyError === BradB tries one last thing [09:18] SteveA: i tried implement()'ing that iface in the view class too. no dice. [09:19] i.e. same error [09:19] okay. is this going to be straightforward for me to reproduce on my machine? [09:19] is all the necessary code checked in? [09:20] SteveA: no, but all the necessary code is in the email that I sent you. :) [09:20] I don't really want to check this in [09:20] lib/canonical/launchpad/zcml/bug.zcml and lib/canonical/launchpad/interfaces/bug.py are where the bits go [09:21] can you mail me those files? [09:21] that way I'll be sure I've got it right [09:21] ok [09:21] I'll have a crack at this now [09:23] I need to fix up that keyerror problem, anyway [09:23] sent [09:24] See, we're already doing something very similar with the bug add form (it uses IBugAddForm to create a form that includes fields that you won't find on the bug itself.) It seems though that editforms behave differently in that respect. [09:29] yeah, weird [09:29] it could well be a bug [09:29] this part of the forms stuff is more complex than it should be [09:30] SteveA: I hope life gets made easier with a browser:form directive in Mataro! === salgado is now known as salgado-afk === salgado-afk is now known as salgado === mdz [~mdz@69-167-148-207.vnnyca.adelphia.net] has joined #launchpad === mdz [~mdz@69-167-148-207.vnnyca.adelphia.net] has joined #launchpad [10:27] Merge to rocketfuel@canonical.com/launchpad--devel--0: add infestation activity tracking (patch-940) [10:54] sabdfl: I just realized package maintainers are going to get spammed on bug notifications, crap. [10:55] e.g. I'm the debian maintainer. I don't want to get emails about to whom the bug was assigned among the redhat maintainers. [10:59] sabdfl: It's not a big deal I guess. The notifiers could be made more intelligent for some of the notifications (e.g. a maintainer probably wants to see CVE refs and web links and perhaps even infestations no matter the distro, whereas the *assignment stuff could be filtered to notify per-distro) [11:17] SteveA: any luck on the editform-fu? [11:18] BradB: not yet. popped off to eat. I'll stare at it some more now :) [11:36] SteveA, bradb, it seems that the web page alert or message is really a message *to a person* [11:37] so this might be a useful place to use the zodb decorations [11:37] decorate the principal [11:37] "add this alert to the list of alerts for user X" [11:37] then the view can have a .messages list which give you any messages [11:37] hmm... how would messages be cleared, I wonder? [11:38] back in a few minutes [11:39] sabdfl: Annotations are meant to describe things, without having to alter the original content to do so. I think an average Zope 3 developer would be quite surprised to figure out that annotations were used for that. [11:39] sabdfl: And also, well, it's not thread safe. [11:40] I think zodb annotations, and maybe the zodb in general, is a bit dodgy for status messages. [11:40] but... === sabdfl [~mark@host217-37-231-28.in-addr.btopenworld.com] has left #launchpad [] [11:40] I think the idea of a personal activity log is useful [11:40] like, imagine if there's a list of stuff you've done, and when [11:41] that is kept in the zodb [11:41] that you can look at [11:41] and a portlet that tells you the most recent 5 things [11:41] and has a link to the "noun" that the thing was about [11:41] SteveA: Or better, yet, a not-personal activity log, perhaps. [11:41] for example, if a thing is "changed status on bug 123", it is a link to bug 123 [11:41] People seem to always want to be able to audit users. [11:41] non-personal? [11:42] i.e. just an audit log of what people do in the site. [11:42] well, sure, *we* could look at what someone has done. could be useful for handling bug reports [11:42] it would be an audit log only of completed transactions [11:42] which is useful in itself [11:42] but not so useful of a full audit log [11:42] hey, another thing to jam on in mataro [11:42] when do you leave, brad? [11:43] tomorrow night at 18:40 [11:43] going for tapas with girlfriend soon :P [11:43] cool [11:43] where does bug.py go? [11:43] it seems to have a large delta from the one in database/ [11:43] SteveA: that files contains interfaces [11:43] oh [11:43] duh ;-) [11:44] :) [11:44] should have actually read the file [11:44] so, if I go to +edit on a bug I'll see the problem [11:44] yes [11:45] one thing with malone [11:45] SteveA: the goal is that all edit screens on things related to a bug (including, of course, the bug itself) will have one extra little widget added to them, to capture a changelog message, and store that somewhere that isn't a bug [11:45] I find the lots of "document" icons in different places very confusing [11:46] like my UI renderer has left noise when I've been trying to drag and drop === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad [11:46] SteveA: mark's idea :) [11:46] the icons should be in front of the text [11:46] not after it [11:46] so they line up nicely [11:46] that'd help, yeah [11:46] and like they are in the column header [11:47] I think we need something better for "upstream" [11:47] SteveA: the word you mean? [11:47] no, the icon [11:47] ah [11:48] yay [11:48] I have reproduced your bug [11:49] okay [11:49] woo [11:49] traverse functions need to return None, not raise KeyError [11:49] so the traverse function is in error there [11:49] that's the "traverse function" contract [11:49] let's see what happens when I fix that [11:50] okay, I now get a proper NotFound error [11:50] now I need to find out why it doesn't find +edit [11:51] indeed, indeed [11:51] can you fix the traverse function in your copy? [11:51] sure [11:51] it might break things though. i guess we'll see [11:52] shouldn't do [11:55] aw crap [11:56] I think I've got it [11:57] okay, here's what you need to do [11:57] ! [11:57] 1. register the +edit form for IBug [11:57] 2. register an adapter from IBug to IBugEditForm. [11:57] I suggest you use the "decorates" thing for this [11:58] you know about "decorates" don't you? [11:58] basically, the forms machinery doesn't really fit with what you're trying to do [11:59] I think what you're trying to do is pretty reasonable, given the forms machinery [11:59] we need to make this better when we work on browser:form [11:59] SteveA: if i were missing an adapter, i would have expected it to tell me that it couldn't find an adapter [11:59] it does do [11:59] when you do step 1 above