[12:28] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Override plone.css radiobutton silliness (bug 2586) (patch-2616: mpt@canonical.com) === mgalvin [n=mgalvin@cpe-69-205-47-165.nycap.res.rr.com] has joined #launchpad === cprov goes home [01:12] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix https://launchpad.net/products/launchpad/+bug/2662 (PersonAccountToMergeVocabulary() contains the person that is logged in) (patch-2617: guilherme.salgado@canonical.com) === fabbione [i=fabbione@gordian.fabbione.net] has joined #launchpad [01:29] Merge to thelove@canonical.com/dists--bazaar--1.5: new build (patch-81) [01:30] Merge to thelove@canonical.com/bazaar--devo--1.5: [Fixes #78] Add some message before prompting for signature [aldrik.kleber@tiscali.fr--public (patch 0-4)] (patch-65: aldrik.kleber@tiscali.fr, Matthieu.Moy@imag.fr) === stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad [01:36] stub: ola [01:36] stub: can you point me at the scripts you have written that use baz ? [01:36] heya stub [02:10] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix https://launchpad.net/products/launchpad/+bug/2663 (Confusing text mislead user to think both account passwords are required when merging accounts) (patch-2618: guilherme.salgado@canonical.com) === mpool [n=mbp@ozlabs.org] has joined #launchpad [02:56] lifeless: The Makefile.staging in dists--devel--0. Also 'rocketmeld.py' in the utilities directory of launchpad [02:56] morning stub [02:56] stub: I ask, cause I need to bzrify them [02:56] stub: unless you would like too :) [02:57] is this the right channel for foodix reports? [02:58] lifeless: Don't worry about rocketmeld.py. The staging Makefile would be trivial (it just does a checkout). [02:58] stub: ok. [02:58] i have ended up with 1:6.2.1+cvs.20050722-7 installed, but it's not present in the archive [02:58] i might have got that from the non-foodix copy of breezy === TimM [n=none@b-6c.lcom.net] has joined #launchpad === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [03:30] Kinnison: ^^^ mpools lines ^^^ === TimM [n=none@b-6c.lcom.net] has left #launchpad [] [03:42] mpool, you're using dogfoodix, then? === GoRoDeK [n=gorodek@p5083D72C.dip.t-dialin.net] has joined #launchpad [03:44] stub: are you around ? [03:44] bah [03:44] SteveA: are YOU around ? [03:44] I am [03:45] but SteveA isn't for sure [03:45] thanks [03:45] kiko-fud: yes i am [03:45] mpool, does it require much bravery? [03:45] uh, should it? [03:45] i don't feel very brave [03:46] i just do as i'm told [03:52] lifeless: yo [03:52] stub: unping [03:52] I wanted the other stub [03:53] unpong === stub wanders off to the shower === segfault [i=carlos@prognus.com.br] has joined #launchpad === freeflying [n=rockie@61.190.65.16] has joined #launchpad === stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [06:05] feh === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad === mpool [n=mbp@ozlabs.org] has left #launchpad [] [06:40] Merge to rocketfuel@canonical.com/launchpad--production--1.36: Cherry pick patch 2612 into production 1.36 (patch-4: rocketfuel@canonical.com, guilherme.salgado@canonical.com) === terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad === BjornT [n=bjorn@84.32.140.183] has joined #launchpad [07:56] good morning [07:56] lifeless: ping? === _Rappy_ [n=hunt-pre@dsl-253-122.monet.no] has joined #launchpad [08:01] jamesh: pong [08:03] lifeless: w.r.t. your comment on my bug-74 branch, if I switch to "abbreviated_textdir" on the content class, do I have r=lifeless? [08:03] oh yes [08:03] btw, you know that pendingreviews is failing tests ? [08:03] yeah [08:04] I need to do some more extensive changes to handle branches-with-the-revision-number-set, but didn't fix up the problems in the bzr version (will fix it soon) [08:07] ok [08:07] I plan to rollout pqm-bzr this week [08:08] the test suite error looks a bit weird because the __eq__ method is catching AttributeError [08:09] yes [08:10] it was obvious what the issue is :0 === henrym [n=henrym@219-89-147-70.jetstart.xtra.co.nz] has joined #launchpad [08:43] jamesh, lifeless: So about this gpg tool thingy. Daniel wants gina running on production, like, tomorrow and I would prefer to run this thing before that. [08:49] 17:29:09) stub: jamesh: yes. People need to be able to create and edit their own hackergotchi (there was an email on this which I can't locate) [08:49] (17:29:54) stub: jamesh: Did the GPG web-o-trust stuff land, and if so what should I run on staging? [08:49] (17:32:58) James Henstridge: stub: there are two scripts -- the first of which needs access to the gpg strongly connected set and list of trusted keys [08:49] (17:33:16) James Henstridge: the second is responsible for updating the database, and uses the output of the first script [08:49] (17:33:40) James Henstridge: stub: lifeless would know what data to use for the first one [08:49] (17:34:18) stub: ok. so the first script needs to only be run once anywhere and we can use the output on staging, and if we are happy with the result, production [08:49] (17:34:47) James Henstridge: yeah [08:50] lifeless: whereabouts would I get the strongly connected set data to do a run of the script? [08:50] (and which keyrings do we treat as trusted? [08:51] jamesh: search me [08:51] trusted, ubuntu-keyring, debian-keyring [08:51] ubuntu-keyring has two keys in it on my system === dda1 [n=ddaa@ordo.xlii.org] has joined #launchpad [08:52] "Ubuntu Archive Automatic Signing Key" and "Ubuntu CD Image Automatic Signing Key" [08:52] mm [08:53] apt-cache search keyring perhaps === azeem_ [n=mbanck@host109.natpool.mwn.de] has joined #launchpad === ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad [08:58] lifeless: are we able to get a dump from our local keyserver? [08:58] Can we just use one of our own keyrings? [08:58] jamesh: I imagine so [08:58] these are some of the PGP bits I'm not versed in [08:58] jamesh: but I have not been involved with the keyserver foo === freeflying [n=rockie@61.190.65.16] has joined #launchpad [09:02] So it sounds like a tool has been written without thought on how it is supposed to be run :-/ [09:04] stub: lots of though [09:04] stub: we know what format the things we get will be in , and for 2/3 of them we knew where to get them [09:04] jamesh: a dump of a keyserver is approx 4GB... [09:05] fabbione: we just want the strongly connected set [09:05] just abuse the server.. it's better for the few keys you need compared to the 2.5M in there [09:05] But this tool is supposed to *calculate* that [09:05] stub: no, its not. [09:05] lifeless: just start from my or your key and grab them.. they are about 22K iirc [09:06] stub: its supposed to use the debian + ubuntu 'trusted keys', plus relationships spidering out from there within the SCC, to establish with some degree of confidence that user A and user B are the same person [09:06] stub: if we wanted the SCC alone, we would not have written code. [09:06] I call that calculating a trusted set of keys. [09:07] lifeless: anyway to get a full dump, you need to stop the keyserver [09:07] stub: a trusted set of keys is not the strongly connected set. [09:07] stub: it starts with a trusted set of keys, and ends up with a trusted set of (key, uid) pairs [09:07] stub: the SCC/SCS is a different beast to what we are calculating. [09:07] Indeed. I never said SCC or SCS. I don't even know what those abbreviations stand for. [09:08] stub: the starting conditions are "keys owned by people we trust to make good signing decisions", and the second is "(key, uid) pairs we are confident are correct" [09:08] stub: well, I'll stop this thread, except to note it started when I said 'we need the scc, and you said 'its meant ot calculate that'' [09:08] strongly connected set == a set of nodes that can all reach each other via the directed edges between the nodes [09:09] "the" strongly connected set would be the big one in the PGP web of trust [09:10] we're interested the one around debian/ubuntu though, which is the same one IIRC [09:10] Anyway. I still need to know how to run this tool. So far all I'm hearing is that it is not ready yet, because a part of the chain is missing. [09:10] As it doesn't build its own keyring, someone needs to build one for it. And I doubt the 4GB full dump is appropriate. [09:11] jamesh: are you looking for a scc at the moment ? [09:11] lifeless: I haven't started yet. Should I try Fabbione's idea? [09:12] jamesh: there are precanned ones, I suggest goodle [09:12] How can we trust a precanned one? [09:12] by the signatures in the debian and ubuntu keyrins [09:12] *keyrings* [09:16] So we trust a precanned SCC if it has been signed by a key in the debian or ubuntu keyrings? [09:17] That would indicate it has been manually uploaded and signed, which would be out of date. So crawling our own keyserver would be the better approach. === azeem [n=mbanck@host45.natpool.mwn.de] has joined #launchpad [09:18] stub: its not *that* dynamic a thing [09:18] but, if you want to, http://www.dtype.org/keyanalyze/code/ [09:20] Oh - do we actually *need* to trust that the SCC we use is acurate, or does our code verify if each key in the keyring is trusted enough for our purposes? [09:20] the latter [09:20] the only keys we *actually trust* are the ubuntu and debian ones. [09:21] at least, as I understand it from when I was working on it. [09:21] jamesh should be able to confirm [09:21] trusting random people who happen to have had their key signed and signed someone elses would be rather dumb. [09:22] lifeless: yeah. only the keys on keyrings passed with --trust have their ownertrust value set. [09:22] gpg does the rest [09:22] And I assume that the code actually *does* need the keyring prebuilt and there is no magic option to the GPG library we are using to pull down unknown keys from the keyserver? [09:23] stub: it will pull unknown keys automatically [09:23] but that is relatively slow [09:23] its preferred to have as much pre-seeded as possible [09:23] So all we need is any one of our keys and we can run it. [09:23] (because each key we add needs another trustdb rebuild and that is not incremental) [09:24] yech. [09:24] stub: install the debian-keyrin and ubuntu-keyring packages, or extract the keyrings from them [09:24] stub: then you have the bare minimum [09:24] let me see about an ubunut accurate list [09:27] I still havn't the foggiest idea what actually needs to be run. Anyone care to tell me what the scripts are called? Is it 'scripts/find-email-clusters.py' ? [09:27] ok - that looks like it. [09:28] stub: yeah. you'd run "find-email-clusters.py --trust trusted-keyring.gpg scc.gpg" [09:29] jamesh: scripts and cronscripts should have 'import _pythonpath' as the first import because I'm too lazy to set PYTHONPATH explicitly [09:29] you can specify multiple trusted keyrings by repeating the --trust option, and multiple untrusted keyrings as positional args [09:30] So where can I find the ubuntu and debian keyrings? [09:30] "apt-get install debian-keyring ubuntu-keyring" [09:30] and they'll be in /usr/share/keyrings/ [09:31] No apt get here - I don't have root ;) === stub looks for it on chinstrap [09:32] nope. [09:32] bah [09:33] morning all [09:33] gmorning [09:33] stub: http://ftp.debian.org/debian/pool/main/d/debian-keyring/debian-keyring_2005.05.28.tar.gz should be it === GoRoDeK [n=gorodek@p5083FCF1.dip.t-dialin.net] has joined #launchpad [09:33] stub: jamesh: ubuntu keyring needs elmo to export it. I suggest trialling it without it for now [09:34] I just need to extract the debian keyring locally and upload it since it doesn't seem to exist on the machines I have access to [09:34] This should have all been hardcoded in the script :-/ [09:35] stub: the tarball I gave the URL to should have it [09:35] (I think) [09:35] jamesh: How do we trust it? [09:36] stub: check the signature in the dsc file [09:36] the keyrings md5 sum is signed by elmo [09:36] stub: alternatively, pull it from the Ubuntu repository [09:36] jamesh: That involves doing it all locally again ;) [09:36] The rsync area on keyring.debian.org is the canonical location for [09:36] keyrings and it is what the Debian installer program (dinstall) uses. [09:36] If your key is available from there, it will be seen by dinstall. The [09:36] tarball and Debian package are provided for user convenience and are [09:36] not necessarily in sync with keyring.debian.org. [09:36] That file contains the keyrings, signed copy of keyring md5sums and [09:36] this README. The keyring md5sums will be signed by James Troup. [09:37] lifeless: please review importd-archivelocation today [09:37] ddaa: yes [09:37] it's a prerequisite for niemeyer starting fixing import for branchdatastorage [09:37] ack [09:37] I dont do it, you block, we all suck. [09:37] not yet quite blocked on it [09:40] Once we have run this, who can check that it has done what it is supposed to? [09:46] jamesh, lifeless: ^^^ [09:51] It is bombing: https://chinstrap.ubuntu.com/~dsilvers/paste/file3NPAqW.html [09:56] stub: did you pass a non-trusted keyring? [09:56] It did the samething when I did [09:56] lifeless: for a fast import you can disable the --check-trustdb option [09:57] lifeless: and run it manually at the end of the import [09:57] stub: ah. try replacing ~ with $HOME, maybe? [09:57] fabbione: we already do that [09:58] eh? I thought bash did that for me ;-/ [09:58] I'm guessing [10:00] Hmm... seems to be running now. === stub kills gina [10:01] bombed out again. it is doing *something* though before it bombs. [10:07] Still running this time... [10:11] Should I be running this with '-v' ? [10:13] jamesh: I believe parser.error('the error') is the badly documented yet preferred method of raising an error on bad command line arguments === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [10:23] hi [10:23] lifeless: did you want something? [10:29] SteveA: advice on some evil python stuff [10:29] that I was unsure about doing [10:31] I have 3790 lines of output from the find-clusters.py script. Does that sound correct? [10:39] I think I'm going to have to give up on this until someone-who-knows can help running this stuff on staging and confirming that it works and run gina without it (which is a shame, because we have been blocking gina since brazil for this :-( ) [10:44] Good Morning all [10:45] stub: it should be groups of email addresses separated by blank lines [10:45] jamesh: it is. but should I have 10 or 1,000,000? [10:46] stub: would depend on how many keys you looked at. Was this just the debian keyring? [10:47] jamesh: I ran it with the debian keyring as the trusted keyring, and a copy of the debian keyring as the strngly connected set. [10:48] stub: then that sounds like about the right amount of data [10:48] a quick check shows ~ 3500 unique uids in that keyring, all of which would be considered valid if you trust all those keys [10:49] jamesh: but what about all the other keys that we infer trust for? [10:49] stub: if you ran it without any other keys, then there is no other keys to infer trust for. [10:50] There is a whole keyserver to interrogate. 4GB of keys. [10:50] (17:23:13) Robert Collins (lifeless): stub: it will pull unknown keys automatically [10:54] I think he was talking about http://www.dtype.org/keyanalyze/code/ [10:55] argh. So I've wasted the last hour or so, because my original impression was correct and the code isn't yet useful to us. [11:02] stub: so, my merge didn't go through last night. i'm going to try again, but i don't want to conflict with your browser messages stuff. [11:04] ddaa: we should talk about the python import, and 32k === ddaa looks for some run-off-the-mill "we should talk" housewife rebuttal [11:05] eeeer, yes honey? [11:06] i don't think a importing a sticky sweet python will help anyone [11:06] do you mean it should be less sticky? [11:06] (whatever that means) [11:06] honey is sticky regardless. [11:07] let's avoid absurd jokes... === sivang read that sentence literally. [11:07] SteveA: so, what with the goddamn python import? [11:08] so, you checked out apache and other tools, that they can handle 32k subdirectories [11:08] you need to decide with lifeless about whether it needs to be available on the supermirror [11:08] then, we need to decide on what size partition on what machines to request === carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad [11:08] Yes. [11:09] hi [11:09] hello carlos [11:09] SteveA, I'm with the gas installation, they are taking much more time than I expected [11:09] okay [11:09] carlos: please see the email from Timo Jyrinki [11:09] ok === henrym [n=henrym@219-89-147-70.jetstart.xtra.co.nz] has left #launchpad ["Leaving"] [11:09] on rosetta-users [11:09] I did not check very thoroughly, but the toolchain is only using stuff that's so standard it should have no problem with large number of subdirs. [11:11] One bit that might be worth checking though is the backup tool, but it's outside of my control. [11:11] if anything else break, I'll happily offer large amounts of beer to annoyed parties [11:12] if the backup tool doesn't work, we'll just need to work without backups until we get a proper bzr backend [11:12] or use different, less frequent backups "by hand" [11:14] So, you want me to send clarifications about publishing requirements and disk space requirements? [11:14] to you and elmo? [11:15] Anything else? [11:18] i think that's all. and where you want the partition's mountpoint to be [11:19] exactly what machines it needs to be on [11:19] stub, is staging being updated every day? [11:19] yes [11:20] SteveA: okay, I'll get clear requirements from lifeless (writing email now). [11:21] stub: i'm merging my LaunchpadBrowserRequest thing with pqm now [11:22] SteveA: ok [11:22] SteveA: is that the thing we talked about yesterday? [11:22] ddaa: it makes things easy for the traversal code you need to write, yes [11:23] I'm starting to block on it (I can still work on pending sql pach work for a day or so) [11:25] ddaa: so, once pqm has done its stuff, i'll switch to your branch, and send you a patch that does the things you need [11:25] Lovely. [11:41] stub: SQL trivia [11:41] SteveA, I really need the review for my language pack branch [11:41] SteveA, would that be possible? [11:41] sure [11:42] is it ready on the pending reviews page? [11:43] yeah [11:43] I have a Branch table, with a foreign key started_at to RevisionNumber. And RevisionNumber has a foreign key branch to the Branch table. How do I add a constraint so that branch.started_at.branch == branch? [11:44] carlos.perello@c.c--2004/launchpad--language-pack-export--1 [11:44] SteveA, yeah [11:46] (where started_at can be NULL) [11:47] ddaa: Generally you don't [11:48] stub: I guess you could use a procedural constraint. How do you generally draw the line here? [11:49] ddaa: I think it depends on how many different components of our systems need to update those tables. [11:49] mh [11:50] RevisionNumber would only be updated by Taxi. But Branch.started_at could be updated by any number of components, including the web UI. [11:50] ddaa: We can do it with a trigger, but I doubt the extra complexity is worth it if we can be fairly sure the code that updates those tables do the right thing. [11:51] Bah... I guess I could add an assert in the database class. === freeflying [n=rockie@61.190.65.16] has joined #launchpad [11:52] stub: thanks [11:55] carlos: have you checked out the database stuff in that branch with stub? === peterbe [n=peterbe@62.232.38.28] has joined #launchpad [11:57] ddaa: I think we can do it with a foreign key constraint. If you paste what you have I can update it. It involves making RevisionNumber(branch, id) UNIQUE and declaring a FOREIGN KEY (id, started_ad) REFERNECES RevisionNumber(branch, id) on Branch [12:00] stub: you rock [12:00] hmm [12:00] SteveA, I don't remember it.... === carlos takes a look to the branch === jinty [n=jinty@205.134.224.215] has joined #launchpad [12:02] SteveA, stub, do we need to check the additions to the security file? [12:03] didn't know that... [12:03] they look like the minimum you need [12:03] stub: here's what the patch currently looks like [12:03] https://chinstrap.ubuntu.com/~dsilvers/paste/fileHhw8IB.html [12:03] no garantee it's even valid sql at this point :) [12:05] I'm not sure the extra UNIQUE constraint is really necessary as RevisionNumber.id is already unique (being a primary key), but maybe postgres requires it. [12:06] ddaa: The extra UNIQUE on the two columns is required to allow a foreign key reference to those two columns [12:08] there's a TODO in the patch at the place where I think the constraint shoud be added (but you own that anyway...) [12:15] Who here knows about the GPG interface in launchpad? === shawarma [n=sh@3E6B503C.rev.stofanet.dk] has left #launchpad [] [12:18] can someone check to see if pqm has hung? [12:19] Kinnison: UI or IGPGHandler stuff? [12:19] jamesh: the latter === Kinnison wants to know if there's an easy "I have a 64bit keyID, can you give me, 1. the key and 2. the Person who owns it" type interface [12:21] I think I can get the Person record reasonably easily [12:21] but I need to know how to extract the key using the launchpad infrastructure [12:22] I need the literal key data for the gpg verification stuff for package uploads === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [12:23] Kinnison: getUtility(IGPGHandler).retrieveKey(keyid) seems to work for short IDs as well as fingerprints [12:23] doing an import if necessary [12:23] ddaa: You are deleting the contents of Branch, but there are rows in ManifestEntry that reference stuff in there. [12:24] erm... c/Branch/Revision [12:24] Kinnison: of course, if you have the Launchpad person, you should have full fingerprints for the user's keys === Seveaz [n=seveas@seveas.demon.nl] has joined #launchpad [12:24] jamesh: I have a 64 bit keyid, that's *IT* [12:25] Kinnison: is this keys not registered in Launchpad then? === stub confuses himself [12:26] jamesh: it might be in launchpad, I don't know yet [12:26] jamesh: I've just been presented with a clearsigned text file [12:26] jamesh: I can get the keyid from that [12:26] jamesh: from there, I have to find everything else out, including whether or not the file was tampered with [12:27] stub: I'm pretty sure I checked out with Keybuk about that... [12:28] making a full update would be a big pain :( [12:28] Kinnison: okay. There are two interfaces here: the IGPGHandler stuff will let you retrieve the key (from the keyserver), and can do so by the short ID [12:28] stub: I have to go to lunch now, back in about 45 mins [12:28] Kinnison: the IGPGKeySet interface lets you see keys the Launchpad database knows about [12:29] jamesh: will the IGPGHandler literally give me the key as a string? [12:30] Kinnison: it gives you an object representing the key, so you can get its fingerprint, uids, etc [12:30] ddaa: There are only 4 manifestentries on production [12:30] jamesh: I want, quite literally, the keydata [12:31] jamesh: *OR* I want to know the full path to the keyring that the IGPGHandler has just imported a key into [12:31] jamesh: which of those two can be supplied? [12:32] Kinnison: the keyring would be $GNUPGHOME/pubring.gpg [12:32] jamesh: thanks. [12:33] jamesh: and that's configured, simply by doing blah=getUtility(IGPGHandler) ? [12:33] jamesh: or do I have to do something to set stuff up before I can rely on $GNUPGHOME/pubring.gpg being present? [12:33] Kinnison: are you sure the IGPGHandler.verifySignature() method wouldn't be appropriate? [12:34] The import stuff has a very very very specific wrapper around the gpgv implementation [12:34] at this point in the game, I don't want to not use it [12:34] elmo trusts the handler I have, it's important not to lose that level of trust to begin with [12:35] Or are you telling me that I can simply ask the IGPGHandler to verify a bit of clearsigned content and it will not only tell me whether or not it is valid, but who signed it etc, without first being primed with the key? [12:36] let me do a quick check [12:38] carlos: reviewed [12:38] Kinnison: gpg = getUtility(IGPGHandler); sig = gpg.verifySignature(clearsigned_data) [12:38] Kinnison: sig.fingerprint is the fingerprint, sig.plain_data is the associated data [12:39] jamesh: even without feeding it keys first? [12:39] Kinnison: the gpg config is set to auto-key-retrieve [12:39] right [12:40] and then I can do getUtility(IGPGKey).selectBy(fingerprint=sig.fingerprint) [12:40] yes? [12:40] yep [12:40] well, IGPGKeySet [12:40] and getByFingerprint() [12:41] if you get a key record, you can then get the person object [12:41] cool, ta [12:42] ddaa: ping [12:42] jamesh: and if it's unable to get the key? [12:42] jamesh: or if the data is damaged? [12:43] Kinnison: the key record? [12:43] Kinnison: if IGPGKeySet.getByFingerprint() returns None, then the key has not been registered in launchpad [12:43] jamesh: consider a clearsign by a key never uploaded to the keyserver [12:43] jamesh: such that the gpg instance can't fetch it [12:44] Kinnison: then the signature verification would fail [12:44] Kinnison: but all keys registered in the Launchpad database come from the keyserver network [12:44] (the registration process asks you for the key fingerprint, and then retrieves the key from the keyserver) [12:46] jamesh: aye, but we have to consider uploads from people who are not registered and fail gracefully [12:46] jamesh: so what happens if the verification fails? do I get "None" back? a reason, or an exception raised? [12:46] Kinnison: that would be a policy decision. [12:47] Kinnison: yep. If the verification fails, verifySignature() returns None [12:47] urgh [12:47] no reason? [12:47] SteveA, thanks [12:47] nope [12:47] not good enough then [12:48] lifeless: ping [12:48] where is the implementation of IGPGHandler? === Kinnison will have to augment it to return a reason [12:48] ctags [12:48] lib/canonical/launchpad/utilities/gpghandler.py [12:48] jamesh: ta [12:48] the other half is pyme :) [12:48] idtools ;-) === jamesh thinks pqm has hung [12:50] looks like pqm 398 0.0 0.0 2280 860 ? S 10:53 0:00 nc -l -p 2401 -e /home/pqm/arch/queue/workdir/rocketfuel@canonical.com/rocketfuel@canonical.com---launchpad--devel--0/launchpad/sourcecode/cscvs/,,repoCatalog/CVSROOT/server [12:51] lifeless, ddaa: looks like some cscvs stuff is hanging pqm [12:52] Kinnison, do you require sign-only keys to work? [12:53] kiko: given that the key has to be in launchpad for verification and identification, I'll be happy with whatever makes it into launchpad [12:53] I'd like for signing-only to work [12:53] Kinnison, yeah, bug 1972 would be great to fix [12:53] Malone bug #1972: Problem validating sign-only GPG key Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: Celso Providelo, Status: Accepted http://launchpad.net/malone/bugs/1972 [12:53] jamesh, would you be able to help us debug 1972? [12:53] wow [12:53] kiko: It may be essential for the distro team [12:53] who develop Ubugtu? [12:54] jamesh, it requires some gpgme research, I think [12:54] carlos, Seveaz [12:54] cool [12:54] kiko: I added a comment a few hours ago. Does it sound like a possible reason? [12:55] let me check === crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #launchpad [01:02] jamesh, that's an analysis of the second part of the problem [01:02] jamesh, I'm going to file a new bug on it [01:02] jamesh, I'm asking more about the fact that sign-only keys don't work [01:04] kiko: that they don't work for op_encrypt(), or that we offer no method to register such keys? [01:07] jamesh, I think the latter is intractable :-) so it's the former. === Kinnison [n=dsilvers@haddenham.pepperfish.net] has joined #launchpad === Albaraha [n=Albaraha@82.194.43.173] has joined #launchpad [01:15] err sorry [01:15] the opposite, jamesh === carlos thinks he lost some code at some point === camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has joined #launchpad [01:19] kiko, didn't you asked me to change the validation function from helpers to potmsgset a couple of weeks ago? [01:22] stub: SteveA: back [01:22] kiko: okay. First thing we need to do is expose subkey information on IPymeKey instances. That'll give us can_encrypt, can_sign, etc attributes for each subkey [01:23] kiko: if a key has no encrypting subkeys, then we'll need to fall back to a separate "signing key" registration scheme like what Kinnison described in the bug [01:24] stub: manifestentry.changeset is always NULL [01:25] kiko: we'd probably want to note the fact that a key has only been registered for signing in the gpgkey table (an extra bool column should do) [01:25] therefore I can safely delete all changeset/revision records [01:25] ok [01:26] kiko: actually, we won't necessarily have to expose all the subkey information -- we can just have a key-level can_sign, can_encrypt, etc attributes [01:26] calculate those once [01:26] jamesh: lifeless has reset pqm. stub, elmo and znarl also know how to do this and have rights to do so, for future reference [01:27] carlos, I did, yes. [01:27] carlos, and AIUI you did it! [01:27] I know [01:27] but the language pack branch lacks that change [01:27] and last merge with rocketfuel was last week... [01:28] so I wonder if I have an unmerged branch... [01:28] jamesh, but how are we going to validate the key if we can't encrypt? only by using a scheme such as Kinnison suggested. [01:28] ah [01:28] that's what you're saying. [01:28] jamesh, that sounds perfect [01:29] jamesh, could you cook up a patch? as soon as that's landed we can work on registering sign-only keys [01:30] kiko: sure. [01:30] kiko: do you want subkey information available, or just the summary can_sign,can_encrypt,etc attributes? [01:30] or both? [01:34] jamesh, hmmm. I don't think I need the subkey for anything -- I just need to be able to encrypt or sign content depending on the capability of the subkeys -- so just the summaries are fine. Kinnison, do you need specific subkey information? [01:34] kiko: we won't be able to encrypt or sign the message to the owner of a sign-only key (unless we are signing with a "launchpad" key) [01:35] kiko: we can only verify the signatures made with that key [01:36] stub, hi, around? [01:36] yes === camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has left #launchpad ["Leaving"] [01:37] stub, about my request to change the rawimportstatus field [01:37] stub, why do you think we need to reset the rawfile field? [01:37] jamesh, err, yeah, what you said [01:39] stub, the constraint is that you cannot have rawfile as null if rawimportstatus is 1 [01:39] sorry [01:39] stub, the constraint is that you cannot have rawfile as null if rawimportstatus is > 1 [01:39] ddaa: If I replay a patch from the middle of a branch into rocketfuel, will that cause issues later when I merge that branch in? [01:40] carlos: The CHECK constraint is "pofile_rawimportstatus_valid" CHECK (rawfile IS NULL AND rawimportstatus <> 2 OR rawfile IS NOT NULL) [01:40] Kinnison, you need to sync-tree afterwards [01:41] kiko: why on earth would I need to sync-tree? I don't want to prevent it from merging patches from earlier on the branch [01:41] stub, yeah, more or less is the same [01:41] stub, it's less restrictive than what I said [01:41] kiko: I have a self-contained patch for adding reason information for a failure on signature verification to IGPGHandler [01:41] carlos: I can't remember what the original request was [01:41] kiko: It's on my uploader branch, which obviously contains stuff not yet ready for merging [01:41] stub, but the way we develop the code, rawfile will not be NULL unless rawimportstatus is == 1 [01:42] stub, set rawimportstatus =2 [01:42] lifeless: ping? [01:42] stub, when it's 4 or 1 and rawfile is not null [01:43] eh? [01:43] stub: thanks for that approval === Kinnison renames the patch on his branch [01:43] stub: [01:43] carlos: UPDATE POFile SET rawimportstatus=2 WHERE rawimportstatus in (1,4) and rawfile is not null? [01:43] UPDATE POTemplate set rawimportstatus=2 WHERE rawimportstatus=4; [01:43] UPDATE POFile set rawimportstatus=2 WHERE rawimportstatus=4; [01:44] stub, yeah, that's more complete [01:44] stop confusing me! [01:44] stub, I just pasted you the request I did === stub bursts into tears [01:44] ok [01:44] I need this: [01:44] UPDATE POFile SET rawimportstatus=2 WHERE rawimportstatus in (1,4) and rawfile is not null; [01:44] UPDATE POTemplate SET rawimportstatus=2 WHERE rawimportstatus in (1,4) and rawfile is not null; [01:46] ok ;) [01:46] carlos: done [01:46] stub, thanks! [01:48] kiko: the sync-tree thing is only for replay --reverse [01:49] and I'm not sure about the specific situation there's a problem with that === einheit [n=steve@195.182.78.95] has joined #launchpad [01:50] Kinnison: the main issue you'll have is that star-merge, update, etc. determine which revision of a branch a tree is up to date to by looking at the latest patchlog for that branch present in the tree. [01:50] I *guess* I could just star-merge my branch [01:50] since everything on it is fairly self-contained === Kinnison ponders doing that [01:51] IOW if you try to star-merge that branch into rocketfuel, or any branch that merged rocketfuel after that, it will not do the right thing. [01:51] If I can get a review for https://chinstrap.ubuntu.com/~dsilvers/paste/fileJoJOjK.html then I can do that [01:51] anyone? It's very small [01:51] ddaa: I guessed it might make star-merge hiccough [01:51] ddaa: so I'll not replay, but instead merge as normal [01:51] thusly I need that gpg patch reviewing [01:51] jamesh: any chance you can cast your eye over: https://chinstrap.ubuntu.com/~dsilvers/paste/fileJoJOjK.html ? === jamesh looks [01:51] Kinnison: that's one of the things that mesh-merge meant to fix [01:52] ddaa: I can appreciate that === asmodai [n=asmodai@sakko.demon.nl] has joined #Launchpad [01:52] Kinnison: that's going to cause problems with multithreaded apps [01:52] (like Launchpad) [01:53] jamesh: aah, I figured each thread would have its own IGPGHandler instance [01:53] Kinnison: nope. There's just one of each utility [01:53] bugger [01:53] the launchbag is special though [01:53] as it puts its state in a thread local === jamesh thinks IGPGHandler would be a lot simpler if it used exceptions [01:54] jamesh: in lua, it'd be easy, I'd just "return nil, reason" [01:54] jamesh: but in python, that'll cause tuple joy === Kinnison sighs === Kinnison ponders how to fix it [01:55] Kinnison: one way would be to turn verifySignature() into verifySignatureEx(), which returned the error message, and make verifySignature() a wrapper around that [01:55] (that's not a very good method name though) [01:55] ddaa: is the python import now unblocked? [01:55] jamesh: It would do for now though, wouldn't it? [01:55] ensureSignature? [01:55] which would raise [01:56] SteveA: now that the requirements are clarified, i'll proceed with putting the stuff in place and coordinating with jblack and elmo. [01:56] so make verifySignature() wrap _verifySignature() and ensureSignature() which wraps and raises? [01:56] so, if anything it's blocked on me ATM [01:56] ddaa: okay. please keep me and lifeless up to date about how it is going [01:56] SteveA_: or, make verifySignature() wrap ensureSignature() and swallow the exception? [01:57] Kinnison: that's what I was suggesting -- make the old function a wrapper around the new function [01:57] jamesh: okay === Kinnison has to dump his ctrlproxy, back in a tick === Kinnison [n=dsilvers@217.205.109.249] has joined #launchpad [01:58] jamesh: I'm gonna do that now, one sec [01:59] ddaa: importd-archivelocationconflicts [01:59] Iguessyouaremissingaspaceinthere [02:00] ddaa: and appears to have random cruft in it [02:00] ddaa: search for buildd/debian.py in https://chinstrap.ubuntu.com/~jamesh/pending-reviews/david.allouche@canonical.com--2004/launchpad--importd-archivelocation--1/filtered-diff === camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has joined #launchpad === camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has left #launchpad ["Leaving"] === ddaa scratches head [02:01] weird [02:01] conflict related [02:01] but there is too much noise for me to tell who did what [02:01] I'll fix that [02:01] right now [02:01] thanks [02:03] ok, I cannot finish this tonight, thats for sure, but its looking positive [02:03] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] small refactor of the request type used in launchpad, to make certain traversal tricks more straightforward. (patch-2619: steve.alexander@canonical.com) === matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:04] good morning! [02:04] hi matsubara [02:04] lifeless: that's okay, I got python import stuff to do, and some launchpad stuff once SteveA_ sent me a patch. I will not be idle. [02:04] ddaa: my change that you need has landed in RF [02:05] SteveA_: and my pony? === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:05] SteveA_: I mean, thanks :) === niemeyer [n=niemeyer@200.138.33.249] has joined #launchpad [02:06] hello niemeyer [02:06] kiko: while I'm at it, would it be helpful if GPGHandler.encryptContent() explicitly raised an exception if can_encrypt==False? [02:06] Hiho! [02:06] ddaa.fork() [02:06] ddaa: please remind me of the branch i should get to work on a patch for your urls and traversal [02:06] ddaa: Gubby is quite interesting.. I am curious to try it :) [02:06] -ENOTIMPLEMENTED [02:06] rats! [02:07] (i'm at home rather than in the office, with the heating engineer taking the boiler apart) [02:07] SteveA: david.allouche@canonical.com--2004/launchpad--sprint--0 [02:07] ok [02:07] kiko: (it already raises an exception in op_encrypt(), but this would make it obvious that the reason is a signing-only key) === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:07] hi salgado [02:07] niemeyer: http://ddaa.net/blog/gobby-first-look [02:08] some essay about collaborative text editing [02:09] hi SteveA [02:09] jamesh: https://chinstrap.ubuntu.com/~dsilvers/paste/fileQrfq6P.html [02:09] lifeless: okay, I found the problem, the -1 branch comes from launchpad--production--1.35, instead of rocketfuel, my confusing [02:10] jamesh, yes, it would [02:11] ddaa: "When a user loads a document, the whole document appears with the background colour of that user" [02:11] ddaa: Interesting, that was the first issue I noticed as well :) [02:12] fixing that is high on their todo list === freeflying [n=rockie@61.190.65.16] has joined #launchpad [02:13] hey salgado [02:13] no review for me then [02:14] Kinnison: first problem: put the exception in interfaces/gpghandler.py rather than utilities/gpghandler.py [02:15] hey kiko, no review for me either? :-) [02:15] mpt, I'll do it this morning, I was lost inside teammembership bugs [02:15] thanks [02:15] one of them is very big though [02:16] mpt, can you guide salgado into doing the right thing wrt shipit searching? [02:16] Kinnison: other than that, it looks good. [02:16] yep, I'll have a look [02:20] ddaa: Do you store your own baz configs somewhere or should I just take the rocketfuel one and replace the launchpad branch with your branch? [02:21] mh [02:21] the latter should be good [02:21] (if it's not, it's a bug) [02:21] only importd integration testing requires special stuff === carlos -> lunch [02:25] salgado, I will send you an updated patch with tests in a bit [02:25] salgado, will you review it? [02:26] niemeyer: btw, do you know about "baz switch"? [02:26] ddaa: Yep [02:26] baz switch is the devil's work! [02:27] ddaa: Considering I have a revlib, why would it help me? [02:27] kiko: then I think we have establish that the devil is lactose-intolerant :) [02:28] niemeyer: its easier to switch launchpad, that keeps all your unversioned files and does not touch the nested trees [02:29] ddaa: Ah, understood. Wouldn't help me right now, given that the trees I'm downloading are pristine. [02:30] are a rule, I prefer to use a single launchpad setup and switch trees around, I get easily confued otherwise (e.g. editing files in the wrong tree) [02:30] but YMMV [02:30] if I keep a single tree I can't work === azeem [n=mbanck@host109.natpool.mwn.de] has joined #launchpad [02:32] hey azeem [02:34] lifeless: mirorring importd-archivelocation--2 right now, without the unrelated stuff [02:35] hey [02:35] kiko, sure (sorry for the delay) [02:41] jamesh: okies, I'll put the exception there and merge, thanks dude [02:42] jamesh: although that means it'll be canonical.launchpad.interfaces.GPGVerificationError -- is that what you wanted? === cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === Kinnison [n=dsilvers@haddenham.pepperfish.net] has joined #launchpad [02:46] Hummm.. [02:46] cur.execute(sql) # Will die on a bad patch. [02:46] psycopg.ProgrammingError: ERROR: column "owner" contains null values [02:46] DIE [02:46] Yes, it's dead.. :) [02:47] mh? [02:47] is that something I need to worry about? [02:48] jamesh: sorry, if you said anything, I missed it. gnome-terminal went arse-over-tit [02:48] ddaa: Only if you want to.. [02:48] then I won't === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad [02:52] hey keybuk [02:52] heyhey [02:52] SteveA: Do you agree with jamesh that the GPGVerificationError should be in canonical.launchpad.interfaces.gpghandler rather than canonical.launchpad.utilities.gpghandler ? [02:52] yes i do [02:52] okay, I'll do that [02:52] thanks === Kinnison just wanted confirmation [02:52] it seemed odd to me [02:53] anyone implementing the interface needs to be able to use the error [02:53] so the interface depends on the error class [02:53] right === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad === azeem [n=mbanck@host45.natpool.mwn.de] has joined #launchpad [03:00] ddaa: Branch sprint--0 is up and running.. [03:00] running? [03:01] you mean belly-crawling, right? [03:01] SteveA: hi, do you have some time today for review "dapper-open" related changes ? [03:01] ddaa: Heheh :) [03:06] Merge to rocketfuel@canonical.com/launchpad--devel--0: set language and text direction in translation forms. Fixes bug #74, r=lifeless (patch-2620: james.henstridge@canonical.com) [03:07] cprov: yes, i will have [03:10] SteveA_: great, please, let me know when you are able to do it: 3 branches, 2nd pass builddUI, nominatedarchindep (small code and check spec language) and gzip-buildlog [03:10] SteveA_: thanks in advance. [03:10] SteveA_: I'm only punting cprov on stuff needed for dapper-open now, so it'd be nice if the review team were aware that anything cprov or I ask for is likely to be critical [03:11] Kinnison: okay [03:11] Also, mark will be landing a huge package UI overhaul at some point [03:11] that's kinda important too === gneuman [n=gneuman@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === zygis [n=zygis@84.240.58.9] has joined #launchpad [03:36] stub: ping [03:36] cprov: pong [03:36] stub: didn't you approve my nominatedarchindep DB patch sometime last week ? [03:36] yes [03:37] stub: PendingReviews says the opposite, may I repair it ? [03:37] yes please ;) [03:37] stub: will do, thank you ;) [03:44] I take it that GPGKey.owner == the literal owner, rather than some db object owner? [03:45] cprov: did you mean to add the branches I just removed back to PendingReviews? :) [03:45] Kinnison: it would be the database person who claimed the key [03:46] Kinnison: (who would have proved their ownership by decrypting a mail sent to them) [03:46] cool, so it's exactly who I want [03:46] Kinnison: As far as I'm aware, yes. Feel free to stick in a comment clarifying and confirming this [03:46] stub: if I have time === Kinnison goes back to frantic coding [03:46] jamesh: sorry ? did you had the locks .. was using editmoin .. let's check [03:48] SteveA [03:50] jamesh: ohh, sorry, I did the mess, will you repair or should I ? [03:51] BjornT: hey dude, just so you know: it doesn't look like anyone responded to your review request for PBR yet. I wasn't too anxious to nag anyone for it last week either, because I was plenty busy with my own patches, unfortunately. [03:52] cprov: no problem. I just redid the edit [03:52] jamesh: right, I apologize myself .. [04:00] so before each standalone pagetest runs do we reset the database? === janimo [n=jani@Home03207.cluj.astral.ro] has joined #launchpad [04:05] jblack, ping [04:06] bug 2946 [04:06] Malone bug #2946: System error when renaming a product to the same name of a existing product. Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: neuman, Status: New http://launchpad.net/malone/bugs/2946 [04:06] bug 2908 [04:06] Malone bug #2908: Trying to insert or change a poll option with same name causes crash! Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/2908 [04:06] Seveas: this rocks, man [04:06] matsubara, didn't you fix the second bug there, 2908? [04:06] kiko [04:06] i'm talking with gneuman about them [04:06] yep [04:07] stub, did you updated production already with latest code? [04:07] carlos: yes [04:07] stub, ok, thank you [04:07] nope, gneuman is fixing it [04:07] okay === lamont [n=lamont@15.238.6.221] has joined #launchpad [04:14] bradb: yeah, i saw that you were busy, landing a patch which conflicted with mine ;) === janimo [n=jani@Home03207.cluj.astral.ro] has left #launchpad [] === bradb is resolving conflicts here too [04:17] It is interesting to note though that, in the absense of nagging, the patch didn't get reviewed. [04:17] absence. [04:17] that too [04:17] my spell checker is set to fr right now, so every word's a spelling mistake :P === bradb does something about that [04:23] is there a trick with pagetests when it refuses to match on what you supply? [04:23] sometimes [04:24] it's hard to understand why it fails -- the mental model suggested is violated severely upon failure [04:24] salgado: ok, it's time for our first ubuntu vote [04:24] it's a vote for ubuntu-dev [04:24] how do i set it up? [04:25] sabdfl, in people/ubuntu-dev/+polls there should be a link to create a new poll === zyga_ [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [04:28] kiko: there's a fundamental problem in doctest [04:28] kiko: that is, there is totally separate code that does the checking and presents the output [04:28] SteveA_, tell me more about it -- I might just give up here. [04:29] I see. [04:29] kiko: so, if there are any discrepencies between the algorithms of each [04:29] you get problems [04:29] because part 1 fails the test, and part 2 gives you perfect output for example [04:29] the solution: make the same code paths do both jobs [04:30] SteveA_, or have a single codepath? :) [04:30] yeah [04:31] ok [04:31] meanwhile what should I do with a test that should succeed but fails? [04:31] Kinnison: What happens if we don't run Gina today or this week? [04:32] If a gina run is not complete by Monday, we can't open dapper [04:32] kiko: send me the details for analysis, perhaps... [04:32] SteveA_, okay, good idea. I'll commit with these sections omitted and then send you the full file. [04:32] okay [04:32] SteveA_, think you can comment on my top-failures report now? [04:32] the last time we did this, it was really weird [04:33] because i couldn't reproduce it, and then later you couldn't either [04:33] kiko: did you mail it to the list? [04:33] Kinnison: And that would be bad? (I'm not on the distro team remember - I'm not sure what the actual fallout is) [04:33] SteveA_, I thought I did -- it was a reply to your email [04:33] okay. i can't get mail just at the moment [04:33] will be doing so shortly [04:34] stub: Very simply, the distro team are idle until dapper is open [04:34] stub: Do you block the entire team [04:34] s/Do/So/ [04:34] ok ;-) [04:36] SteveA_, yeah, but this time it's a stabler error [04:37] SteveA_, is the database reset every time you run a standalone pagetest? [04:38] it should be [04:38] if not, it's a bug [04:38] it is [04:38] although, all the standalone tests are in one story, i think [04:38] which is not ideal [04:38] althoughalthough i'm not sure [04:42] salgado, sent patches. === heyko [n=heyko@p54847FDE.dip.t-dialin.net] has joined #launchpad [04:43] mpt: hi [04:43] cprov, can you grant me access to bug 1457 please? [04:43] Error: I cannot access this bug [04:47] hi zyga [04:47] bradb, bug 3059 [04:47] Malone bug #3059: I am unable to view bug 1457 because targetname is not available to pagetitle. Fix req. for: malone (upstream), Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/3059 [04:47] wow, baz diff took 40 minutes [04:47] mpt: I was asking carlos about the possibility of chanigng layout of translation pages [04:47] zyga: in what way? [04:48] mpt: the idea is: move all the stuff from side columns into a box at the top of the page [04:48] sounds good so far [04:48] mpt: use full horizontal space available for translations [04:48] mpt: put msgid in one column [04:48] mpt: hard linking the tree should speed that up (but can cause problems if you aren't using fl-cow) [04:48] mpt: put msgstr as a textarea in another column [04:48] jamesh: what's fl-cow? [04:48] hard linking just the patch logs would probably speed things up without needing fl-cow though [04:48] this solves problems with longish msgid when it's hard to scroll back and forth to read both things [04:49] kiko: Thanks, I'll take the bug. I'll try to fix it today. [04:49] mpt: a little shared library that implements "copy on write" links [04:49] zyga: where would the suggestions and translations from elsewhere go? === bradb wonders why Safari doesn't seem to respect rb labels [04:49] mpt: put suggestions beneath both items and provide a button that replaces current textarea content with suggestion [04:49] bradb, it stops me from doing part of my work :) [04:49] mpt: so if a particular file has two file names, and you try to open it for editing, it breaks the link and copies the contents first [04:49] mpt: require confirmation if textarea has been modified [04:49] mpt: done :) [04:50] kiko: I can do it after I land the sortorder widget patch. [04:50] cool [04:50] bradb, any clue why it happens? [04:50] kiko: done, for 145[78] , check it out. [04:50] thanks [04:50] kiko: no probs [04:50] zyga: what do you mean "beneath both items"? As in, spanning both columns? [04:51] mpt: exactly, yes [04:51] mpt: in ugly-table-speak that's [04:51] kiko: not entirely, but maybe [04:51] it's weird [04:51] msgidsmsgstrsuggestions and such [04:51] bradb, I've unsubscribed [04:51] kiko: might just be incorrect ZCML configuration. our ZCML config is currently, necessarily, fairly complicated for privacy [04:51] bradb, to make sure you can reproduce the issue [04:52] zyga: That would be a bit weird. But I agree, there should be more horizontal space and less vertical space for each item. I have a branch waiting for review that fixes that a little bit, and I'm hoping to work on it some more today [04:53] mpt: is there any way to test experimental branches of rosetta? [04:54] zyga: Not unless you're a Launchpad developer [04:54] mpt: too bad [04:54] or rather, not unless you're an *extremely patient* Launchpad developer [04:54] :D [04:57] mpt: I'm generally suggesting something that will be more less similar to kbabel/gtranslator that allow translators to focus on one message [04:58] oh, jesus, salgado! [04:58]

[04:58] VERY IMPRESSIVE PROPOSITION TEXT WE'VE GOT THERE :-) [04:58] https://launchpad.net/people/ubuntu-dev/+poll/tb-nomination-mjg59-2005 [04:58] i'll fix the page and the portlets === freeflying [n=rockie@61.190.65.16] has joined #launchpad [05:02] stub: ping [05:02] ddaa: pong [05:02] regarding your XXX [05:03] you say: "We are getting NULL names!", I did not find anything in the production db that would cause null names to occur [05:03] salgado: where is the sampledata url to find a proposition? [05:03] ddaa: We do on the sample data. If we don't have to worry about production, the XXX can go and the constraint reenabled. [05:04] sabdfl, ooops. I guess me and mpt haven't thought there would be a proposition that big. :) [05:04] you say: "Confirm this is OK!" (setting manifestentry.changeset to NULL and removing some foreign key constraints). On the production data, no update is needed as the changeset-foreignkey constraint are not exercised. [05:05] sabdfl, I don't understand your question. you want to find a proposition? [05:05] ddaa: We have to drop the constraint, or we can't drop the columns that the constraint references. [05:05] But I do not understand why you are dropping the manifestentry_branch_fk constraint. I guess that's because of the table renaming, so I can recreate that constraint after the table is changed. [05:05] salgado: yes, i am changing the page, and want to be able to view sampledata [05:06] stub: right, but you do "update manifestentry set changeset=NULL" that's noop on the current data. I'd be adept at putting an "assert" sort of thing here to be sure we can drop changeset.branch without invalidating anything. [05:07] salgado: don't touch those pages, please, or we will conflict [05:07] ddaa: ok. I only tested it against the sample data. [05:07] sabdfl, oh, you want to know for what teams we have polls? if so, they're all registered for the name17 team [05:07] sabdfl, gneuman already has patches on testing those pages.. [05:07] http://localhost:8086/people/name17/+polls [05:07] salgado: Don't blame me for this, https://wiki.launchpad.canonical.com/BasicVoting#head-d7a83410dc7aa45df274ce536fe3c374cc370159 shows quite clearly that the proposition text is in normal font while the poll name is a heading [05:07] stub: okay, I imagine in this area, theory is significantly different from reality. I'll be fixing the sampledata somehow in my branch today. [05:07] mpt, share the blame, you should have QA'd the result. [05:08] guys, this UI is terrible. here are some comments [05:08] true, I never looked at it [05:08] sabdfl, via email? [05:08] niemeyer will help me with fixing anything causes hct go bonkers [05:08] - the proposition is a long piece of text. the title is a header. use them that way [05:08] kiko: no, here, and now, you guys can turn them into email [05:08] and don't touch those pages till my changes land please [05:08] i'm rearranging the layout of the PT and don't want conflicts EVERYWHERE [05:09] stub: thanks for your prompt help, I hope we can get niemeyer unblocked by tonight :) [05:09] ddaa: revoking the manifestentry_branch_fk constraint might have been a mistake. Comment it out, and if it runs, keep it that way. [05:10] stub: ack [05:10] so, the terminology of "options" is poor [05:10] what's a name, then a "short name"? [05:11] why is the "show all options" item a separate page? why not just have that on the core page? [05:11] why is there no ability to edit the poll and proposition? [05:11] at least, before voting starts [05:11] there actually is a poll/+edit [05:11] it's currently untested and broken, which is why gneuman had written tests [05:12] Kinnison: would it be fair to run {warty,hoary,breezy} once a week and {*-updates,*-security} daily? [05:13] the "Show all options" should be labeled "Edit options", as the options are already listed in the main page. my fault [05:13] once we've released breezy, you only want to run warty,hoary,breezy once [05:13] since they don't change [05:13] salgado: except that they are BADLY listed [05:14] and just take *AGES* [05:14] only the name is listed [05:14] the option should have a name and title [05:14] We want to run -updates and -security regularly. Perhaps even once per hour [05:14] for heavens sake, everything else uses that convention, why does this not? [05:14] or we may only want to run them on-demand [05:14] best to ask pitti and elmo about that [05:14] why is the proposition in the details portlet? [05:14] why does the details portlet not have the date ending of the vote? [05:15] because it hasn't opened yet [05:15] that's dumb - somebody looking at it needs to know when it opens, and when it closes [05:17] I did that because in the list of polls for a team, the mockup only display the close dates of polls that are already open [05:17] that's equally dumb [05:17] guys, don't get too fancy with sometimes displaying one bit, sometimes another bit of information [05:17] keep it simple [05:19] kiko: /+edit is indeed borken [05:19] so, i take it there is no page test [05:19] there actually is a poll/+edit [05:19] it's currently untested and broken, which is why gneuman had written tests [05:19] mpt: did you read the above? [05:19] I was in the process of merging these tests now, but I've given up [05:20] will the POLL even work? [05:20] yes, I do have a lot of tests for that [05:22] sabdfl: yes, I need to add the closing date to not-yet-open polls, and then go through the rest of the pages to make them match the spec [05:23] I hadn't looked at them yet, and should have [05:24] mpt: ok. don't look at them till my stuff lands, ok? or look at them, make notes, but don't change till it lands [05:24] thanks [05:24] sure, I won't get to it today anyway [05:26] salgado: which poll can i actually vote on in the sampledata to see those pages? [05:28] sabdfl, you should be able to vote on any open poll from http://localhost:8086/people/name17/+polls [05:28] (logged in as yourself) [05:29] salgado: err.. i don't know my sampledata login! [05:29] what's the password? [05:29] sabdfl, test [05:29] mark@hbd.com? [05:29] yep [05:32] salgado, mpt: all of the dancing around with showing the date of opening and closing differently depending on whether or not it is already open or clsed is CLASSIC waste of effort [05:32] i'm sorry guys, i'm being harsh, but we don't have time for that [05:32] there is so much to do, this should be straight: [05:32] Opens: date [05:33] Closes: date [05:33] DONE [05:33] instead we have 20 lines of TAL, which turns out to be broken for the initial case [05:33] please don't do that any more [05:36] mpt, salgado: please ack [05:37] sabdfl, sure. I very much prefer keeping it like you suggested, but I was following the spec [05:37] thanks. mpt? [05:37] sabdfl: yes, as I said above, that needs fixing [05:38] stub, what's "Oscar the grouch"? [05:38] mpt: no, the part i am asking you not to repeat is the closes in: closed on: nonsense [05:38] i know you like to do that stuff [05:38] but we don't have the time now [05:39] we are STILL trying to get a 1.0 out that is clean and consistent [05:39] salgado: What you are suggesting, except other datamaintenance stuff can be plugged in. See OscarTheGrouch on the wiki [05:39] it takes hours and hours to get that polish right [05:39] we do not need it for 1.0 [05:39] period [05:40] stub, should I add it as a use case there? [05:41] salgado: I've linked the spec to that bug and another one. If you have time to update the wiki page, sure. But the linkage is good enough for now. [05:41] stub, cool. thank you [05:42] sabdfl: That kind of stuff takes about 0.5% of my time, so not doing it isn't going to make a noticable difference (compared with, say, rf-on-bzr), but sure, I don't mind not doing it [05:42] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] remove unnecessary and awkward text from proposed membership page (bug 3022), and clean up the form layout (patch-2621: mpt@canonical.com) [05:47] thanks jamesh [05:57] mpt: ok, thank you [06:01] carlos: ping? [06:01] carlos: I don't seem to be able to upload that gnomebaker sr.po that was posted to rosetta-users [06:02] I seem to get a timeout [06:08] stub: any concerns with gina runs causing request timeouts? [06:09] SteveA: I can't remember how well behaved it is [06:09] what tables does it update the most often? [06:10] Hmmm.... looks like it will cause problems. [06:11] I don't know what tables it updates [06:11] so, not apparent from the security.cfg settings? [06:12] jordi, how big is it? [06:12] nope. [06:12] Keybuk: ping [06:12] ddaa: 'sup? [06:13] Lookking at this, I think I need to kill it and make it commit much more often before trying another run tomorrow. [06:13] stub: gina can be told how often to commit [06:15] Kinnison: Only by increasing the spam it produces because it is tied into the countdown option. I think I did that but thought it had been fixed. === Kinnison would very much like to see the 'spam' it produces [06:16] how do I get it? [06:16] Subsribe to the relevant topics in the launchpad-error-reports mailing list. [06:17] Keybuk: There an issue with ManifestEntry [06:17] it was using a foreign key constraint to Revision(id, branch) [06:17] but now Revisions no longer have branches [06:17] The same issue applies to ArchConfigEntry, BTW === Diablo-D3 [i=diablod3@pool-70-105-255-181.port.east.verizon.net] has joined #launchpad [06:18] hey [06:18] Keybuk: any idea how to restore the constraint? [06:18] stub: who owns that list? [06:18] can I file bugs on launchpad using malone? [06:18] I do [06:18] carlos: 20k [06:18] jordi, it makes no sense... [06:18] Diablo-D3: yes, visit https://launchpad.net/products/launchpad/+bugs [06:18] SteveA, stub ? [06:18] ddaa: is this change part of the landing of your namespace changes? [06:18] hello carlos [06:18] stub: can you approve my subscription? [06:19] or was this just some random change someone made? [06:19] Keybuk: that's part of the branchdatastorage mess, yes [06:19] carlos: worked now [06:19] SteveA, jordi got a timeout uploading a 20K file [06:19] just now? [06:19] carlos: I got it 4 times in a row [06:19] perhaps gina is to blame [06:19] SteveA: 20 mins ago [06:19] Gina is now dead [06:19] Keybuk: the reasoning behind that is that revision can now be shared between branches, what a branch owns is a RevisionNumber [06:19] jordi: try again [06:19] ddaa: if it's part of your "make the Arch* all look like baz-ng" changes; don't worry about it, because those bits of ManifestEntry have changed totally for the baz-ng version [06:19] As of just a few minutes ago [06:20] carlos: what's the url for sr@Latin in launchpad? [06:20] when we land the baz-ng version of HCT, the problem will go away [06:20] Keybuk: thanks, I shall promptly forget the issue [06:20] hrm [06:20] Diablo-D3: what problem are you having? [06:20] Keybuk: what have we just been talking about by the way??? [06:20] how do tag a bug as a feature request? [06:20] that's still waiting on lifeless to decide how to add bzrlib to launchpad [06:20] (as it's in a baz-ng branch, not a baz one) [06:20] carlos: ie, https://launchpad.net/products/gnomebaker/+series/main/+pots/gnomebaker/sr/+upload, but for a sr@Latn file [06:21] Kinnison: hey, you're everywhere! [06:21] Keybuk: the problem also is that the sampledata is affected [06:21] jordi, we don't have yet a way to handle them directly, you will need to upload it as a tarball and I think you will need to upload also the .pot file or the tarball will be discarded (it's a limitation in our system, need to add full support for pofiles with variants in the name= [06:21] Keybuk: so your test suite likely is affected [06:21] so we need to know how to fix it, well, niemeyer needs to know :) [06:21] like I said, probably won't effect the bzr-ng version :p === peterbe [n=peterbe@62.232.38.28] has left #launchpad [] [06:21] that uses Branch + RevisionNumber [06:22] RevisionNumber is transient === matsubara is now known as matsubara-lunch [06:22] and branch is fk'ed by revisionnumber [06:22] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] expose can_{encrypt,sign,certify,authenticate} attributes on IPymeKey (patch-2622: james.henstridge@canonical.com) [06:22] carlos: oh. So how does rosetta handle a language with two encodings? [06:22] define "transient" ? [06:22] carlos: just upoading the "sr" file is not enough I assume? [06:22] RevisionNumber is a table that refers to a particular revision, right? [06:22] i.e. I want to de able to delete all the revision numbers of a branch when updating it if I find that the branch was replaced with something with a completely different history [06:22] so when combined with Branch, it refers to a particular revision in a particular branch [06:23] do I mean Revision? [06:23] and not RevisionNumber? [06:23] I haven't the code on this machine, it's on the desktop [06:23] jordi, no, if you upload the sr@Latn.po inside a tarball using the .pot upload form, it will be imported to sr@Latn's po file [06:23] jordi, but we don't show it in our UI [06:23] it keys the one that's the uuid, not the "revno" [06:23] nod [06:23] Revision is more reliable. But it's not really something you can checkout... [06:23] why not? [06:24] the one with the uuid is Revision [06:24] because you checkout a revision from a Branch [06:24] ok, so it pairs a Revision and Branch [06:24] carlos: I'm fetching a pot file [06:24] I knew it was something like that [06:24] What you _can_ checkout is RevisionNumber, but it's not reliable. === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [06:25] why can't I check out a Branch/Revision pair? [06:25] Revision has the uuid, and Branch has the accessor for the URL [06:25] Because you have no guarantee that the branch that used to contain that revision contains it now. [06:25] that's what the contstraint is for [06:25] (there's an equivalent constraint in the new table) [06:25] The constraint is trouble for me. [06:25] that's your problem :p [06:26] No, that's our problem. [06:26] you can't break existing Manifests [06:26] you can update them to refer to the new details, but you can't take away the history that was there [06:26] There's nothing in existing manifests that references a changeset (aka. revision in the new schema) [06:26] "sorry, you can no longer checkout foo 1.0" is not a viable answer [06:26] huh? all of them do [06:26] the sampledata is just screwy [06:26] Keybuk: if you want to checkout a given uuid you need to ask the supermirror to save them for you. [06:26] all ManifestEntry currently reference both branch+changeset [06:27] not in the production database [06:27] there's no Manifests in the production database [06:27] (at least there shouldn't be) [06:27] because we've not imported anything into the production syste, [06:27] there is some netapplet stuff [06:27] that's bogus sampledata that shouldn't be there [06:27] so we have a problem [06:28] my constraint is [06:28] carlos, jordi: did it work? [06:28] launchpad_hct=> select count(*) from manifestentry where branch is not null and changeset is null; [06:28] 0 [06:28] launchpad_hct=> select count(*) from manifestentry where branch is not null and changeset is not null; [06:28] 5139 [06:29] "When taxiing a third party branch, the branch (url) may have been replaced by something with completely different history, so I need to be able to remove all the revisionnumbers" [06:29] no, you need to just create new Branch records [06:29] DELETE is verboten [06:29] if the URL contains a different branch, it's a different Branch [06:29] SteveA: the upload? I'm waiting for my token [06:29] the supermirror should contain both branches, one for historic interest, the other for current interest [06:30] I need a pot file to upload po files [06:30] I cannot create a new branch record. A branch record for an outside branch is something that is registered by the user in launchpad. === SnakeBite [n=SnakeBit@84.242.143.100] has joined #launchpad [06:30] if there is a Manifest depending on information in that Branch, they can't delete it [06:30] ah, here it is [06:30] because there may be developers doing work based on it [06:30] Keybuk: I think understand what you want, but it's NOT the data model we defined in London. [06:30] then your data model is wrong, and we'll need to fix it [06:30] sadly I wasn't there that week [06:31] HCT is the principal and primary user of Branch/Revision records [06:31] currently yes [06:31] we wouldn't even have them in the database if HCT wasn't using them [06:31] when the sprint stuff is landed, branches and revision will be used by launchpad webapp [06:31] only because of HCT [06:32] for display purpose and to generate all sorts of interesting stats [06:32] you cannot delete historic data that [06:32] is in use [06:32] The user can. [06:32] it must be preserved [06:32] sure, they can on their machine [06:32] but in our system, it must be preserved [06:32] It must certainly be preserved. [06:32] if it's referenced by a Manifest, it's in a source package or tarball that's in the wild [06:33] so you can't drop it from the database [06:33] or the super-mirror, for that matter [06:33] Agreed. [06:33] I suppose so. [06:33] so if you find a different branch history at the URL to last time, you should treat it as a different branch and just add new records [06:34] you can alter the URL for the branch to point to something like /+historic/joebloggs/DATE or something [06:34] (old branch, that is) [06:34] Keybuk: do you understand what is my problem? [06:34] yes [06:34] I think so, anyway [06:34] So, the situation is that niemeyer is blocked on the schema being stabilised. [06:34] we pull from a third-party branch, at a given URL [06:34] And I'm hard pressed for doing python imports. [06:34] and today we discover the branch there has nothing to do with what was there (and recorded in the db) yesterday === jinty [n=jinty@205.134.224.215] has joined #launchpad [06:35] is that about right? [06:35] Right. [06:35] so when that happens, I suggest that we rename the URL for the old Branch (still keeping it on the supermirror) and import the new branch as a new branch [06:35] that way we have both the historic user's branch on the mirror, and the current state [06:35] So I'd like you to discuss the issue with lifeless, I'll publish the current state of by db work in a matter of minutes, and come with a resolution. [06:36] which actually is a cool service, when the user discovers they rsync'd over the top of the wrong branch and lost it, they can reclaim it from our mirror [06:36] That would be nice. [06:36] and then you won't break the ME constraint, because the old Branch and Revision records will still be there -- just the url of the old Branch will have changed to something else [06:37] ddaa: the object you get to at $person/+branch/+junk/whatever is an IBranch ? [06:37] I would just like you to work with lifeless to change the model we designed in london so you are happy. So the schema is essentially stable and niemeyer can start working. And so I can work on the python import instead of bouncing between you and lifeless. [06:37] Keybuk: do we have a deal? [06:37] ddaa: and if so, is the IBranch.owner the $person ? [06:38] SteveA: first question: yes [06:38] SteveA: second question... mh... the $person will be the IBranch.author if it's not None or the IBranch.owner. [06:39] it will be IBranch.author, unless .author is None, in which case .owner ? [06:39] I need to check, actually... [06:39] ddaa: the model in London (db schema wise) was fine [06:40] Keybuk: obviously, it's not [06:40] I think you misunderstand me [06:40] the database model, as in the SQL, is fine [06:40] you have an assumed usage model, which may not be [06:40] My assumed usage model is backed by launchpad webapp code. [06:41] I understand you want a layer of indirection. [06:41] Between the user-visible url and the actual branch [06:41] but it's not there [06:41] do I? [06:41] I don't think I do [06:42] because I need the URL too [06:42] so they need to be different for different Branches [06:42] you want a branch (the thing that is registered, subscribed to, commented on by a user in launchpad) to refer to multiple history lines, with only one which is current [06:43] stuff that needs to checkout specific revision needs to handle history lines [06:44] but the stuff that lives in the webapp must not go away because the branch owner backed out some revisions [06:45] no I don't [06:45] I want multiple history lines to have different Branch objects [06:45] much simpler that way [06:45] the user than just sees multiple branches for them [06:46] Registry needs an object that is stable even if the branch owner backs out some history [06:46] there's meta-data in the object, so you can make it say "here's the branch we mirrored yesterday before you stamped over the top of it" or whatever [06:46] why? [06:46] why just one? [06:46] make person->branch 1-to-many [06:46] because I can't think of a single thing I just have one branch for [06:46] that's already covered [06:47] it's $person/$product/$branch-name [06:47] the issue is that branch-name may refer to incompatible histories at different points in time [06:47] why? [06:48] if you have multiple Branches, you can have a different branch-name for each [06:48] the branch name is specified by the user on registration [06:48] so when you "import over the top" you create a new Branch record, and rename the old one [06:48] it can also be specified by your automatic system [06:48] old_branch.name = old_branch.name + "-pre-" + date [06:49] this stuff is _not_ interesting to show in launchpad [06:49] at least not right now [06:49] it's a different feature [06:49] ddaa: https://chinstrap.ubuntu.com/~dsilvers/paste/fileUJXuWj.html untested. that's the basic idea. [06:50] IF when importing a new branch, you discover that the history doesn't match that already recorded [06:50] 1) rename the old branch, and adjust any meta-data to indicate that it's historic [06:50] 2) add a new Branch record with the appropriate data [06:50] 3) import new Revision etc. onto the new Branch [06:51] you have a branch_status field in your table, that could get a HISTORIC schema entry [06:51] bug 3053 please, ubugtu [06:51] Error: 'please' is not a valid bug id. [06:51] Error: I cannot access this bug [06:51] bug 3053, ubugtu [06:51] (bug ) -- Look up bug in the bugzilla associated with . [06:51] Error: I cannot access this bug [06:52] bug 3053 [06:52] Error: I cannot access this bug [06:52] bug ubuntu 3053 [06:52] Ubuntu Bugzilla bug #3053: console-terminus package is not in the Ubuntu CD Product: Ubuntu, Component: debian-cd, Severity: major, Assigned to: cjwatson@ubuntu.com, Status: RESOLVED, Resolution: FIXED http://bugzilla.ubuntu.com/show_bug.cgi?id=3053 [06:52] bug malone 3053 [06:52] Error: I cannot access this bug [06:52] *shrug* [06:52] something like that [06:52] bradb: i'm getting an errer https://launchpad.net/products/rosetta/+bug/3053 [06:52] Error: I cannot access this bug [06:53] and bradb, your bot appears to be replying to anything with bug 1234 in the text :p [06:53] Error: I cannot access this bug [06:54] SteveA: kiko reported the bug and I took it [06:57] carlos: do you have a handle on the issues in "Translations (some/all?) weren't updated in 20051010?"? [06:58] sabdfl, I was a bit busy with language packs and talking with pitti so I started with that but had to leave to be concentrated with language packs in general [06:59] carlos: ok, could you give me a status update before you wrap up today? [06:59] sabdfl, I will not leave today until all know issues are fixed unless I'm really unlucky... [06:59] so yes, I will give you an update [06:59] :-) [07:00] i'll be here [07:00] ok [07:00] is anybody else having trouble adding files to the librarian? [07:01] canonical.librarian.storage.DuplicateFileIDError: 37 [07:01] ring a bell for anybody? [07:01] no way its a duplicate file [07:01] sabdfl, I have seen that error [07:02] sabdfl: are you uploading to a database, with a librarian root which is not clean? [07:02] kiko-fud, isn't it the error you got some days ago? [07:02] i don't know... Kinnison, how do i tell? [07:03] carlos: are you going to need more code review today? === dda1 [n=ddaa@marvin.xlii.org] has joined #launchpad [07:03] Gah... network failure [07:03] If you think the update I sent you is ready to be merged, nothing more [07:04] with changes after our discussion, it is fine [07:04] SteveA, the other changes are not urgent and will take a bit more to be ready [07:04] ok [07:04] but should be ready today so I will submit another review [07:04] kiko-fud: where's that branch for me to debug? [07:04] request [07:04] SteveA, thank you [07:06] airport routers are crap [07:06] shiny pretty crap [07:07] ddaa: did you look at the branch traversal stuff? do you get what is going on there? [07:09] Kinnison: how do i know if the librarian root is "not clean"? [07:09] SteveA: looking [07:10] spiv: ^? help [07:11] SteveA, still merging fixes :-) [07:11] SteveA: actually I was lying, the person in the canonical url is the owner, as the branch.zcml showed [07:11] sabdfl: try rm -rf /var/tmp/fatsam* [07:12] ddaa: okay. well, you'll know what to do. [07:12] you can also leave the canonical url defined as in the zcml, if it is that simple. [07:12] SteveA: okay... === matsubara-lunch is now known as matsubara [07:13] I'm not sure what the "path" and "inside" properties in BranchUrlData are about. [07:13] sabdfl, btw, matsubara has a question for you [07:13] SteveA: it worked [07:13] matsubara: fire away [07:13] any canonical url has a section of the path, and an object that is relative to [07:13] sabdfl: maybe you had some test run that failed catastrophically eariler [07:13] okay, I understand [07:14] i send it on private [07:14] Hello sabdfl, I'm having a problem with bug #2895, which two distinct product series have a release with the same name each. At the Product Overview, the releases links, points to the same place: /products/openkore/1.6.3 which causes a system error. Do you know how the traversal should be in this case? [07:14] Malone bug #2895: Releases with the same directory name causes an error Fix req. for: launchpad (upstream), Severity: Normal, Assigned to: Diogo Matsubara, Status: New http://launchpad.net/malone/bugs/2895 [07:14] SteveA: thanks a lot [07:15] SteveA: thanks v much ;-) [07:15] depending when you land this, there will also be breadcrumbs and other url-definition changes to consider. but we can get to them later. [07:16] sabdfl, do you know if traversal for releasies should be done under +series? [07:19] kiko: there used to be a unique (product, version) on productrelease [07:19] so a release number was uniq [07:19] and therefor traversal should work [07:19] that explains the traversal [07:19] it looks like we will just have to go product/series/release [07:19] this constraint doesn't seem to exist [07:19] I see [07:19] no, it's been dropped [07:19] I asked stub to add a constraint for releases being unique in series now [07:19] so that's explained [07:19] so /products/mozilla/1.7/1.7.5 is going to have to be it [07:20] drop the +series? [07:20] there's currently a +series in the URL [07:20] its pointless if its always required [07:20] do you know why the constraint was dropped? [07:20] did it break in some real-world situation? [07:20] the only reason to have a +foo is if you have a default traversal to X, and you want to jump to foo's instead [07:21] i think when we made productseries NOT NULL, product was dropped from productrelease [07:21] I'd find it very confusing to have two FF 1.7.0 releases, one from each series [07:21] and so the constraint was dropped [07:21] it's a bug, so its allowed to be confusing [07:22] lol [07:22] should we just readd the constraint, then? [07:22] it should be clear from looking at the Navigation class if there is a default traversal [07:22] it will have a traverse() method, or derive from GetitemNavigation [07:25] so, is gina being running on production?? [07:25] not this second [07:25] soon [07:25] are you seeing timeouts? [07:28] kiko, wasn't stub's email the confirmation that it's running? [07:28] it was running [07:28] and then we had a discussion about whether its running would cause requests to timeout [07:28] and stu realized it would [07:28] so he's going to fix that [07:28] then it will run again [07:29] subscription to projects feature request: https://launchpad.net/products/launchpad/+bug/3067 [07:30] Malone bug #3067: "Soft" Subscription to Projects Fix req. for: launchpad (upstream), Severity: Wishlist, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/3067 [07:30] er, woah [07:30] a malone bug bot [07:30] mpt: ping [07:30] ok [07:30] where can I buy one of these? [07:31] mpt: i have a question about the breadcrumbs. actually, i have two questions. [07:31] Diablo-D3, Seveas will sell you one for a mere U$19.95 [07:32] lol [07:32] mpt: the first is, the spec says a breadcrumb has text. does it also have a summary tooltip? an icon? a specific target other than the default page for that thing? [07:33] mpt: the second question is, will you ever want to include markup within a breadcrumb, like we needed to with menu link titles? [07:33] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] disable warning (patch-2623: stuart.bishop@canonical.com) === SnakeBite [n=SnakeBit@84.242.143.100] has joined #launchpad [07:34] sabdfl, should we just add the constraint back? === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [07:38] cprov: those reviews you want me to do... are they on the pending-reviews page? [07:40] mpt: I'm pretty sure the answers to your questions are all "no" [07:41] he meant SteveA [07:41] er yes, SteveA === mpt stares at his tab-completing fingers [07:41] cool [07:42] this makes the API very simple [07:43] mpt: Your tab-completion fingers are more screwwy than zsh [07:43] we'll just have to forgive him this once Kinnison === Kinnison thinks mpt is deserving of much forgiveness considering how much love he gives to launchpad === bradb & # lunch [07:44] anonymous never forgives!... er, wait, wrong channel [07:47] hum [07:48] jamesh: A person's calendar isn't handled in person.zcml, so I can't just chuck the person details portlet in there to be consistent with the other person facets. Can you fix that? [07:59] Merge to rocketfuel@canonical.com/launchpad--devel--0: r=kiko Fix for bug 965: Homepage url without http:// breaks. Fixes validator to raise a proper error message, and adds validator and tests for URL-type fields. Patch by Diogo Matsubara (patch-2624: matsubara@async.com.br, christian.reis@canonical.com) [08:19] kiko: i don't think we can add the constraint now we don't have a product field in productrelease [08:19] not easily, but stub may know [08:20] so, yes, if stub can do it without invoking triggers :-) [08:20] sabdfl, are triggers bad? :) [08:20] kiko: GUNS dude, GUNS [08:22] hmmm. I think it should be possible. matsubara, can you email stub now and ask if it's possible to add/change the constraint? === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad === dand [n=dand@83.103.205.67] has joined #launchpad [08:27] does anybody here have RO access to production db? [08:27] yes [08:27] me [08:27] https://launchpad.net/people/ubuntu-dev/+poll/tb-nomination-mjg59-2005/ [08:27] SteveA does too AFAIK [08:27] can you tell me what date that closes? [08:28] I can try [08:31] sabdfl, my emperor access hasn't been finalized, I see [08:31] psql -h emperor launchpad_prod [08:31] psql: FATAL: IDENT authentication failed for user "kiko" === xenial [i=xenial@255.asx2.dial.vsi.ru] has joined #launchpad === kiko bothers stub [08:32] SteveA? [08:33] i have access to the production servers on gangotri [08:33] but not to launchpad_prod? [08:33] that gives me indirect access to emperor's database, but i'd rather not use it [08:33] does it? [08:33] it must do [08:33] hmmm [08:33] i have access as the user that runs the production launchpads [08:33] I asked for ro access [08:33] oh [08:33] I see [08:33] but, it's a hack [08:33] i don't intend to use it [08:34] i have no "legitimate" access to the databases [08:36] launchpad auto-generated bad wikinames for my team (dutchteam) and I cannot change them... === terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad [08:42] <\sh> sabdfl: the text on the voting page is a bit too big ;) === SnakeBite [n=SnakeBit@84.242.143.100] has joined #launchpad === SnakeBite [n=SnakeBit@84.242.143.100] has joined #launchpad [08:47] kiko, the patch in https://chinstrap.warthogs.hbd.com/~jamesh/pending-reviews/guilherme.salgado@canonical.com/launchpad--shipit-searching--0/filtered-diff has both request pages merged, as you suggested [08:47] mpt: ping [08:47] SteveA: pong [08:47] hi [08:47] so, in the hierarchy spec, you have [08:47] # [08:47] * [08:47] Launchpad > People [08:48] # [08:48] /people [08:48] * [08:48] Launchpad > People [08:48] rather [08:48] at /people we have an IPersonSet content object [08:48] this object has no facet menu of its own registered [08:48] it uses the ILaunchpadRoot facet menu [08:48] as you can see by going to the URL /people, and seeing where the facet menu links go [08:49] so, its breadcrumb is not displayed [08:49] i propose a different rule for displaying breadcrumbs === RWG [n=RWGraphi@69.177.49.18] has joined #launchpad [08:49] that is, the breadcrumb is displayed if it is defined [08:49] that way, people can define them for those things where it should be defined [08:49] and not define them for things where it shouldn't [08:50] if these happen to coincide with where facet menus are registered, then all the better [08:50] do you think that is okay? [08:51] I open up X-Chat, almose every channel I join someone says my name === RWG [n=RWGraphi@69.177.49.18] has left #launchpad ["Connection] [08:52] kiko, what are these changes you did in the main template for? [08:54] salgado, just deindenting === camilotelles [n=Camilo@200.128.80.250] has joined #launchpad === segfault [i=carlos@prognus.com.br] has joined #launchpad === SteveA awaits an answer of some kind from mpt [09:05] oops, sorry [09:05] SteveA: that sounds fine [09:06] okay, great [09:06] one more problem... [09:06] /distros/ubuntu/hoary/+sources Launchpad > Distributions > Ubuntu > 5.04 > Packages [09:07] mpt: the problem here is that +sources isn't an object at all [09:07] or, if it is, it won't be in the future [09:07] hmm, it's a SourcePackageSet now, which is really a SubSet [09:08] but it should become just a stepthrough('+sources') traversal, with a page registered, or a redirect or something [09:08] so... [09:08] i guess we need special breadcrumbs for stepthrough urls sometimes. [09:08] although, this would seem to go against what sabdfl said about URLs in brazil [09:09] +sources should be a page providing list/search for source packages, right? [09:09] yes [09:09] well [09:09] yes [09:09] and +source/ would be used as the stepthrough namespace for traversing to source packages [09:09] SteveA, what's exactly the 'marker' you talk about in your review? [09:10] because the _marker variable is just an empty list that is used to compare other variables [09:10] carlos: it is typically a unique object that is used as a default value when you make a method call [09:10] SteveA: that's unfortunate, but it doesn't alter what the breadcrumbs should be [09:10] SteveA: they should be "Packages" for both [09:10] SteveA, hmm ok, it fits the definition [09:10] carlos: it is used so that you can detect None coming back from a method call. [09:11] carlos: so, marker = object() is the best thing to use for this. [09:11] ok [09:11] it's used inside a class, so I suppose is better if I move it inside that class instead of being global for all the file, right? [09:12] mpt: so, for http://localhost:8086/distros/ubuntu/hoary/+sources we should have Launchpad >> Distributions >> Ubuntu >> 5.04 >> Packages [09:12] okay, need to skip out, catch you all later [09:12] mpt: so, for http://localhost:8086/distros/ubuntu/hoary/+source/evolution we should have Launchpad >> Distributions >> Ubuntu >> 5.04 >> Packages [09:12] in the first case, "Packages" links to /distros/ubuntu/hoary/+sources [09:13] in the second case, "Packages" links to /distros/ubuntu/hoary/+source, which redirects to +sources [09:13] yes [09:13] this is a pain in the arse ;-) [09:13] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Removes useless hints (bug 1244), and fixes remaining hints, from calendar forms. Also fixes Launchpad-wide 'An error occured' message. (patch-2625: mpt@canonical.com) [09:13] er, hang on [09:13] (right now, today, both are +sources, btw) [09:13] http://localhost:8086/distros/ubuntu/hoary/+source/evolution should be Launchpad >> Distributions >> Ubuntu >> 5.04 >> Packages >> evolution [09:14] okay [09:14] that is a minor point [09:14] i need to think how to make this work [09:14] SteveA, can you convince perhaps sabdfl to revoke the instruction to do +source/+sources? [09:15] SteveA: Well, you could persuade Mark to stop ... yes, what kiko-afk said [09:15] it's a lot of complexity for a trivial detail that nobody will appreciate [09:15] it's causing us already 404s in breadcrumbs [09:15] that makes no difference to it [09:15] the main issue is that +source / +sources isn't going to be a content object [09:15] switching between singular and plural might be grammatically correct, but it's bad UI for URL-hackers [09:15] so it doesn't have its own 'navigation' component [09:15] it's a sourcepackage set [09:15] whatever that means :) [09:15] it won't be soon [09:15] or subset even [09:16] right, it is a notional sourcepackage subset [09:16] but it will soon be nothing at all [09:16] but a path step [09:16] to disambiguate what follows [09:16] i'll think about it [09:17] thanks [09:17] there will be a solution [09:17] it will just make the breadcrumbs system more complex [09:17] you sould like an acheiver [09:19] hmm, time to go home [09:19] if you need something, ping now! === SteveA solves the problem [09:26] (on the whiteboard, at least) [09:26] this is interesting. thinking about this problem has made me think of a change that makes the display of breadcrumbs much simpler. [09:26] and architectural change. [09:26] nice. === SteveA --> home [09:29] kiko-afk: +source? === RWG [i=RWGraphi@69.177.49.18] has joined #launchpad === RWG [i=RWGraphi@69.177.49.18] has left #launchpad ["Connection] [09:33] sabdfl: +sources / +source [09:34] the pattern you described in brazil was to have +foo as a "namespace distinction" thing, and +foos as a place to search etc. [09:34] right now, at +sources, there is a SourcePackageSet object [09:35] this should be changed to a "stepthrough" traversal, so we can get rid of the SourcePackageSet concept, when it is used as a SourcePackageSubset [09:35] which is what we really have at +sources [09:38] Merge to rocketfuel@canonical.com/launchpad--devel--0: r=kiko Fix for bug 2904: System error from bug watch edit page. Uses the proper attribute and adds a test for the page. Patch by Diogo Matsubara (patch-2626: matsubara@async.com.br, christian.reis@canonical.com) === SteveA --> really home this time [09:40] SteveA: sec [09:40] do portlets need facets in the zcml? [09:40] sorry :-) [09:40] um... [09:40] how did you know i was still here? ;-) [09:41] i don't understand what you're asking [09:41] content objects have facet menus registered for them. [09:41] name="+portlet-details" [09:41] facet="overview" [09:41] is the facet needed? [09:41] the main template takes care of displaying them. [09:41] aha [09:41] i see [09:41] no, the zcml for portlets does not need to say what facet they are on === lifeless_ [n=robertc@dsl-215.16.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad [09:42] only the zcml for entire pages needs to do that [09:42] the easiest way for many things is to use around the whole of the zcml [09:42] cool [09:42] but it makes no difference either way if a portlet zcml page is within that [09:43] beacuse although it will still be associated with that facet, that information is never used [09:43] even if you're debugging, and go to the facet's actual URL in your browser [09:43] the main template isn't used [09:43] and so the facet it is on doesn't matter anyway === niemeyer_ [n=niemeyer@201.14.59.15] has joined #launchpad === SteveA --> really really home this time === SnakeBite [n=SnakeBit@84.242.143.100] has joined #launchpad === {O_o} [i=RWGraphi@69.177.15.123] has joined #launchpad [09:52] carlos, what does "from the Global Translation Wiki" mean? === {O_o} [i=RWGraphi@69.177.15.123] has left #launchpad ["Connection] [09:52] mpt, suggestions added by non official translators === rbelem [n=rodrigo@200.246.97.164] has joined #launchpad [09:59] does anyone know how do i get a parent of a set, like for a PollOptionSet, hw do i now the Poll it belongs to? [10:04] carlos: thanks, I'll call it "Unofficial suggestions" then [10:04] carlos: pofile-translate.pt is a behemoth === mpt heads home [10:04] mpt, it's ok for me [10:07] it needs splitting up into about half a dozen modules [10:07] a suggestions macro [10:07] an alternate language macro [10:08] a macro for the actual translation field [10:08] anyway, goodnight people === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad [] [10:13] cprov: ping [10:13] sabdfl: pong [10:14] cprov: can you give me a URL to a build overview page? [10:14] there is sourcepackagebuild-index.pt [10:14] where can i see it in action? [10:14] in the sampledata? [10:15] sabdfl: checking [10:15] ciao === rbelem [n=rodrigo@200.246.97.164] has joined #launchpad [10:16] i'm renaming those pages to build-*.pt [10:16] to keep them consistent with the rest of launchpad [10:17] sabdfl: distros/$Distribution.name/src/$Release.name/$package.name/$Release.version/arch [10:17] err... [10:17] have you tested that? [10:17] sabdfl: but AFAIK it's not exposed in the current sampledata [10:17] so, it's never been tested? [10:17] sabdfl: don't think so, it was developed by debonzi [10:17] ookkkk [10:18] hey rbelem [10:18] sabdfl: do you want I check it, at least present that page [10:18] hi sabdfl ;-) [10:19] cprov: i have to do it tonight [10:19] i'm afraid i have to rewrite chunks of this ui... [10:20] sabdfl: yeah, soyuz needs BasicTestCoverage urgently [10:20] cprov: we can add some sampledata by making some uploads and running some builds [10:21] real data [10:22] i wonder what the best url schema to a build is [10:22] given that we might have many of them [10:22] sabdfl: yes, but it still far from the reality, since we didn't test simple things like: are we presenting every declared page properly ?!. Things like that doesn't require real data [10:23] cprov: the problem with the crap data we currently have is that its impossible to know if your page layout is sane for the usual case [10:23] real data is worth putting in [10:23] sabdfl: me too, currently I've land canonical_url for build, but it still presenting sources [10:23] look at my sampledata for tickets, and specs [10:23] sabdfl: see you point and agree ... you mean SANE data ;) [10:24] cprov: in your builder UI, did you not need to create a page for a build? [10:24] where can i see sampledata pages for the build farm? [10:25] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] shorten person menus (and tweak calendar page) (patch-2627: mpt@canonical.com) [10:26] sabdfl: not really, because build is collapsed in sourcepackage page .. it's the path to a single binary inside a distroarchrelease. [10:26] cprov: that doesn't make sense [10:26] there's a lot of info related to a build [10:26] it deserves a page on its own [10:26] i'll create one [10:26] where can i find the build farm pages? [10:27] sabdfl: you're right ... [10:27] where can i find the build farm pages? [10:27] sabdfl: +builds /sources/$distrorelease/+builds, etc [10:27] if you have landed them, and they are about to go into production, ihope there is sampledata for everything [10:28] sabdfl: the complete "facet" is pending the 2nd pass review [10:28] hmm... [10:28] ok, some feedback for you [10:29] sabdfl: there is, you can navigate through the existent srcpkgs (mozilla, pmount, etc) [10:29] /+builds is not a good URL [10:29] /buildfarm/ would be better [10:30] sabdfl: do you think ? it was buildfarm/ but I and mpt agree in +builds to present something like a facet [10:30] no [10:30] sorry [10:30] /buildfarm/ should be an overview of all the builders [10:30] sabdfl: if you have time have a quick look on ABUI spec [10:30] /buildfarm/+build/32423 should be build #32423 [10:31] sabdfl: it's easy to change [10:31] /buildfarm/bob/ should be the builder called bob [10:31] what else do we need? [10:32] ok, i will revamp this url space too [10:32] sabdfl: you don't need to see the buildqueue entry itself, you can see it from the published sourcepackage or from the builder page as a row containing all the info [10:33] sabdfl: we have builds for distribution/distrorelease/distroarchrelease all of them present kind of uniform information but in a restricted domain [10:33] cprov: that's not good, because you may have two or three build attempts for the same package in the same distrorelease [10:33] and each of those might produce ten or twenty binary packages [10:33] so that page would get hideous [10:33] sabdfl: but never for the same distroarchrelease [10:34] cprov: wrong [10:34] if it fails, it can get rebuilt [10:34] and rebuilt [10:34] till it passes [10:34] sabdfl: the result are not inside buildqueue domain ... they are in Build domain [10:35] which has no page to describe it [10:35] look here's the point [10:35] one sourcepackage, 13 architectures, 3 retries, 8 binary packages per success [10:35] sabdfl: if it fails the buildqueue is removed anyway ... you need to rebuild [10:35] all on ONE PAGE? [10:35] the build should remain as failed [10:35] so we retain the logs [10:35] we know why it failed [10:35] we can analyse it [10:36] people can see what went wrong [10:36] sabdfl: currently in sources/warty/i386/mozilla/+builds [10:37] cprov: that can't work [10:37] sabdfl: that is the page to see how a published sourcepackagerelease goes for a given distroarchrelease [10:37] you don't know what version you are looking at [10:37] i386 is a sourcepackagerelease? [10:38] sabdfl: always the newest one, that page present all of them published [10:38] how do i see an older one? [10:38] dude, this is simple [10:38] sabdfl: no an distroarchrelease [10:38] you should present each table, as a page [10:38] not hard [10:38] if there is a biuld table, there should be a build-index.pt [10:38] not hard [10:39] all you have to do is figure out where it should go [10:39] make sense? [10:39] sabdfl: uhm ... you're probably right ... the idea makes sense [10:39] putting the "build" page at a sourcepackagerelease-in-distro page is madness, because the two do not correlate 1-to-1 [10:40] what is the content object for /+builds [10:40] ? [10:40] cprov: ^ [10:40] sabdfl: lp/+builds is that /buildfarm/ you reffered before .. shows the registered builders [10:40] where can i find it in the code? [10:41] i would expect database/builder.py [10:41] as BuilderSet [10:41] ? [10:41] sabdfl: [db,browser] /builder.py [10:41] nice [10:41] perfect [10:41] sabdfl: every xxx-builds.pt [10:42] sabdfl: builder.py still carrying BuildQueue small classes .. it will change when we think convenient [10:42] sabdfl: are you working on this soon ? [10:43] sabdfl: steve promised me to review last important patches for builddUI today, if it doesn't happen before you start I suggest you to merge from my personal branch [10:44] sabdfl: otherwise the conflicts will be horrible :( [11:02] cprov: ok, i can merge from it [11:03] when do you expect it to land? === Burgundavia [n=corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad [11:05] cprov: i do like builder.py and build.py, they are nice and clean, the right things in the right placs [11:12] sabdfl: ASAP, tomorrow is the ETA, but depends from steve [11:13] sabdfl: yep, the reviewers helped a lot for the code sanity === carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad === bradb heads off === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad [] === eirikn [n=eirikn@hagbart.nvg.ntnu.no] has joined #launchpad [11:26] dudes [11:26] eirikn here is hacking bazaar [11:26] -ng [11:26] who of you does a lot with that :) [11:26] buggers might be off to lunch :P [11:27] heh [11:27] what is launchpad anyway? [11:27] www.launchpad.net [11:27] these async weirdos are python lubb0rs [11:27] :) === asmodai runs from the retaliation [11:28] can't connect to the webpage, times out [11:29] works for [11:29] me === eirikn connects to uni [11:30] lynx there works [11:31] You've been filtered! [11:31] :) [11:31] :'( [11:33] restarting firefox fixed it [11:36] I think the caching in firefox is borked at times === Trix [n=mail@200.42.189.18] has joined #launchpad [11:55] sabdfl, ok, seems like I have most bugs fixed, now I need to investigate a bit some outdated reports that pitti told me and I think I will be done === carlos -> dinner [11:55] will do it before leaving to sleep and will send an email with a small report of the status, ok? [12:00] what happend that now, do not send ubuntu cd? [12:01] https://launchpad.net/bounties/chquite