/srv/irclogs.ubuntu.com/2005/08/22/#launchpad.txt

sabdflmpt: any progress on the main template, with facets-as-tabs?12:08
mptsabdfl: I haven't had time to do that yet, I've been working on the Rosetta copy-and-paste buttons12:09
sabdflmpt: ok cool12:09
sabdflcan you make that next on your list?12:09
sabdflnight all12:09
mptok, though I'm not that keen on something which will make them take up more space12:10
mpt'night12:10
bradblater sabdfl 12:10
Nafallonight sabdfl :-)12:10
mptugh12:12
=== mpt gets incorrect conflict markers
KeybukThese files violate naming conventions:12:21
Keybukexamples/.arch-ids/\(U+E2)\(U+99)\(U+AA)\(U+E2)\(U+99)\(U+AC).id12:21
Keybukexamples/\(U+E2)\(U+99)\(U+AA)\(U+E2)\(U+99)\(U+AC)12:21
Keybuk-- 12:21
Keybukthey do ?!  it shouldn't afaict12:22
Keybuklifeless: ?12:23
bradbfmt:approximateduration is in spiv's review queue, later all12:26
carlosstub, I have an update to the migration script already but I cannot merge it yet, I have there other changes, can you merge to stagging to test it?12:27
stubcarlos: Sure12:27
carlosstub, carlos.perello@canonical.com--2004/launchpad--devel--012:27
carlosstub, the other changes should not affect that script12:28
stubAre the changes you care about only in the script? if so, I don't have to worry about merging. 12:29
stubcarlos: ^^^12:29
carlosstub, the needed changes to get the script running is only in the script, the branch touches other files12:29
carlosbut those changes are not related, it belongs to other changeset12:30
=== carlos -> bed
carlosstub, do you need anything else to test it?12:36
stubNop12:36
stube12:36
carlosok, thanks12:37
carlosgood night12:37
=== mdz [n=mdz@ca-studio-bsr1o-251.vnnyca.adelphia.net] has joined #launchpad
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad []
=== Mez [n=Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=salgado]  Make EnumCol work with default=DEFAULT.  Fixes bug 1659. (patch-2263: andrew.bennetts@canonical.com)01:58
=== asgeirf [n=asgeirf@202-161-14-195.dyn.iinet.net.au] has joined #launchpad
stubspiv: Where you going to stop the librarian accepting files with evil filenames? (eg. containing / or \0) If so, can you update Bug388 with characters you deem as evil?03:05
spivstub: The only characters I'm inclined to deem as evil are / and \0.03:06
spivBut part of me feels that it's not the librarian's problem ;)03:06
stubOnce the DB constaints are in place, it won't get as far as the Librarian.03:06
jameshare characters that look like "/" evil too?03:08
spivWhat's the use case for disallowing them?  (I admit I don't really have one for allowing them either003:08
spiv)03:08
=== spiv has a left shift key that's starting to get a bit dodgy
spivjamesh: The reason to disallow / and \0 are because they're invalid in posix filenames (although / is of course valid in a pathname).03:09
spivBut I'm struggling to see any way that it actually matters.03:10
spivI guess the database column being called "filename" rather than "pathname" is one argument.03:10
stubspiv: Because broken clients can upload a file with filename 'c:/foo/bar.txt', which then can't be downloaded in any sane fashion.03:10
jameshspiv: I suppose the web browser would replace them anyway, if a user is downloading and saving them03:10
spivstub: Why can't they be downloaded?03:10
=== Keybuk [n=scott@descent.netsplit.com] has joined #launchpad
jameshstub: on Windows, I think that would get downloaded as c__foo_bar.txt03:11
stubspiv: Because they are invalid and look like a hacking attempt (eg. what should firefox do if you ask it to download a file called ~/.bashrc ? )03:11
jameshbeen a while since I've checked though03:11
spivstub: Probably save it do $downloaddir/.bashrc03:11
jameshit's pretty easy to test for though03:11
stubspiv: But we don't know that, and we shouldn't let invalid data get into the system in the first place.03:12
spivIf you can convince me that it's invalid, I'll be much happier :)03:12
stubIt would probably be specified in the MIME rfc under the filename attibute to the mimetype03:13
spivI am leaning slightly towards disallowing them, but I'd really like to have a strong reason other than a vague feeling that it's probably better.03:14
spivIf only so that I can put a more useful comment in the code than "Disallow / and \0, just in case" ;)03:14
spivSee section 2.3 of RFC 218403:15
spivEr,03:15
spiv218303:15
spivAlthough it's discussing MUAs rather than HTTP clients.03:16
stubactually, MIME is a red herring. These filenames are served up as part of URLs, which IIRC can include anything if properly UTF-8 encoded and quoted03:18
stubBut clients might still have issues, and I'm not going to test all the clients ;)03:18
spivhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.103:19
stubI'm inclined to disallow anything that indicates the client uploading the file is screwed, because we really don't want data from that source ;)03:20
spivArbitrary restrictions have a way of biting you in the arse unexpectedly six months later :)03:20
stubDoes the Librarian actually set that header?03:21
stubOr not bother, since the filename is the final component of the URL?03:21
spivYour example of c:/foo/bar.txt inclines me to not bother disallowing anything -- I'm interested in learning how to make "safe" filenames for every OS out there.03:21
spivIt doesn't send it, no.03:22
stubMy example is actually based from real world experiance with broken windows clients that tended to upload filenames such as c:\foo\bar.txt03:22
spivWhich is a 100% valid posix filename.03:22
stub'safe' can be defined as ASCII and not containing / \ : or \0 , which is probably a bit strict now days (we could extend that to UTF-8 and not containing / \ : or \003:24
=== spiv is still wavering
stubIndeed - c:\foo\bar.txt is 100% valid, but is totally broken. Users report it as a bug, so you shouldn't let it get in the first place.03:24
stubThe only use case I can think of for allowing a filename like that is so you can laugh at the silly person still using IE4 (or whatever it was)03:25
jameshstub: on Windows, you'll get in trouble with *, ? and a few others03:26
stubI tend to not like \0 and it tends to break C code unexpectedly03:26
stubtrue. Anyway, I would really only bother disallowing 03:27
spivSure, and filenames longer than a certain length might trigger buffer overflows in some C code too ;)03:27
Keybukthe fun ones are filenames with \n in them <g>03:27
=== mpt [n=mpt@201-27-4-102.dsl.telesp.net.br] has joined #launchpad
spivRight, whitespace can break badly written shell scripts...03:27
stub... / and \0 , because the first indicates the client is screwed and the second is scary03:27
Keybukand libtool03:27
Keybuk/ and \0 are the only invalid characters in a POSIX filename :-/03:28
Keybuk^G in them is fun03:28
spivOk, so the two reasonable choices are 1) free for all, 2) everything except / and \0.03:29
=== stub wonders if PostgreSQL lets him store a \0 in a text column anyway
spivTrying to restrict more than that is the path to madness, as we try to guess what breaks windows and whatnot.03:29
Keybukutf-8 filenames are certainly "normal" in linux now03:30
spivWell, the librarian stores filenames as unicode.03:30
stubKeybuk: Is that now 'standard', or is it still the filename is assumed to be in the encoding being used by the terminal?03:31
spivThere's no guarantee clients won't upload encoded names, though.03:31
Keybukthere's nothing in the filesystem to force it (unless your fs=fat)03:31
stubspiv: If it aint a valid UTF-8 sequence, PostgreSQL will barf03:31
spivAnd I don't think HTTP has any standard way to serve non-ASCII filenames.03:32
Keybukso how you read filenames is how they're displayed03:32
spivstub: Well, it'd be double-encoded would be the issue.03:32
spivBut we can't do much about people uploading garbage except serve that garbage back at them :)03:32
stubspiv: Can't happen - the filename is decoded on upload03:32
jameshKeybuk: JFS also wants unicode filenames, iirc03:33
spivstub: By "client" I don't mean the librarian client, I mean Joe Bloggs with his dodgy Web Browsez0r 0.9.03:33
Keybukreally? sweet03:33
spivstub: (once I fix a bug) The librarian client always sends filenames utf-8 encoded, and the librarian server utf-8 decodes them into unicode objects, which of course are then re-encoded for insertion into the database.03:35
spivThe librarian server already barfs on non-utf-8 filenames.03:35
stubOS-X is UTF-8 -- it becomes necessary to define the encoding when you have a Unicode aware filesystem browser. And Win32 is all Unicode apis so I don't think the encoding is even exposed to developers. I assume the existing Linux ones all just break if the filenames arn't encoded the way they expect :-(03:36
jameshstub: on Windows, there are two APIs for pretty much everything: the unicode one and the "ANSI" one03:39
jameshwhere the ANSI one is the legacy encoding03:40
jameshso you can create files with the unicode API that apps using the ANSI API can't read03:41
=== camilotelles-afk is now known as camilotelles
mdzso now that my duplicate launchpad users are all sorted, is there a way for me to change 'name93' to 'mdz'?04:10
spivmdz: Currently only by asking stub, I think :/04:11
spivI'm not sure what's left to stop us from letting users edit that.04:11
spivhttps://wiki.launchpad.canonical.com/WhatNamesCanBeChanged says it ought to be allowed.04:12
mdzdoes stub read scrollback?04:14
mdzstub: ^^^04:14
mdzwho's responsible for the code of conduct signing stuff?04:14
spivstub reads scrollback afaik, yeah.04:15
spivcprov, iirc.04:20
=== asgeirf_ [n=asgeirf@203-173-20-214.dyn.iinet.net.au] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  only-one-ubuntu-wikiname constraint and people merge patch to cope (patch-2264: stuart.bishop@canonical.com)04:32
=== robitaille [n=daniel@d154-5-117-228.bchsia.telus.net] has joined #launchpad
=== camilotelles is now known as camilotelles_zzz
stubmdz: Updated05:46
mdzstub: thanks05:46
=== mpt [n=mpt@201-27-4-102.dsl.telesp.net.br] has left #launchpad []
spivstub: thanks for fixing #1313!08:10
stubJust karma whoring08:11
spiv:)08:11
spivWell, that's probably fair enough, given that it was probably our most frequently reported dupe.08:12
lifeless1212 ?08:27
lifelessbah08:28
lifelessignore me08:28
lifelesswin 1808:28
=== sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has left #launchpad []
=== sabdf1 [n=mark@217.205.109.249] has joined #launchpad
=== carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad
carlosmorning10:41
carlosstub, hi, how was the whitespace script test? still running?10:48
stubcarlos: still running11:36
carlosthat's good11:37
carlosmeans the bug would  be fixed11:37
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
sabdf1stub: could you tell me which upstream apps have the most bugs filed against them? just top 5 or 1012:11
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
=== camilotelles_zzz is now known as camilotelles
sabdflstub: ping12:24
sabdfllifeless: ping12:43
lifelesssabdfl: pong, just talking about you :012:44
lifeless(jdub is giving his oscon talk to debsig)12:45
sabdfllifeless: coolio :-)12:45
sabdfllifeless: could you give me read-only access to the staging db please? i have accounts on mawson and asuka12:45
lifelessmawson is staging right ?12:46
sabdflasuka, i think12:46
sabdflnot sure which db it is12:47
Kinnisonmawson is dogfood, asuka is staging12:47
sabdflstub and salgado might know12:47
sabdflKinnison: db names?12:47
lifelessbah, don't have the right keys with me, I can do it when I get home if stub hasn't surfaced by thenm12:47
=== lifeless is in holiday mode :)
sabdflok, cool, thanks12:48
=== carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad
Kinnisonsabdfl: people seem to use: psql -h asuka.ubuntu.com -U ro -d launchpad_staging12:51
Kinnisonsabdfl: from mawson12:51
carlossabdfl, ^^ that's what daf and I use12:52
sabdflpsql: FATAL:  no pg_hba.conf entry for host "82.211.81.131", user "ro", database "launchpad_staging", SSL off12:52
lifelesssabdfl: if you have access to asuka/mawson, you should have sudo access to the launchpad use12:53
carlossabdfl, from mawson12:53
lifeless*user*12:53
lifelessthats what we usually give people who are working with those machines12:53
stubyo01:22
sabdflhey stubarooney01:25
stub         name         | count01:26
stub----------------------+-------01:26
stub malone               |   30401:26
stub launchpad            |   28101:26
stub bazaar               |   24601:26
stub rosetta              |   15901:26
sabdflthink you can let me see staging read-only, from mawson or asuka?01:26
stub foaf                 |    5101:26
stub hct                  |    1401:26
stub soyuz                |     601:26
stub sympa                |     401:26
stub ubp-hoary-unofficial |     301:26
stub ubuntu               |     301:26
stub bluefish             |     201:26
stub blender              |     201:26
stub buildd               |     201:26
stub fdclock              |     201:26
sabdflthats plenty01:26
stub gnomebaker           |     201:26
stubsabdfl: You should be able to connect to launchpad_staging on asuka as the ro user now (from your mawson account, using the command given before)01:27
sabdflmark@mawson:~ $ psql -h asuka.ubuntu.com -U ro -d launchpad_staging01:28
sabdflpsql: FATAL:  no pg_hba.conf entry for host "82.211.81.131", user "ro", database "launchpad_staging", SSL off01:28
sabdflnup01:28
sabdfldid you see jdub's presentation?01:28
stubargh... username mark, not sabdfl :-(01:28
sabdfl:-)01:29
=== Mez [n=Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
stubsabdfl: ok - try again01:29
sabdflrocking, thanks01:29
sabdflvery exciting01:31
sivangsabdfl: what was his presentation about?01:33
sabdflsivang: aiui it was his oscon presentation, replayed. 01:39
sabdflstub: i'm [trivial] 'ing a two-liner that lets you exclude dbschemas from the vocabs01:40
sabdflit might be better to have dbschema items be markable as deprecated, so they don't show up01:42
sabdflthe use case for this is the debbugs tracker, we only know of one, we don't want people registering more01:42
stubsounds sane. A deprecated flag doesn't sound appropriate for your use case though - the way you are doing it seems to be the best option.01:43
=== carlos -> lunch
carlossee you later01:58
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== camilotelles [n=Camilo@201.32.223.192] has joined #launchpad
lifelessnofht all02:17
lifelessbah02:17
lifelessnight all02:17
=== ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad
BjornTstub: do i need your approval if want to edit security.cfg? (add delete to bugsubscription)02:20
stubBjornT: Nope - as long as I know about it.02:21
BjornTstub: cool02:21
=== ondrej [n=ondrej@maple.active24.cz] has joined #launchpad
ondrejmm all02:25
=== cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
ondrejis there a plan to do cleanup in rosetta breezy target?  so f.e. glib2.0 is not list 7x times?02:26
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  polish home pages (patch-2265: mark.shuttleworth@canonical.com)02:31
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
sabdflcarlos: ^^ q from ondrej02:39
ondrejsabdfl: feeling better today? heard you were/are sick (yesterday)...02:41
sabdflondrej: yes, much better today thanks. lurgie from brazil had me nailed yeterday02:42
ondrej:-) that's good...  hope to see you on next CC meeting...02:43
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
kikohey ho03:00
sivangyo kiko 03:01
sabdflkiko: is salgado around?03:02
sabdflany idea why we don't have a Person.karma cache?03:02
mptWe're not sure where he is, sabdfl03:02
mptWe think he might be at classes03:02
kikoI am sure where he is03:02
kikohe's at classes03:02
sabdflkiko: please could you ask him to do the following:03:04
sabdfl - add a karma field to the Person table03:04
sabdfl - replace Person.karma() with that field03:04
sabdfl - make update-stats.py also update karma03:05
sabdflso we have the karma value cached, and can index and query it03:05
kikosabdfl, could you file a bug? :)03:05
=== kiko tries to get the man to use his tool
ondrejsuggestion for rosetta: there should be simple way how to use suggested translation: copy & paste is not very efficient...  simple javascript could be implemented, so you can just click and have it prefilled in input box...03:05
sabdflproduct? foaf does not exist03:06
mptondrej: I'm working on that at the moment03:06
kikoondrej, yeah, known trick it's in the pipeline03:06
kikosabdfl, launchpad03:06
mptsabdfl: It was renamed to ex-foaf, with its bugs etc rolled into launchpad03:06
kikothere are only three lp products now -- launchpad, malone, rosetta03:06
ondrejok, thanks for info03:06
sabdflkiko: https://launchpad.net/malone/bugs/179403:07
kikosabdfl, thanks, I'll make sure it's done03:08
sabdflondrej: https://wiki.launchpad.canonical.com/TranslationReview03:09
sabdflthough, that spec does not reflect what i asked for in Brazil. MPT?03:09
sabdfli didn't want radio buttons...03:09
ondrejnice, I like those scanned paper notes :-)03:11
ondrejbtw, from https://wiki.ubuntu.com/Calendar Sep 1st - StringFreezy - does this mean that *upstream* (from translation teams POV) strings are freezed and L10N teams can start work on translations?03:13
mptsabdfl: Should you eventually get karma if your suggestion gets accepted? If so, there needs to be some way of identifying whose suggestion is being accepted. And as the radiobuttons copy into the field just like the copy buttons do, in case you want to tweak one of them.03:13
mptIt's much simpler than the previous version of the spec :-)03:14
ondrejI was also asked this question: how and when are translations from rosetta propagated to Ubuntu? It makes sense not only to translate some *random* strings in rosetta, but also to test them inside live system.03:15
=== mpt finishes sending his chart fixage off to PQM
kikoondrej, the translations are exported into language packs, which are then rolled into the distribution, so indeed they are used03:16
WaterSevenUbondrej: but the documentation string freeze is only Sep 8th03:17
ondrejkiko: so every new release of language-pack contains up-to-data translations from rosetta?03:17
kikothat is correct03:17
ondrejis there a way how to review translations in one language and all packages? I have team member who is not so sure of his translations, and marks all as "Need Review", so I would like to review all of them in one big batch (601 translation strings suggested)03:22
ondrejand if not it would be nice thing to have03:22
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
kikothere is a review interface planned03:25
ondrejjust didn't see this suggestion in TranslationReview wiki page, so I thought it would be usefull to mention it :-)03:26
kikoyeah, it's a great suggestion -- mpt, which spec covers the mass-review UI?03:27
bradbmorning03:27
ondrejerr, https://wiki.launchpad.canonical.com/RosettaSpecification page broken: ImportErrorCannot load macro ListSpecifications03:28
kikoondrej, agh.03:28
kikoelmo?03:28
elmowhat?03:29
kikoelmo, I wrote a couple of macros to automate some queries our moin instance03:29
kikos/our/on our03:30
kikoelmo, what would be a good way to install them and allow me to update them as I go?03:30
elmosend them to me03:30
kikookidok03:30
mptkiko: I hadn't heard of the mass-review idea before03:31
kikoelmo, sent03:32
mptI don't think we have a spec for it03:32
mptondrej, perhaps you would like to write the spec? :-)03:32
kikompt, in capetown we discussed it -- it would be across potemplates03:32
bradbspiv: ping03:32
mptWell, if we do, I don't think it's one I was involved in03:33
mpteither that or I have a bad memory03:33
kikoor too many drugs03:34
mptyeah, that must be it03:35
mptpink mushrooms03:35
spivbradb: pong03:37
spivbradb: want that review done?03:37
bradbspiv: yes please!03:37
bradbif possible, of course03:37
kikothere were beautiful03:40
ddaasabdfl: do the tables "changesetfilename", "changesetfile" and "changesetfilehash" have any future? They are going to require additional work to support with import-archivelocation and they are quite arch-specific in design (assume on-disk changeset-based storage).03:42
ddaaI'd rather have them ignored now (no longer updated) and delete at the first oppurtinity.03:43
ondrejmpt: err, I am not good at writing specifications :-)03:44
ondrejbut I can try :-)03:45
mptondrej: So you are wanting to review all the translations made by a particular person?03:48
=== jblack [i=jblack@static-209-158-45-74.scr.east.verizon.net] has joined #launchpad
carlosondrej, It needs some manual changes, I'm doing it from time to time, but it's a bit hard. Will fix glib now.03:53
ondrejhttps://wiki.launchpad.canonical.com/TranslationMulti03:56
mptexcellent, thanks ondrej03:57
ondrejcarlos: ok, thanks...  I guess this will settle down with StringFreezes?03:57
carlosondrej, it should not affect StringFreezes... usually is the same but from different versions that our automatic system was not able to handle03:58
ondrejI mean - you will do one big manual cleanup at that time...?04:00
jblackddaa: ping04:00
ddaajblack: sir?04:01
jblackGood morning! (afternoon for you). 04:01
jblackDo you have time for an interview this morning? 04:01
ddaahu?04:01
ddaaWho are we interviewing?04:02
jblackI'm interviewing you. dislodging data, dependancies, etc. 04:02
jblackthis is for a nice solid roadmap04:02
jblackiirc, you're doing the lp part of the supermirror. 04:03
carlosondrej, if I have time, yes04:03
ddaaI'm only on usual overload, not overloaded overload, so I guess I have the time :)04:03
carlosondrej, but I'm a bit busy atm with jordi and daf out04:03
jblackOk. Whats a good offset from now to start? 04:03
ddaajblack: not sure if I can tell you anything though. I did not have time even to touch the LP things I'm supposed to do.04:04
ondrejcarlos: ok, I will ping you if something as glib2.0 is there again...04:04
jblackThis is just in the context of building a raodmap. 04:05
carlosondrej, there are more, I know, but I will try to fix the ones people ask for first04:05
ddaa"Whats a good offset from now to start?" I do not understand your question.04:05
jblacknow + 0 min, now + 1 hour, six hours from now, after you've had a cup of wine.... 04:06
ddaajblack: let's do it now.04:06
jblackGreat.04:06
jblackI'm that pink number on the bottom.04:08
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
=== BjornT [i=10183@82-135-221-189.ip.takas.lt] has joined #launchpad
carlosondrej, done: https://launchpad.net/distros/ubuntu/breezy/+sources/glib2.0/+translations 04:38
carlosondrej, next week the deprecated entries will disappear04:39
bradbspiv: will you have a chance to do that review today?04:43
ondrejcarlos: thanks04:44
=== Keybuk [n=scott@descent.netsplit.com] has joined #launchpad
carlosspiv, can I merge the last branch you reviewed? or do you need anything else after my last answers?04:46
spivbradb: In your mail now.  That should keep you busy ;)04:47
spivcarlos: Your devel branch?04:49
bradbspiv: cool, thanks04:49
carlosspiv, yeah04:49
carlosspiv, I think the only open issue is related with the new Interface you suggested04:49
spivcarlos: Hmm, I don't see a reply to it, and my review had a few questions.04:50
carlosspiv, I answered them...04:50
jblackspiv: You're up! Will you be up in a little bit? 04:50
carlosspiv, when did you get my last email?04:50
spivjblack: Unlikely, it's past my bedtime.  You might get lucky though ;)04:51
spivcarlos: The 12th, I think.04:51
=== jblack crosses his fingers
carlosspiv, my laptop's email server went down04:52
spivcarlos: I've definitely seen no answers to my review of your devel branch...04:52
bradbspiv: how much longer will you be around? i'm hoping to fix this up and land today, if possible.04:52
carlosit should go out now04:52
=== spiv double checks the spam folder.
spivbradb: About to crash, sorry.04:53
bradbok, no worries, thanks for the review04:53
=== Mez [n=Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
spivbradb: But if the changes you make are all more or less as proposed in the review (and you make all the changes required by the review), you can merge.04:54
spivI guess that's technically merge-conditional rather than needs-reply.04:54
spivExcept that I want to review the changes after merge in that case, just in case :)04:54
spivThe nice thing about having that huge list of tests is that we can be confident it actually works, even if it's ugly.04:55
bradbyep, i live by that motto04:55
spivYeah, I'll mark it merge-conditional on the wiki for you.04:55
bradbthanks04:55
spivcarlos: ok.04:56
kikocarlos, I hate POParser already04:56
carloskiko, ok, now we are three, should we create a club? :-P04:57
kikoI might be able to fix it somewhat05:00
kikoI'm trying05:00
kikocarlos, would it make sense to strip() all lines in a pofile?05:01
carloskiko, daf has a new parser that should be compatible with current one, I don't think you should expend too much time with it, we should move either to daf's one or fix gettext's one05:01
jblackkiko: Glad you're here.05:01
jblackspiv: Still around? 05:01
spivcarlos: Also, update the wiki when you reply to a review, to mark it needs-review again.05:02
carloskiko, before or after remove msgid "" and msgstr "" ?05:02
carlosspiv, ok05:02
spivcarlos: That way I only need to look at one place to know if I have review work to do.05:02
kikocarlos, in general, I mean -- should trailing whitespace be taken into account?05:03
kikocarlos, a new parser? wow, where?05:03
carloskiko, he sent me it a while ago, but still has some bugs05:03
spivjblack: Yes, but only barely.05:03
jblackDo you have time to look at an email and add 3 lines to it? 05:03
spivIf you're quick ;)05:04
=== jblack gives spiv big/sad puppy eyes
jblackWhat email address to you prefer for sending? 05:04
spivandrew@canonical.com05:04
carloskiko, if you do it before any file parsing, that's ok05:04
=== mpt comes across the text "Acknowledge CoC" in a template
mptAnyone know what that means?05:04
mptcprov?05:04
kikocode of conduct05:05
kikois that the question?05:05
mptI know what a CoC is05:06
mpt(though I'm going to change that to "Code of Conduct" here anyway)05:06
cprovmpt: yes, this actions is documented in the spec, consists in a approval of a not digitally signature of CoC by a CC member (aka LP Admin)05:06
mptbut what does "Acknowledge" mean in this context?05:06
mptcprov: Sorry, "approval of a not digitally signature" ...05:07
Nafallosounds like Approve to me05:07
mptcprov: So someone signs the Code05:07
mptor someone says they agree to it05:07
mptbut doesn't digitally sign it?05:07
bradbspiv: btw, bisect.bisect appears to return the index that would be the insertion point for the item, so 1. it will always be one greater than the position of the item that interests us, 2. it's not documented to raise an IndexError at all, as best i can tell05:07
mptcprov: And then an admin has to say "yes, this is equivalent to a real signature"?05:07
jblackkiko: Will you be here in ~ 20 minutes? 05:07
kikohmm05:08
kikoI shouldn't be05:08
cprovmpt: sorry, typed bad english ... yes, in fact it could be a REAL signature sent by fax to a member  05:08
kikojblack, in 2h?05:08
jblackin 2h, for up to 2h ? 05:08
mptcprov: So this is something an admin does05:08
mptall right05:08
kikocprov, "could" or "will be"?05:09
kikojblack, sure05:09
cprovmpt: exactly, the page is restricted05:09
spivbradb: https://chinstrap.ubuntu.com/~dsilvers/paste/fileuPFG4M.html05:09
jblackIts a date. I'll wear my prettiest dress.05:09
cprovkiko: it is ;)05:09
spivbradb: Note the (seconds, '') trick, which perhaps should be more prominently commented.05:10
mptcprov: How about "Register Someone's Signature"?05:10
kikocprov: huh? "could" or "will be"?05:11
cprovmpt: sound sane, but is it intuitive for the CC members ? maybe "Approve CoC Signature", I'm not sure about the name "Acknowledge", but it was approved by Mako in AU05:12
mptWell, you only need to do it if it wasn't an automatic signature05:14
cprovmpt: yes, if the candidate has no GPG yet, or whatever everything but the normal COC GPG signed.  05:16
mptso I think "Register" makes more sense for something that Launchpad didn't know about05:17
mptpreviously05:17
mpt"Approve" would be for something that's already in Launchpad05:17
=== mpt wonders how he ended up with an empty portlet
cprovmpt: indeed, but if you think the process itself (apart of register a new CoC signature) means you are *approving* a new member of the UBUNTITES super-team, my suggestion still reasonable 05:19
mptcprov: Do people still need to be approved separately even if they sign the Code digitally?05:21
mptcprov: Offhand, do you know which file generates the portlet on /codeofconduct ?05:22
cprovmpt: no, digitally signature automatical promote the user as UBUNTITE05:22
mptok, so this is more about their signature than it is about approving them.05:23
cprovmpt: right, it makes sense05:23
bradbspiv: i think the algorithm that uses bisect.bisect is broken05:23
bradbe.g.05:24
bradb(Pdb) bisect.bisect(representation_in_seconds, (1.5, ''))05:24
bradb005:24
cprovmpt: portlet-codeofconduct[set] -actions.pt depends where you are05:24
bradbspiv: it should be 1, in that case.05:24
mptcprov: At /codeofconduct the portlet is empty05:24
mptand none of the relevant portlets seem to have launchpad permissions stuff, so I'm not sure where the problem is05:24
spivbradb: print representation_in_seconds[0] 05:24
cprovmpt: should I update the CodeOfConduct spec to accomplish this decision05:25
spivbradb: Oh, 1.5, I misread.05:25
cprovmpt: you are not Admin 05:25
spiv(I'm clearly up too late now)05:25
spivbradb: So, one hack is s/''/'z'/05:25
bradbspiv: ew!05:26
spivbradb: the second element of that tuple is the tie-breaker, you see.05:26
bradbyeah :)05:26
spivYou could also do:05:26
bradbwe need an always-higher tiebreaker, but 'z' is, ahem.05:26
spivclass BiggerThanAnything: def __cmp__(self, other): 1; bta = BiggerThanAnything()05:27
bradbright05:27
=== bradb ponders the maintainer for a moment
=== spiv -> bed
spivbradb: An alternative may be to sort the list in descending order.05:30
bradbspiv: I could create a temp list that holds just the seconds, perhaps?05:31
bradb(and bisect that)05:31
bradbi'll do a quick example05:31
spivActually, that's better, yeah: bisect([secs for (secs, text) in rep_in_seconds] , seconds)05:32
spiv(except with less bad var names)05:32
bradbright05:32
spivOr more cutely: bisect(zip(*representation_in_seconds)[0] , seconds)05:33
spivProbably better to do representation_in_seconds = [ ... ] ; maximums, labels = zip(*representation_in_seconds); ... ; bisect(maximums, seconds)  # etc05:34
spivYou'll figure something out ;)05:34
bradbspiv: how crack is this? https://chinstrap.ubuntu.com/~dsilvers/paste/fileUoA1mp.html05:35
bradb(i'm trying to *not* be clever, because clever is hard to maintain ;)05:36
spivWell, it's either that, or second_boundaries, display_values = zip(*representation_in_seconds) :)05:36
bradbright, i'll use zip. i knew there had to be a shorthand05:36
spivWhich may be too clever.  Just because *I* know that zip(*matrix) inverts a matrix doesn't mean the next person will :)05:37
spivI'm happy with your judgement there.05:37
spivWell...05:38
spiv        if matching_element_index in range(len(second_boundaries)):05:38
spiv            return display_values[matching_element_index] 05:38
spivWhat's that about?05:38
spivI'd rather an "if seconds <= second_boundaries[-1] :" than that.05:39
spivHmm, and the way you have it atm will raise IndexError on seconds > 90 I think.05:40
spivbradb: https://chinstrap.ubuntu.com/~dsilvers/paste/filegOhPc7.html05:41
bradbspiv: https://chinstrap.ubuntu.com/~dsilvers/paste/file83r1Jy.html05:41
bradbit doesn't raise an exception, all the tests pass05:41
bradbthe -1 thing is interesting too, mind05:42
spivHmm.05:42
=== bradb twiddles
spivOh, right, I see.05:42
spiv"matching_element_index in range(len(second_boundaries))" looks ugly to me.05:42
spivAnd the direct test on seconds explains the purpose better.05:44
spivAnd hopefully is more consistent with the other changes I proposed.05:44
=== ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad
spivBut I'm getting too fuzzy headed...05:44
=== spiv -> really sleep
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
bradbspiv: https://chinstrap.ubuntu.com/~dsilvers/paste/fileOta8iB.html seems to have hit the sweet spot05:49
=== carlos -> out
carloswill be back later today05:54
carlossee you05:54
mptcprov: Sorry, lunch was urgent05:56
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
mptcprov: I should never see an empty portlet, no matter what my permissions are05:57
mptit just looks wrong05:57
mptso in that case launchpad.Admin should be around the entire portlet, not the single item inside it.06:00
sabdflyou can put that permission inside the portlet06:05
sabdfl <div tal:condition="" class="portlet"> etc06:05
mptright06:05
mptok, so I want "is an admin or is not logged in at all"06:06
mpt(because they might be a logged-out admin)06:08
mptspiv: got a minute?06:21
=== lamont [n=lamont@15.238.5.97] has joined #launchpad
sabdflddaa: you can safely delete those for the moment06:25
ddaasabdfl: what do you mean by "for the moment"?06:26
ddaaeither it's deemed useful, or not...06:26
sabdflwell, forever, unless we decide to resurrect them :-)06:26
sabdflthere's currenlty quite a lot of data in there06:27
ddaasure, for every imported revision we published06:27
sabdflas i recall, we want to store some information about each revision, but not the actual files, right?06:27
sabdflwe want to store, for example, which other revisions got merged into a given revision, don't we06:28
ddaaThat's about how it ended up after we talked you out of storing archive fulltext in the database. But the data we are talking about implementation specific: the name and checksums of individual files in the changeset storage of Arch archives.06:29
ddaaThe only reason I can see to have this data there is to have a "backup" in case the mirror gets compromised. IMO the database is not the right place for that. Otherwise, I'm pretty sure this changesetfile data is useless.06:30
ddaaAlso, these tables are completely irrelevent with bzr, which use a completely different storage.06:30
cprovmpt: ehe,  no problem06:30
cprovmpt: you are right about the portlet, my decision produce a strange result06:31
ddaasabdfl: these tables store no semantic informations about the revisions.06:31
sabdflddaa: ok, drop those tables06:31
sabdflcould you draw up a spec for a Revision table, for me?06:31
sabdflit may involve a second table, or more, for the semantic richness, such as "revisions merged into a given revision"06:32
sabdflcall the latter table Merge06:32
sabdflunless mpool has a better name for it06:32
ddaaI could probably do it. But after I get up to speed with the specs you guys have written in br, and after I've cleared the (large) current backlog of very urgent things I have to do.06:33
ddaaSo, if you want it before september I'm afraid you would have to ask someone else, or move some of my load on somebody else.06:34
ddaaAnything that does not involve fixing current or imminent breakage is way down my todo stack.06:35
ddaaRight now I'm trying to fix a disconnection problem with the native cvs client so I can reproduce the python import problem...06:36
ddaaAnytime I touch cscvs or importd, that turns into a recursive descent to hell.06:36
sabdflwell, you guys wrote that code, and you had months to do it, so little sympathy from here ;-)06:39
=== ddaa ostensibly ignore sabdly
sabdflstrip out the changesetfilehash stuff so at least you can clean all of that out06:40
cprovmpt: continuing about the "Ack CoC" details, do you want me to work on it ? Does it needs  a quick look of someone from CC ? 06:40
sabdflwhen are you going to come here? we'll spend a few days pair programming on the bits i want done06:40
ddaasabdfl: lemme see, I'm currently trying to rent a flat06:41
mptcprov: I've used "Register Someone's Signature", with a + icon06:41
ddaathen on sep. 10 I will attend the marriage of a childhood friend06:41
mptcprov: It's in mpt@canonical.com/launchpad--deactionizing--0508 if you want to look (though there's a lot of non-CoC stuff in there)06:41
cprovmpt: uhm, have you already fixed ?  great, you should change also the URL 06:42
ddaasabdfl: depending on how the appartment plans unfold, I may be able to come starting sep. 12.06:42
mptcprov: ok, will do06:44
ddaaI cannot commit to anything right now, as it's all in a state of flux. I might very well be moving to the new appt on the sep. 12 week.06:44
cprovmpt: thank you for help me on this ;)06:44
mptcprov: It's ok, fixing wording is part of my job06:45
=== mpt wonders why all our zcml contains 'xmlns:lp="http://launchpad.canonical.com"' when that host doesn't exist
sabdflddaa: i am away sep 16-3006:46
ddaathat's going to be tricky06:46
ddaaNext week is not possible, as I have an appt visit, and I might be signing the rent for an appt I already visited.06:47
ddaa(actually, I stand a pretty good chance, so it's a small "might")06:48
ddaaI'll try to get one week at some point before sep. 906:49
=== mpt gets ready for a world of test failures
sivangsabdfl: what is that revision table going to be used ? to track revisions of upstreams sources that get imported into launchpad's baz repo?06:58
sabdflyup07:03
cprovmpt: do you have time for a quick view on what 've already done for buildd UI ? http://hillary:8086/buildfarm/ ...07:03
ddaasivang: yup, at first. Then it will also track revisions of bazaar branches uploaded to the supermirror.07:04
mptcprov: ok, so this is what you had before the ABUI spec?07:11
=== cprov nods
=== BjornT_ [i=10183@82-135-221-189.ip.takas.lt] has joined #launchpad
mptIf a system error occurs at an URL that nothing links to, is that still a bug?07:27
=== mpt guesses that's a SteveA question
=== ddaa tries to open the debug log of the python import, and get a "maximum buffer size exceeded"
ddaaduh... it's only a puny 214M, come on you lazy bastard emacs!07:29
kikovim rocks07:30
jblackYeah. go vim. :)07:31
ddaaless is faster07:31
jblackjdub: ping07:33
jblackduh. its middle of the night for him07:33
sabdflis the guess-your-country stuff working again?07:35
sabdflno, it's not07:36
=== camilotelles_ [n=Camilo@200.128.80.254] has joined #launchpad
ddaaApparently, guido likes to add comments in the cvs files after committing...07:43
ddaano wonder it cause import tools to blow07:43
kikospiv, I am rumbling python-dev about deprecating id(), hee hee07:44
=== philiKON [n=philipp@G1b90.g.pppool.de] has joined #launchpad
=== oferw [n=chatzill@217.132.154.48] has joined #launchpad
philiKONwas launchpad or rosetta updated to a new version recently?07:46
philiKONthe new translation progress indicators aren't half as useful as the old ones were.07:47
philiKONthey try to look fancier but in fac tthey look goofier07:47
philiKONand some times don't even work correctly07:47
kikophiliKON, take it up with mpt 07:48
kikothere is the issue that they are partially broken07:48
kikompt, can you ask stub to cherry-pick your fix?07:49
philiKONe.g. when i look at https://launchpad.net/products/zope/+series/zope3.1/+translations, the german and russian bars are broken07:49
philiKONplus, why do they have to be a gradient now? it makes them harder read (for me)07:50
philiKONwhat added value does it have compared to a solid colour?07:50
mptphiliKON: They were always a gradient. I had to make some of them lighter so that color-blind people could read them.07:53
=== philiKON must have been colour bliend
philiKONblind07:54
philiKON:)07:54
philiKONnever looked like gradients to me before07:54
mptkiko: I haven't heard back from PQM yet07:55
kikouhm07:55
philiKONi don't mind the weirdly bright colours, but i find the vertical gradient very disturbing07:55
philiKONanyway, supper07:55
philiKONbbl07:55
mptok, fair point07:55
mpt"PQM Queue: 0 scripts"07:55
ddaacannot parse this shit08:00
ddaait makes no sense08:00
ddaamhh... maybe it does... there are extraneous revisions, but they are all merges08:01
ddaaKeybuk: help!08:01
Keybuk'sup?08:01
ddaaIn the python-main rlog08:02
ddaafor /cvsroot/python/python/dist/src/Lib/test/test_mailbox.py,v08:02
mptkiko: Actually, this might be a side-effect of moving to an Async machine08:02
ddaarlog says: total revisions: 14;\tselected revisions: 1408:02
ddaaHowever08:02
kikompt, ask salgado 08:03
ddaathere seems to be 16 revisions!08:03
sabdflkiko: is there a bug on the request-country-guessing stuff being broken in production?08:03
ddaarevisions 14, 15 and 16 are 1.3.4.1, 1.8.10.2 and 1.8.10.108:04
ddaaand they are all merges08:04
ddaa(there's some other weirdness that suggests that the ,v files was manually edited by GvR)08:04
kikosabdfl, let me find it so you can evaluate08:04
ddaaKeybuk: can you make any sense out of that?08:04
mptsabdfl: yes08:04
kikosabdfl, is it https://launchpad.net/malone/bugs/173008:05
kiko?08:05
ddaaKeybuk: maybe you'd like a command to get the problematic rlog?08:05
Keybukplease08:05
sabdflthanks, yes08:05
kikompt?08:06
kikoask salgado to assist you08:06
mptyes, he just has08:06
=== mpt wonders why "Accepted" in bug listings is danger-red color
ddaaholy shit08:07
jblackkiko: Did you get a chance to read that email? 08:07
ddaacvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/python rlog python/dist/src/Lib/test/test_mailbox.py08:07
kikoyes jblack 08:07
kikojblack, but the roadmap, while an excellent idea, is missing the launchpad side of things AFAICT08:08
jblackThat's what I was hoping to talk about. I'd love to get you into a datadump mode, and do beautiful things to that. 08:08
jblackkiko: Yeah. Exactly. Thats why I'm chasing you, and stevea when he gets back. :)08:08
ddaaKeybuk: I think I have figured it out. Revision 1.1.2.1 contains the log of two other revisions, verbatim, you can tell from the revision numbers.08:09
Keybukyeah, was about to say just that08:09
KeybukI count 14 revisions, one of which contains the log messages of two others08:09
ddaaI know exactly what I should do to fix it. There's a todo in the code about the issue.08:09
ddaaI do not know _HOW_ I should fix it, though.08:10
ddaaKeybuk: thanks for your help.08:10
ddaaKeybuk: is there any garantee on the ordering of revisions in rlog?08:11
jblackkiko: So, when you get a chance, I'd love to "sit down" with you, and add what you know to this document. :)08:11
=== robitaille [n=daniel@d154-5-117-228.bchsia.telus.net] has joined #launchpad
ddaaI think that could give a pretty useful heuristic...08:11
ddaa(after all, that's how the human figures it out)08:12
jblackkiko? 08:14
kikojblack, I'm in a meeting, will be with you after08:14
jblackOk. Cool.08:14
ddaaMh... actually, what I thought is not going to work.08:21
ddaaNeed to get magic.08:21
ddaaKeybuk: I need your suggestions about how we could parse that.08:21
KeybukI'm not sure I have any useful suggestsions08:23
ddaaRight now, the parser synchronises at "---"... separators. There's an option to ignore one if it's preceded by a blank line (not enabled, the todo is about trying it that way if it fails when not ignoring), but that would not work here because there are two revisions, and the transition between them looks right.08:23
ddaaI'm thinking we might be able to do magic with "this revision number _cannot_ happen here, it must be part of the log message", but I need to know the ordering garantees we can expect.08:24
ddaamaking sense?08:24
KeybukI don't know if there are any08:28
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  more homepage love (patch-2266: mark.shuttleworth@canonical.com)08:30
ddaaKeybuk: do you know who would know that I could ask?08:31
Keybuknot off-hand08:31
Keybukafaik, the defacto upstream response to problems parsing rlog like this is "don't"08:35
sabdflcarlos: do we have language packs rocking?09:09
mptjblack?09:12
sabdflbradb: how's that bug tracker looking?09:12
sabdflmpt: how's my new main_template coming along?09:12
jblackmpt: Right here09:12
mptjblack: baz crashed during a switch. It thinks it's in the TO branch, but all the code (checked by diffing against mainline) is still in FROM state. What to do?09:13
mptsabdfl: I'll get to it once baz starts cooperating :-)09:13
jblackBest thing to do would be to file a bug, put the tree off to the side until lifeless gets back on Monday, and do a fresh get.09:14
mptjblack: Is that just "baz get rocketfuel@canonical.com/launchpad--devel--0" in-place?09:15
jblackThat should do fine for you, yes.09:16
mptok, ta09:16
jblackYou'll want to give a directory name of course. :) 09:16
mptas in, "."09:16
jblackbaz needs to plop it into a subdirectory.09:17
jblackI'd cd .., rename the broken tree out of the way (mv brokendir ~/brokendir-for-lifeless), then baz get rocketfuel@.... olddir09:17
mptok, thanks09:17
mpthmm, that means doing my bugfix again09:20
bradbsabdfl: working on the bugtask assignee widget review finally. response to spiv's review of my implementation of the other half of PresentingLengthsOfTime is awaiting spiv's confirmation to merge tomorrow. MaloneSearchResults implementation depends on it.09:20
mptnm, it was only 2 lines09:20
bradbsabdfl: there also remains: finishing up the menus, distrorelease CVE report, changing the URLs (again), turning +bugs on distro in a triage page, changing the distro release +bugs page into something else, and probably other things.09:22
sabdflsource pacakge bugs list?09:23
kikolanded!09:23
bradbi landed that a few days ago09:23
sabdflcool09:23
bradbjust need to add a couple more portlets (but i confirmed with kiko that it was okay to first check it in a bit minimal on portlets, to keep the size of the diff smaller)09:24
bradbi landed distro release targeting a few days ago too, which is a huge usability improvement, IMHO09:24
sabdflok09:24
sabdfldudes, check out the NEW HOME PAGE!09:24
sabdflkiko: as soon as we get sane karma cacheing, we get a list of top hax0rs on the home page too09:25
bradbsabdfl: nice improvements on the homepage09:26
mptcprov: I'm working on ABUI now ... Is a speedy-index something a human will enter manually?09:26
bradbeasier to jump right in09:26
cprovmpt: yes, it will be. It should be something sane from which we can calculate ETA in the future09:27
mptcprov: Can you give an example? I've still got no idea what it is09:27
sabdflABUI?09:28
bradbBjornT_: I often have a problem creating page tests for pages that involve saving a change on the task page, which then redirects to the bug page. After I'm redirected to the bug page and hit Ctrl-C to stop recording, I get things like:09:28
bradb  File "/home/bradb/launchpad/lib/zope/app/tests/dochttp.py", line 97, in dochttp09:28
bradbany idea why?09:28
bradb    assert (request and response) or not (request or response)09:28
bradbAssertionError09:28
cprovsabdfl: AutoBuildUserInterface spec09:28
mptsabdfl: AutoBuildUserInterface spec (while waiting for baz)09:28
cprovmpt: I'm not sure yet, something from 0 til 10 should be enough to represent the performance scale, don't you think09:30
mptcprov: I don't know, what do you mean by "performance scale"?09:30
sabdfldon't sweat this minor stuff guys, get the basics in place09:31
sabdfluse a number, if theres a number in the db09:31
sabdfljust get it up09:31
sabdflpolish can come later09:31
sabdflmpt: spend less time perfecting on paper09:31
cprovmpt: how fast a machine can build a "default" job 09:31
sabdflget the data represented natively09:31
mptcprov's already implementing it, sabdfl09:31
sabdflfine09:31
cprovsabdfl: indeed09:31
mptI just want to know what the field means, coz I had no clue09:32
sabdflok09:32
mptI thought it was something for searching09:32
BjornT_bradb: look in page-test.something directory. in there are a bunch of foo.response and foo.request. but for some foo:s a response is probably missing09:33
bradbhm09:34
bradbthat sounds like a lot of effort09:34
BjornT_bradb: if you remove the foo.request with the missing foo.response you can run lib/zope/app/tests/dochttp.py page-test.something > page-test.txt09:35
BjornT_bradb: yes, it should just work.09:35
BjornT_bradb: what does the foo.request file contain?09:37
bradbBjornT_: 09:40
bradb  File "/home/bradb/launchpad-two/lib/zope/app/tests/dochttp.py", line 97, in dochttp09:40
bradb    assert (request and response) or not (request or response)09:40
bradbAssertionError09:40
bradbbradb@oxygen:~/launchpad-two $ ls /tmp/page-test.-qogHJ/09:40
bradbwatch0001.request  watch0001.response  watch0002.request  watch0002.response09:40
bradbboth .request files look like normal requests to me09:41
=== bradb will try that dochttp command
BjornT_hmm, strange.... is any of the .response empty?09:42
bradbno09:42
bradbbradb@oxygen:~/launchpad-two $ python lib/zope/app/tests/dochttp.py /tmp/page-test.-qogHJ/ > xx-bugtask-assignee-widget.txt09:43
bradbTraceback (most recent call last):09:43
bradb  File "lib/zope/app/tests/dochttp.py", line 197, in ?09:43
bradb    main()09:43
bradb  File "lib/zope/app/tests/dochttp.py", line 97, in dochttp09:43
bradb    assert (request and response) or not (request or response)09:43
bradbAssertionError09:43
bradbi'll debug it09:44
bradbhm, response is None09:46
BjornT_what's request.path?09:48
bradb(Pdb) request.path09:49
bradb'/++resource++treeExpanded.gif'09:49
bradbone of the request files has two GETs in it. not sure if that matters.09:49
bradbi.e. watch0002.request09:50
bradbthe corresponding .response has only one HTTP/1.1 200 Ok09:50
bradbi'll try cutting on the second GET09:51
bradbdarn, that appears to have worked09:52
=== Makako [n=mwerner@p54998041.dip0.t-ipconnect.de] has joined #launchpad
mptWhen (as instructed on RocketFuelSetup) I enter "baz build-config configs/canonical.com/launchpad/development" I get "arch_pfs_fs_connect: failed to get the dir for configs/canonical.com/launchpad/". Should that be "baz build-config configs/default/launchpad.conf" instead?09:57
mpthmm, no, that doesn't work either10:03
mptah, I see what I did wrong10:05
sabdflmpt: i really want the main_template we described in brazil to land with the next production update10:10
sabdflis that feasible?10:10
=== sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has left #launchpad []
mpt...10:14
=== robitaille [n=daniel@d154-5-117-228.bchsia.telus.net] has joined #launchpad
ddaaKeybuk: actually, I think I found a way to make rlog parsing reliable. I need to talk about it with lifeless, but I think that's the way to go. But it's going to be a lot of work to set up.11:15
bradbBjornT_: I've got another take on the BugTaskAssigneeWidget on its way shortly...11:15
bradbBjornT_: btw, IInputWidget.applyChanges appears to have an undocumented requirement to return True or False.11:18
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
=== mpt wonders if leaving Brazil, downloading a new copy of the LP tree, and returning to Brazil would be faster than trying to download it from here
jblack You're still in brazil? 11:37
mptyup11:38
bradbBjornT_: I followed up to your review of the bugtask assignee widget. Do you have time to take a look?11:50
ddaampt: I suggest you use rsync instead of archive-mirror11:54
ddaathat should alleviate some of the pain11:54
mptddaa: I'm in the middle of build-config11:55
mptactually, probably nearly finished it11:55
mptdone 12 out of the 14 LP trees11:57
=== mpt cries
bradbyeah, but isn't it an elegant design?12:00
jblackI usually grab a mirror of everything I could want before I go.12:00
mptddaa: ok, let's try that rsync method12:01
ddaa14 trees??12:01
mptgnarly, pybaz, hct, pytz, pygettextpo, etc12:01
jblackmpt: Are you sitting near kiko, by any chance? 12:01
mptjblack: he's in earshot12:02
ddaampt: have a look at the rocketsync script12:02
jblackwould you mind asking him if he's going to make the meeting he and I planned a couple hours ago for an hour ago? :) 12:02
mptddaa: I currently have all my stuff in launchpad/launchpad12:03
mptddaa: If I could just work out how to make that launchpad, I'd probably have a working tree12:03
=== stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
ddaampt: I do not understand. Maybe I lack context.12:03
jblackddaa: I think he means that he's got a wedged tree (switch broke on him) and he needs to make it something useful12:04
mptddaa: Context: After following the RocketFuelSetup instructions, ~/ubuntu/launchpad/launchpad/{configs,Makefile,{arch},etc} and ~/ubuntu/launchpad/{configs,Makefile,{arch},etc}both exist.12:05
mpt(the launchpad/launchpad/ one is the one containing all the code.12:06
jblackhey! 12:06
jblackcheck .arch-cache. that should be close to a partial archive12:06
ddaampt: do you realize that one of those is actually the "dists"12:06
mptoh crapitude12:07
jblack also, if you have a revision library, you have working trees that you can cp out.12:07
ddaamaybe some dope told to do something like "baz get rocketfuel@canonical.com/dists--devel--0 launchpad" but it's just utterly confusing.12:07
mptdists is supposed to be in ~/ubuntu/12:07
ddaa???12:07
ddaawhat does that have to do with ubuntu?12:07
ddaawhatever... it's just names12:07
mptyes12:08
ddaaso, I'm positive12:08
ddaanah12:08
ddaadists/configs and launchpad/configs... how confusing :(12:09
mpt~/ubuntu/launchpad is a direct result of RocketFuelSetup12:09
=== ddaa goes to check what that talks about
mpt"mkdir ~/ubuntu; cd ~/ubuntu;" etc12:09
mptah, I see what I did wrong12:10
mptI did the dists get from inside launchpad/ instead of inside ubuntu/12:10
ddaawell, you're not supposed to have a launchpad/ dir before checking out dists12:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!