=== robertbb [n=robertbb@d154-20-189-90.bchsia.telus.net] has joined #launchpad === jinty [n=jinty@205.134.224.215] has joined #launchpad === Kinnison sighs and starts his test run again === netjoined: irc.freenode.net -> kornbluth.freenode.net === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad === WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has left #launchpad ["Fui] === robertbb_ [n=robertbb@d154-20-150-5.bchsia.telus.net] has joined #launchpad [01:08] night dudes === SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad === carlos -> bed [02:06] lifeless? === Alinux [n=Ubuntu@p54A38043.dip0.t-ipconnect.de] has joined #launchpad [02:21] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Added Occitan plural forms. (patch-2353: carlos.perello@canonical.com) === stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad [07:09] Can someone send me the current password for the Canonical wiki? [07:10] ta === _Rappy_ [n=hunt-pre@dsl-253-122.monet.no] has joined #launchpad === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad === Alinux [n=Ubuntu@p54A38043.dip0.t-ipconnect.de] has joined #launchpad === Alinux [n=Ubuntu@p54A38043.dip0.t-ipconnect.de] has joined #launchpad === niran [n=niran@cpe-67-10-213-51.houston.res.rr.com] has joined #launchpad === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad === robertbb_ [n=robertbb@d154-20-150-5.bchsia.telus.net] has joined #launchpad [09:38] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] documentation tweaks. (patch-2354: bjorn.tillenius@canonical.com) [09:40] moin moin === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad [09:50] kiko-zzz: ? === dand [n=dand@gw.datagroup.ro] has joined #launchpad [10:03] so guys, what's the verdict on language packs? stub? carlos? [10:09] SteveA: can we automagically discover the closest parent url component which is accessible to zope.Public? [10:09] so, if we are at /products/gnomebaker/+edit then it would be /products/gnomebaker/ === carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad [10:22] morning === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad [10:48] morning carlos [10:49] sivang, hi [10:51] hmmm [10:51] jamesh, https://launchpad.net/products/rosetta [10:51] jamesh, the calendar is a bit... big [10:52] or is the bug list?... [10:52] carlos: yes. I blame malone [10:52] :) [10:52] ok [10:52] :-P [10:52] bug 2036's title has a long URL in it which can't be word-broken [10:54] i blame the browser, looks perfectly fine in mine :) [10:55] BjornT: does Opera word-break on slashes or something? [10:56] jamesh: yeah [10:56] we should probably be adding 's or ‌'s to URLs [10:56] as hints === cprov [n=cprov@haddenham.pepperfish.net] has joined #launchpad [10:58] actually, I'm not sure if mozilla handles ZWNJ (zero-width non-joiner) characters [10:58] it does handle though [11:02] jamesh: i think I'm done for now on pending revirews, just doing a real run to see how it looks [11:02] jamesh: how do you want it back - ? [11:05] lifeless: I'll take a look over them and merge, I guess. [11:05] ok, I'll put it up on needs review page then :0 === ubuntulog [n=warthylo@port49.ds1-van.adsl.cybercity.dk] has joined #launchpad === Topic for #launchpad: Discussion with Launchpad users and developers. || https://launchpad.net/ || Includes Rosetta and Malone. || Developers' meeting, Thursday 8 Sep, 12:00 UTC === Topic (#launchpad): set by SteveA at Thu Sep 1 14:05:24 2005 [11:28] (lifeless/#launchpad) kiko-zzz: so what would you like me to review today ? [11:32] sabdfl: are you working on the logout link at the moment? [11:32] SteveA: no [11:33] BjornT: thanks for the conflicts around bugsubscription ;-) [11:33] okay. i like to do some small self-contained tasks each day. i'll improve the logout link as my warmup today. [11:34] SteveA: rockin. thanks. [11:35] sabdfl: sorry :) but it wasn't that bad, was it? [11:39] gustavo rocks: http://labix.org/editmoin [11:40] sweet === BjornT has already edited some pages using it :) [11:41] BjornT: the only thing that worries me is that i'd moved to returning None from unsubscribe() if the person is not subscribed [11:41] you changed to ValueError [11:42] i reverted that, but i'm not sure where you are looking for valueerror [11:42] sabdfl: hey! did you have time to work on that feature we talked about? [11:42] is there a way to tell SQLObject not to defer updates? [11:42] we shouldn't use ValueError for such exceptions, but a more specific exception, such as SubscriptionError [11:43] Kinnison: there's a flush_updates call. you can do it for individual objects, or for the whole transaction. [11:43] ergh [11:43] canonical.database.sqlbase.flush_database_updates() [11:43] I just want something like SQLBase.disable_deferred() [11:43] I want to see the exception the *moment* an error occurs [11:43] so I know what line caused it [11:44] i'm sure that's possible, but i'd need to look into exactly how to do it [11:44] sabdfl: you can change it to None if you want. i didn't really change anything, i implemented it as described in the interface. i check if the user is subscribed before i try to unsubscribe him, though. [11:45] ok. that's in mail commands? in the web ui i've just ignored an attempt to unsubscribe someone who is not subscribed [11:45] it's a noop [11:45] Kinnison: SQLBase._lazyUpdates = False [11:45] Kinnison: (off the top of my head) === Kinnison tries [11:46] sabdfl: yeah, i do the same in the email ui. if the user isn't subscribed, it's a noop [11:46] Kinnison: certainly, grepping for lazy will find the relevant thing :) [11:47] cool. in that case i think it's more elegant to keep that decision in the lower layer [11:47] spiv: were you ill when stevea and i were discussing a general way to pass messages to the user? [11:47] there's a spec on this now [11:47] stu wrote the spec in brazil [11:48] ok [11:48] it just needs implementing iirc [11:48] SteveA: http://mozex.mozdev.org/ is another solution to that problem. [11:48] spiv: i'm a commandline junkie [11:48] spiv: seems to be _lazyUpdate rather than _lazyUpdates === Kinnison runs a test [11:49] SteveA: So am I, but wikis are sufficiently webby that I find the context-switch to command lines annoying. I realise this is very much a matter of personal preference, though :) [11:49] sabdfl: I don't recall the specific discussion, no. But I do recall that there is a spec about it :) [11:50] ok. who's assigned to implement that? [11:56] How can I determine what user I've managed to connect to the db as? [11:57] config.launchpad.dbuser should tell you. [11:58] ta [12:00] production rollout happening... [12:00] stub, what's the patchset you are rolling out? [12:01] launchpad--production--1.31 === WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad [12:01] stub, ok [12:07] launchpad.net is donw? [12:07] it's being updated [12:07] stub: the "down for maintenance" page isn't working. [12:07] SteveA: ok. do you know if the lpi pages should back sometime soon? [12:08] i get a 503 error from apache [12:08] same here [12:08] SteveA: Yup. It still hasn't been installed. [12:08] is it in RT? [12:11] SteveA: Yes, although you can't see it at the moment (there is another ticket about missing tickets) [12:11] gaah === spiv -> dinner [12:13] sabdfl: stub will be implementing the notification messages spec [12:24] All back up [12:25] carlos: Did a fix for the rosetta karma land, or is that still todo? [12:25] stub, still todo, but I will do it this week [12:26] carlos: No worries - just wondering if I should clear out the dud entries yet [12:26] stub: librarian's down still? [12:26] ta ) [12:26] elmo: 503 status page? [12:27] Librarian restarted too [12:28] stub, the patch will include a db patch to "migrate" that data [12:29] carlos: If it is just 'delete from karma where action in (16,27)', then I need to run it manually rather than it being in the dbpatch [12:30] hi carlos - time for the daily reminder [12:31] stub, yeah, it's that [12:31] stub, I know I was planning to do a "migration script" more than a db patch [12:31] vinsci, hi [12:33] carlos, if it is delayed much longer, I won't have any time on my hands. I do have some time now. [12:33] vinsci, count with that today, sorry :-( [12:34] SteveA: yeah, I know [12:34] stub: nice sane response about sources on zope3-dev === carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad [01:03] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Some missing (trivial) SQLObjects and a quick fix to a broken join in a publishing class (patch-2355: daniel.silverstone@canonical.com) [01:05] spiv: i've got a ticketing system in your review queue [01:05] it's a big patch [01:05] but mostly straightforward [01:06] and i'm adding the page tests now [01:06] could i ask you to send me comments tomorrow, so i can land this for the next production update? [01:06] we need some end user feedback asap [01:07] sabdfl: I'm about 2/3rds of the way through the review, judging from my scrollbar. [01:07] You should have plenty of comments by tomorrow ;) === ddaa [n=ddaa@217.205.109.249] has joined #launchpad [01:12] sabdfl [01:12] disappointing [01:12] spiv: perfect, thanks! [01:12] Keybuk: ping [01:14] ddaa: hey [01:14] We have a problem. [01:14] Management has decided to get rid of the arch-namespace related tables. [01:15] I'm right now working on the new database and interface classes for Branch and Revision. [01:15] right [01:15] To try and stay focused I reckelessly removed all the old arch namespace cruft. [01:15] archarchive [01:15] archbranch [01:15] archchangeset [01:15] yadda yadda yadd [01:15] yup [01:15] including database.Archive [01:16] ^^ [01:16] Which break hctapi pretty throughly [01:16] they would [01:16] How difficult do you think it would be to update that code to work with the new model? [01:16] alter the get_branch_from(), get_changeset_from() and put_manifest() functions [01:16] should be trivial [01:17] Keybuk, ddaa - cool [01:17] Keybuk: we'll probably defer that until after the sprint [01:17] they just use the database to build up an arch name [01:18] Keybuk: and possibly ask you to do it while ddaa fixes taxi, but we'll see how tough it will be. the problem is that there are no arch names anymore, so knowing how to fix this may require hct internal knowledge [01:18] hct uses arch names [01:19] is it ready to move to urls ? [01:19] no [01:19] I'll make the move to urls when I make the move to baz-ng [01:20] Keybuk: what are the blockers to moving sooner ? We had planned in sao carlos to move lp to urls asap across the board. === Kinnison preps to wander off for lunch [01:20] I'm more concerned with getting people using hct [01:21] Keybuk: ok. let me rephrase - how big is the job of moving the lp side hct code to urls ? [01:21] it's not just the lp-side code [01:21] you'd have to move all of hct and sourcerer to using urls throughout [01:22] and invent a new way of naming archives and branches accordingly [01:22] probably a few weeks work [01:22] the arch namespace is quite fundamental to it [01:23] why would you need to name the archives? I thought that hct was essentially bzr-ng ready? If you are worried about being able ot give baz names, I can give you a uuid-based archive and branch naming scheme easily, which is all that is needed if you use urls for everything [01:23] because the names are intended to be meaningful [01:24] carlos: ping [01:24] ok, so its a big job. ddaa and I will talk about a contingency plan, and you and I and Mark can talk monday, onk ? [01:24] right [01:24] SteveA, pong [01:24] I'd like you to think , in prep for monday, about what could be done to make it not-a-big-job. I.e. 'names dont matter because bzr doesnt have them' [01:24] my opinion remains that it's a sufficiently big job that the cost of doing that at the expense of actually having people using hct is too high [01:24] so the right time to do it is when we shift to bzr [01:24] carlos: i run launchpad, pretty close to what is in rocketfuel, and go to the url http://localhost:8086/products/netapplet/+series/releases/+pots/netapplet/af/ [01:25] Keybuk: we do not want to make shifting to bzr a watershed event, that makes the shift very very hard to do. [01:25] carlos: i get an error about not being able to traverse to 'browsername' when rendering the page template [01:25] Keybuk: so, have a think, and we'll talk monday. [01:25] there's nothing that can be done to make it not-a-big-job I'm afraid [01:25] carlos: can you reproduce this error? is this page tested? [01:25] even the shift to bzr is going to be a big-job [01:25] it's a possible job, and even quite a boring and tedious one [01:26] but it's a lot of code change [01:26] SteveA, let me check... [01:26] (infer "easy" from "boring and tedious") [01:28] SteveA, same error here [01:28] SteveA, I suppose we don't have a pagetest or that should not happen [01:28] indeed [01:28] SteveA, thanks for the warning === Seveas [n=seveas@ksl403-uva-132.wireless.uva.nl] has joined #launchpad === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad [01:39] does anybody know what the password is for "Sample Person" (name12)? [01:49] sabdfl, test === carlos -> lunch === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === niemeyer [n=niemeyer@200.138.36.81] has joined #launchpad [02:25] Morning! === ChanServ [ChanServ@services.] has joined #launchpad === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === niemeyer [n=niemeyer@200.138.36.81] has joined #launchpad === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad === ddaa [n=ddaa@217.205.109.249] has joined #launchpad === cprov [n=cprov@haddenham.pepperfish.net] has joined #launchpad === dand [n=dand@gw.datagroup.ro] has joined #launchpad === niran [n=niran@cpe-67-10-213-51.houston.res.rr.com] has joined #launchpad === _Rappy_ [n=hunt-pre@dsl-253-122.monet.no] has joined #launchpad === Burgundavia [n=corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad === segfault [i=carlos@prognus.com.br] has joined #launchpad === interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad === jamesh [n=james@203-59-251-126.dyn.iinet.net.au] has joined #launchpad === Virtuall [n=virtuall@off.lv] has joined #launchpad === SteveA [n=steve@office.pov.lt] has joined #launchpad === mdz [n=mdz@ca-studio-bsr1o-251.vnnyca.adelphia.net] has joined #launchpad === lifeless [n=robertc@dsl-240.26.240.220.dsl.comindico.com.au] has joined #launchpad === spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad === lamont [n=lamont@mix.mmjgroup.com] has joined #launchpad === dilys [i=daf@muse.19inch.net] has joined #launchpad === elmo [n=james@83-216-156-21.jamest747.adsl.metronet.co.uk] has joined #launchpad === jordi [n=jordi@115.Red-213-96-69.pooles.rima-tde.net] has joined #launchpad === superted [n=superted@213.167.101.222] has joined #launchpad === Kinnison [n=dsilvers@haddenham.pepperfish.net] has joined #launchpad === \sh_away [n=nnnnnnnn@server3.servereyes.de] has joined #launchpad === Znarl [i=karl@bb-82-108-14-161.ukonline.co.uk] has joined #launchpad [02:33] lifeless: That's more like "Is everything ok?" [02:35] who created the ticket in RT via the warthogs user? [02:35] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fixed the pofile index page to work when we don't have such pofile in our database (so POFile.owner is None) + test (patch-2356: carlos.perello@canonical.com) [02:35] SteveA, around? [02:37] elmo: That would be me [02:37] niemeyer: ah, roughly 'how are you?' ? [02:38] stub: please use the mail interface; if you use the generic user and web interface I have no idea who opened it [02:39] stub: also, the reason your requests didn't come across is this is a brand new RT [02:39] for various long uninteresting reasons [02:39] elmo: ok ;) [02:39] elmo: So I should refile them? [02:39] if you don't mind, that'd rock [02:39] otherwise, I'll get to them in a bit [02:41] lifeless: Yes! :) [02:47] elmo: resen [02:47] t [02:55] stub: danke schoen === sabdfl [n=mark@217.205.109.249] has joined #launchpad [03:04] <\sh> gentlemen, is there any possible way to receive personal data from launchpad via xmlrpc call or soap call after authentication? === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad [03:07] \sh: There's no public xmlrpc or soap interfaces yet, but what do you mean by "personal data"? [03:08] <\sh> spiv: i'm thinking about hacking a call to LP user page which should receive all data from there, and push it into a jabber user directory while u r registering a new jabber account... [03:08] \sh: person/+rdf [03:10] <\sh> lifeless: ok thats a good start [03:11] \sh: No fancy rpc required :) [03:11] <\sh> will you integrate other data items like email etc. into the foaf record as well? ,-) [03:11] <\sh> spiv: well..updating the record via rpc would be a good idea as well...creating a new jabber account (if you don't have one) and updating your personal record :) [03:12] <\sh> spiv: and later also your sip address etc. [03:12] \sh: we are interested in such xml rpc facilities, but right now none are live [03:14] \sh: I believee emails aren't published in that rdf intentionally, to avoid making launchpad an easy target for email address harvesters. [03:15] <\sh> spiv: that's why I asked, if this would be possible after authentication with lp in an automatic manner [03:15] <\sh> the other idea is to use the database as jabber user directory...*hmmm* [03:15] <\sh> or sip phonebook as well [03:16] \sh: In theory we could do that. The best person to talk to about our rdf is morgs. [03:16] spiv: email addresses are on the person page in plain text [03:16] spiv: dont think rdf makes buckleys difference [03:16] (who is on leave until the 21st, unfortunately) [03:17] <\sh> spiv: well..I'm working on a concept how to integrate SIP + Jabber + Launchpad for a easy to use single sign on [03:17] cool [03:18] agh [03:18] lifeless: Yeah. We should at least do foo.replace('@', '(') or whatever it is, to foil the basic harvesters. === mpt still doesn't have permission to see the bugs he's assigned to [03:19] \sh: We do have an internal XML-RPC api to the launchpad db for authentication. [03:19] bradb? [03:19] <\sh> at the end it will work like this: you login into your first installation of ubuntu, register with launchpad, create a jabber account, create a sip account automatically on serverside, kicked by launchpad, and the user has a fully communication office at hand after installation :) that's the plan for ShtoomVoip [03:20] \sh: We should definitely talk at UBZ. [03:20] \sh: Feel like describing your project on wiki.launchpad.canonical.com (ideally as a specification?) If it looks like a good and non-evil idea we might come to the party and meet you half way. [03:21] <\sh> spiv: when all goes well..sure :) [03:21] mpt: https://launchpad.net/people/mpt/+assignedbugs [03:21] \sh: https://wiki.launchpad.canonical.com/AuthServer may be of interest [03:21] <\sh> stub: I'm drawing right now some things via dia...to get a correct workflow [03:21] We have two XML-RPC servers that could be extended to your needs [03:21] spiv: that review wrapped? [03:21] tests are added and mirrored [03:22] SteveA: to all the standalone tests run in the same "story"? [03:22] bradb: Yes, but the link to "the whole list of bugs assigned to him(her)[me] " is beyond my puny permissions [03:22] stub: any idea what generates IntegrityError's ? under breezy they have become ProgrammingErrors [03:22] <\sh> spiv: is it a canonical internal wiki? [03:23] bradb: Anyway, that's not what I wanted to ask you. What I wanted to ask you was, What is the lock icon for in https://launchpad.net/malone/bugs/1966 ? [03:23] urgh ;-( [03:23] \sh: Hmm, you can't see/edit it? [03:23] \sh: It is publicly readable, but I don't think there is public edit access [03:24] mpt: Confusion. :P It's meant to indicate a task/watch linkage. [03:24] <\sh> spiv: I see nothing..can't even access it .... [03:24] <\sh> hmm [03:24] mpt: I want to demolish /malone/assigned RIGHT NOW. Would it make sense to show all a persons assigned, open bugs on the +assignedbugs page instead? [03:24] <\sh> last hop i can get through is 11: 82.211.81.76 (82.211.81.76) asymm 12 68.996ms [03:24] sabdfl: Not yet, it won't be finished before I go to bed. [03:25] bradb: Absolutely. [03:25] could you send what you have when you crash? [03:25] \sh: http*s*? [03:25] sabdfl: Generally violating a database constraint. If psycopg has been upgraded, some of the exceptions might have changed. [03:25] <\sh> spiv: nothing.. [03:26] mpt: Right, branching now. [03:26] i could make those page tests catch ...Error [03:26] \sh: Hmm :( [03:26] <\sh> no connect via https and also no error message ,-) [03:26] \sh: It's supposed to be publicly readable. [03:26] <\sh> argl [03:26] <\sh> firefox bug [03:27] <\sh> certificate accepting dialogbox appears on desktop 2 where my main instance of ff is *grrr* [03:27] Ah. [03:27] sabdfl: psycopg.DatabaseError is probably what you want to catch if it has changed [03:27] sabdfl: yes. there is nothing special in the testrunning code that makes standalone different from, say, foaf [03:28] sabdfl: The exception hierarchy is in http://www.python.org/peps/pep-0249.html [03:28] stub: this is a page test [03:28] not code [03:28] it's currently looking for IntegrityError: ERROR etc [03:28] and that needs to become ...Error [03:28] to work with boath hoary and breezy [03:28] mpt: What should we make that strange lock icon into? A pair of binoculars? An eye? An icon that represents the specific external tracker linked to? Something else? [03:28] so, IntegrityError and ProgrammingError are siblings [03:28] both derive from DatabaseError [03:29] the page test machinery ain't that smart :-) [03:29] Are you writing a spider or something? I'm curious as to why expected output should contain a database exception? === spiv -> bed [03:30] spiv, do you have 2s before you go? [03:31] bradb: So in the list of "Remote bug watches" way down yonder in the bottom right corner of the page, a watch applies to only one task? [03:31] stub: look at the end of doc/bugtask.txt [03:31] looks like an IntegrityError can leak out of the bugtask API [03:32] which seems to me to be a bug in the API [03:32] and in its implementation [03:32] ahh... doctest... not a page test ;) === stub context switches [03:32] bradb: ping [03:32] right, sorry [03:32] so, no stories for system doctests === Kinnison returns from lunch [03:33] SteveA: for the record, handling has taken months off my life [03:33] i'm pretty sure that each runs independently. [03:33] SteveA: that was a separate question [03:33] mpt: I'm not sure if there's actual database constraints enforcing that, but in practice, yes, I think a watch would be assigned to one task per bug. [03:33] regarding the tests in pagetest/standalone/ [03:33] okay [03:33] SteveA: hi [03:33] bradb: why does the bugtask API let an IntegrityError through? [03:34] i think the API should guard against letting IntegrityErrors occur at all [03:34] SteveA: It leaks it if you invoke the create method improperly. The doctest is just demonstrating it. [03:34] SteveA: what should it raise instead? [03:34] the create method should be on the target [03:34] Although I'd rather there was just an assert [03:34] that's the way i've done it with milestones, tickets, specs, etc [03:34] i still don't get it. we have python code that can check things, and avoid sending the database invalid data. [03:35] that way, you *can't* pass it bogus data [03:35] so rather than having IBugTaskSet.create() [03:35] have an IBugTarget.fileBug() [03:35] or newBugTask() [03:35] SteveA: Is it always that simple though? What if the validation logic is sort of complex and you don't want to maintain it in two places? [03:36] bradb: there is no excuse for writing an API that can let a database integrity error through. [03:36] SteveA: what will it take to fix handling properly? [03:36] SteveA: what should it raise instead? [03:37] sabdfl: depends. to fix it in python upstream, it needs someone to scrutinize the code and fix it. to fix it for launchpad, i or someone else can improve the fancydiffer, and plug that in for checking as well as diffing. [03:38] the fancydiffer at least has decent test coverage. [03:38] bradb: AssertionError is good. [03:38] bradb: You can't recover from database exceptions because the connection needs to be reset. They are a safety net. Raise a ValueError or derivative if user input might trigger it, or just stick an assert statement in if it is purey to guard against programmers screwing up [03:38] stub: i prefer AssertionError, because no code should expect to receive this. it shouldn't be particularly recoverable from. [03:38] Does this mean maintaining constraint validation logic in two places? [03:39] bradb: in this case, it should be a method on IBugTarget [03:39] that way the constraints are automatically fulfilled [03:39] sabdfl: right, kiko-zzz had a patch that implemented that, but he was hesitant about adding it because he wasn't sure if it "felt right" [03:40] bradb: sabdfl is objectorientedly right. [03:40] sabdfl: "automatically"? perhaps simpler to validate, but i don't see how they're "automatically fulfilled" :) [03:40] bradb: and on maintaining constraint validation logic in two places, which two places are you talking about? [03:40] e.g. you could still try to create a task on the same bug/context twice [03:40] - ...duplicate key violates unique constraint "person_name_key" [03:40] ? ^^^ [03:40] + ProgrammingError: ERROR: duplicate key violates unique constraint "person_name_key" [03:40] ? ^^^^^^^^^^^^^^^^^^^^^^^^^^ [03:40] [03:40] UPDATE Person SET name = 'sabdfl' WHERE id = 7 [03:41] [03:41] SteveA: help [03:41] SteveA: python code and constraints stored in the database [03:41] stub: any progress on getting linkchecker to pass on lp-with-sampledata? [03:41] bradb: we do maintain constraint logic in two places. Every UNIQUE constraint in the db has a corresponding unique clause in the column definition in the database class for example. naming constraints are duplicated in the database, and in the form validation. If you don't duplicate the constraints, you can't unittest properly because you don't know the code paths. [03:42] bradb: it is better to write your constraints in python, and have the safety net of the database constraints. You must not make a poor API simply to avoid some duplication. [03:42] ok [03:42] sabdfl: Nope. Linkchecker was giving me the shits again so I've been talking with Kiko and Steve a bit about other spidering options [03:42] bradb: i've often observed you jumping through hoops to avoid a small amount of duplication [03:43] only generalise code the third or fourth time you have to write it, and then only if its worth it [03:43] sabdfl: I suspect we need to knock up a minimal spider to fulfill all our use cases [03:43] we'll have a neat way to check links on pagetests once we get the latest zope3 code. [03:43] sabdfl: is that with fancy diffing on or off? [03:44] SteveA: the default [03:44] (although linkchecker might still be the best short term solution so I really should belt it with a hammer for an hour and see what happens) [03:44] hey ho [03:44] morning kiko [03:44] great monthly report [03:44] yo [03:44] sabdfl: turn fancy diffing off, and try again. [03:44] let's generate the next one out of milestones + lp specs [03:44] SteveA: it will still fail [03:44] but, that won't help much if the problem is with [03:44] but it might give better output [03:45] thanks mark [03:45] so today I will be doing reviews [03:45] I have two largish ones [03:45] if you have one you'd like me to look at you can ask but no promises [03:45] one is for me, I hope [03:46] kiko: spiv has the ticket system under review already, thanks [03:46] great [03:47] salgado, sure, though I suspect it won't be ready for today [03:49] I've started work on LibrarianGarbageColletion, but the spec as it stands will not actually collect any garbage. The issue is that files will only ever get deleted if they have an expiry date that is not NULL. In almost all of our use cases, setting an expiry date when you create a file would be silly (because we don't want them to expire until they are no longer referenced) [03:49] SteveA, http://openwengo.com/index.php [03:49] SteveA, perhaps we should start looking into it... [03:50] So I think the definition of an unnecessary file in the Assumptions section needs tweaking [03:51] carlos: interesting [03:52] SteveA, seems like Linux version is working already on their svn server. The "problem" is that they are using QT but if it "just works"... [03:53] *I* think that we should remove a file if its expiry date is in the past OR it is no longer references by any other database objects. However, and UDU there were calls (sabdfl?) to make it so files should only be removed if its expiry date is in the past [03:53] it's SIP, so it will have the same restrictions on certain NATs and routers etc. as shtoom. The software may be more like a finished product. [03:54] (full stop). So unexpired files hang around even if nothing references them [03:54] someone finished a commercial zope3 project: http://griddlenoise.blogspot.com/2005/09/major-zope-3-client-project-finished.html [03:54] mpt: One thing I haven't quite figured out yet: if you're looking at the /malone page as an anon user, how do you go from that to viewing your assigned bugs page? Also, even if you already are logged in, does it make sense to have an "Assigned Bugs" link on the Malone front page with a dynamically-generated link that jumps you to FOAF? [03:54] surely NULL should mean "i don't care when i'm GCed" [03:55] ? [03:55] stub: requiring an expiry date then means that we can put all the policy of expiration in one place [03:55] do we have a need to keep certain things forever in the librarian, if they're not referenced inside launchpad? [03:57] I can't think of a use case for it, hence my enquiry ;) === stub quickly checks the spec to see if the use case is there... [03:58] bradb: Your first question is a general problem that can also be expressed as "If you're looking at the /rosetta page as an anon user, how do you go from that to viewing the list of things you've been translating?" [03:58] Heh.... in fact, all the use cases say 'file should be removed when no longer references' [03:58] mpt: I think the problem is slightly different here. The main issue that concerns me is having to jump between namespaces. [03:59] bradb: Perhaps we could have a magic user that forced you to login and then redirected you to the page for you in particular [03:59] e.g. reserve the name "you", then /people/you/+bugs redirects to /people/you/+bugs/+login which, when submitted, redirects to /people/bradb/+bugs [04:00] nobody, perhaps? [04:00] However, that may be a solution to a problem that doesn't really exist [04:00] We could just say "You must _log in_ to see bugs you're involved with in Malone" [04:00] I can even give them a /malone/+login link and redirect, i think, but is it bad to redirect to another namespace? [04:01] right [04:01] As J. Random Person I don't know what a "namespace" is in this context, so I'm going to say "No, I don't mind where you take me to" [04:02] ok [04:04] sabdfl: So we create a file in the librarian for a persons hackergotchi. It has a NULL expiry because it shouldn't expire. The user uploads a new hackergotchi. The old hackergotchi is now unreferenced with a NULL expiry. Should the garbage collector remove it? The current spec says no, it will stay there for ever and ever. [04:05] This might just be a bad choice of words in the spec, or might be important to some use case I don't get. [04:05] stub, yeah, you have a good point [04:06] but we have no way of saying that file X obsoletes file Y unless we use the filename, right? [04:06] it could be part of the EditView [04:07] "when replacing a previous hackergotchi, be sure to expire the old one [04:07] kiko: The only way of doing it is at every point where a file is replaced with another, we set an expiry on the old file. And it also then means doing manual updates via SQL becomes a pita [04:07] Remembering to do that at everypoint will be error prone I suspect... [04:08] stub, are the filenames always the same? === Kinnison does a happy dance. Finally got an entire ubuntu published [04:08] Could we use a date in the far future to refer a 'do not expire' file as opposed to a 'do not expire until referenced' file? [04:08] kiko: No. [04:08] kiko: Content doesn't have names anyway - it is just a blob. === camilotelles [n=Camilo@200.128.80.250] has joined #launchpad [04:08] erm.... ignore that last comment. [04:08] SteveA, I found a bug in our sqlobject that's already fixed upstream. I backported the fix (https://chinstrap.ubuntu.com/~dsilvers/paste/filekXqKBc.html), and this is something I definitely need for ShipItNG. It's only 20lines. can you review it for me? [04:08] Kinnison: rock [04:09] well done [04:09] Kinnison: are we close to bringing up a breezy-clone? upload, build, and publish? [04:10] salgado: so, it is basically saying that bool columns can be Null [04:10] and we want to treat None as Null, not as False in bool columns. [04:10] SteveA, exactly [04:11] sounds good to me. do we have bool columns that aren't NOT NULL ? [04:11] erm.... in english I mean saying 'if expires==NULL, then the file can be removed x hours after it is no longer referenced. If you need the file to remain permanently chewing up disk space, set the expiry to the NEVER_EXPIRE constant (a magic value of 1/1/2038). [04:11] I still need a use case for a file that should hang around for ever if it is no longer referenced by anything. [04:11] sabdfl: Getting ever closer [04:11] SteveA, yes, we do. ShippingRequest.approved can have NULL values, meaning it's pending approval [04:12] sabdfl: This was a full publish of warty/hoary/breezy as imported by gina [04:12] sabdfl: so a *HUGE* job which showed up a few flaws in the publisher I finished in brazil last time :-) === camilotelles_ [n=Camilo@200.128.80.250] has joined #launchpad [04:13] Kinnison: how long did the publish take? [04:13] carlos, wow, the openwengo code repository is big :) [04:13] salgado: i guess... i'm tempted to consider a DBSchema, so that the the "pending approval" state can appear nicely in a UI. but, if that's yagni, then okay. in any case, the patch to sqlobject looks good. i don't think we have anywhere that None is being passed in at present. maybe you can start off conservatively, and test it by asserting is not None, to check we aren't using None as False right now? [04:13] vinsci, I hope that's good :-) [04:14] sabdfl: Well, that run took ca. 30min [04:15] sabdfl: 10min of which was apt-ftparchive [04:15] ok [04:15] and is an update run faster than the first time creation? [04:15] SteveA, the pending approval will definitely appear as so in the UI. what you're suggesting is to add the assert and running our tests to check if something breaks? [04:15] sabdfl: I hope so. A totally initial publish is more like nine hours :-) [04:16] sabdfl: since we have to shovel about 100 gigs around and then get apt-ftparchive to run over it [04:16] salgado: i was confusingly talking about two different things. [04:16] sabdfl: plus this is running on mawson which elmo says hasn't got much IO, and it's spewwing debug output at ca. 90kB/s [04:16] :-) [04:16] ok [04:17] salgado: to land the patch: 1. add an assert that the value is never None in to_python and from_python in the BoolValidator. run all tests. if that works, apply the patch. [04:17] salgado: the other point was to consider if using a dbschema rather than a tristate bool makes the shipit application any simpler. === lamont__ [n=lamont@15.238.5.156] has joined #launchpad [04:18] sabdfl: It's quite odd debugging stuff which uses a megabit of bandwidth for its trace output :-) [04:18] SteveA, yes, that's what I understood about "starting off convervatively". I'll try it [04:19] SteveA, about the DBSchema, I don't think it's necessary, because you should use ShippingRequest.is[Approved,Denied,Pending] instead of directly accessing ShippingRequest.approved, anyway [04:20] stub, ping? [04:20] stub, can you pull marilize's account over to staging? [04:22] kiko: Yup. It will be Person, EmailAddress, GPGKey and WikiName I guess. [04:23] carlos: Or can I just reset the staging database to production? [04:23] I don't think she'll need GPGKey or WikiName for the test, stub [04:23] stub, I don't think carlos is going to like you if you do that :) [04:23] She needs wikiname or some of our pages are broken ;) [04:23] aieee [04:23] stub, no, please, don't do that .... [04:23] stub, at least not today [04:23] heh [04:23] carlos: ok. Just checking ;0 [04:24] stub, I will try to confirm you later today that you can run the script on production [04:24] after that, I will not mind at all of any update you do :-) [04:24] carlos, we'll see ;) [04:24] salgado: you might also do a quick scan of the Bool sqlobject fields we have in database classes, to make sure they're all NotNull so far [04:25] salgado: if any are not NotNull, then we might have faulty data in those places. [04:27] kiko, Kinnison what's the status of gina run on production? [04:28] that would reduce a bit the time to generate language packs because I will be able to filter out any package outside main... [04:28] SteveA, good point. I'll do that [04:28] last I heard it was pending some diskspace [04:28] so I clicked on a bug ... did some stuff with it [04:28] now I can't get back to my product's bug listing [04:28] what TZ is Montral ? [04:28] carlos, from the softphone-ng README, I like it already. The guys seems to understand software architecture well [04:29] if I click "Overview" it just goes back to the frontpage of launchpad [04:29] Kinnison: America/Montreal [04:29] carlos, language.py: visible = BoolCol(dbName='visible') [04:29] vinsci, I hadn't time to look into that [04:29] carlos, do you want NULL values on that column? [04:29] UTC-4, ta [04:29] salgado, no, thanks for the warning. Will fix it now [04:29] Kinnison, publishing.py: embargo = BoolCol(dbName='embargo', default=False) [04:30] Kinnison, I guess you definitely want NULL values on that column? === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [04:30] oops, sorry [04:30] carlos, among other things, the same code base support GUIs for both Qt and GTK or "whatever toolkit you prefer" [04:30] erm, no, that needs a notNull=True [04:30] I misread it as default=None [04:30] vinsci, cool [04:30] Kinnison, do you want me to add it for you? [04:31] vinsci, I like it more now :-) [04:31] salgado: sure, if you're in the area === vinsci gave up on GTK/Gnome a year or two ago [04:32] Kinnison, done [04:32] so I wouldn't have minded non-gnome support ;-) It obviously better that it can provide both cleanly, though [04:32] Anyone know how long a flight from London to Montral will take? [04:32] carlos, pofile.py: rawfilepublished = BoolCol(notNull=False, default=None) [04:32] Kinnison, london/la is 12 [04:33] will ruin your whole day, anyway :) [04:33] carlos, do you rely on rawfilepublished being None somewhere? [04:33] vinsci: a 12 hr flight?! [04:33] well, l.a. is quite a bit further away [04:34] cprov, codeofconduct.py: active = BoolCol(dbName='active', notNull=False, default=False) [04:34] cprov, I guess that line should have a notNull=True, no? [04:35] sabdfl: a run where nothing has changed is 17 minutes [04:35] sabdfl: and I think I can reduce that when I have more time to look at optimisations [04:35] ok super [04:35] but for now, I'm getting this publisher branch ready for a quick review and moving on [04:35] we don't need to stress about perf at this stage [04:35] salgado: yes, it's one of the many mistakes I did with notNull, are you correcting those ? [04:36] cprov, yes, I'm fixing it now === mpt finishes reading BugTaskWatchLinkage and BugTasksAndExternalBugTrackers [04:36] sabdfl: indeed [04:36] sabdfl: < 30m is the target [04:36] i have a 221 line diff.txt that i'd like a reviewer to look over and give me feedback on [04:36] sabdfl: so that ubuntu can refresh every half-hour like it does now [04:36] salgado: if you can use you regexp-fu to find them, it'll be perfect, because I suspect there are more :( [04:37] cprov, but I'm fixing only the ones related to BoolCol()s. might be good if you can have a look and check for other misuses of notNull [04:37] cprov, I can't be sure when they're misused or not. I'd have to ask for each one [04:37] bradb: Am I right in thinking that bug watches currently don't actually do anything, but they will in the future? [04:37] kiko: Done, I think ;) [04:37] kiko: oops.. hang on [04:38] SteveA: let me know when have time (~10 min) to talk about an issue I'm having to run tests as a restrict user, ok ? [04:38] SteveA: mail it to me [04:38] kiko: ok [04:38] mpt: yes, they will in future suck in all related data from the remote bug tracker, regularly [04:38] kiko: Should I email her, or are you dealing with it? [04:38] salgado: if you can build a list of all fields would be nice to sort it out easily, what do you think ? [04:39] mpt: You'd have to confirm with sabdfl as to whether the code that fetches and updates remote bug statuses is actually running on production. [04:39] it's not running, afaik [04:39] mpt: IOW, they're not really doing much, for the moment. [04:39] ok. [04:40] carlos, did you see my message about rawfilepublished a few lines above? [04:42] stub, I can email her, sure. thanks! [04:44] sabdfl: sent [04:46] salgado, sorry, my server's raid controller start beeping and had to leave to see what happens [04:46] salgado, no, I think it should never be NULL [04:46] salgado, will fix it too === camilotelles [n=Camilo@200.128.80.250] has joined #launchpad [04:47] SteveA: a bit of a hack, innit :-) [04:47] yeah [04:47] i looked at what is involved in checking the permission "internally", and decided it will be much easier when i've done some refactoring of the publisher which is coming up soon. [04:47] carlos, if you're sure it should never be NULL then I'll fix it. I need to have these fixes in before I merge my fix in sqlobject [04:48] salgado, the only situation where I can think it could be NULL is with old data, but that means that the data migration done when that field was added was a bit... hacky [04:48] SteveA: any reason not to address this TODO now? [04:48] + # TODO: Check whether logged in at all. If not logged in, either + # show an error, or fail transparently. [04:48] salgado, so go ahead [04:49] carlos: lang pack status? [04:49] salgado, I have the language one fixed already and ready to request a rocketfuel merge should I stop that? === camilotelles__ [n=Camilo@200.128.80.250] has joined #launchpad [04:50] sabdfl, seems like whitespace issue is gone. I got a couple of errors that I need to check if it's a corner case or not but that is not blocking language packs anymore [04:50] carlos, well, if you're going to request a merge, then I'd ask you to fix the rawfilepublished too. ;) [04:50] carlos, can you do that? [04:50] carlos: well done [04:50] sabdfl: good point. what do you think it should do? if not logged in at all, then just redirect as normal. if logged in using basic auth... probably just redirect again. the worst we get is someone continually pressing "logout" and then filing a bug. but this won't occur for normal use of the system. [04:50] sabdfl, https://launchpad.net/malone/bugs/1566 is an issue now but we can workaround it easily as it's a matter of remove all obsolete entries. Anyway I'm fixing the code now so that would the plan B [04:50] salgado, sure [04:50] where would they press "logout"? [04:51] sabdfl, thanks, but that should be fixed long ago... I'm not too proud of that... [04:51] bradb: eh, fmt:icon returns me escaped HTML (full of < and >) rather than real HTML [04:52] mpt: did you use structure? [04:52] content="structure .../fmt:icon", etc? [04:52] bradb: bingo, thanks [04:52] np [04:53] SteveA: Is there any way to run a given test as a particular database user? (This is a potential BLOCKER for soyuz until we know either way) [04:53] salgado, hmmm POFile.rawfilepublished does not have the NOT NULL constraint at DB level... [04:53] Kinnison, look at the test for the foaf-karma-updater cronscript, it uses the karma dbuser [04:53] Kinnison: basically, yes. but it means you need to take more responsibility for that test's setup [04:54] okay thanks [04:54] so that's not a trivial fix, I cannot fix that now [04:54] salgado: erm, this is a doctest, not a script :-) [04:54] are there any doctests which do this? [04:55] carlos: do we keep the distro po templates around, are they accessible for a later parsing? [04:56] i'm trying to think how best to avoid this review-breezy-xxx stuff [04:56] i think we need a table where we store the potemplate details we were not able to match up [04:56] sabdfl, http://people.ubunut.com/~lamont/translations/ [04:56] Kinnison, oh, sorry. I forgot the user is specified in the script and not in the test [04:56] sabdfl, there you have all .po and .pot files that were ever imported into Rosetta [04:56] then jordi should review that daily, and say which template belongs where [04:57] sabdfl, yeah, that system would be really good [04:57] I'm a bit overloaded fixing templates from time to time [04:57] thanks for the review, sabdfl [04:57] sabdfl, I was thinking on an "easy" fix with the major problem that creates lots of review-* templates [04:57] carlos: ok, what's that? [04:58] checking if the path has the tarball version number [04:58] if it's build/gtk+2.8.3/po [04:58] instead of create a new potemplate when the 2.8.4 is imported [04:58] we could try to guess that it's an update [04:58] it's an easy fix [04:59] but your solution is the way to go [04:59] salgado: doc/karmaupdater.txt is pointless for my issue, it executes another process., did you mean other file ? [04:59] as a long term solution [04:59] carlos: btw, we just made the fixes to get translations back into ~lamont/translations for you... with a large influx as a result (I wasn't sure how far back to go, so I expect I overshot...) [04:59] lamont__, yeah, thank you, I saw that, the import queue has now more than 3000 pofiles to import.... [05:00] ;-) [05:00] well, maybe 20 july was a bit overkill... [05:00] WaterSevenUb, that means that synaptic should appear soon [05:00] :-) [05:00] lamont__, already imported .po files will be ignored [05:00] SteveA, a lot of tests are failing if I add the assert on the validator, all of them in rosetta, aparently [05:00] lamont__, so it should not be a problem [05:00] salgado, which assert? [05:01] salgado: can you paste up a typical stack trace you get from the assert? [05:01] carlos: way cool [05:01] SteveA: it appears to me that code in a view's constructor gets run even when the current user doesn't have the permissions to view that page. (e.g. I have some view code which grabs the current user and redirects them somewhere else because of a changing URL, but user.name raises an AttributeError on NoneType when the user is shown the login prompt to be auth'd to reach the page.) === jinty [n=jinty@205.134.224.215] has joined #launchpad [05:02] if what i think is happening really is happening, that would appear to be a security hole [05:03] SteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/filenmCN0N.html [05:03] bradb: a view's constructor will be called in a variety of situations. i keep saying that there should be no significant code in a view's constructor. [05:04] mpt: pouet! [05:04] SteveA: Is this a security hole? [05:04] bradb: i don't think so. views are not "assets". the content classes are the assets. [05:04] ddaa: que? [05:04] mpt: "slut" :P [05:05] Kinnison: At the moment I think you subclass LaunchpadFunctionalTestSetup or LaunchpadZopelessTestSetup and override the dbuser attribute [05:05] so, at worst, having significant actions in a view's constructor can lead to usability issues. [05:05] carlos, it's an assert in sqlobject. I added it to make sure we're not inserting NULL values in BoolCol columns, because our sqlobject can't cope with that (it'll always return False for NULL columns) [05:05] I need to leave for an hour and a half. Anyone needs anything urgent from me? [05:05] SteveA: I'm able to run code that drives a page that I don't have the permission to access. I'm trying to figure out how that isn't a security hole. ;) [05:05] ddaa: What have I done now? [05:05] mpt: I'm working on branch-summary-listing.pt right now. I would like to add a href somewhere to the canonical branch url. Where should I do that? [05:06] stub: heh [05:06] Kinnison: If that is a PITA, feel free to add arguments to the setUp method to pass in the user to connect as. [05:06] (I could have sworn it already worked that way ;/) [05:06] ddaa: From the branch's name [05:06] If it were me I would put it in the branch title, except I would not be using , and I would be using some CSS so the hyperlink would not be underlined when the mouse is not over it. [05:06] salgado, hmm, I will fix the pofile.rawfilepublished issue then today, it will need db changes + code changes and it's not trivial is that fast enough for you or you need it now? [05:06] mpt: the branch name is not present in the mockup [05:06] stub: perhaps when I have more time [05:07] bradb: you are not running code that "drives a page". you are using vague language to try to make a point. [05:07] ddaa: Where's the mockup? [05:07] branch-summary-listing.pt [05:07] carlos, if you can fix it today then it's not a problem. thanks. :) [05:08] ddaa: I spy a "context/title" in there [05:08] salgado, could you mail me the list of problems you get? [05:08] mpt: ha, that's the title then [05:08] salgado, or is it only POFile.rawfilepublished ? [05:08] q/win 19 [05:08] SteveA: Ok, moving on. Is a redirect in a view constructor considered "significant code". [05:08] s/\./?/ [05:09] mpt: what's the procedure to get cosmetic improvements (like the CSS trick I just mentioned) done? [05:09] bradb: i'm kinda busy with at least two things happening at once. can you mail me a detailed description of what you want to know? [05:09] ok :) [05:09] mpt: "don't, just nag me until it's done" is an acceptable answer. [05:09] ddaa: IMO the CSS trick you mentioned would not be an improvement [05:09] carlos, I'll run the tests now with "rawfilepublished = BoolCol(notNull=True, default=False)" and see if something is still broken [05:10] ddaa: So is just "don't" an acceptable answer? :-) [05:10] mpt: IMO you want to have "hyperlink" color for the title, but you do not want to have them all underlined. [05:10] salgado, ok, thanks. Mail me it and I will look into it as soon as I'm back [05:10] see you later [05:10] but I'm not the UI professional here. [05:11] salgado: that error is happening in the toPython assert. so, it seems to me that means there is a NULL in the database at that point. [05:11] ddaa: I'd really rather just have them all underlined. [05:11] yuck [05:11] salgado: if that's so, it means we need to do some cleaning up of NULLs in the production database before we can roll out that sqlobject patch. === ddaa goes to make his ugly page template [05:11] ddaa: non underlined urls are mystery meat and very bad [05:12] _very_ [05:12] salgado: this concerns me, so i'd like to get stub's input. [05:12] mmmmmystery meat navigation [05:13] bah [05:13] SteveA, I'm pretty sure all we need is to run "update pofile set rawfilepublished = FALSE where rawfilepublished IS NULL;" [05:13] If BoolCol can't cope with NULL, it is broken. Python has True, False and None, PostgreSQL has true, false and NULL. Shouldn't be a problem. [05:14] stub, in our current sqlobject version it can't [05:14] but that's fixed in upstream and I need to backport this change [05:14] ok [05:14] stub: current sqlobject's boolcol converts NULL/None into False transparently, both ways [05:14] salgado: give the backported change to spiv to merge, he has rights to sqlobject IIRC [05:15] the patch salgado wants to backport makes it a tri-state when the column is declared Non-Null [05:15] lifeless, I have rights too (I guess everybody does) [05:15] salgado: sqlobject ? [05:15] lifeless, the problem is that wee need to fix our existing data [05:15] hmm, it is set to canonical, whaddya know [05:16] salgado: I can't find a doctest for PersonView. Is the view class tested anywhere? If not, I'll create a new test right now, for the methods I'm interested in. [05:16] i am surprised that we have faulty data, because the existing code looked like it never sets a NULL. [05:16] salgado: rawfilepublished will always be NULL if rawfile is NULL [05:16] so it would be non-sqlobject code that has put NULLs in [05:17] The NULLs would be default values [05:17] stub, so, it should allow NULLs [05:17] carlos said it shouldn't allow NULL values [05:17] bradb, no, there's no test for that view --it's tested only by page tests [05:17] It could be modeled either way. [05:17] ok, I'm creating one now, thanks [05:19] salgado, hmmm, stub is right, I assumed that POFile.rawfile is NOT NULL and that's not true... [05:19] I prefer it being NULLable myself - gives me more flexibility setting up partial indexes and other stoof [05:19] salgado, stub I don't mind to fix it so 'not null' is not valid or leave it as it's atm [05:20] I think to fix the data, using the current schema definition unchanged, we could do 'UPDATE pofile SET rawfilepublished=FALSE WHERE rawfilepublished IS NULL and rawfile IS NOT NULL' [05:21] (if there is actually broken data) [05:25] stub, yeah, it sounds ok for me [05:28] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Language.visible is NOT NULL (patch-2357: carlos.perello@canonical.com) [05:28] salgado, there you have it [05:28] later! [05:32] SteveA, so, what's the plan for the sqlobject fix? aparently the only other BoolCol that we should allow NULL values is the rawfilepublished [05:33] salgado: overall, if stu is happy with the integrity of production data, and the existing BoolCols that are wrong are being fixed right now, then go ahead and apply the patch to sqlobject. [05:34] hi carlos , how can i download a translation/.po from roseta... "Download translations" don't work because of BUG #1978 [05:41] launchpad_prod=# select count(*) from pofile where rawfile is not null and rawfilepublished is null; [05:41] count [05:41] ------- [05:41] 9250 [05:41] (1 row) [05:41] So we need that update as a DB patch when the bug gets fixed. === stub goes to bed === mpt wonders what "There are currently no links to this bug watch" means [05:45] stub, I'll add that db patch as part of my last shipitng changes, because the sqlobject will need to be updated in production when we cherrypick the shipit changes [05:45] mpt: There are currently no tasks linked to that watch, perhaps. Not sure how to say that without sounding like you're being talked at by a computer. [05:45] stub: still here? ;) [05:46] elmo: just! [05:46] What's involved in making a discussion thing work for branches? [05:46] stub: just for my sanity - you want full debbugs mirrors on both production and staging? [05:47] stub: ^^ [05:48] elmo: Yes. We will need both. Staging before production, but I thought I'd put in the production request early. [05:48] mpt: Maybe making watch adding part of task adding/editing would eliminate the need for that wording entirely. [05:48] stub: ok [05:48] I can't think of a use case for an orphan bugwatch. [05:50] ddaa: From the database side, you create a BranchMessage table which links Branch to Message. See BugMessage or *Message for details. UI I don't know if we have anything generic. [05:51] stub: I have a BranchMessage table in BranchDataStorage.sql [05:51] stub: who would know about generic discussion UI foo? [05:52] ddaa: sabdfl might be your best bet - I think he has knocked this up for bounties and tickets and might have stuff for you to pinch or reuse. === Nafallo [i=nafallo@c-459571d5.07-44-73746f50.cust.bredbandsbolaget.se] has joined #launchpad === ddaa decides it's time for a smoke [05:53] sabdfl is not around right now [05:53] ddaa: ? === Nafallo_ [n=nafallo@unaffiliated/nafallo] has joined #launchpad [05:54] well, I'll have a smoke anyway :) [05:54] next I think you can come have a look and tell us what would suit your fancy [05:55] SteveA: can you cast your eye over that branch so I can merge those publisher fixes? [05:55] Kinnison, binarypackagerelease.py: essential = BoolCol(dbName='essential') [05:55] binarypackagerelease.py: architecturespecific = BoolCol(dbName='architecturespecific') [05:55] Kinnison, default=False, nutNull=True? [05:55] (I mean, can I add that?) [05:55] salgado: for the first yes [05:55] salgado: the secnd should be notNull=True, but no default declarator [05:55] okay [05:56] sabdfl: I was wondering if you had any generic front end to Message and *Message tables you might have knocked up as part of Bounties or ticketing [05:56] sabdfl: Because ddaa is looking at the message spool for branches [05:56] messages are always to do with presentation, so there will always be a request available [05:57] so, can you make it an API on the request? [05:57] either directly, or via an adapter [05:57] bradb: Yeah, you have to add a watch, and then you have to link a task to one of the watches ... It's too much like work. [05:57] Kinnison: which branch exactly? [05:57] SteveA: the one I added to your review queue a short while ago? === SteveA remembers at last to subscribe to the PendingReviews page, seeing as the reviews list seems to have lost its subscription [05:59] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=jamesh] Supporting architeture coherent builder-queue construction, (build architecuture independent or specific) and process run-time tests. (patch-2358: celso.providelo@canonical.com) [06:00] Kinnison: aw poop, it isn't on jamesh's pending reviews page yet [06:00] hey, can I kill python2.3 from our servers? [06:01] SteveA: If I can be in a position to merge it (either merge-approved or merge-conditional) by the time I get back from bowling later tonight, I'll be happy. So you can wait a bit [06:02] elmo: cautiously yes, but i'll mail the launchpad list about it [06:03] elmo: i don't know what version of python stub has plugged into postgresql [06:04] 2.3 I think [06:04] I'm sure he has had to backport some stuff a little [06:04] kiko - any luck with the photos ? [06:13] lifeless: What did you mean by "'Remote Bug Details' could with some in-your-face help" in ? [06:13] Is that help as in "here's how to use this thing", or help as in fixing the design? [06:14] ask brad :0 [06:14] I was sitting with him and we saw a page, and I was plain scared by it [06:16] ok [06:17] I recently observed Burgundavia wondering what a bug watch was all about too. [06:18] Sounds like this needs the same kind of love I gave to release targeting [06:18] mpt, please use a consistent name over all fields when you do fix that :-) === bradb nominates "prioAndSevFilter" as one of the stranger variable names I've seen in LP code [06:21] spiv: still reviewing? [06:21] salgado: "whoxxx" is different to all the other db field names for a person [06:22] typically we use a role name [06:22] assignee [06:22] reporter [06:22] or similar [06:23] sabdfl, IIRC that was the name we were using in our discussions here in Brazil. that's why I kept it [06:23] (I assume you're talking about shipit?) [06:28] mpt: Would it be any great crime for now if I removed the "bugs with shared interest" part of the +assignedbugs page? It's non-trivial to test, and might be spending time on the wrong thing until we've learned more about how Real People are actually using this report, IMHO. [06:30] bradb, I think it should stay [06:30] don't test it for now if you are blocked by this [06:30] and btw [06:30] why are you changing that page? [06:30] ok, i'll leave it untested [06:30] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=sabdfl] improvements to logout pages (patch-2359: steve.alexander@canonical.com) [06:31] kiko: I'm not changing anything user visible, I'm just adding tests for the view, because that's now the page you land on when you click "Assigned Bugs" from the Malone front page (bye bye /malone/assigned...fixing a criticalish bug in that report that's preventing mpt from accessing the full list of his assigned bugs.) [06:32] what was the criticalish bug, btw? [06:32] great that you nuked the page though [06:32] kiko: Permission Denied. I don't think /malone/assigned is handling privacy correctly; not calling the correct APIs is my guess (but that page is in bad need of nuking either way :) [06:33] heh [06:33] carlos, ping? [06:33] /malone/assigned will continue to work, but it'll just redirect you to the right place in FOAF now === bradb follows the word of Jakob [06:40] all hail jakob [06:40] "there are no cows on the ice" [06:42] SteveA: thanks for that review. I'll get onto it ASAP. As for the amount of database code outside of c.l.d.* I agree it's annoying from the PoV of discoverability. I'll put "Move soyuz db queries into c.l.d.*" onto my longer-term todo if that's okay with you? Something for me to tackle in UBZ perhaps? [06:42] why were they constructed outside of there in the first place? [06:42] why aren't you adding API to your database objects? [06:43] SteveA's words are my own [06:44] Because at the time I didn't understand how we were laying stuff out and I just wanted to code so I did things the way I've done them in the past (I.E. not as well as I should). For the most part they should be fairly simple to move but I'm loathe to do such refactoring until such a time as I'm not the critical path for the next Ubuntu release :-) [06:45] It's not an excuse, I know. But it is the reason === kiko is unhappy [06:46] Kinnison: do you think someone other than you can move things into their correct places? do you trust the tests enough to allow others to make moves like that? [06:49] putting the database code in the database classes means the APIs were properly designed [06:49] why would it be less traumatic to move the database code later, when we are already being used daily? [06:51] SteveA: for now I don't want to risk having conflicts. Once I've got the breezy tracker running properly I'll be in a better position to rearrange things. Celso would probably be a good person to do the rearrangement. [06:52] Kinnison: when do you think that time will be? [06:52] SteveA: I have a personal deadline of the end of this week to have it at least limping along [06:52] SteveA: I agreed that deadline with mark and celso [06:53] kiko: what do you think? have a rearrangement of this database code in a couple of weeks from now/ [06:53] ? [06:54] I still don't understand why once the tracker is running we're in a better position to rearrange the code [06:54] and not putting database code in database objects often means the APIs your software is using are wrong [06:57] kiko: because until the tracker is running, I will be in a major code crunch and at the same time I may have to change things at the drop of a hat, which makes conflict resolution a complete arse. === Kinnison apologises [06:57] my personal stress levels are getting in the way of my work [06:58] I'll see what I can do to tidy up this code when I get back later tonight [07:00] bbl === Kinnison has his cell if he's needed. [07:15] salgado-lunch: got shipit running here. getting some schooltool expertise to help -- they've done this before [07:15] SteveA, wooo! [07:24] carlos: when do we have gajim in breezy rosetta? :-) [07:29] should I make private bugs which have tracebacks? [07:29] it's very inconvenient and often impossible [07:31] i don't see why having a traceback is enough reason on its own to make a bug private [07:32] if the traceback reveals sensitive security-related stuff, then perhaps [07:32] but not in general [07:32] it reveals implementation details. [07:35] but I'm happy if you're happy! [07:35] carlos: "Administrator help needed. Gajim has not yet been setup for translation through Rosetta." [07:35] carlos: please do ;-) [07:40] kiko: #launchpad also reveals implementation details [07:41] mpt, so it does, so it does [07:44] hi sabdfl [07:44] um [07:44] Exchat [07:44] hi salgado [07:47] Nafallo, please, follow the instructions at https://wiki.ubuntu.com/RosettaFAQ [07:47] kiko, pong [07:48] carlos! [07:48] carlos: oh, nice :-). thanx [07:59] jordi, ping? [08:00] jblack: ping [08:03] carlos: added on RosettaPendingImports :-) [08:03] Nafallo, thank you === dda1 [n=ddaa@217.205.109.249] has joined #launchpad [08:07] kiko: Would you be willing to review my assigned bugs report fixes patch? [08:08] It's criticalish, so I'm hoping to get it in today to rollout by tomorrow. [08:09] uhm [08:09] how long? [08:12] kiko: 11 files changed, 201 insertions(+), 144 deletions(-) [08:14] bradb, sure, put it up on the reviews page in my section [08:15] will do, thanks [08:33] mpt: So, the fix which I believe will fix your assigned bugs perms problem (and seriously desuckify what happens when you visit /malone/assigned, or click the link on the Malone front page) is in kiko's review queue now. [08:40] steva: pong [08:42] hi jblack . just wondering if there's going to be a baz updates meeting this week. can you send an email to the usual suspects to confirm? [08:43] Hasn't this already been settled? an hour before the launchpad meeting every thursday? [08:43] didn't know it was regular, and it helps to send out a reminder if you're the meeting convener === WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad [08:45] I thought you were. ;) [08:46] I'll send out an email today. :) [08:46] cool [08:46] good night folks [08:46] night SteveA === niemeyer calls kiko just to see the nick changing again.. [08:47] ;) [08:47] heh [08:47] fixed all of them now [08:49] spiv: still reviewing? [08:50] bradb: great -- it'll certainly help me to see all the bugs assigned to me in one place === Adam-_ [n=uimp@217.124.95.61] has joined #launchpad [08:57] hm, /me is overwhelmingly giddy to try out Z3 form error messages after the URL dragon has been slayed [08:58] i'm on a mission to make our failure modes not suck [08:59] BjornT: ping [09:03] ConfigurationError: ('Invalid value for', 'class', "Couldn't import canonical.launchpad.browser, cannot import name WIPRevision") [09:03] any clue why I'm getting this? [09:03] kiko: __all__? [09:03] this is on a hopefully clean tree, though [09:04] mm [09:04] kiko: update cscvs [09:04] rocketfuel@canonical.com/cscvs--devel--1.0 [09:04] * tree is already up to date [09:04] @#!@# [09:05] fear becomes me [09:08] bradb@oxygen:~/launchpad $ baz resolved lib/canonical/launchpad/browser/bug.py [09:08] 1 conflicts remain in this tree [09:08] Requested conflicts have been resolved [09:08] that is a confusing message to me [09:12] SteveA: around? [09:12] nope [09:12] he's gone [09:12] hm [09:13] I've run into more pain with using IBugTask as the context. [09:13] I suspected so [09:13] e.g. for the bug description editing page [09:13] name="+edit" [09:13] for="...IBugTask" [09:13] schema="...IBug" [09:13] and here's the real kicker... [09:13] permission="...hahah!" [09:14] permission checking is done on the thing named in for="" [09:14] so, the permission checking to edit bug attributes is done on the bug *task* [09:16] with IBugInContext, ABICT, this view could have simply been registered for="...IBug", because IBiC inherits from IBug. in that case, i believe it would just work. [09:19] Keybuk: ping === bradb writes SteveA an email [09:21] niemeyer: heyhey [09:21] Keybuk: Hi :) [09:22] Keybuk: Would you be able to explain a bit the structure you've used for patches? [09:22] Keybuk: I'm curious about, for instance, what happens when the software version changes. [09:23] I'll have to answer this with a story [09:23] we'll use a simple source package that has a tarball and a patch in it [09:23] import version 1.0-1 and we get [09:23] + simple--orig--1.0 === niemeyer takes his chimarro and listens carefully.. [09:23] + simple--patch-name--1.0 [09:24] simple--orig--1.0--base-0 is the contents of the tar file [09:24] simple--patch-name--1.0--base-0 is the continuation of that [09:24] simple--patch-name--1.0--patch-1 is with the patch applied [09:24] -- [09:24] so far, so as expected [09:24] What about --diff--? [09:24] DON'T INTERRUPT :p === niemeyer :X [09:25] so we import 1.0-2 now [09:25] this only has some changes to the patch, and none of [09:25] the tarball itself [09:25] so we don't change simple--orig--1.0 at all [09:25] simple--patch-name--1.0--patch-2 is the "update" to the patch branch === SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad [09:26] so if we checkout patch-1 we get the state for 1.0-1 and if we checkout patch-2 we get the state for 1.0-2 [09:26] -- [09:26] now let's import 1.0-3 which has changes to _both_ [09:26] simple--orig--1.0--patch-1 is the "update" to the tar file [09:26] we merge those changes onto the patch-name branch (to update the patch to 1.0-3) [09:27] simple--patch-name--1.0--patch-3 is the "update" for the changes to the tar file [09:27] we then import the patch changes onto the patch branch [09:27] simple--patch-name--1.0--patch-4 has those [09:27] -- [09:27] and lastly 1.0-4 has only changes to the tarfile [09:27] simple--orig--1.0--patch-2 is the update [09:27] and again, we merge those changes onto the patch branch [09:27] simple--patch-name--1.0--patch-5 is that update [09:28] no changes to the patch need to be imported, so that's that job done [09:28] -- [09:28] those are the "simple" operations [09:28] Ack [09:28] now, when the upstream version changes, we do something different === carlos ->dinner [09:28] see you [09:28] carlos: Have a nice dinner [09:29] so we import 2.0-1 which has changes to both, and for fun, let's add a new patch too [09:29] (conflicts, please :) [09:29] we /branch/ the simple--orig--1.0 branch [09:29] so we create simple--orig--2.0--base-0 as a continuation of the last state of 1,0 [09:30] and simple--orig--2.0--patch-1 to "update" that to the contents of the tarball as we found it [09:30] Hummm.. interesting [09:30] that probably makes some sense, here's where it gets fun [09:30] we now need to do the same for the patch [09:30] we branch the simple--orig--2.0 branch _NOT_ the last patch branch [09:30] we then merge the changes from the last patch branch onto it [09:31] and then finally update it [09:31] simple--patch-name--2.0--base-0 is a continuation of simple--orig--2.0 [09:31] simple--patch-name--2.0--patch-1 is the merge of the simple--patch-name--1.0 branch [09:31] simple--patch-name--2.0--patch-2 is the update to the actual patch contents [09:31] By "changes from the last patch branch" you mean changes from patch-name--1.0--patch-N to orig--1.0--patch-N? [09:32] yes [09:32] delta the branch and apply it [09:32] adding a new patch is easy [09:32] branch simple--orig--2.0 (to simple--new-patch--2.0--base-0) and update it with the applied content of the patch (patch-1) [09:33] Understood [09:33] so you understand that? [09:33] Yes [09:33] good ... [09:33] so let's take a _real world_ example [09:33] we have the simple_1.0.orig.tar.gz [09:33] which is slightly different from simple-1.0.tar.gz the upstream one [09:34] and we found the differences on the CVS import of simple's upstream [09:34] and there was a previous import of simple_0.9.orig.tar.gz [09:34] ... [09:34] simple--orig--1.0 is a branch of simple--UPSTREAM-RELEASE--1.0 [09:34] we merge the changes from simple--orig--0.9 [09:35] we sync-tree with simple's upstream CVS at the point we found it [09:35] and then we update the branch to include the changes [09:35] - [09:36] so we can extend this to arbitrarily complicated structures [09:36] and it means that there is an incredibly short path between any patch [09:36] you can calculate ancestry in just one or two steps, rather than a zillion === robitaille [n=robitail@p235-083.public.uvic.ca] has joined #launchpad [09:37] so where there's a CVS upstream, you can just merge from it without having to worry about complicated layers in between [09:37] Right.. that's nice. A "patch provider" [09:37] Ok.. what about conflicts? [09:37] what conflicts? [09:37] you've got what it's supposed to look like in front of you [09:38] you have the tarball and patch you're trying to import [09:38] Ok.. let me try to explain [09:38] so you can just go "la la la la" and ignore them all [09:39] We have simple--orig--1.0--patch-X available, and also simple--patch-name--1.0--patch-Y [09:39] hmm, available how? [09:39] Imported [09:39] it's easier to refer to this in terms of the bundled version [09:39] And we've found a tarball for 2.0 to import. [09:40] right [09:40] do you mean an upstream tarball? [09:40] Creating simple--orig--2.0--base-0, a branch of --patch-X. [09:40] or a new 2.0 source package [09:40] A 2.0 source package, for instance. [09:41] ok [09:41] so yes, we have simple--orig--2.0--base-0 from simple--orig--1.0--patch-X [09:41] and simple--orig--2.0--patch-1 with the content of it [09:42] ... no conflict so far ? [09:42] Now, we have a patch between simple--orig--1.0--patch-X and patch-name--1.0--patch-Y that we want to apply to patch-name--2.0--base-0, right? [09:42] right, assuming that patch-name is in the 2.0 package [09:42] we make a simple--patch-name--2.0-base-0 from simple--orig--2.0--patch-1 [09:43] and then try and apply the delta to that [09:43] Right.. but the changes might conflict with the new patch, right? [09:44] correct [09:44] however on disk you have a directory in which you unpacked simple_2.0.orig.tar.gz and applied simple-patch-name.patch [09:44] so you know what the /result/ is supposed to look like [09:44] baz goes "argh!! conflicts!!", we just ignore them and commit it anyway [09:45] the worst that can happen is you just commit the useful patch logs [09:45] Ah, that's where I'd like to get. [09:45] and then the next thing you do is make that branch look exactly like the unpacked copy on disk, and commit that [09:45] Hummm.. that's strange. [09:46] there's absolutely no reason that operation needs to be a merge, it could just be a sync-tree, but I like it to be a merge because it often works out quite nicely [09:46] kiko: will you have a chance to review that patch today? [09:46] I might [09:46] right now I have a fucked tree [09:47] hehhe.adskj;a [09:47] Keybuk: Another example, just to clarify it in my mind. Suppose I'm a user, and I have a upstream source tarball of simple-2.0 in my hands, and want to upgrade what is currently being managed by hct. [09:48] hct has 1.0 [09:48] And patches for it [09:48] (like you've shown) [09:48] right [09:48] this gets a little more interesting, but once you know the basic operations, it comes out quite sweet [09:48] so let's imagine we imported simple-1.0 like this: [09:48] simple-1.0.tar.gz [09:48] What would be the procedure, first, considering that patches do not conflict, and then considering that they conflict with the differences of 1.0 -> 2.0. [09:48] + simple_1.0.orig.tar.gz [09:49] + simple_1.0.patch [09:49] in other words, the source package's orig.tar.gz was a branch off the upstream tar.gz [09:49] Ack [09:49] we feed the new /upstream/ tarball into the imported [09:49] we get simple--release--2.0--base-0, a continuation of simple--release--1.0--base-0 [09:50] and simple--release--2.0--patch-1, which has the actual changes [09:50] so delta(simple--release--1.0--base-0, simple--release--2.0--patch-1) is the actual changes from 1.0 to 2.0 [09:50] that's all we do! [09:50] we were only given an upstream job, so that's all that happens [09:50] we drop a manifest against the Simple 2.0 ProductRelease record [09:50] now [09:50] CONTEXT SWITCH [09:51] the user, or an automated process that's part of Grumpy Groundhog comes along [09:51] they see that a new upstream version has been imported [09:51] and they do something like [09:51] $ hct pull products/simple/2.0 [09:51] (or the short-cut) [09:51] $ hct pull upstream [09:52] this uses the same code (hct.model and hct.naming, btw) to process the merge [09:52] it creates a new simple--orig--2.0-base-0 as a tag from simple--release--2.0-patch-1 [09:53] merges the delta of the previous orig branch (which might be removing non-free docs, for example) onto it and creates a simple--release--2.0--patch-2 [09:53] THAT MIGHT CONFLICT [09:53] but that's ok, we have a user sitting in front of ut [09:53] we leave them a directory with the conflicts in and go "oi! resolve this" [09:53] (grumpy reports via e-mail that there were conflicts that need fixing) [09:53] we carry on [09:53] Ok [09:53] Understood [09:53] we make a new simple--patch-name--base-0 from simple--release--2.0--patch-2 [09:54] we take the previous delta and make simple--patch-name--patch-1 [09:54] which also might conflict [09:54] but again, there's a user sat in front of us who can resolve that [09:55] and the best bit about this is that because we know we just asked the user to resolve a conflict, we can label that changeset specially Launchpad [09:55] and the next time someone gets that conflict (because they try the same thing), we can just grab that changeset from the database and apply it [09:55] -- [09:56] Nice! [09:56] Thanks for the extensive explanation [09:57] so we can do neat tricks [09:57] grumpy can once a day try to apply new upstream changes to every source package [09:57] and when it breaks report via e-mail [09:57] all the user has to do is try and do the same operation, fix the conflict and commit it [09:57] (to _their_ archive) [09:58] and grumpy (and every other user doing the same operation) would automatically pick it up [09:58] so we can use it as an early-warning-system for patch failures [09:58] -- [09:58] where a couple of people (hi, Mark!) get confused is where the commits go [09:59] the branches we've been talking about so far have all been sacred to sourcerer [09:59] users _don't_ commit to those branches [09:59] so let's say I get my simple source package again [09:59] Keybuk: Ah, yes, that's something I missed/overlooked on your mail. You mention that the patch will automatically be available to other on the next day, but how does it get there (in the public archive)? [09:59] "hct source simple" does a baz get on: [10:00] simple@bazaar.ubuntu.com--ubuntu/simple--orig--1.0 [10:00] simple@bazaar.ubuntu.com--ubuntu/simple--patch-name--1.0 [10:00] and that's what I have in my working tree [10:00] now when I type "hct commit" (which isn't in the dailies, but is on my disk and going in tomorrow) we can't commit to those branches, so we make a copy of them in the user's archive [10:01] so it uses the same model code (hct.model gets lots of exercise) [10:01] and the user ends up with [10:01] scott@netsplit.com/simple--orig--1.0 [10:01] scott@netsplit.com/simple--patch-name--1.0 [10:01] in their own archive, and the commit completes [10:01] so now any operation they do is local to them [10:01] and doesn't collide with anything sourcerer (or any other process) is trying to do [10:02] Right.. but what I'm a bit confused about is that you say: [10:02] """ [10:02] Ok, so you made some changes to it; what happens tomorrow when someone [10:02] else comes along and needs to make more changes? [10:02] """ [10:02] :o) => Getting dbus-0.36.2/debian/patches/dbus-some-bug-got-fixed.patch [10:02] in the long term (read HctDevelopmentCycle on the wiki) when you release your source, it'll be dropping a manifest referring to _your_ branches in the database [10:03] So it means it's on a common/shared/public/whatever archive [10:03] ah [10:03] right [10:03] so there's no "hct commit" command in the released version of hct [10:05] we're not testing that right now, we're testing the basic work-flow [10:05] the uploads happen by using "hct assemble" and then just uploading it into the existing ftp queue [10:05] so sourcerer notices the upload, and imports it [10:06] so it does a fresh import of the source package and the patch appears because it was found in the source package [10:06] sadly it's unrelated to the patch branch that exists on the original user's drive [10:06] but they probably won't notice [10:06] this is a short-term hack to get distro team buy-in now, and figure out what problems they'll have with the work-flow, before we take away the existing stuff [10:07] $ dupload *.changes [10:07] This will upload the patch itself? [10:07] yeah, dupload is a Debian tool [10:07] Which will later be imported? [10:07] those last bits are "existing things the distro team use already" [10:07] it's supposed to feel comfortable to them [10:07] Understood [10:07] and it just gets imported again [10:07] Now it all makes sense [10:07] we refer to that as "laundering" [10:08] you loose the cash you had in your pocket, but at least you can wear the jeans again [10:08] in the _long_ term, they wouldn't upload it with the old tool -- they'd issue something like "hct release" which would do the magic inside launchpad to make it happen [10:08] HctDistroGratification (lp wiki) is what we're giving them today [10:09] HctDevelopmentCycle (lp wiki) is where we're going === niemeyer checks [10:13] Keybuk: What about the --diff-- branches? [10:13] which are used as the patch-base [10:15] those are just second-level patch branches [10:15] simple--orig--1.0 [10:15] + simple--diff--1.0 [10:15] + simple--patch-name--1.0 [10:15] so orig changes get applied to diff, diff changes to patch-name [10:15] no different than patch-of-a-patch [10:16] Is orig ever changed? [10:17] Or just works as the parent of orig--N+1? [10:21] hmmm [10:21] what test is it that stuart always tells me to use [10:21] """ [10:21] The libtool package in Debian has a large monolithic diff branch, which is the logical patch base. However in Ubuntu, the package has been cleaned up and moved to a new source package format; in there, the original source is the logical patch base. [10:21] """ [10:21] That should explain part of the idea [10:23] which lists pages to check? [10:23] Keybuk: Thanks again. I now have food for further investigation, and won't bother you for another while. ;) === niemeyer must leave now, though.. [10:25] See you guys [10:26] orig can be changed [10:26] oh, bah, he went [10:30] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] adding a script that allows you to link your sourcecode and lib to directories hanging off another tree (patch-2360: christian.reis@canonical.com) === kiko does TDD === dand [n=dand@83.103.205.67] has joined #launchpad === Alinux [n=Ubuntu@p54A38043.dip0.t-ipconnect.de] has joined #launchpad [11:41] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] When displaying a raw traceback, the errorservice forgot to check if the entry was expired. Fixed. (patch-2361: christian.reis@canonical.com) === jbailey [n=jbailey@testhaus.cns.utoronto.ca] has joined #launchpad [11:53] Hmm, I merged accouns and my karma didn't get transfered. Is that a bug? [11:56] Hmm, and it also seems to still list my old account "jbailey-ubuntu" as member of the Ubuntu Core Team rather than "jbailey"