[12:04] I got the failure notice [12:04] I'm just wondering what happened to the one I sent right after the failure [12:05] 15:49 [12:05] it was recieved [12:05] and then? [12:06] erm tz confusion [12:06] let me just check [12:06] lifeless, never mind, I think -- let's see if this merge request goes through [12:06] ok [12:07] salgado says it's me! === kiko waits === lifeless high fives salgado [12:08] mpt, around? [12:17] daf: you removed findSourcesByName, right? [12:18] bradb: yup [12:18] bradb: trying to merge it now [12:25] daf: did rosetta explode? i'm getting several large (3M+) batch error log emails [12:25] from a quick scan of about 10% of the file, it looks like it might be something to do with table perms [12:26] oo [12:26] maybe stub changed some permissions [12:27] daf: are you getting the error emails? [12:27] yep [12:30] Merge to rocketfuel@canonical.com/launchpad--devel--0: Long list of little UI tweaks and fixes that I've been working on for a week. r=BjornT on most of it. Fixes bug 1127, bug 1123 and possibly bug 688. Initial fix for bug 676, more work required there (patch-2022: christian.reis@canonical.com, bjorn.tillenius@canonical.com) [12:41] T L! [12:43] wooooo === mdz [~mdz@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad [01:01] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Require launchpad.Admin to the reassignment of teams. Otherwise team administrators will be able to change the owner of a team. (patch-2023) [01:06] daf: can you please ask rosetta to not mail 3MB spam at me ? [01:16] hey [01:16] does anyone know if you can apply multiple fmt: rules to the same string? [01:18] probably [01:18] the first fmt should evaluate to a string, noL [01:18] ? [01:22] yeah, that's how it looks here [01:22] my tests seem to say "it works" [01:23] my 1gig box is swapping, whee [01:25] Merge to rocketfuel@canonical.com/launchpad--devel--0: Implements the karma framework (according to the KarmaImplementation spec) and hook it into Malone events. r=spiv,stub (patch-2024) [01:31] kiko: https://wiki.launchpad.canonical.com/PageTemplateHacking#head-193daf137ed8b89de36d47c3df5fd8f66c0e1d14 === kiko looks === cprov -> night, "nice time" for who stays [01:33] mpt, which are you pointing out to me [01:33] tables or lists? [01:33] tables [01:33] oh! [01:33] oh! [01:33] thanks! [01:33] specifically the bit about using [01:35] lifeless: complain to stub === debonzi [~debonzi@200-161-81-234.dsl.telesp.net.br] has joined #launchpad [01:36] daf: ? [01:36] mpt, thead and tbody are correct, right? [01:36] daf: its not rosetta ? [01:36] it is [01:36] kiko: correct [01:36] but (a) stub controls the scripts and (b) I think it was him that broke it === debonzi is looking for stub.. === debonzi found that stub is not here... === debonzi will be back later === mpt refuels to look at this calendar stuff [01:48] Merge to rocketfuel@canonical.com/launchpad--devel--0: Small fixes: move some functions (createPerson, personFromPrincipal and traverseTeam) to their right places and remove dead code from pofile-export.pt and potemplate-export.pt. r=SteveA (patch-2025) === bradb-away [~bradb@modemcable082.64-130-66.mc.videotron.ca] has joined #launchpad === koke_ [~koke@adsl229-164.unizar.es] has joined #launchpad [01:57] * Searching for best merge point .../pqm/build_dir/thelove@canonical.com/thelove@canonical.com---bazaar--devo--1.5/src/baz/libarch/namespace.c:595:botched invariant [01:57] !!version_end [01:57] baz: uncaught exception: -1:(exiting on botched invariant) === mpt wonders whether he should Ctrl+C or not [01:57] mpt: its finished [01:57] mpt: thats the second time I've seen that [01:57] this is very strange, I'm smelling a regression [01:58] so it's fully merged? [01:59] it didn't list any modified files [01:59] no [01:59] its failed [01:59] baz tree-id please [01:59] mpt@canonical.com/launchpad--devel--0--patch-84 [02:00] and baz msissing rocketfuel@canonical.com/launchpad--devel--0 [02:02] lifeless: everything from rocketfuel@canonical.com/launchpad--devel--0--patch-2011 to -patch-2025 [02:02] thanks [02:02] do a star-merge [02:02] yup [02:04] I'm assuming that, though star-merge works in ~90% of the cases where normal merge does not, it works in less than ~80% of the cases where normal merge does work ... otherwise why not use star-merge by default :-) [02:05] mpt: could you review a branch for me please, that has some new UI? [02:05] need it done today [02:06] sabdfl: sure, what branch [02:06] mpt, star-merge worked [02:06] for me when that happened [02:06] kiko: and it's just worked for me too [02:07] sabdfl, I just added auto-linkifying to malone for links and bugtext :-) === kiko is a tales hacker === mpt hugs kiko [02:07] thanks [02:08] kiko: superb! [02:08] how do you guys like today's be landing? any conflicts? [02:08] be? [02:09] I landed like a baby today, only 8 conflicts :-P [02:10] like a defenestrated baby? [02:12] heh [02:12] Keybuk is such an australian timezoner [02:12] lies [02:13] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fixed 100% #1036 + test added (but useless as the whitespaces are ignored :-( ) (patch-2026: carlos.perello@canonical.com) [02:13] and rosetta is SUCH A SPAMMER! [02:14] 3.7MB OMG [02:15] yes [02:20] so where's all this calendar? [02:21] I don't see links to calendars anywhere [02:25] mpt, click on the link to person12 [02:25] or person16 [02:25] one of the two have calendars [02:26] aha [02:28] So, people have calendars, not distros/releases/products yet [02:28] and I can add an event from the weekly/monthly calendar, but not from the daily/yearly calendar yet [02:30] maybe report bugs or write to jamesh cc launchpad-list [02:31] mpt: products and projects can have calendars -- however the owner of the product/project has to create it [02:31] lifeless, can you please check if stub can work around the rosetta permissions problem that is spewing 3MB email every 5 minutes to me? [02:31] kiko: me too [02:32] it's probably a set of grants and a slap on the wrist [02:32] but you know best [02:42] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] use thead and tbody in assigned bugs page (patch-2027: christian.reis@canonical.com) [02:46] mpt, the spacing when using
  • is still not optimal, can you try tweaking it a bit? [02:47] the vertical alignment looks looks kinda fishy too [02:47] Yes, I think that's a problem with the GIFs [02:47] it's interesting that using the tags it worked well, no? [02:48] Some of them have padding on the top and bottom, so when the browser arranges their "bottom" on the baseline, it looks wrong [02:48] was just closer, I think [02:48] maybe [02:48] horizontally better, but not vertically better [02:48] fix that and rs=kiko [02:49] but I can fix that [02:49] I'll send you a screenshot [02:50] mpt, I'll also send you some tal changes to see if I'm doing the right thing or not in the portlets [02:52] mpt, sent [02:52] night all [02:55] night sab [02:57] kiko: figured out the datetime bug you found [02:59] you are such a hacker [02:59] thanks a million === kiko hates tests [02:59] the timezone name was unknown [02:59] but it worked for mark and pqm because unknown timezones were treated as localtime, which happened to match :) [03:00] it's great when at least the owner can run tests successfully :-) [03:01] so you can fix the problem by moving to sunny London [03:03] jamesh: i have a zinger of a datatime bug for you [03:03] good weather can't be expensed [03:03] kiko: cant be dispensed either [03:03] sabdfl: oh? [03:08] jamesh: add a fmt:date to line 103 of templates/productseries-ubuntupkg.pt [03:08] now visit http://localhost:8086/products/evolution/+series/main/+ubuntupkg [03:09] and change the source package to something like pmount [03:09] boom [03:09] you get a security proxied thing in the result of a totally different query [03:09] i've tried flush_database_updates and object.sync() [03:09] with no joy [03:10] so... i just left the date unformatted, because that works (!) [03:10] I'll check in a sec. Just want to get this test fixed [03:11] jamesh: btw - very smooth landing of the calendar bits [03:14] thanks [03:19] sabdfl: the SQLConstant thing is almost definitely UTC_NOW [03:20] when I reload the page after changing the packaging, it displays a valid date === stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad [03:20] jamesh: yes, but interestingly flush_database_updates does not convert it to a real sql object [03:20] yeah [03:21] i was just amazed that it would come back like that through a totally different query [03:25] sabdfl: problem seems to go away when I add a line "pkg.sync() # convert UTC_NOW to real datetime" at lone 145 in database/productseries.py [03:28] jamesh: ah.... i tried it on line 152 and of course that's not the codepath for an update, but a create... [03:28] could you see if it's required for the create as well? [03:28] and fix-n-land with your next landing, no rush? [03:28] just slip it into whatever branch you are currently working on? [03:29] jamesh: and thank you! [03:29] now,.. night - for real! === sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad [] [03:29] heh [03:30] jamesh, is the issue SQLObject not invalidating the cached object state? [03:31] anyway [03:31] NIGHT [03:35] SQLObject should be clearing its caches on commit, and I think this is being/has been fixed upstream [03:35] (not that I have any idea if this is relevant, having missed the start of the conversation) [03:38] I think this is happening within a single transaction [03:38] set new package (which sets date), then display results [03:46] the create new packaging code path seems broken too (in a different way) === bradb-aw1y [~bradb@modemcable082.64-130-66.mc.videotron.ca] has joined #launchpad [03:55] stub, any luck you can fix the permission issue generating 3MB email from rosetta? :-) [03:55] kiko-zzz: In a tick ;) [03:56] heh [03:56] lifeless, is PQM busy? I've sent two merges and no output after a few hours... === kiko-zzz should really go to bed [03:58] kiko-zzz: hung twisted process [03:58] aha [03:58] killed [03:58] thanks [03:58] lunchtime [03:58] bbiab [03:58] tell this twisted dude to stop hanging [03:58] gone for good [03:59] kiko-zzz: he's on leave [03:59] :) [03:59] Someone should review that autokill the tests patch I put in... [05:26] hi stub [05:27] debonzi: Hi [05:28] stub, did you get the patch I did for your gina branch? [05:28] New Malone bug 1246 filed on product The Launchpad by Matthew Paul Thomas: Events only addable from week/month views, not day/year [05:28] https://launchpad.ubuntu.com/malone/bugs/1246 [05:28] debonzi: Yes - looks good. Do you want to stick it in the review queue or should I? [05:29] jamesh: What is the relationship between launchpad/lib/schoolbell/ and upstream schoolbell? Will they be merged regularly? [05:29] debonzi: Or maybe we should just commit it rs=kiko ;) [05:30] dilys, you forgot bug 1244 and bug 1245 [05:30] stub, just the same for me.. as you prefer.. may be it is easy for you since you can commit on your branch and I can't [05:30] stub, hehe.. I like this rs=kiko :) [05:30] mpt: it is a fork at the moment that needs to be merged. Once we have subversion syncing working, it should be a proper bazaar branch off the mainline [05:31] debonzi: oh - I thought you would have created a local branch in your own archive. I'll merge your patch and chase it through to rocketfuel. === stub tries to remember how to apply patches manually [05:31] stub, no, I worked in your branch [05:32] stub, maybe you want to change/remove the modification I did on launchpad.conf [05:33] stub, are you going to setup this "version" on staging/production or are you going to use the "old" gina? [05:33] debonzi: We need something there for documentation, even if it is specific to your workstation. This can be removed when we have a proper Gina functional test (which will pull its config out of the section) [05:33] debonzi: I was going to run with this version against staging, and then production if people think its updates are sane. I don't know anything about old gina. [05:35] stub, uhmmm .. I think I was not clear :) this version = your branch ; old gina = gina before your changes [05:36] debonzi: oh. I will run this version. I suspect the old version will generate too much noise to be useful. With the new version, I can run it with '-q' and ony the warnings get reported (and I can switch it to '-v' if things are screwing up and people need to see the debugging output). [05:37] stub, thats cool for me.. your changes realy rocks :) [05:38] stub, and how do you want to coordinate that? will you take responsability off it? [05:38] Should it run now against the staging database? old gina died due to missing distro releases or something, and I'm not sure if these need to be created manually by somebody or if gina handles all that. [05:39] stub, right... good point [05:39] debonzi: I'll give it another run. If it looks like it needs more tweaking, I'll enable access to the staging database from gina@macquarie and hand it over to you and/or salgado to get going. [05:40] debonzi: All production code will be the joint responsibility of myself, lifeless and salgado once we have gangotri and launchpad.net all sorted. [05:40] stub, gina just creates: people and emails (maintainers), sourcepackage and binarypackage names, sourcepackagerelease, build, binarypackage, sourcepackagepublishinghistory, packagepublishinghistory, source and binarypackage files [05:41] stub, she needs: [05:42] debonzi: ok. We will need somebody to setup any missing distributions or distroreleases. I suspect Kinnison will be designated victim for this, unless you know enough about the Ubuntu distro to do it. [05:42] the distribution, distrorelease, the distroarchreleases, the components, processor and processorfamily [05:42] Or sabdfl [05:43] stub, does he (Kinninson) have access to do that? [05:43] debonzi: I think he is a Launchpad administrator, and I can make him one if he isn't already. [05:43] debonzi: Although I'll need to do anything that there is no web UI for. [05:44] debonzi: I could hack it up, but I'd rather get the descriptions, owners, maintainers etc. all sorted correctly because it is important to Mark. [05:45] stub, thats what I was writing to you about get me creating this stuff... but you are faster than me :) [05:45] debonzi: We should be able to get gina going for at least one distrorelease though - everything should be setup for Hoary already. [05:46] stub, thats true... I think before cape town, salgado was working on that and created this stuff. [05:46] stub, for hoary [05:48] ok. I think I have enough to run with for now. I'll merge your patch and chase it through to Rocketfuel. You will need to write at least one test for the gina script (by setting up a miniature distro mirror in scripts/ftests/gina_test_archive or something) and running it. [05:49] debonzi: Either branching off my archive or rocketfuel if I can get it in today. [05:50] debonzi: This will involve setting up a section in the part of launchpad.conf, which the test runner will use automatically. It might also need you to make Gina handle relative paths to the archive root properly. [05:51] stub, ok I will take care of it.. [05:52] stub, but I am not sure about the test itself.. would the test be just a call to the gina script using the launchpad.conf section and the miniature distro mirror [05:52] ? [05:54] debonzi: Yes. subprocess.Popen([sys.executable, 'gina.py', 'porky'] , stdout=PIPE, stderr=PIPE). [05:54] stub, cool... [05:54] debonzi: p.wait() for the process to terminate, p.returncode to check for major errors, ensure output is empty or contains the warnings or errors you expect to be triggered [05:55] ok [05:55] err. p.communicate() is better for this... [05:55] whatever ) === stub stops telling debonzi to suck eggs [06:00] arrrrrrr, crap [06:01] stub, ok.. I think I got it... again about the gina production run, something else I can do to help? can you check with Kinninson and/or mark about the distro,distrorelease,distroarchreleases production setup? [06:02] I will chase that up with Kinnison and Mark when they come online this afternoon. [06:03] But don't worry, I'm sure there will be bugs for you to fix ;) [06:03] stub, as you cold see, kiko is in our back and It will start blocking people [06:03] stub, yes.. I think she is a bug :) [06:12] stub, well, I will get some sleep because a realy need it.. please, every problem I got from gina (I hope you get none) report to me.. [06:13] debonzi: Yup. No problem. [06:13] stub, thanks dude.. [06:40] lifeless: PQM is dead [06:41] checking [06:41] oh wow [06:41] it really is [06:42] nukified [07:12] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] linkify assignee's name in the bug task headlines (patch-2028: christian.reis@canonical.com) [07:37] Merge to rocketfuel@canonical.com/launchpad--devel--0: [rs=stub] Remove cruft from our Makefile; I should note I added a 'schema' shortcut target a while back (patch-2029) [08:07] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] use rfc2822 date format to fix test failure (patch-2030: james.henstridge@canonical.com) [08:24] stub: morning [08:26] SteveA: Morning [08:26] i tracked down a bug in sqlos / sqlobject yesterday [08:27] where when an sqlobject transaction is GCed, it will often clear the in-progress transaction's stuff out of the object cache [08:28] look at the "rollback" method of [08:28] Transaction, sqlobject/dbconnection.py [08:28] for subCache, ids in subCaches: [08:28] for id in ids: [08:28] inst = subCache.tryGet(id) [08:28] if inst is not None: [08:28] SteveA: I think this has been discussed on the mailing list recently. The fix is to make commit() clear the caches. === stub looks for the email he sent spiv [08:29] # so, we get an instance from this transaction's [08:29] # cache. then we tell the instance to expire itself. [08:29] # The instance is from this dying transaction. [08:29] # But, the instance will get hold of the current [08:29] # connection to expire itself by its id. So, it will [08:29] # be expiring an equivalent object in the current [08:29] # transaction's cache. [08:29] # [08:29] # To fix, consider in sqlos that once the connection [08:29] # descriptor has been used on an object, that object [08:29] # will always be associated with that connection. [08:29] so, i'd say the fix is to write the connection to the instance the first time it is used with that instance. [08:30] as, i don't know what other cases there are of an object being used with an inappropriate connection [08:31] but, the thread-bound connection descriptor that sqlos uses is prone to such bugs [08:32] making commit() clear the caches would not be enough anyway. rollback() would need to clear the caches too, and you'd always need to do an explicit commit or rollback before a transaction gets GCed [08:33] i believe my proposed fix is more robust. [08:33] http://sourceforge.net/mailarchive/forum.php?thread_id=7559932&forum_id=30269 [08:33] http://sourceforge.net/mailarchive/forum.php?thread_id=7559933&forum_id=30269 [08:34] rollback already does clear the caches. Not clearing them in commit is a bug (IMO, and will probably be fixed this way upstream if it hasn't already) [08:37] the issue is more one of threading [08:37] Your fix would help the situation where you 'lose' a transaction without committing it or rolling it back (and in this case, you should bitch loudly!) [08:37] if the commit or rollback occurs in a different thread than the transaction was operated in [08:38] then the wrong objects will be uncached [08:38] SteveA: That is a bug - I don't think you should be sharing transactions across threads (?) [08:39] so, for sqlos, making a transaction bound to an object once that object has been used with that transaction, avoids all such ambiguity [08:39] the code in dbconnection makes an assumption [08:39] it assumes that when it gets an object, and calls that object's expire() method [08:39] that the object will expire itself [08:39] right now, that is the assumption that is broken [08:40] the object will expire the object with that classname and id from the cache of the current transaction [08:40] not of the transaction the object was used in [08:40] one fix for exactly this to to allow the transaction to be given in object.expire() [08:40] another fix is to ensure that an object always talks to the same transaction [08:40] An SQLObject instance will only get used with one transcation anyway (?) [08:41] yeah, right [08:41] not when sqlos is in the mess^Wmix [08:41] That is the bug then. [08:41] sqlos replaces the class-level connection object with a thread-local-style connection-lookup descriptor [08:42] so, the object will be used with whatever transaction is associated with the current thread [08:42] Yes, but the cache is part of the connection, so objects cannot be pulled out of another threads cache [08:42] that sentence doesn't add up [08:43] yes, the cache is part of the connection [08:43] but, an sqlos object can have an inappropriate ._connection [08:43] when it is accessed outside of the thread it was first used in [08:43] How do you do that? [08:43] or outside of the normal transaction boundary it was first used in [08:44] in GC [08:44] or, in the case of various errors that people might make [08:44] such as keeping objects around between transactions / sharing them accidentally among threads [08:44] you can get objects with the wrong state associated with a transaction [08:44] So you forgot to call commit() or abort() in your thread (trying to rollback in the __del__ method is the real breakage IMHO) [08:45] yes, that is one case [08:45] ok. I don't think the fix is to try and cope though. I think the fix is to bitch loudly and raise an exception. [08:45] i agree [08:45] the current case is not to try and cope [08:45] the current behaviour is to happily remove another object from a different transaction from the cache [08:46] what i am suggesting is not "coping" [08:46] it is ensuring that an object does't shit over other transaction's caches [08:47] to do that, i'd change sqlos's connection descriptor to write the connection to the instance the first time it is used with that instance [08:47] interestingly, this will also speed things up a little [08:48] i consider this orthogonal to fixes in sqlobject to ensure the cache is cleared on commit [08:48] and any refactoring to remove __del__ [08:48] then, when you can reliably identify the transaction an object is associated with [08:49] you can raise errors if that object is used when its transaction is no longer the current one [08:49] right now, such errors are not straightforward to detect [08:49] because an object "pretends" it is part of whatever the current transaction is [08:49] If we replace the objects _connection with a real reference, when the transaction is committed what stops that instance continuing to use the same transaction? Is the transaction invalidated on commit/rollback? Or is the same one kept in use? [08:50] it is invalidated [08:50] the transaction's _obsoete flag is set [08:50] and guards at each method ensure it can no longer be used [08:50] exactly appropriate "complaining loudly" behaviour [08:51] and complaining with a useful message [08:51] I think we also need to fix commit to nuke the caches though or else any instances left around for garbage collection are going to bitch in their __del__ methods. [08:51] Because they cannot rollback, because their transaction is obsolete [08:51] yeah, that's fine. but that's orthogonal to the issue i'm trying to get your support on ;-) === SteveA is having an orthogonal day [08:52] also, it's an sqlobject issue, and i'm talking about an sqlos issue. although, it wouldn't be a bad thing to make sqlobject bind objects with the transaction they were first used in [08:52] heres a square rule [08:52] I agree that replacing the instances _connection is a good idea. We might lose some functionality, but I would call it dangerous functionality (being able to reuse an instance across transactions and/or threads) [08:53] that is not supported in sqlobject's model [08:53] it is supported in the zodb, btw [08:53] because the zodb has richer and better-defined semantics for when an object needs to get new state [08:54] but, has lead to "George Bailey" objects [08:54] which was one of the more entertaining ZODB developers discussions === SteveA digresses [08:54] It is supported in SQLObject I think, provided your underlying database api does (such as psycopg). Probably not thread safe through without locking. [08:54] okay, cool. [08:55] it cannot be supported, because of how the caches work [08:55] it cannot be supported because of what i'm describing. [08:55] stub: I notice you went with pound, even after my extra data on the wiki :[ [08:55] maybe it was designined in there, in a half-arsed way [08:55] Your extra data on the wiki? [08:55] stub: I updated the wiki page you put up with specifics for squid [08:55] SteveA: Nah - it would have been purely by accident ;) [08:55] but, it is quarter-arsed support [08:56] okay, so plan: make an object bound to the connection it is first used in. make caches get cleared on commit. [08:58] stub: I suppose it would be a bad idea to make the test suite pick a random time zone for each run ... [08:58] random ain't good in tests [08:58] just ask tom lord [08:59] just so long as we don't end up with tests that only pass in Calcutta. [08:59] jamesh: I would support randomly choosing between Asia/Calcutta and Pacific/Pitcairn. Fully random has a chance of getting your current timezone ;) [09:00] SteveA: Random test environment in an attempt to ensure things are environment neutral [09:00] Pitcairn Island is where they molest children, right? [09:00] jamesh: That is the one [09:01] stub: no randomness in tests. [09:01] if we need to do that, run the tests twice [09:01] once in each timezone [09:01] but don't introduce randomness [09:01] unless you set the seed first ;-) [09:03] SteveA: We already have randomness - every developer runs in a subtly different environment. [09:04] But I suspect running tests in a known timezone is good enough - it doesn't really matter if they are timezone specific tests, as long as the tests always run in that timezone [09:04] that is not randomness. that is stable, but different in multiple locations. [09:04] we have randomness due to python's GC, though [09:05] but that only hurts when there's a bug in sqlobject, or other similar things. [09:07] jamesh: do I have r=jamesh without mucking with that iterator foo ? [09:07] lifeless: yes. [09:08] btw you missed a PEP8 violation ;) [09:08] the sortedDictIterator's docstring was multiline - the ending """ should be on a line of its own [09:09] how is this for a docstring ? [09:09] Topologically sort a list of dicts by the length of a a keyfield and provide an iterator to the result. [09:09] sounds good. [09:10] ok, can I ask a small favour ? [09:10] sure [09:10] can you review the patch robert.collins@canonical.com/cscvs--devel--1.0--patch-366 [09:10] its mingled with the same branch - my bad - which is why its a favour that I am asking [09:13] jamesh: also, your patch for added files is applied to mainline courtesy of matthieu moy [09:13] stub: btw, rosetta script is triggering permissions [09:13] 3Mb emails are not cool. [09:13] the length of a a keyfield [09:14] two "a" s [09:14] lifeless: It still happening? I fixed a permission issue for Carlos earlier. [09:14] lifeless: I'll get to the patch in a bit -- I've got some others I'm working on right now. [09:15] stub: as of 1652 yes [09:15] jamesh: thanks [09:16] SteveA: good catch [09:16] stub: just looking at your branch testrunner branch. I think it could easily deadlock while reading from the test script [09:16] since it is doing blocking reads [09:17] jamesh: That code is the same as the mechanism the subprocess module does it. If you do foo.read() it will block. If you do read(foo.fileno(),1024) it won't. [09:17] I think :-) [09:23] lifeless: does it give a particular topological sort, where there's more than one possible sort? [09:25] stub: you are right [09:26] SteveA: uhm [09:26] just curious [09:27] SteveA: the interface is a topological sort [09:27] the implementation is key-length === SteveA thinks he'd have to see the code to understand [09:31] "The main use for this is to keep the pqm queue flowing without having to give it a lifeless enema." [09:31] lifeless: fixed one more permission. No idea if it is the last one. *sigh* [09:32] New Malone bug 1248 filed on product Registry by Morgan Collett: Bugs in RDF output [09:32] https://launchpad.ubuntu.com/malone/bugs/1248 [09:32] jamesh: there are multiple deadlocks in the codebase [09:32] jamesh: droopped connections to the local cvs in the tests, librarian connection issues, observed. [09:32] SteveA: the result is a topological sort of a set of path names. It does it by sorting by string length, which works because the parent path name is always shorter than its children [09:33] i see [09:33] lifeless: I just found stub's comment a little funny [09:34] lifeless doesn't find enemas funny - just a lifestyle choice [09:34] stub: giving them is funny [09:35] so you can get variable output depending on in what order the dict returns its items, when you have multiple keys of the same length. [09:35] SteveA: right. and thats fine. [09:36] We have been on the public channel for 1 day and we are already discussing enemas. === SteveA directs further discussion to ##personal-enema-stories === morgs [~morgan@wblv-146-236-76.telkomadsl.co.za] has joined #launchpad === morgs [~morgan@wblv-146-236-76.telkomadsl.co.za] has left #launchpad [] [09:44] stub: your code won't fix the hangs [09:44] stub: it needs to go into pqm, not launchpad. === asmodai [~asmodai@sakko.demon.nl] has joined #Launchpad [09:48] lifeless: What is the issue? Are the tests completing but PQM doesn't realize it or something? [09:48] stub: there are three I've seen [09:48] two are hangs in the test suite - one in the cscvs test suite, one in the lp test suite, and the third is the test suite dying off but leaving a stale process that is never reaped [09:49] basically the lp test runner is too deep in the stack [09:51] ok. I thought cscvs was being run from test_on_merge.py, but I see that isn't actually the case [09:52] when i interrupt a test run, i often get a twistd process sitting around [09:53] right [09:53] any way to fix this? [09:53] teach pqm to watch for output for 10 minutes, then kill all elements of the process group [09:53] should be much the same as the code stub wrote for the testrunner === bradb-away [~bradb@modemcable082.64-130-66.mc.videotron.ca] has joined #launchpad === sabdf1 [~mark@217.205.109.249] has joined #launchpad === carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad [10:23] morning [10:24] lifeless: is there a more efficient way of getting the changes between two revisions of a branch than the commands I list at the end of this page? https://wiki.launchpad.canonical.com/TipsForReviewers [10:24] lifeless: the idea being to ignore merges from rocketfuel, and compare what the two different revisions look like merged to rocketfuel [10:31] lifeless: pqm has hung [10:33] on the subject of detecting test suite hangs, since the launchpad test suite doesn't print anything til it completes (both with and without stub's testrunner patch), pqm can't just check its stdout/stderr to detect whether it has hung or not [10:34] jamesh: You can if you set the timeout to 40 mins or their abouts... [10:34] (suboptimal, but still fulfills the basic requirements) [10:34] stub: sure, but it would be nice to have a shorter timeout than that [10:35] yup [10:35] you only want to kill the suite if things stop happenning; not if it takes longer than expected to run [10:35] (I think) [10:35] We could redirect test output to stdout, then generate the end-of-test report to stderr. Might be best (?) [10:38] jamesh: You didn't include a review in that message regarding Scott's branch [10:47] stub, I suppose I don't need to subscribe to the new topics you add if I didn't select any topic ever, right? [10:47] I mean, I should get all mails by default [10:47] carlos: That is correct. If you really want that much spam ;) [10:48] stub, well, atm we (Rosetta) are the kings of SPAM [10:48] so it's not a big issue, we are going to improve the log output so it gets reduced, but until that moment... [10:49] stub enemad [10:57] stub: there wasn't really anything to review. [10:57] jamesh: ok. it just read like there was supposed to be one ;) [10:58] stub: it was all conflicts (a lot of them being due to fixes on Mark's branch from my previous review) === ddaa [~ddaa@marvin.xlii.org] has joined #launchpad [11:03] mpt: thanks for the review [11:06] a pleasure, sir === mpt just saw WOTW, and will therefore be up working most of the night instead of futilely trying to get to sleep [11:07] mpt: good? [11:07] mpt: was it any good? [11:07] sabdf1: I just sent that mail. [11:07] It was better than ID4, which it most resembles [11:07] morning folks [11:08] great movie, shame they fucked the plot [11:08] (in my *extremely* limited movie-viewing experience) [11:08] jordi! [11:08] mpt: is ID4 "Independence Day"? [11:08] jordi: yes [11:08] jordi: yes [11:08] mpt: I blogged about that one yesterday. So funny. :) [11:08] sabdf1: hey mark [11:09] The ending was rushed [11:09] I haven't funny recovered from the early rise on Monday -- Stansted is *very* far away! I really need a nap... [11:09] I love when POTUS in person saves our asses. [11:11] jordi, morning [11:11] i saw WOTW in sweden. imo, the suckiest film i've seen in ages. nice special effects, though. [11:11] SteveA: even worse that THGTTG? [11:12] 'cause _that_ was baaaaaad... [11:12] deus ex machina! [11:12] That's what was wrong with WOTW, it was a big deus ex machina. [11:12] carlos: hola === jamesh liked h2g2 [11:12] dammit [11:12] carlos: when is "keys day", again? === mpt liked h2g2 as well [11:12] today? === Kinnison saw WotW last night. It was a perfectly acceptable hollywood candy sci-fi film. They butchered the plot a bit, but overall it was okay. The effects were good, the sound staging was thoroughly excellent. [11:13] h2g2 was fantastic [11:13] jordi, no, tomorrow [11:13] ddaa: I think that you simply haven't grown up with h2g2 in your national psyche and as such you don't understand why it is so good [11:13] jordi, I will try to prepare a lunch on Saturday there with some friends, If I get a table and some chairs... do you want to come? [11:14] Kinnison: How well do you know Gina? [11:14] carlos: will be flying to .fi :/ [11:14] oh, right! [11:14] Kinnison: I have been a h2g2 fan for years, although maybe my experience is a bit limited by being restricted to the novels. [11:14] jordi, have fun then ;-) [11:14] carlos: I was going to propose another day, but my nights are pretty busy this week. [11:14] jordi, well, I only have thursday and Friday night... [11:14] ddaa: you need to realise that h2g2 has been subtly different in each incarnation, so the fact that the movie differed from the books a bit isn't necessarily bad [11:15] today I invite some people for dinner, tomorrow I'll go to the cinema with beln and on Friday I should be busy packing [11:15] jamesh: no problem with that. [11:15] jamesh: my problem is about the movie being a BAD movie on its own merits. [11:15] jordi, btw, will I meet Belen ever? [11:15] ;-) [11:15] ddaa: okay ;) [11:16] ddaa: How good it is on its own merits doesn't matter, if it has a large target audience who are going to see it because it's a variation on the theme they know well [11:17] carlos: I guess. :) [11:17] a few Canonical people did already. :) [11:17] jordi, really? [11:17] sure, she was in London [11:17] mpt: that it matters or not, does not matter, really :) I was just asking how bad WOTW was is comparison to h2g2, which prompted this discussion about whether h2g2 was really bad or merely sucky. [11:18] ask mdz, we went out with him. [11:18] jordi, dude, I will not forget that, we live in the same city! ;-) [11:18] la la la [11:18] Quim knows her too. :) === ddaa suggests nobody tells him anything befor he had coffee and breakfast [11:19] stub: pretty well [11:19] ddaa: So you're asking people whose judgement you have good reason to doubt :-P [11:19] stub: although I notice you and debonzi have been making more changes to her [11:19] mpt: right [11:19] Ya [11:19] Ya all suck! [11:20] mpt: you could equally argue that its own merits are even more important as it is a reworking of an existing plot and the audience will want it to live up to its predecessors :) [11:20] A lot of people don't realise that the film was meant to be the definitive plot rework by Adams [11:21] I.E. it is the story as he wanted to tell it [11:21] Kinnison: She is trying to read debian-installer/Packages.gz that doesn't exist. I just stuck an 'if os.path.exists' in there but don't know if that will cause other failures. [11:21] Well, I've listened to the WOTW radio play, and the movie is completely different, it's not really worth comparing them. === BjornT [10183@82-135-221-189.ip.takas.lt] has joined #launchpad [11:21] Kinnison: I guess the poor lad was getting senile or something. [11:22] senile? he was 49 when he died! [11:23] that's a bit premature for being senile, indee [11:23] stub: that certainly sounds like what I would have done [11:24] stub: essentially everything is keyed off what she reads from those Packages.gz files [11:24] stub: and the d-i ones are "additional" [11:25] Oh joy! There is some Zopeless stuff in there too ;) [11:26] Well, she is a zopeless script [11:27] Kinnison: The DB-API level stuff isn't ;) [11:28] stub: Remember she has to connect to two different dbs [11:28] stub: But the KatieDB stuff is pretty irrelevant for us right now [11:28] we don't need it to do the imports we need currently [11:28] Kinnison: Yup. Sorted that. I was just surprised ;) [11:30] Kinnison: I expect that she will need some distributions, distroreleases, architectures, components and whatnot created on the production system. Are you designated victim for that? [11:30] stub: *nod* [11:30] stub: I guess so, I'll need access to an appserver to do that though won't I? (the UI isn't in place for it I don't think) === matt_ [~mdke@81-178-116-62.dsl.pipex.com] has joined #launchpad [11:32] Kinnison: I have no idea about the UI. Access can be arranged - I expect it will be simpler for you do do it directly rather than via me? Or better yet, do it on staging and cut & paste the the statements into a script to run on production? [11:33] Sure, staging sounds sane === Kinnison has never logged in there before [11:33] Kinnison: I can give you access to the database from your mawson account. [11:33] stub: that'll be grand [11:34] stub: I'll construct a script to run and then punt it over to you [11:35] stub: I'll need the commandline to run on mawson though since I'm not sure about remote pgsql connections [11:36] psql -h asuka.ubuntu.com -U ro launchpad_staging [11:36] ro? [11:36] read only [11:36] lifeless: pqm has hung (22759 pqm 16 0 0 0 0 Z 0.0 0.0 0:00.01 make ) [11:37] Kinnison: What is your unix username again? [11:37] yay pqm [11:37] stub: dsilvers [11:37] killed [11:38] daf: won't read-only mean I can't even test the inserts in a transaction though? [11:38] dunno, ask stub [11:38] SteveA, sabdf1, stub we need gettext installed into production server or the .mo exports fail [11:39] do you know if he will be available today? [11:39] elmo's moving today [11:39] Kinnison: psql -d launchpad_staging -U dsilvers -h asuka.ubuntu.com [11:40] hmm, right, I forgot that :-( [11:40] sabdf1, ok [11:40] stub: yep, that seems to be good [11:40] thanks [11:40] stub: I'll do everything inside a transaction to keep it clean [11:40] stub: can you install packages on macquarie? [11:40] Kinnison: You have write access to staging. Let me know if you screw it - I can reset the db (but it will take staging out for an hour) [11:41] sabdf1: Nope [11:41] stub: noted [11:41] sabdf1, lifeless We have xchat and xchat2 products in launchpad. I think both should be merged as are the same... [11:41] I asked elmo to install it on macquarie when I asked him to install it on staging [11:41] stub: I have no access to things like processorfamily [11:41] I guess there was a mixup [11:43] We will need it on asuka, macquarie, gangotri and mawson at a minimum. Possibly emperor too if it is required for build. [11:43] daf, I think production is not on macquarie anymore. lifeless told me that we are moving into a clustering mode or something like that [11:43] stub, only at runtime [11:43] stub, for build we use an internal copy of gettext [11:43] stub, https://launchpad.ubuntu.com/errors/showEntry.html?id=1120642938.830.514391828289 [11:43] carlos: arg, that could be it [11:43] Production is still on macquarie until elmo has time to sort the next steps of migration to gangotri [11:43] stub: it's not required for build [11:43] stub, ^^^ Any idea to fix that? [11:43] stub: I'll need fairly unrestricted access to make sure I hit all the right tables [11:43] stub: it is listed on the Launchpad dependencies page [11:44] stub: can you manage that easily, or do you need a list of tables from me? [11:44] Kinnison: You should have access to everything... hang [11:45] carlos: yes. Don't use selectOne if the query might return more than one result. Fix your where clause or use normal select and handle it returning 16000 rows. [11:45] stub: Also, what "person" should be owning all of this? [11:45] stub, the selectOne is not used in my code [11:45] Kinnison: I have no idea. That was one of the things I was hoping you might be more familiar with ;) [11:46] stub: Do we have a "nobody" type person? [11:46] ok, it is [11:46] carlos: Then the code you are relying on is broken. Still needs to be fixed the same way. [11:46] stub, but it should not get more than one row [11:46] sorry, I looked at it yesterday === asmodai [~asmodai@sakko.demon.nl] has joined #Launchpad [11:47] Kinnison: Nope - everything that can be owned should be owned by something sane. We can create groups, but the owner of the distros and distroreleases should probably be Mark for now. [11:48] So at some point we'll go through everything owned by Mark? [11:48] Kinnison: What do you need to create besides the DistroReleases that have an owner? [11:49] processor families, processors [11:49] distributions [11:49] distroarchrelease [11:49] Kinnison: They have owners??? Yech - I have *no* idea who/what should own them :-( [11:51] Well, right now I can't even select from person [11:51] or distribution [11:51] I can't think of a reason why processor families or processors should have an owner, or even what it would mean if they have one. I suspect these will need to have their owner set to 'admins' and we drop the owner columns after clarification with Mark. [11:51] so I'll see what I can come up with, once I can read the data [11:51] Kinnison: I'll sort your perms now [11:51] daf: your daf@c.c--2004/launchpad--trivial--0 branch has been sitting in merged-conditional state for a long time. Is there anything that needs to be done before you can merge it? [11:52] jamesh: Steve pointed out a bug in the algorithm -- I should probably just take it out of the queue [11:52] until I have a fix for it [11:52] SteveA: I believe you had a suggestion for a better fix [11:52] stub, isn't this method correct?: https://chinstrap.ubuntu.com/~dsilvers/paste/filefYmv0s.html [11:52] fix to what? [11:52] Kinnison: Argh... I know. I needed to reset staging after PQM accepted my patch. Which it hasn't done yet. I'll get back to you. [11:53] SteveA: this is to do with the tab escaping code [11:53] stub: Right, so when will that be? 2h? 3h? [11:53] stub, with that code is impossible that we get more than one ProducRelease, right? or am I missing anything? [11:53] SteveA: you pointed out that it it wouldn't round trip properly if you had an odd number of backslashes [11:53] daf: I think Steve's explanation made sense (that only "[tab] " and "\[tab] " are important) [11:54] daf: so not highlighting the extra backslashes is fine [11:54] daf: we discussed a new method of escaping, using [[tab] ] or [[[tab] ] ] and a way of using regular expressions + a simple function to match it [11:54] jamesh: the existing \[tab] thing is lossy :-( [11:54] right, so I should merge that branch and change the escaping method later? [11:54] carlos: That code is broken. There is no product.id == productseries.product, or productrelease.productseries == productseries.id [11:55] stub, then we have more code broken inside vocabularies [11:55] daf: yeah, i think we need to change the escaping method, and what we intend to do should be written up somewhere. [11:55] daf: but it is good to merge the current improvements now. [11:55] ok, thanks for clarifying [11:56] DistroReleaseVocabulary [11:57] stub, is there an easy way to test a vocabulary? [11:58] get the vocabulary, call its API [11:59] a vocabulary is a named utility [11:59] carlos: Have a look at canonical/launchpad/doc/vocabulary.txt -- add more tests there [12:00] ok [12:00] thanks [12:01] lifeless: can you tell me if I have a merge waiting in the queue, or did it get lost when PQM got booted? [12:02] Who here is experienced with Debian elections? [12:02] daf: pqm boots don't lose merges - they either fail clean or retry [12:03] lifeless: ok, that's reassuring [12:03] mpt: mako [12:03] of course [12:03] ta === jordi [~jordi@115.Red-213-96-69.pooles.rima-tde.net] has joined #launchpad [12:07] stub: from what I can find on the website, we might have a large proportion of the right stuff in the db already [12:07] stub: all we need is to get the gaps filled for gina :-) [12:08] Kinnison: Yup. I think everything is there for hoary, which is what I'm running gina against for testing. [12:08] stub: cool [12:08] At least until it died with a permission error ;) === stub taps his foot impatiantly === Kinnison grins === jamesh looks at salgado's patch and boggles that we have two PersonSet.createPerson's [12:31] jamesh: oops, pinged you on #ubuntu-devel [12:31] Kinnison: perms sorted. [12:32] stub: cool thanks [12:32] stub: So we're going with making everything owned by launchpad admins for now? [12:32] stub: or by mark? [12:33] Kinnison: distros and distroreleases by mark, components, architectures, processors, processorfamilies by launchpad admins (unless you can think of a better idea) and drop the columns later. Don't know about anything else. [12:33] okay [12:34] Kinnison: This only has to run on production, so you can use integer ids to keep things simple. [12:34] seems sane [12:34] Kinnison: we need to find a relevant owner for the distros and distroreleases === Kinnison nods [12:34] sabdf1: Clearly there should be an ubuntu team [12:34] sabdf1: to own the project, product, distro etc [12:34] erm - but don't assume stuff *you* insert will get the same integer id when run on production.... [12:34] Kinnison: in production, there is already an ubuntucommunitycouncil [12:34] and an ubuntumembers [12:34] stub: aye, I know [12:35] we should not be auto-creating distros and distroreleases in scripts [12:35] sabdf1: I don't think either of them are quite right [12:35] sabdf1: we're not === Kinnison is writing an sql file for stub so we can get gina going on production ASAP [12:35] sabdf1: Kinnison is being my bitch [12:35] stub: good choice [12:35] kthkxbye.... === Kinnison only intends to enable x86,ppc,amd64 [12:37] We're not importing ports.ubuntu.com for now [12:39] As a comment, someone has chosen the shortname 'admin' (or been given it) [12:39] This is a touch close to our 'admins' team for comfort [12:39] We have no blacklist - I can change it easily enough but someone else would get it again I think (or I could just create noise entries to chew up names?) [12:40] ERROR: permission denied for sequence component_id_seq [12:41] I think PQM is wedged again [12:42] looks like it's stuck in the hct/sourcerer tests [12:42] Kinnison: fixe [12:43] stub: https://chinstrap.ubuntu.com/~dsilvers/paste/filepwdbDG.html [12:43] eh? [12:44] lifeless: ^^ [12:44] Kinnison: ERROR: permission denied for sequence component_id_seq [12:44] stub: we should have a blacklist system, but i don't think it is urgent. a topic for brazil perhaps? [12:45] stub: pardon? [12:45] sabdf1: i don't see your topics for brazil on the wiki yet. are they up there somewhere? [12:45] SteveA: sorry, i dropped the ball there [12:45] will do it shortly [12:45] cheers [12:46] i'll just dump it in as plain text, for jazzing up later === SteveA --> lunch with pseudo relatives [12:46] Kinnison: I fixed the permission denied error you got [12:46] stub: and subsequently I got that error I nopasted [12:46] Kinnison: The 'duplicate' error you pasted indicates the sequence got out of whack. [12:46] Kinnison: It should work if you try it again [12:46] stub: okay [12:47] stub: cool, seems good [12:47] INSERT 923517353 1 [12:47] cor that's a big OID === stub pokes the production sequence too... [12:50] Can someone explain what the schema table is all about? [12:54] Kinnison: I think you should use a distinctive nickname if you are this annoyed by people calling you like that. [12:54] Kinnison: maybe something like danielss [12:55] ddaa: I got accused of being in the Nazi secret police when I did that [12:55] sabdf1: ^^^ schema table? It ain't documented [12:55] BTW, could anyone remind me what Gina does? [12:55] ddaa: I'm tempted to simply establish another connection to freenode as 'dsilvers' [12:55] ddaa: Not much at the moment ;) [12:56] I hear of running gina on warty, so I'm wondering how that would be related to some sort of import work. [12:56] ddaa: It appears to dredge archive.ubuntu.com and extract information from all those source and binary packages. [12:56] Kinnison: as you as you don't mind people calling you deesilverz [12:57] stub: to what end? [12:58] I guess that's the thing that has created those tons of dummy products and stupid "head" series in launchpad... [12:58] ddaa: To populate the launchpad database with interesting information, so hct can branch, so rosetta knows what can be translated, so malone knows what can have bugs reported on it and whom to notify. [12:58] SteveA: https://wiki.launchpad.canonical.com/BrazilTopics [12:59] ddaa: If it really has to be something I'm prepared to be referred to in speech then I guess I'll have to log in as 'GingerNinja' or something [12:59] i've put stuff there for mpt, stub, daf, carlos, spiv, bradb, keybuk and kinnison [12:59] ddaa: I don't think Gina knows about products - just sourcepackages and binarypackages. Nicole was going to link them to Products, but the data sources were too dirty [12:59] sabdf1: thanks, I'll look in a sec [12:59] pelase could i ask you guys to break those things (that are understandable) into separate specs [12:59] also add your own specs for features you want to discuss [12:59] ;nods [12:59] and label them BrazilTopic [12:59] stub: okaydokey, so that essentially does not interfere with the doap things we're doing here. Thanks. [01:00] stub: I'm just pondering... distrorelease, distroarchrelease and component. I think that's all gina relies on and can't create [01:00] ddaa: i don't mind doing a mass rename of head to main... [01:00] stub: other than that, she'll make people, sourcepackagereleases etc [01:00] sabdf1: not the right time for that, as importd cannot cope with job migration. [01:01] ddaa: ok [01:01] in due course [01:01] Kinnison: debonzi said t'he distribution, distrorelease, the distroarchreleases, the components, processor and processorfamily' [01:01] stub: yeah, distribution is already there, as are the processor and processorfamily entries [01:01] stub: care to cast your eyes over mawson:~dsilvers/add-distro-for-gina.sql and let me know if it looks complete to you? [01:03] Kinnison: that would be a reasonable thing to do (GingerNinja), or pick an _utterly_ unpronouceable nick like dnlslvrstn... though I can predict that people will then call you "danielsilverstone" or "all consonnants". [01:03] sabdf1: What you talk about in cve handling makes it sound like it wants to be a bug watch [01:03] stub: hmmm..... === Kinnison wonders why sabdf1 isn't sabdfl today [01:05] Kinnison: nickjam [01:05] "it's one for the money, two for the show" [01:05] i moved from home to the office [01:05] sabdf1: is that like toejam? [01:05] Kinnison: Change your nick to kiko2 [01:05] stub: *snigger* [01:05] Kinnison: just not as tasty === Kinnison makes a mental note to cause sabdfl mental pain at some inopportune moment in the future [01:05] sabdf1: BTW, did anyone find 9 dead gay guys on your plane? [01:06] Kinnison: ?!? === Kinnison thinks he left the DVD there after sydney [01:06] we dumped the bodies over the atlantic! [01:06] the right answere is: :) [01:06] ddaa: mu to you too === mdz [~mdz@217.205.109.249] has joined #launchpad [01:07] hi mdz [01:07] morning [01:07] stub: Does that patch look right? [01:07] I've been learning how to type it in japanese, so happpy to have a chance to use it :) [01:07] ddaa: *g* [01:07] Patch? I see no steenking patch? [01:08] ddaa, just get daf's laptop and it will start printing japanese characters without any notice, you don't need to learn how to type them, they will just appear :-P === ddaa wonders whether there are han ideogram subsitutes for common smilies [01:09] 12:01 < Kinnison> stub: care to cast your eyes over mawson:~dsilvers/add-distro-for-gina.sql and let me know if it looks complete to you? [01:09] carlos: mine does hebrew with little bidding [01:10] Kinnison, another laptop I should not touch ;-) [01:11] Kinnison: That all looks fine thanks (although I guess that rollback will need to go ;) ) [01:11] carlos: tbh, you have to manage to press both shift keys at the same time to change keymap [01:11] stub: aye [01:11] stub: that's just for testing [01:13] is there anyone apart from lifeless who can boot pqm? [01:13] elmo [01:13] (who is moving today) [01:13] right [01:14] apart from lifeless and elmo... [01:14] ...what have the romans ever done for us? [01:17] nothing! [01:17] Kinnison, could you take care of https://launchpad.ubuntu.com/malone/bugs/1249/ ? [01:17] Sorry, you don't have permission to access this page. [01:17] You are logged in as Daniel Silverstone [01:17] apparently not [01:18] Kinnison, still outside the admin team? [01:18] nope [01:19] Daniel Silverstone is [01:19] Approved Member of Launchpad Administrators [01:19] Administrator of The Aranha Team [01:19] Kinnison, then it's a malone bug... [01:19] Kinnison, retry now, please [01:19] I can see that now [01:19] bradb-away, BjornT did you changed anything about private bugs visibility? [01:20] carlos: I'm not in the launchpad developers team [01:20] carlos: only in the admin team === Kinnison joins the developers team [01:20] oh, I thought it was the same... [01:20] nup === Kinnison waits for stub to approve his membership [01:21] Kinnison, done === stub waits for the notification to arrive (?) [01:22] stub, I did it already [01:22] Yay - somebody else knows how to drive it! === stub quickly revokes his admin roles [01:22] x-) [01:22] How do I unsubscribe my specific CC? [01:22] stub, I'm managing most of the Ubuntu l10n teams [01:23] Kinnison, there is no way, change it to Watch so you don't get the emails twice [01:23] pity it uses my person number and not my name [01:23] inthe URL [01:23] Anyway, I shall read the bug now [01:24] stub, would you apply to production the patchset I sent you some hours ago? Pretty please :-) [01:24] nag, nag, nag ;) === stub sends the merge request to pqm and waits until next week [01:24] ;-) [01:26] Gina is still a noise bitch [01:26] erm... noisy [01:27] stub: aye, but consider how annoying women are who won't actually *TELL YOU* when something is wrong [01:28] Kinnison: I've gone a fair way to making her shut up until you ask for her input ;) [01:28] Still some subprocess output leaking through === Kinnison nods [01:28] dpkg-source -x mostly I guess [01:32] mpt: i'm afraid someone has revered the user_icon to the ShadowMan, could you fix it please? [01:33] sabdf1: sure [01:33] thanks. re-revert it! [01:35] did we lose the feature to move bugs from one product to another? [01:36] I'm not able to move https://launchpad.ubuntu.com/malone/bugs/893 from launchpad to Rosetta [01:36] at least I don't see where should I do it... [01:37] carlos: So, that bug [01:37] carlos: I think your answer looks good [01:37] carlos: although won't it need a clauseTables? [01:37] Kinnison, I fixed the same problem with ProductReleaseVocabulary [01:37] Kinnison, no, as the way it uses SQLBuilder [01:38] carlos: Right [01:38] carlos: Well, seems you know the answer and since I'm not an SQLObject guru, nor do I understand the Vocabulary objects right now, you're best placed to fix it [01:39] carlos: but agree with your concern and your proposed fix [01:39] ok, not sure if that would break other things in Soyuz [01:39] if you think the fix is ok, will apply the fix now [01:40] that vocabulary will break on production as soon as we import warty and breezy [01:40] Well all of soyuz is meant to assume unique distroreleasename in distribution [01:41] hmm, perhaps it will not break with hoary and breezy as we only have one distribution, right [01:41] but the DB model was changed to let us have two releases with the same name [01:42] stub, wasn't it? [01:42] Kinnison: What prints "Check Sourcepackage libtie-cache-perl Version 0.17-1 before process it [01:42] " [01:42] carlos: aye, the UNIQUE is (name,distribution) [01:42] stub: not a clue [01:43] sabdf1, I need to add some sample data to add a test for that bug, did you merge your changes already? === cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [01:45] morning all [01:45] hi cprov [01:46] Kinnison: hi there, how is it going, hopefully I'll be back to buildd review soon, gpg-ng is almost done [01:46] stub: ping [01:46] cprov: excellent news [01:46] cprov: pong [01:47] stub: have you looked the patch to rename GPGkey.revoked to active ? [01:48] cprov: Nope - my queue is empty. No idea where the patch is. [01:48] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Rosetta permission updates (patch-2031: stuart.bishop@canonical.com) [01:49] Yiiiiiipeee! [01:49] stub: still in jamesh's .. but could you preempt the movement and goes there (celso.providelo@canonical.com/lauchpad--gpg--ng--0) ? [01:49] EP finally rejected the swpat directive!!!! [01:49] http://mail.fsfeurope.org/pipermail/press-release/2005q3/000109.html [01:49] ddaa: Quite definitively too [01:50] stub: i'm finishing the last small changes required by jamesh ...only UI [01:50] Kinnison: they'll come back. But that's a significant victory, as the political class is now a bit more educated about the stakes and tricks involved in the issue. === Kinnison nods [01:52] Hmm, London got the Olympics [01:52] Good for you guys. The Paris campain was abysmal :) === Kinnison yawns === Kinnison decides it's lunchtime [01:53] ring me if you need me [02:00] Kinnison, and software patents were rejected ;-) [02:08] carlos: yes, ddaa said [02:12] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] sync with database after updating Packaging records for +ubuntupkg page (patch-2032: james.henstridge@canonical.com) [02:17] /home/pqm/arch/queue/workdir/rocketfuel@canonical.com/rocketfuel@canonical.com--+-launchpad--devel--0/launchpad/lib/canonical/launchpad/ftests/../pagetests/foaf+/30-mergepeople.txt ... /bin/sh: line 1: 18718 Killed [02:17] humph [02:17] fuck, breezy has been imported already into launchpad... [02:17] carlos: pardon? [02:17] Kinnison, breezy has been created into production [02:18] so all its transaltions are being imported atm [02:18] and I was not ready [02:18] carlos: It has been created, yes [02:18] carlos: oh [02:18] sorry [02:18] instead of 41 reviews now I have 187... [02:18] My patch created all the relevant bits of distroness for Ubuntu [02:18] Kinnison, it's my fault I should did this review long time ago [02:18] so don't worry [02:19] okay === Kinnison ponders his lunch once more === debonzi [~debonzi@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === morg1 [~morgan@wblv-146-236-76.telkomadsl.co.za] has joined #launchpad === salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:23] hi all === carlos -> lunch [02:25] stub: I've finished jamesh requests, should I move the branch to your queue just for registering or it's no necessary [02:26] cprov: i have already created it in my queue [02:27] stub: I see, tks [02:28] cprov: Do you know what is printing all these "Check Sourcepackage xtartan Version 2.3-10 before process it" lines in gina ? [02:28] debonzi: ^^^ [02:30] stub, yep... on gina.py import_sourcepackage and import_binarypackage ... it still have some print calls [02:31] stub, I didn't change they on my patch... sorry [02:32] debonzi: Ahhh! I was grepping in lib/canonical ;) [02:33] stub, heh.. do you want me to change then together with the test stuff or will you change them by tourself? [02:33] s/tourself/yourself [02:33] stub, did you get gina running for hoary? [02:34] debonzi: Looks like it, although it hasn't finished [02:35] debonzi: I'm make these last few tweaks and leave a run overnight [02:35] here I am [02:36] o/~ rock you luck a hurricane o/~ [02:36] kiko: are we having a reviewer meeting tonight? [02:37] I was supposing it would happen in 20m [02:37] good. just checking. [02:37] (even though we didn't send out mail on the subject) [02:37] stub, cool... and how about warty and breezy? did you talk with Kinnison/mark? [02:38] debonzi: myself and stub got things ready for the run today [02:38] Kinnison, that is great.. tanks Kinnison [02:39] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Improved the test for #1036 so it detects future breakages (patch-2033: carlos.perello@canonical.com) [02:42] stub: your mod to -39-0.sql needs a tweak, i think [02:42] sabdf1: eh? [02:42] UPDATE CVERef SET cvestate=2 WHERE cveref LIKE 'CVE-%'; [02:42] these lines will not work [02:42] there's only one of them, but for correctness... [02:43] so i guess the update has to be, like: [02:43] UPDATE CVERef SET cveref=substring(cveref from 5), cvestate=2 WHERE cveref LIKE 'CVE-%'; [02:43] do them both at once [02:43] same for the CAN's [02:45] stub: make sense? [02:45] sabdf1: yes - that is correct. I'll fix it now (I have that branch open) [02:45] eww, is sql 1-based offsets too? [02:45] stub: ok cool [02:45] Kinnison: hideous, innit [02:46] sabdf1: I'm shuddering as we speak [02:46] icky [02:47] salgado: pls see mail [02:47] sabdf1, just saw it. (and I'm already taking care of it. ;) [02:47] salgado: thanks ;-) [02:51] launchpad looks really pretty now [02:52] jamesh: thanks :-) [02:53] salgado: i've just mirrored up a few more tests === sabdf1 [~mark@217.205.109.249] has left #launchpad [] [03:02] jamesh, salgado, SteveA, stub: it's that #canonical-meeting time [03:02] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Permission and patch fixes (patch-2034) [03:02] meeting? [03:02] heh [03:03] stub, it's the reviewer meeting; we had proposed to invite you to participate if you so wanted to === stub can't seem to join [03:04] stub: same password as for the other channels [03:04] use the password, luke^Wstub [03:04] talentlesstramps === kiko #### [03:04] go kiko [03:04] oh dear === morg1 goes out for a bit... [03:22] kiko: [03:23] canonical-meeting baby [03:23] what's the password again? [03:23] very funny [03:25] jblack, around? [03:29] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fixed a bug with ProductReleaseVocabulary + test (patch-2035: carlos.perello@canonical.com) [03:29] salgado: Sure am, though I'm a little hectic at the moment. WHat's up? [03:30] salgado: Sorry I've taken so long to finish BasicVoting [03:30] jblack, had a problem trying to merge rocketfuel: https://chinstrap.ubuntu.com/~dsilvers/paste/filey9keu4.html [03:30] jblack, seems to be always reproductible, with baz COTM [03:30] salgado: My main blocker now is knowing exactly what is going to be presented when a preferential voting poll closes [03:32] mpt, no worries. I still owe you some answers for questions you raised. [03:32] salgado: and thanks for your work on decruftify-b--1 [03:38] salgado: Could you msg me the up for that url? A couple weeks ago I had a filesystem failure (two, actually) [03:39] jblack, sure === lamont [~lamont@mix.mmjgroup.com] has joined #launchpad [03:43] mpt: a table, 1st column is number of votes. subsequent columns are the preferences. one row in the table for each unique set of preferences observed. [03:44] hmmm, that makes sense [03:44] though it might get very long [03:44] yes [03:44] but short as can be, if we're not calculating the results [03:45] i'd suggest sorting by number of votes. not sure what to sort on after that. [03:49] jamesh: would it be possible to have scripts that represent the operations in TipsForReviewers available in RocketFuel and on chinstrap as scripts that run with a few simple options? [03:50] SteveA: I suppose so. Sounds like a good idea [03:51] New Malone bug 1251 filed on product Bazaar by Guilherme Salgado: baz merge always failing with "exiting on botched invariant" [03:51] https://launchpad.ubuntu.com/malone/bugs/1251 [03:53] COW [03:53] Moin ate my changes again [03:54] you have the moin editor backup thing? [03:55] yes, but I hadn't clicked "Preview" yet for these changes, so the backup is even more out of date than the current version [03:55] Merge to rocketfuel@canonical.com/launchpad--production--1.24: Cherry pick patch-2026 into productin (patch-3: carlos.perello@canonical.com, rocketfuel@canonical.com) [03:55] stub, thanks [03:59] jamesh, I'm quite sure that extra createPerson() method is the result of a badly solved conflict. I'm merging from rocketfuel now and will reply to your review soon === morgs [~morgan@wblv-146-236-76.telkomadsl.co.za] has joined #launchpad [03:59] salgado: yep. There are two createPerson()'s in rocketfuel too (not just your branch) [04:00] salgado: so fixing it is good. [04:02] jamesh, sure. I'll fix it. I think it's that because I don't have these two createPerson()s on my branch [04:03] salgado: okay. I assumed you'd removed one, rather than one being added on rocketfuel :( [04:08] dilys: ping [04:08] bah [04:08] ddaa: ping [04:08] lifeless: pouet [04:08] wazza? [04:09] ddaa: can you do your rollout foo for me, for robert.collins@canonical.com/cscvs--devel--0, and cherry pick robert.collins@canonical.com/launchpad--devel--0--patch-139 into the launchpad checkout on the importd machines ? [04:09] duh launchpad is down :( [04:10] ddaa: I've been fighting test failures all evening on this :[ [04:10] - fixes svn update and the x bit. [04:10] ha, so you reckon update was broken? === Keybuk [~scott@descent.netsplit.com] has joined #launchpad [04:10] yes [04:11] what's the status of /tmp cleanup? Just out of curiosity. [04:11] If I have to make a rollout, I'd rather roll that one out as well. [04:11] code for that was going to be written tonight, but after the test wrangling I went through, it ain't gonna happen [04:11] cause otherwise I expect we're going to have /tmp trouble on hoover soon [04:11] will be my first thing tomorrow morning though [04:12] mind if we delay that rollout until that is done too? [04:12] morning all [04:12] morning bradb [04:12] lifeless: ? [04:14] hey kiko [04:14] ddaa: yes [04:14] okay will do [04:14] ddaa: kamion has a bunch of stuff pending === bradb notes it's never fun to wake up to a pqm failure message in one's Inbox === ddaa wipes out tmp cruft from hoover slaves [04:15] jamesh, the header padding in PR could use some beautifying :-P [04:15] and I had an idea [04:15] if the branch had conflicts [04:16] instead of merge [04:16] print "conflicts (23)" as the linktext [04:16] good idea [04:16] that removes the need for the (conflicts) header [04:16] and then [04:16] aha [04:16] one way to solve the header padding [04:16] remove the header border [04:17] IOW the border only starts right under the "Date Branch [...] Full" header [04:17] jamesh, sound reasonable? the Run Date being so glued into the border was bothering me [04:18] is lp broken? [04:18] sounds like a good idea [04:18] lp is down apparently [04:18] lifeless? [04:20] bradb: Better that it failed while you were sleeping than that it failed while you were waiting for it [04:20] indeed === bradb hits the shower while make check runs === asgeirf [~asgeirf@203-206-229-169.dyn.iinet.net.au] has joined #launchpad [04:26] kiko: I don't have the account on the new box yet [04:26] lifeless, uhm. can you elaborate? [04:26] kiko: we're moving boxes [04:27] kiko: but nm, it looks like prod is building a clean run now [04:27] oh. right now? [04:27] cool [04:29] should be up now === lifeless larts stub [04:29] thanks mr. [04:29] lifeless, have you seen https://launchpad.ubuntu.com/products/bazaar/+bugs/1251 ? [04:30] jamesh, still around? [04:30] salgado: yep [04:30] jamesh, would you like to have a look at the changes I did after your review of my smallfixes branch? [04:37] grabbing them [04:38] jamesh, great. thank you [04:42] wow, moin logged me out twice in two hours === mpt applauds [04:47] salgado: your changes look good. [04:47] salgado: I'll set your branch to merge-approved [04:47] lifeless: I see that your cscvs is not up to date with mine (i.e. production) [04:48] lifeless: is that intentional? [04:48] jamesh, cool. thanks [04:48] ddaa: I merged mainline in, [04:48] ddaa: just merge mine into yours [04:48] Okay, I'll do that and run the tests. That may take some doing though. Mesh merge sucks. [04:49] Note that I do not say _your_ mesh merge. [04:49] It's just that it does not actually work as expected. === mpt wonders why three-way diffs don't use lines that differ only by a small amount (e.g. indentation) as a guide to grouping and ordering chunks [04:52] cause diff and friends are purposefully stupid === SteveA valiantly resists the urge to rewrite large chunks of sqlos and sqlobject [04:56] [04:56] [0014] [04:57] [04:57] ooo, pretty [04:57] "appearance of a dragon walking" according to wikipedia [04:57] or "here be a dragon" according to me :) [04:57] sorry for the reverse S. [04:58] it's a degrees symbol according to AbiWord :-/ [04:58] I meant to switch over to go back to ddaa's email. : ) [04:58] Ooohhh. I wonder how I made it. [04:58] ? [04:58] no, [04:59] I can't do ctrl-x. :( [04:59] and in OOo it's a box [04:59] bah [04:59] http://en.wiktionary.org/wiki/%E9%BE%98 [05:01] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix patch-17-39-0 gooder (patch-2036: stuart.bishop@canonical.com) [05:07] SteveA, about linkifying, what do you suggest I do? [05:07] kiko: which bit? [05:08] the escaping issue. [05:08] i want to be the one to integrate your work into launchpad, as i want to take responsibility for the conceptual integrity of the TALES additions [05:08] so, i'll happily handle that part [05:08] maybe you can do the bug lookup ? [05:08] yes [05:08] I'll handle that now [05:08] cool [05:08] can I do a full import? [05:08] i.e. in the header [05:08] of? [05:08] without being concerned about dependencies [05:08] of interfaces.bug [05:08] you can always import interfaces anywhere [05:09] okay [05:09] interfaces.IBugSet [05:09] that's the beauty of interfaces [05:09] I thought it would be nice to be able to linkify to a task [05:09] bug x task y [05:09] cool. anything goes if you use interfaces [05:09] go wild [05:09] where y would be a context [05:09] but that won't ever work :-( [05:09] bug 23 context product foo [05:10] ___bug_23_on_product_foo__ ? [05:10] bug 23 product foo [05:10] mh... actually, "baz merge" seems to work better when merging by smaller steps... [05:10] maybe [05:10] talk to mpt [05:10] he will give ideas [05:10] he's the ideas man [05:10] okay [05:10] _bug 123 in ubuntu hoary_ [05:10] SteveA, let's try and get this in tonight so malone shines next week? [05:10] mmmmm, brittle [05:10] mpt, how do I know what ubuntu hoary is? [05:11] distro or product? [05:11] you don't know whether it's a product or a distro [05:11] snap [05:11] okay, that'll be step 2 [05:11] right [05:11] kiko: depends how my database fixes and menus fixes go. this is just polish, so it has to come at a lower priority than those. [05:11] kiko: so, you can't [05:11] kiko: i'll se what i can do, though [05:11] SteveA, but those aren't going to land today, are they? [05:11] sure they are [05:11] aieee [05:11] kiko: just link to the bug, and let Demystifying v2 sort out the workflow from there [05:11] there's a small menus fix [05:11] mpt, okay. [05:12] and a pretty small database infrastructure change [05:12] SteveA, I'll get you the patch in a few minutes [05:12] SteveA: Will the LaunchpadMenus spec need updating with new instructions, and if so will you have time to do so? [05:12] i think landing your stuff won't take long, provided you have written tests [05:12] night all [05:12] mpt: i won't have time for that today. maybe daf can help? what new destructions? [05:12] sleep well. [05:13] SteveA: Only if you're making changes on how the menus are programmed [05:13] on -> to [05:13] bradb, can you write tests for the linkify thing? [05:13] i.e. do you have time to do this right about now [05:13] SteveA: and document the +debug-menu thing perhaps [05:13] I'll send you the patch if so [05:13] kiko: not right now, sorry, desparately trying to merge FBN [05:14] mpt: no API changes at present. just implementation fix from a bug daf reported. maybe you or daf can document the +debug-menus thing? [05:14] kiko: if it's something i can do later, i can do it later [05:15] SteveA: ok [05:17] That's it :) === elmo [~james@217.205.109.249] has joined #launchpad [05:17] Hear! People of the launchpad! [05:17] when "baz merge" gives you grief [05:17] do "baz missing -s" for the target branch [05:18] and then do stepwise "baz merge" at several points along the line [05:18] particularly around merge points [05:18] you can tell merge points using "baz merges REVISION" (note the s) [05:18] Ahhh. They've got a hole. [05:19] there really should not be an API that is 'baz merge' and 'baz merges' [05:19] so baz merge can pick a different ancestor each time (it's not-quite-deterministic, unlike star-merge). [05:19] that sucks so bad [05:19] from a UI perspecvity [05:19] perspective [05:19] SteveA: yes it does, legacy UI cruft. [05:19] baz merges predates baz merge, and it's a very little known command. [05:21] does python ever fail for 'import thread' these days? [05:21] jamesh: you'll know! [05:21] mpt! [05:21] I have a question for you [05:21] the linkify code I have currently does [05:21] [www.foo.com] for links to http://www.foo.com/baz/bar/boo [05:21] is that acceptable? [05:21] I saw that and thought it was odd [05:21] should I just ellipsize? [05:22] I want to avoid URLs blowing up my video [05:22] Isn't this covered by DisplayingParagraphsOfText? [05:22] hmm, perhaps thread is missing on some micro platforms [05:22] mpt, if you want to help me, tell me exactly what I should do [05:22] but screw that. we depend on ' [05:22] thread' [05:22] kiko: ok, make linkifying run *before* DisplayingParagraphsOfText does [05:23] kiko: then the URL will be wrapped, but the link will still work. [05:23] kiko: i think it should be [foo.com] [05:23] because the link is based on the URL before it was wrapped. [05:23] and [foo.co.uk] [05:24] mpt: putting into DisplayingParagraphsOfText will break it [05:24] because it'll become <a>? [05:24] what fun [05:24] the interaction of linkifying stuff with other stuff is not trivial [05:24] true [05:24] I was going to say just that [05:24] It seemed like the simplest, simplest spec to write [05:24] so the choices are -- link to hostname, or ellipsize the URL, or include the full link. [05:24] when I first started [05:24] and i have DisplayingParagraphsOfText ready to merge, it looks like [05:24] SteveA: I think threading is enabled for pretty much every Python build. I wouldn't be surprised if --disable-thread is somewhat untested [05:25] mpt, you software engineer underestimator [05:25] I thought it was going to be about two paragraphs [05:25] ok [05:25] thinking of it... this stepwise mesh merge is probably not to dissimilar to a poor-man cdv merge... [05:25] let's do linkifying little by little [05:26] right [05:26] we can start of with just converting text to a simple link [05:26] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix patch-17-39-0.sql more gooder (patch-2037: stuart.bishop@canonical.com) [05:26] kiko: I don't like [foo.com] much at all [05:26] and deal with goats.cx problems for now [05:26] mpt, give me a better suggestion === SteveA --> sqlos bugfix [05:26] SteveA, a simple link won't fix the problems I'm seeing in quite a few bugs and I'd love to land that too [05:26] I'll use common sense... [05:27] kiko: i think we're at the stage where a spec would help explain things. [05:27] needn't be big [05:27] but there are enough interactions going on that we must capture the rationale [05:27] I can't do that SteveA, not today [05:27] kiko: Anyway, [foo.com] won't help you when it comes to [llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.co.uk] [05:27] mpt, stop strawmanning [05:27] then i think we can't land anything but the simplest link code [05:27] okay [05:27] kiko: work out the very simplest possible thing [05:27] I'm not, that's a real domain [05:28] As I'm sure daf is aware, since it's Welsh [05:28] mpt, I know, but it's a minor issue we can surely live with [05:28] yeah, i know about all the domains in .uk [05:29] kiko: here's what i need to know [05:29] kiko: The very simplest possible thing is to linkify after DPoT [05:29] - what pages will you want to linkify things right now, in this first implementation ? [05:29] Actually, DPoT doesn't split anything anyway, does it? [05:29] SteveA, only bug pages for now [05:29] - will the text that gets linkified also be passing through other formatters? (DPoT ?) [05:29] only bug pages? then what's the problem? [05:30] just implement exactly what I specced in the bug [05:30] debonzi, https://launchpad.ubuntu.com/distros/ubuntu <-- I think we should sort that distrorelease list by version [05:30] if so, why not just make DPoT do the work as an extra step, and make this available as DisplayingLinkifiedParagraphsOfText [05:30] there is no need to generalize [05:31] SteveA: agreed [05:31] so, how does DPoT get accessed? fmt:paragraph ? === SteveA can't rememeber [05:31] if so, fmt:paragraph_with_links [05:31] and we leave it up to the code to do the right thing [05:31] carlos, you are right.. I will add it to my TODO list.. thanks [05:31] no chaining of formatters [05:31] debonzi, thank you ;-) [05:31] no questions about whether the code is already escaped or not [05:32] and, we have a chance of landing this today. [05:32] can somebody explain what you are suggesting? [05:33] in baby talk [05:33] kiko: okay. i will explain. [05:33] 1. we have DisplayingParagraphsOfText almost ready to merge. [05:33] kiko: You could read the spec, it's in your queue anyway ;-) [05:33] 2. DisplayingParagraphsOfText adds tal:content="structure sometext/fmt:paragraph" (or something very similar) [05:34] https://wiki.launchpad.canonical.com/DisplayingParagraphsOfText [05:34] 3. we're going to be using this for displaying a bunch of stuff [05:34] /fmt:text-to-html [05:34] so far so good [05:34] 4. so, let's also have /fmt:text-to-html-linked [05:34] so it could include linkifying without being renamed anyway [05:35] rather than /fmt:linkify/fmt:text-to-html [05:35] mpt, daf https://launchpad.ubuntu.com/distros/ubuntu/hoary/+sources/gnome-panel has a bad link to +translations as part of the menu [05:35] or anything more exotic [05:35] SteveA, does this work for nice_pre too? [05:35] or does this come after nice_pre? [05:35] mpt, daf it should be https://launchpad.ubuntu.com/distros/ubuntu/hoary/+sources/gnome-panel/+translations instead of https://launchpad.ubuntu.com/distros/ubuntu/hoary/+translations [05:35] kiko: we can have nice-pre-linkified [05:35] carlos: that should be fixed by my menus branch [05:35] okay [05:35] daf, ok [05:35] carlos: That's very much daf [05:35] the point is, we don't want to chain fmt:this/fmt:that [05:35] BjornT? [05:35] SteveA, okay, accepted [05:36] cool [05:36] hmm, then, again, that's a source package [05:36] that way ensures escaping is done properly I see [05:36] so perhaps it needs some more attention [05:36] kiko: yes? [05:36] SteveA, that doesn't help me with the linktext though [05:36] linktext? [05:36] File "lib/canonical/launchpad/webapp/tales.py", line 476, in linkify [05:36] bug = getUtility(IBugSet)[bug_number] [05:36] File "/home/kiko/devel/rocketfuel/launchpad/lib/canonical/launchpad/database/bugset.py", line 18, in __getitem__ [05:36] item = self.table.selectOne(self.table.q.id == id) [05:36] AttributeError: 'BugSet' object has no attribute 'table' [05:36] BjornT, kinda weird, isn't it? [05:37] that looks well untested [05:37] kiko: what do you mean 'linktext' ? [05:37] the text of the link, SteveA -- what is displayed to the end-user. [05:37] also, i need to stop talking about this, and get on with other work soon. [05:37] kiko: Splitting long words is a separate problem that can be handled slowly [05:37] kiko: what is the difficulty? [05:38] or carefully, I should say [05:38] It doesn't need to be in today's landing [05:38] it annoys me that a large number of bug summaries contain links and blow up my video [05:38] can I not land an interim fix that makes my life as a triager less painful? [05:38] many rosetta bugs do this for instance [05:38] blow up your video? [05:38] (nor that it's rosetta's fault) [05:38] do they contain links to launchpad? [05:38] to localhost? [05:39] yes, scroll away into the netherland [05:39] links to launchpad.ubuntu.com/bla bla bla yes [05:39] It is Rosetta's fault, Rosetta's URLs are too long :-) [05:39] horizontal scrolling is evil [05:39] kiko: yes, that's bad... use .get(bug_number) instead. report a bug about it, and i'll have a look at it later [05:39] can we not use font-family: monospace + explicit line breaks? [05:39] BjornT, okay. [05:40] or CSS for the wrapping behaviour we want, if there is some [05:40] okay, i'm going to work on database code. kiko, mpt: work out what you want to do. keep it extremely simple. i'll check back in an hour to chat about it. [05:40] daf: there isn't, and there won't be widely available for the next ~7 years [05:41] mpt: any significant drawback to monospace +
    ? [05:41] I'm going to use the hostname unless mpt gives me a solution in 5 minutes :-P [05:41] daf: not that I can think of [05:41] hmm, I guess it might cause adjacent spaces to collapse [05:42] kiko, I shouldn't even be awake [05:42] lalallalaa [05:42] grrrrr [05:42] grrr kiko at this moment I wish tal had if/else clauses... [05:43] carlos: it does. in python. do it in python ;-) [05:43] carlos, tal is one big fat wart in zope and I will mail the loser who designed it with your comments [05:43] SteveA, in python? how? [05:43] SteveA, the lack of else in tal is a serious shortcoming [05:44] SteveA, if we have content, show this html code, if we don't have content, show this other code.... [05:44] tal:condition="view/have_content" .... tal:condition="not: view/have_content" [05:44] carlos: What's wrong with "not: ..."? [05:44] compute have_content in your view's class [05:44] kiko, I introduced an extra textarea with #1036 fix because the missing else :-( [05:44] mpt, duplicating HTML content [05:45] use a macro [05:45] SteveA, I know, but that's exactly what an if/else does and it's more easy to detect errors with an if/else than with the foo and not foo [05:45] put it in a separate view [05:45] SteveA, I find macros expensive [05:45] like [05:45] VERY expensive [05:45] eh? [05:45] if they were 5c macros I would agree [05:45] defining and using a macro makes you jump through hoops! [05:45] macros in the same page tempate are simple [05:45] really? [05:45] yes [05:46] Steve pasted an example the other day [05:46] kiko: Would you prefer your e-mail client to show long URLs as [hostname] as well? [05:46] mpt, I use a text-based email client, but yes [05:46] https://chinstrap.ubuntu.com/~dsilvers/paste/fileMpALym.html [05:46] my god [05:46] kiko: as opposed to an audio-based one? [05:46] that is so cool [05:46] mpt, as opposed to a graphical client, you sleepless soon-to-be-barzilian-pure [05:47] kiko: you've been damaged by zope2 [05:47] I love flowers [05:47] kiko: The situation is exactly the same in a graphical one -- the window is still a particular size [05:47] kiko: I guess we just disagree on this, and you're the coder, so there's nothing I can do === debonzi -> Lunch [05:48] mpt, in all truthfulness, I don't like [hostname] very much either, but I hate it less than I hate horizontal scrolling [05:48] mpt, I'm accepting any interim solution you suggest [05:49] kiko: If an URL is wider than the available space, it's on a line by itself, and once you implement linkifying, the whole of it will be clickable, so you don't need to scroll anyway [05:49] (unless you're actually interested in the contents of the URL) [05:50] So just linkifying will improve the situation [05:51] New Malone bug 1253 filed on product Malone by Christian "kiko" Reis: The auto-summary code should only use the first paragraph of the description [05:51] https://launchpad.ubuntu.com/malone/bugs/1253 [05:52] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=SteveA/trivial] import fascism, kill translationeffort, kill sshkey browser code, add __all__s to interfaces, other cleanings-up (patch-2038: daf@canonical.com) [05:52] hurrah! [05:52] *finally* [05:52] woooo! [05:54] oh god, i *beg* that not to mean that my merge request is going to fail again [05:56] if it does, it'll probably because of conflicts [05:57] (my changes were to do with complying with the fascist rather than enforcing the fascism) [05:57] yeah. /me does a quick merge to find out [05:58] is there such a thing as a quick merge? [05:59] "quick", like 10 minutes [05:59] :) [05:59] heh [06:00] daf: what does the fascist output say now i wonder... if it's sane enough, i'll merge the fascist [06:00] * Searching for best merge point .../home/pqm/thelove@canonical.com---bazaar--devo--1.5/src/baz/libarch/namespace.c:595:botched invariant === SteveA proceeds to rip out half of sqlos [06:00] I'm just checking that now [06:00] !!version_end [06:00] baz: uncaught exception: -1:(exiting on botched invariant) [06:00] please report this as a bug to bazaar@lists.canonical.com === bradb falls back on --star-merge [06:01] bradb: you and everyone else [06:01] SteveA: we still have about five browser code files importing the DB in order to use ObjectWidget/CustomWidget [06:01] kiko, I think firefox is still broken with textareas [06:02] bradb: if that does not work, about 45 mins ago I explained a new merge trick I just found about. [06:02] kiko, We still have the bug (and I think that FINALLY, I got it fixed) I start hating textareas [06:02] might help [06:02] carlos, somehow, I doubt it :-) [06:03] kiko-fud, https://chinstrap.ubuntu.com/~dsilvers/paste/file3RLcMa.html [06:03] kiko-fud, from the HTML standard [06:03] ******************************************************** [06:03] * 2 conflicted items in this tree. Please * [06:03] * resolve each conflict with "baz resolved 'filename'" * [06:03] ******************************************************** [06:03] those textareas should be exactly the same, right? [06:04] kiko-fud, they are not, first one adds an extra new line === carlos prepares a .html just in case he can reproduce it easily... [06:04] carlos, they seem to be quite different. html inside textareas is not very permissive wrt to whitespace, I told you... [06:04] binarypackagename, bounty, codeofconduct, distribution, product, project, sourcepackagename [06:05] maybe s/html/implementation of html parsing/ [06:05] and the rest are either uses of BugFactory [06:05] or instantiating content classes directly [06:05] kiko-fud, yeah, that's why I didn't fix it correctly first time, but anyway, the standard says: [06:05] what about __all__ and import * ? [06:05] a line break immediately following a start tag must be ignored, as must a line break immediately before an end tag [06:05] interesting [06:06] daf: [06:06] ======= [06:06] bug = Int(title = _('Bug ID'), required = True, readonly = True) [06:06] message = Int(title = _('Message ID'), required = True, readonly = True) [06:06] >>>>>>> MERGE-SOURCE [06:06] did you throw those specs in there around the ='s? [06:06] spaces, even [06:06] eww, no [06:07] SteveA, sent patch [06:07] that was NOT ME EITHER === kiko-fud holds nose [06:07] SteveA: just a second, I'll need to pull in the new fascist again [06:07] kiko-fud, https://chinstrap.ubuntu.com/~dsilvers/paste/fileMpALym.html [06:07] hmm [06:07] wront link [06:08] kiko-fud, http://people.ubuntu.com/~carlos/broken.html === lamont is now known as lamont-away [06:08] kiko-fud, there you have, could you tell me what am I missing? [06:09] kiko-fud, the first new line is ignored as the spec says, but the second one is not [06:10] daf, kiko-fud please, could you confirm it's a bug so I can reopen the firefox's bug report? [06:10] carlos: they look the same to me [06:10] daf, I get an extra new line with the first one [06:10] daf, after foo [06:10] SteveA: There were 32 imports 'from *' without an __all__. [06:10] SteveA: There were 24 imports of names not appearing in the __all__. [06:11] daf, you will see it if you select all text [06:11] oh, an extra newline on the end? [06:11] interesting [06:11] yes, I see that [06:12] SteveA: the majority of the former seem to be in browser/ [06:15] daf, please, could you tell me if reading this: http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.1 [06:15] daf, you still think it's a bug? === carlos wants to be as sure as possible [06:16] well, how many newlines do you have in the first box? [06:17] daf https://chinstrap.ubuntu.com/~dsilvers/paste/file3RLcMa.html [06:18] daf, first one is the one on the left, second one is the one on the right [06:19] hmm [06:20] that does indeed smell like a bug [06:20] I suggest you send the source to the bug report [06:20] and ask them if they can reproduce it [06:20] I'm doing it atm [06:20] thank you for your confirmation [06:20] no worries [06:23] salgado: https://launchpad.ubuntu.com/malone/bugs/873 is a bug that seems to be caused by the fact that the reporter doesn't have a validated (and therefore, no preferred) email address. what do you think is the appropriate way to "resolve" a bug like this? is it "fixed"? "rejected"? do i leave it "new" even though he can't possibly receive a comment? anyone else have any advice on what to do to consider resolved these bugs that app [06:25] BjornT: am i expected to be able to file and comment on a bug via email right now? [06:45] lifeless: would it be unreasonable for pqm to send an email to confirm that it's received our merge request? i've sent two in the last couple hours, and have heard nothing. [06:49] SteveA: no imports of * without an __all__ left [06:49] SteveA: I'll merge this now [06:50] kiko-fud: should i mark you as having accepted: https://launchpad.ubuntu.com/malone/bugs/628 ? [06:50] daf: awesome work [06:51] SteveA: if only we could shift these remaining DB imports [06:53] bradb, I'll do it, thanks [06:53] ok,t hanks [06:53] SteveA: I suppose we can make import of * without __all__ raise an exception now, though [06:53] bradb, I think you should mark it fixed and explain the problem. even if the user doesn't get any notifications, the bug will be there and he'll be able to see it [06:53] daf: i'll do that when i merge the fascist [06:54] salgado: ok, i'll do that === bradb-lunch & # lunch [06:54] bradb-lunch: when you get back, can you tell me what the story is with BugFactory? [06:55] daf, did carlos talked to you about the need of addLanguage() and removeLanguage() in IPerson? [06:56] no [06:56] want to talk about it now? [06:56] daf, I told you it [06:56] daf, and gave you a trace [06:57] daf, do you remember it? [06:57] I remember that [06:57] daf, it's related to rosetta's preferences page [06:57] daf, so, you have a languages attribute in IPerson, which is MultipleJoin. if you want to use the addLanguage() and removeLanguage() facilities in a person object, you need to declare that in the IPerson interface [06:57] looks like there places using it already, but the methods are not in the interface [06:57] hmm, so it's just a problem with the interface? [06:57] exactly [06:57] that's odd [06:58] it was working before [06:58] I wonder how it broke [06:58] it'd be good to test that code too. ;) [06:58] yes, you're right [06:58] it probably broke because you were using an unproxied person object [06:58] and now you're using a proxied one [06:58] aha [06:59] perhaps a switch from using IPerson() to ILaunchBag() caused it [06:59] or something like that [06:59] that's my best guess [07:00] hmm [07:00] but anyway, the code is not tested. :P [07:00] right [07:00] probably IPerson is giving back a "naked" person [07:00] that is, the principal --> person adapter [07:00] yep [07:00] I suspect that somebody fixed a call to IPerson(request.principal) or something like that to use ILaunchBag instead [07:00] and didn't notice when it broke [07:01] I'll do a page test for it [07:01] if so, then it's a problem. the IPerson adapter must use getUtility [07:02] ah [07:02] the problem could also have been caused when I moved the adapter from principal to person to components/person.py and made it use getUtility() [07:02] it wasn't using getUtility() but not it is [07:02] that sounds like a likely candidate [07:03] ah, good [07:03] then all is as it should be === sabdfl [~mark@217.205.109.249] has joined #launchpad [07:19] daf, the only solution for #1036 is to handle trailing and leading new lines directly inside Rosetta so the user don't care about that, as you suggested === carlos -> out [07:19] given the browsers behave the way they do, yeah [07:20] see you tonight or tomorrow [07:20] daf, yeah [07:20] see you [07:22] carlos, I'm going to talk to mrbkap today [07:22] kiko, ok, thanks, I added all information I have to bugzilla [07:22] thanks [07:22] that should be enough to debug it [07:38] daf, I have a question for you [07:39] https://chinstrap.ubuntu.com/~dsilvers/paste/fileMpALym.html [07:39] daf, can you explain how the tal:define for menus works here? [07:41] kiko: DO IT [07:41] jordi, every day, at 6am, I do [07:42] kiko: ? [07:42] yeah [07:42] SteveA, how does that interact with the menu used inside the macro [07:42] and the menu used when the macro is used [07:42] so, this gets the facet menu that is approprate to the context [07:42] kiko: ypu should be in finland next week [07:42] I'm going to run lots there [07:42] okay. macros all get processed first. they are essentially #includes [07:42] jordi, why didn't you invite me? [07:43] okay so far, SteveA [07:43] once you have macros sorted out, you have effectively a new page template [07:43] kiko: everyone is invited! [07:43] so, then you read this template with macros expanded [07:44] SteveA, so I'm confused. what is the first tal:define for in that example? [07:44] the one around the define-macro [07:45] that defines the name "menu" to be the facet menu. you can iterate over the facet to get its links [07:46] daf: the story with BugFactory is that it should probably be moved into in the IBugSet interface, possibly creating two different methods: one that creates just the IBug, and the other that Just Works (creates the subscriptions, etc.) [07:46] bradb: this is similar to the IPersonSet pattern [07:46] talk to salgado [07:46] PQM WHY ARE YOU NOT WORKING [07:48] elmo: can you bounce pqm please? i've sent two merge requests over the last few hours and have heard nothing back. it appears to have hung. [07:48] salgado: talk to brad about the person creation API [07:49] SteveA: it's not something i had planned to look at pre-1.0, i was just answering daf's question [07:49] Keybuk: ping [07:49] i want IBugSet and IPersonSet to be consistent in this regard. This is a pattern i want to generally apply. [07:49] SteveA, the person creation API now is only a single method: IPersonSet.createPerson(). ;) [07:50] salgado: and, does that do all the necessary things? [07:50] that's the only public API we have and it does everything [07:50] there was a newPerson or new() or something, for creating a Person without the rest of the crap [07:50] we still have that, but it's not public. it's only used by the createPerson() method [07:50] daf, there's some crap called distrotool.py that needs to be moved to sets too [07:51] (although this is not merged yet. I'm waiting for pqm.) [07:51] hmmm [07:51] bradb: killed [07:51] cheers [07:51] kiko: I didn't look at it too closely [07:51] I had to force kill it, not sure what lock files might be left behind [07:51] daf, I'm trying to get debonzi to do it [07:51] salgado: ^^? [07:51] elmo: can you install gettext on the productoin machines? [07:52] kiko, bradb: I'm working on fixing up sets right now [07:52] daf, if you want to fix up distrotool.py to NO LONGER EXIST I'd be very appreciative [07:52] bradb, I send my merge request 5minutes ago. I don't think that could have caused pqm to hung [07:53] kiko: I'll see what I can do once I've figured out what this bounty stuff is doing [07:53] salgado: no, i mean, are there any lock files hanging around that elmo should know about? [07:53] bradb: is the BugSet stuff underway or just scheduled for future cleanup? [07:53] bradb, it depends on what test pqm hang [07:53] daf, just delete the bounty stuff kthxbye [07:53] kiko: yessir [07:53] daf: future cleanup [07:53] who wrote that crud anyay? [07:54] I don't think anybody uses it [07:55] daf: if you want to fix it, i'd recommend creating just the method that Just Works, so as not bait a prospective user of the API into using the method that Just Doesn't Work (i.e. the theoretically, only-creates-the-IBug method) [07:55] s/cally/cal/ === terrex [~terrex@84-122-69-8.onocable.ono.com] has joined #launchpad === ddaa -> dinner [07:58] if anyone knows of any lockfiles that may be left around because of kill -9'ing pqm, could i ask you to please pass that info onto elmo? [08:00] bradb, do you know in what test pqm was hang? [08:00] I mean, when it was killed [08:00] ddaa: ping [08:00] lifeless: ping [08:01] salgado: no [08:01] then it's hard to tell, because all scripts use lockfiles [08:02] salgado: can you just tell him what they are anyway? [08:02] the worst that would happen is that they aren't there, right? [08:02] anyway, all scripts should've put their lockfiles in /var/lock, and there's nothing in there [08:03] interesting [08:03] bradb, if you want to know what they are, you have to look into scripts/* and cronscripts/* [08:03] i don't want to know what they are, but the chinstrap admins probably do [08:04] now you can tell them. :) [08:06] i'll leave that to the guys who wrote them :) [08:08] daf, carlos: you around for another hour? [08:09] sabdfl: carlos has already left [08:09] sabdfl: I'm going out for dinner in about 30 minutes [08:09] ok :-( [08:09] it's almost pressie time [08:09] oh, darn [08:09] it'll land tonight then, you'll get it first thing in the morning [08:10] ok, cool === lamont [~lamont@15.238.5.49] has joined #launchpad [08:15] SteveA, I still don't understand the tal:define there [08:15] oh! [08:16] SteveA, does metal:define not cause the block inside of it to be ignored (as a #include would?) [08:16] metal:define defines something to be included [08:17] it marks a block of template, and gives it a name [08:17] aha [08:17] metal:define-macro that is [08:17] the tag name isn't important [08:17] it isn't? [08:17] no [08:17] just the attribute name [08:17] so yes [08:17] there needs to be some element there [08:17] and, if it is in the metal namespace [08:17] it disappears [08:17] from the output [08:17] I see [08:18] I see [08:18] so it /isn't/ like an #include [08:18] you misled me [08:18] I thought the macro only expanded when using metal:use-macro [08:18] now I understand [08:18] it's a bit odd though [08:19] yeah [08:19] thanks [08:19] it could be nested inside a tal:condition="nothing" [08:19] to make the original disappear [08:19] that is SO WHAT I EXPECT FROM TAL [08:19] "need else? just use condition not:!" [08:20] "need to make a simple macro definition? just wrap it in condition nothing"! [08:20] better make sure you don't make any calls to any non-idempotent functions inside the macro definition, then [08:20] why? [08:20] no post processing! [08:21] i so want to rewrite TAL/TALES using nevow [08:21] i was talking to the nevow guys about it at EP [08:21] it would rock, and probably be faster, once optimised [08:21] that would rock the boat [08:21] or do the calls ger made at macro definition time? [08:21] no calls get made when the macros are defined or used [08:21] calls get made only when the template is rendered [08:22] ha, nevow is another divmod project [08:22] we'll be using all of their stuff before long [08:23] nevow needs more work though [08:23] it is still new, and various things are unfinished [08:24] it will be cool when it's baked [08:24] to mix metaphors a bit [08:30] SteveA, please don't forget linkify kthxbye [08:31] heh [08:31] daf: i'm getting errors that i think are fascism related: [08:31] zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/bradb/launchpad/site.zcml", line 11.4-11.35 [08:31] ZopeXMLConfigurationError: File "/home/bradb/launchpad/lib/canonical/configure.zcml", line 103.4-103.43 [08:31] ImportError: cannot import name IBugMessageSet [08:31]
    kthxbye [08:32] (when make run'ing) [08:32] __all__ ? [08:32] i dunno, it didn't tell me [08:33] but since you told me, yes, that appears to have fixed it [08:33] thanks [08:33] which file was that in? [08:34] ddaa : still ping. [08:34] daf: interfaces/bugmessage.py [08:34] the fascist will tell you soon [08:34] it was just an incomplete __all_ then? [08:34] it might have been a normal python error, to be honest [08:34] daf: yeah [08:34] ok [08:35] in my test failure though (from pqm) it mentioned something about an "importd failure", which made me think fascist [08:35] yeah, that will be due to me adding an __all__ so import * not importing it [08:35] when you added it [08:35] yeah [08:36] good to see FooSets getting added [08:37] er, importd == fascist? yeah, i'm on crack. anyway. [08:37] the fascist haxors yo mama [08:37] I'm submerging for a few hours, mail me if you need me [08:37] i will continue to take joy in python's ImportError message with an incomplete __all__ === bradb submits his merge request for a third time [08:38] note that if you had no __all__ at all [08:38] it would have worked [08:38] but the fascist would have forbidden it [08:43] ddaa: 'sup? [08:48] keybuk: I don't think he's here. I've been watching out for him for... almost an hour [08:50] he ping'd me about an hour ago [08:50] just before I popped off for lunch [08:52] New Malone bug 1255 filed on source package koffice by Sander van Loon: Karbon crashes when creating a new document [08:52] https://launchpad.ubuntu.com/malone/bugs/1255 [08:54] New Malone bug 1256 filed on product The Launchpad by Matthias Urlichs: gpg key import does not ignore revoked UIDs [08:54] https://launchpad.ubuntu.com/malone/bugs/1256 [08:55] Keybuk: jblack: guys, I'm back for a few minutes [08:55] ddaa: you ping'd? [08:55] Keybuk: yes, hold on [08:55] bradb, being the assignee of a bugtask won't give me the rights to mark it fixed? [08:56] salgado: it should, yeah. though assignee semantics for private bugs are, as yet, unclear. [08:56] (i.e. broken) [08:57] salgado: what bug are you looking at? [08:57] bradb, https://launchpad.ubuntu.com/products/malone/+bugs/926 [08:57] Keybuk: when there is an upstream rcs, and tarballs, but the package comes directly from the rcs, we must not enter the tarballs, right? [08:57] where do I see if it's private or not? [08:57] did you type that URL by hand? [08:57] /+edit is the edit view [08:58] I can't see any link there pointing to the bug itself [08:58] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] 90% correct fix for #1036 (patch-2039: carlos.perello@canonical.com) [08:58] Keybuk: otherwise sourcerer will incorrectly try to link the package to arelease tarball? [08:58] bradb, that was the url I got from bugmail [08:58] interesting question [08:58] I'd enter the tarball anyway [08:58] sourcerer should do the right thing [08:58] (but probably won't) [08:59] salgado: from the *bugmail*? surely you jest. :) [08:59] can i see that bugmail? [09:00] oh no. from the bugmail, of course, I got the url for the bug itself [09:00] then when I went to the task I wasn't logged in [09:00] Keybuk: why "probably won't"? [09:01] then I logged in, reload the page hoping I would be able to edit the task [09:01] salgado: ah, so, if we exposed an edit link on the page you're looking at, would that help? [09:02] (in the meantime, you can just manually add /+edit onto the end of the URL) [09:02] bradb, I used to think I'd be redirected to the /+edit if I were logged in [09:02] was that true some time ago? [09:03] no [09:03] it's just that both pages used to be called +edit [09:03] ddaa: because I've never tested that it falls back from tarball to looking in CVS [09:03] and untested code is broken code [09:03] salgado: but, given the way things look, i can understand why you'd be confused. i would have been too. [09:04] Keybuk: okay, but if you say you'd enter the tarball location anyway... you're authoritative in that matter. [09:04] bradb, have you realized already that in the bugtask listing, the "id" header is above the checkbox column instead of the id column? [09:05] I'll have some more questions when I come back. [09:05] salgado: yeah, i merged the fix for that yesterday [09:05] ddaa: yup, enter it [09:05] great. :) [09:05] salgado: it appears to be specific to maintainers looking at listing of things they maintain [09:06] the column header that used to be above the checkbox was inadvertently removed, thus everything shifted one column over [09:07] I see. [09:08] btw, those statistics in that right portlet are pretty helpful. [09:08] that's good to hear [09:19] anyone thought about google maps bling in launchpad? [09:20] might be kind of cool to see a satellite view of where the person lives after you've just filed a bug on their package :P [09:21] New Malone bug 1257 filed on product Bazaar by njt: export latest version [09:21] https://launchpad.ubuntu.com/malone/bugs/1257 [09:23] New Malone bug 1258 filed on product Malone by Brad Bollenbach: Focus should land in the title field on the filebug screen [09:23] https://launchpad.ubuntu.com/malone/bugs/1258 [09:24] bradb, so, I have bug X which is a duplicate of bug Z. but the tasks of X still show up as new. should I reject all of X's tasks? [09:24] or, even better, should this be done automatically when I mark a bug as a duplicate? [09:24] salgado: i'd leave it for now. we haven't yet decided on the best plan forward for that. at the least, it's clearly marked on that page that one is looking at a dup. [09:25] you've brought up something that will be important to think about after 1.0 though, IMHO [09:26] cool. I'll file a bug on that === salgado is having some good time with malone this time. :) [09:26] great, thanks [09:26] heh [09:28] bradb, from the task page, how do I go to the bug one? (I need the bug id) [09:29] interesting question [09:29] you're looking at the task page [09:29] you need the bug id [09:30] ok, i probably am breaking some rules in telling you this, but the ID you see on that page is the bug id [09:30] what's interesting here is that it wasn't obvious to you that it was the bug id [09:31] because they used to be different [09:31] this may be an artifact of you being used to the days of two different IDs [09:31] indeed [09:32] salgado: the good news is that the "task id" has been completely banished from userland Malone [09:32] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=salgado] FormattingBugNotifications implementation. requires some minor additions to be fully spec-compliant. (patch-2040: brad.bollenbach@canonical.com) === bradb fistpumps [09:33] bradb, I realized that. now we're using the context and the bug id [09:33] to get the right task [09:34] right [09:34] salgado: have i actually answered your question, btw? :) [09:35] fwiw, when i last checked, there was no actual link [09:35] but ISTR kiko might have done something about that. i'd have to verify. [09:35] bradb, you mean, an actual link to go to the bug page from the task one? [09:35] right [09:38] is there any way to go to the bugtask page (not manually hacking the url) without first going to the bug page? [09:38] salgado: no [09:39] salgado: do you have a couple minutes? why don't you tell me a bit about the workflow you're in right now. [09:39] because right after asking that question I realized that I had come from the bug page, and thus I could go back to see the bug id (at that time I was thinking that the id I was seeing was the task id) [09:40] out of curiousity, why did you need the bug id? [09:41] at this time I'm mainly doing some triaging. I look for foaf-related bugs reported either in the foaf or the launchpad products [09:41] I wanted the bug id to mark another bug as a duplicate [09:42] so, you were looking at the task of the dup-target, right? [09:42] er, n/m [09:42] i see then [09:43] exactly. I wanted to accept the bug that was first reported, so I went to the task page [09:43] then I realized there was a dupe and went to mark it as a dupe [09:44] right [09:45] in the meantime I forgot that I went to the bug page before going to the task [09:46] stub: ping [09:46] interesting [09:47] salgado: when you wanted to go back to the bug page, what did you try to do to go back? [09:47] (it'd have been better if i were in front of you watching you do this, but oh well :) [09:48] I looked for a link, then came here and asked [09:48] ok [09:48] then I realized how to do it, but waited to see your answer. ;) [09:49] bradb, the problem with dupes is that we don't have bug listing, like bugzilla [09:50] we have task listings. then the tasks of the dupe will show up in these lists [09:50] there's a bug open on that. we should be able to filter to not show tasks of dup bugs [09:51] ah, cool [09:51] but, there's a risk that that breaks when one of the bugs has just one task and it's on Foo and the other has just one task on it's on Bar [09:51] it /probably/ won't be noticeable at the beginning, but it's a bit up-in-the-air until we nail down the task-merging semantics of dup bugs [10:01] has anyone been experiencing hangs when running the test suite on their own machine? [10:04] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] add more __all__ statements, other minor tidyings-up (patch-2041: daf@canonical.com) [10:08] Keybuk: so, other questions === SteveA tries removing the locking from sqlobject caches [10:10] ddaa: Back? [10:10] Some projects have no rcs, but do have downloadable tarballs but: 1. they may have no indication of version (the latest version of drac is always available as drac.tar.Z), or the only tarball available may not be the one used by the package (like eject). [10:10] as gdb showed the process to be blocked on a lock of some kind [10:11] Keybuk: in those cases I have just not input the ftp details as I think that would cause sourcerer to go wrong. [10:11] jblack: I'm here. [10:12] Ok. [10:12] Keybuk: sounds reasonable? [10:12] You're either gonna love me, or you're gonna hate me. [10:12] there's no way to input that into dyson anyway [10:12] I hope its the former. If just did a handful of commits. You may want to update. [10:12] it wouldn't be able to create a ProductRelease entry if it can't get a version [10:12] Keybuk: what do you mean? sure I can file the ftp details so it will download such tarballs. [10:12] dyson creates the database record for the product release [10:13] I also hit both or your trees, dumping cvsroots and descriptions into a bunch of files. [10:13] it can't do that if it can't parse the tarball filename to get a version [10:13] Keybuk: okay that sorts out drac and a most of festival data packages... [10:13] but not eject, where the available tarballs have versions, just not the one used by debian... [10:14] but... [10:14] mh... [10:14] Keybuk: I'd like to know more about this version matching thing, that can probably tell us important things about what is not worth bothering about. [10:14] s/debian/ubuntu/ [10:15] "version matching thing" ? [10:15] dyson parse the tarball name to get a version [10:15] I guess that is used when matching release tarballs to source packages, right? [10:16] huh? [10:16] nothing to do with that [10:16] mh... [10:17] I assumed that packages were associated to product releases [10:17] dyson creates ProductRelease records, places the associated tarball in the librarian, and creates a ProductReleaseFile record to link the two [10:17] one of the NOT NULL fields of ProductRelease is 'version' [10:19] mh... I think this line of discussion is not going to lead us anywhere. [10:20] Well, if you guys are done, I could use some time, ddaa? [10:20] jblack: just ask [10:20] first, you may want to merge the import tree. [10:20] I'll be pointing at specific things. [10:21] (btw, DUCK) [10:22] Keybuk: consider eject. breezy packages eject_2.0.13deb.orig.tar.gz, but the ftp repo only has eject-2.1.0.tar.gz. And there is no rcs. Would that be harfmul to enter that ftp data? Would that be useful? [10:23] yes [10:23] jblack: okay, I'm eyeballing my uncommitted stuff, then I'll update. [10:23] Keybuk: yes, harfmul? Or yes, useful? [10:23] useful [10:23] and not harmful? [10:23] ddaa: Ok. I walked into your tree too, btw. I came across a load of descriptions, and put them into the appropriate files in your queue dir. [10:28] jblack: all that new data, is that some sort of automated collating? [10:28] No sir. Thats me missing work. [10:29] You mean, you've been essentially making info files instead of entering the data into launchpad? [10:42] anyone have the requisite computer science degree to tell me what i need to do to give a field focus (by default) in an autogenerated z3 form? [10:45] Merge to rocketfuel@canonical.com/launchpad--devel--0: Simplify the people creation API a lot; now we have only IPersonSet.createPersonAndEmail() which will do everything that's needed. r=jamesh (patch-2042: guilherme.salgado@canonical.com) [10:48] you'll want a custom widget, and pass in a custom arg "tabfocus" or something like that [10:49] i tried "tabindex" earlier [10:49] in ZCML, tabindex=1 [10:50] it changed nothing in the rendered output [10:50] ah, but the extra="" property may be the ticket [10:51] extra="tabindex=1" did it [10:53] that's the badget [10:53] badger === bradb makes random squawking noises [11:11] Kinnison: is archivepublisher/pool.py yours? [11:17] SteveA: got a minute for a quick question about making a custom SinglePopupWidget via the browser:widget directive? [11:17] not really [11:17] gotta go to sleep [11:18] ok :) [11:19] bradb: have you had any hangs while running tests? [11:19] i think i was getting one, and i think pqm's been getting them [11:19] as an experiement, i've turned off a bunch of the locking in the sqlobject caches. [11:19] it shouldn't matter for us anyway. [11:19] not in RF yet. [11:21] i believe i've seen them in pqm (which is why i got elmo to bounce pqm earlier) [11:22] i'll bounce the "remove locks" idea off stub tomorrow [11:22] and see if he thinks it is as sane as i think it is [11:51] the new fascist will be landing shortly (i hope) (pqm permitting) [11:52] don't just add the names requested to __all__. think carefully about whether they should be there or not. [11:52] for example, i need to fix up one case where Item is being imported from DBSchema [11:52] for an isinstance test [11:52] whereas, IItem should be used. But, IItem does't yet exist. === SteveA --> sleep