/srv/irclogs.ubuntu.com/2009/07/28/#launchpad-dev.txt

gmbHurrah for /++form++ links. Sadly, in this case, I can't use one.09:52
wgrantWhy does DistroSeries.lucilleconfig still exist? Shouldn't ComponentSelection cover that?09:52
bigjoolswgrant: legacy.  it needs to die10:00
wgrantbigjools: Ah, good.10:00
gmbArgh. The bloody branch picker is horrible, horrible, horrible.10:01
deryckGood morning, all.11:02
mrevellyo deryck11:09
=== noodles775 is now known as noodles775-afk
=== noodles775-afk is now known as noodles775
beunogood morning12:33
noodles775hey beuno !12:33
beunoI slept today!  :)12:34
noodles775Good to hear!12:34
gmbderyck: Damn, I can see why firebug's annoying you now.12:39
wgrantIt's not just me, then?12:39
deryckgmb, yeah, it's beyond painful to me now.  I can't even use it without popping it out into a new window now.12:40
gmbwgrant: I don't think you've done all that much to annoy deryck. Keep trying, though.12:40
gmbOh, wait.12:40
deryckheh12:40
wgrantHeh.12:41
deryckI'm actually not easily annoyed... but firebug and I are on not-so-friendly terms these days.12:41
gmbderyck: Do you know if there are any good notes about using the JS webservice client? It's frustrating me to death.12:45
deryckgmb, I don't know of any notes, sorry.  I just grep around the js files we have for prior art.12:46
gmbRats.12:46
gmbderyck: Oh well, thanks anyway. Maybe I need food before continuing. Yes, that seems likely.12:46
* gmb -> lunch12:46
mrevellI've just posted an interview with the people from Open Mind, a MIT project to build a database of common sense concepts. They're using LP. Some interesting stuff -- http://blog.launchpad.net/projects/open-mind-and-launchpad12:51
deryckoh happy freakin' day I fixed firebug for me.13:07
deryckgmb, uninstall firebug, close FF, grep your profile directory for firebug entries (mostly locatestore.rdf and prefs.js), delete those entries and then reinstall firebug.  Firebug behaves again!13:08
=== mrevell is now known as mrevell-lunch
bacmrevell-lunch: ping me when you're back from lunch13:50
beunomrevell-lunch, are we on for our call in 10?13:51
=== salgado-afk is now known as salgado
deryckleonardr, ping.13:54
leonardrhi deryck13:54
deryckleonardr, hi.  I have a question about the js web service client and trying to get a result back in html...13:55
leonardrok13:55
deryckleonardr, I'm trying something like: https://pastebin.canonical.com/20439/13:55
deryckleonardr, am I on track here, or is there a better way?13:55
leonardrderyck, what is the PATCHplugin? i've never heard of it13:57
leonardrthe code looks fine but i just never heard of that PATCHplugin13:57
leonardrthe way you get an xhtml representation is to specify 'accept', as you did13:57
deryckleonardr, PATCHplugin is in lib/canonical/launchpad/javascript/client/client.js and comment says: * This plugin overrides the widget _saveData method to update the * underlying model object using a PATCH call.13:58
leonardroh, ok. so it's a way of making the web service the destination of widget actions13:59
deryckleonardr, right.  So this looks like the right path I'm headed down then?14:00
leonardrderyck, yes, it looks like it14:00
deryckleonardr, excellent.  thanks for the help!14:00
leonardrnp14:01
=== abentley1 is now known as abentley
gmbderyck: Ah! That's... annoying but useful. Thanks.14:10
deryckgmb, yeah, you would think it could blow away previous defaults or somehow be backwards compatible.14:16
=== mrevell-lunch is now known as mrevell
sinzuibac, Edwin, salgado: standup in 2 minutes14:31
intellectronicaleonardr: i'm having an interesting problem using the webservice. it seems it can't mix between api.launchpad.net/beta and launchpad.net/api/beta url. if i post to and using the other in a value it complains14:34
intellectronicaleonardr: i've got a workaround, but i think it would make sense to allow both, no?14:35
leonardrintellectronica, are you using an ajax client?14:35
intellectronicaleonardr: indeed14:35
intellectronicaoh, of course, domain restrictions!14:36
leonardractually, it might not be because of domain restrictions, now that i think about it14:36
intellectronicastill, i'm not trying to access a different domain. i just pass a uri as a value14:36
leonardri think the parser assumes incoming urls use the same host as the host of the current request14:37
=== abentley1 is now known as abentley
leonardrthat'd be pretty hard to change; how annoying is this for you?14:37
intellectronicaleonardr: it's annoying in that i have to write code especially to convert the result of canonical_url (which uses the api domain) to the format which uses the /api root. it seems wrong to have that hard coded14:38
intellectronicaas i said, it works now, so i can leave it with an XXX, but i think that it would be good if in the future we handled that14:38
leonardrintellectronica: i think bjornt has fixed the underlying problem14:38
intellectronicaleonardr: even in the absence of a webservice request?14:39
leonardrintellectronica: ok, let's back up14:40
leonardrwhere are you getting the data that you have to convert?14:40
intellectronicathe problem i have is that i do the formatting in a normal web request14:40
intellectronicaleonardr: while processing a normal browser request, i take an object (from a vocabulary) and i want to get the api url for it, which i will use when issuing a PATCH request from the AJAX client14:41
leonardrok, you are writing code in launchpad14:41
leonardri thought you were writing client code14:41
intellectronicayup14:41
intellectronicaleonardr: well, i'm doing both. the client code wants an api url in the same domain as the page14:42
intellectronicabut i'm preparing this value in advance when rendering the page14:42
leonardrintellectronica, what bjornt did was change canonical_url so that if you did not pass in a request object, it would give you the object's website url, not the web service url14:43
intellectronicaleonardr: right, so that won't solve my problem14:44
leonardrbut that won't help you. you need to get the object's web service url for the web service as accessed through the website14:44
intellectronicaleonardr: what i have to do now is get the website url, parse it, inject '/api/beta' and unparse14:44
=== abentley1 is now known as abentley
intellectronicaleonardr: maybe all i need to do is extract this to a function we can use everywhere. i don't know if it makes sense to overload canonical_url with more stuff14:45
leonardrintellectronica: in theory there's some request object you could create and pass into canonical_url that would make canonical_url do what you want14:46
leonardrcanonical_url already generates those urls under some circumstances14:46
intellectronicaleonardr: ok, that may be a better way to implement that, but i still don't think i should have to do that every time i need to generate a url14:46
intellectronicaleonardr: also, it seems a bit wrong to create a request object just for that purpose14:47
leonardrintellectronica, we create request objects all the time for similar purposes14:47
leonardrchanging canonical_url is a huge task14:47
intellectronicafair enough. do you maybe remember a place where we do that?14:48
intellectronicaleonardr: i agree. i think i'll just create a new helper function, webservice_canonical_url() or something like that14:48
leonardrintellectronica: check out bjornt's code. you can do the same thing in your helper function, but also check canonical_url to see what the request has to look like for that kind of url to be generated14:48
intellectronicaleonardr: cool, thanks14:49
=== abentley1 is now known as abentley
BjornTintellectronica: it might work if you simply do: canonical_url(ob, request=IWebServiceClientRequest(request))14:51
BjornTintellectronica: but hard to say without looking at your code14:51
intellectronicaBjornT: yes, that seems to work just fine. thanks!14:54
gmbGah. Did I mention that I hate Javascript?15:11
mars:)15:11
maxbDoes anyone like Javascript? :-)15:17
kfogelmrevell: ready to skype?15:31
mrevellHi kfogel, almost, just making a cup of tea15:32
kfogelmrevell: no rush, I'm on skype now15:33
kfogelmrevell: meaning, available when you're ready, but take your time15:34
gmbDoes anyone have any idea under what circumstances a named_post would just sort of vanish into the ether when called from Javascript? Neither success nor failure callbacks are called.15:35
gmbAh, wait.15:36
gmbIf I actually read the output from the server, that would help.15:36
=== Ursinha-afk is now known as Ursinha
rockstarmorning15:53
noodles775_beuno: It'd be great to be able to find out exactly what the purpose and use-cases of a page is on LP - documenting that info in some permanent location.15:54
noodles775_beuno: I think mars mentioned something along those lines the other week...15:54
beunonoodles775_, yes15:54
noodles775_beuno: but I've created https://dev.launchpad.net/SoyuzBuildersIndexPage15:54
noodles775_as an example, and will fill it out as I get info, but is there anything you'd add (I'm about to create a second one for another page)15:55
beunonoodles775_, on calls, but will look at it afer them15:56
noodles775_beuno: yep, no rush. Thanks.15:56
=== kiko-afk is now known as kiko
* rockstar is glad to have 4 cores, since make schema is chewing on an entire core16:36
=== abentley is now known as abentley-lunch
=== salgado is now known as salgado-lunch
=== deryck is now known as deryck[lunch]
=== noodles775_ is now known as noodles775-afk
=== deryck[lunch] is now known as deryck
sinzuibeuno: I would like your opinion of the screencaps for bug 399010.17:50
ubot3Malone bug 399010 in launchpad-registry "Update simple edit pages to base-layout" [High,In progress] https://launchpad.net/bugs/39901017:50
mupBug #399010: Update simple edit pages to base-layout <story-ui-3> <Launchpad Registry:In Progress by sinzui> <https://launchpad.net/bugs/399010>17:50
mupBug #399010: Update simple edit pages to base-layout <story-ui-3> <Launchpad Registry:In Progress by sinzui> <https://launchpad.net/bugs/399010>17:50
mupBug #399010: Update simple edit pages to base-layout <story-ui-3> <Launchpad Registry:In Progress by sinzui> <https://launchpad.net/bugs/399010>17:50
* sinzui now hacks on project page17:50
rockstarLooks like we need to either kill ubot3 or mup...17:51
gmbrockstar: Better still, make them fight until one dies.17:53
sinzuitwo bots enter, one bot leaves17:53
sinzuiI suspect mup is cheating and may in fact be 3 bots17:54
* gmb EODs18:07
=== abentley-lunch is now known as abentley
=== kiko is now known as kiko-fud
beunosinzui, finishing lunch, and will look18:12
abentleyrockstar: chat?18:24
rockstarabentley, sure.  One sec.18:25
abentleyrockstar: https://launchpad.canonical.com/DeveloperDocumentation/TemplateCodeReuse18:32
rockstarabentley, actually, the more I think about it, the more it would seem to follow current conventions if it was a link to a single submit button form value.18:48
rockstarabentley, although I am not qualified to make UI decisions.18:48
* rockstar hates the look of HTML buttons18:48
abentleyrockstar: I think following conventions is good, up to a point.  I think that having people go to another page just to click a submit button is past that point.18:50
rockstarYes, this is true.  I'm pretty torn.18:50
abentleyYou could almost justify it if you were asking for confirmation, because claiming a review can't be undone.18:51
beunosinzui,18:51
beunoare you up for a massive challenge?18:52
rockstarabentley, ah, yes, that would actually make sense.18:52
sinzuiDude. I just discovered that the new heading and the title edit-widget are incompatible. I am already in a challenge18:52
beunosinzui, heh, ok18:53
beunoI'll try and tackle it then18:53
beunowe need to fix our freakin forms18:53
sinzuibeuno: but I am available18:53
beunothis right-aligned bullshit has to stop18:53
rockstarbeuno, AMEN!18:53
beunoI've tried to train my eyes to ignore it, but I can't18:54
sinzuibeuno. Yeah. There are some near infinite length fields too18:54
beunosinzui, I'll address18:54
beunoI'll do it NOW18:54
sinzuibeuno: a subtle change to launchpad-form-macros will change everything, as too might the css rule18:55
=== salgado-lunch is now known as salgado
beunosinzui, more from my ourage soon19:03
beunoI was looking through your screencaps19:03
beunobut that issue lept coming up19:03
beunosinzui, the template changes look19:04
beunofine19:04
beunothere are a lot of peripheral issues to solve19:04
sinzuibeuno: I understand. That is why the screencaps are repetative...so it is obvious there is something else we need to do to land my branch19:04
beuno:)19:04
beunosinzui, there's something else19:05
beunoabout a change we made to edit/add/remove icons19:05
beunothe rule should be: if you can edit/remove an object, the icon should be on it's right19:05
beunoif it's an action, on the left19:05
beunois there any way we can change that?19:05
beunoI don't like the result of having the add/remove on the right of action links19:06
sinzuibeuno: How do we know the link is an action?19:07
beunosinzui, my guess is that the only way is to specify it?19:07
beunoby default it's an action, but a parameter modifies that?19:07
sinzuiWell in th screencaps, what is wrong with the links?19:07
sinzuiwhich ones are wrong19:07
beunoRelated actions19:08
sinzuibeuno: you are editing the project in all cases19:08
beunosinzui, right, but they are action links19:08
beunowhat I mean by object, is the actual's object name19:08
beunoProject name (i)19:08
beuno(I) Edit something something19:09
beunoin the first case, the important information is the object's name, and secondary is the fact you can edit it19:09
beunoand in the second case, the important information is that you can edit something19:09
sinzuibeuno: If the icon must follow something else in the page, then we use fmt:icon, and we make fmt:icon always render the with the icon on the left19:10
beunosinzui, and for editable objects?19:11
sinzuiSo the rule is: developers may only use fmt:icon  when they are placing a link to edit the "thing" that just rendered19:11
sinzuiis editable objects the same as "thing" that just rendered?19:12
beunoyes, but that means it should be on the right19:12
beunoI think add will *always* be on the left, for example19:12
beunobecause it has to tell you what it adds19:13
sinzuibeuno: I think the rule then is the link text can never be rendered before the icon. The icon may be rendered after the object's text/representation19:13
beunobut edit and remove placed next to something is clear enough19:13
beunoyes to that second statement19:13
beunorockstar, have you heard about BjornT's super inline bug commenting branch?19:14
sinzuibeuno: in https://bugs.edge.launchpad.net/launchpad-registry/+bug/399010, I see "Unsubscribe (-)".19:14
mupBug #399010: Update simple edit pages to base-layout <story-ui-3> <Launchpad Registry:In Progress by sinzui> <https://launchpad.net/bugs/399010>19:14
ubot3Malone bug 399010 in launchpad-registry "Update simple edit pages to base-layout" [High,In progress]19:14
mupBug #399010: Update simple edit pages to base-layout <story-ui-3> <Launchpad Registry:In Progress by sinzui> <https://launchpad.net/bugs/399010>19:14
beunorockstar, I think you should steal it for reviews as soon as it lands19:14
beunosinzui, right. I think that looks wrong.19:14
beunoit should be "(-) Unsubscribe"19:15
sinzuibeuno: I think by your rule (fuck you mup) the link should be...okay we agree19:15
beuno:)19:15
beunoMartin Albisetti (-)19:15
sinzuibeuno: I think I can fix this in a few deft lines of code.19:15
beunounsubscribes me19:15
beunosinzui, you will elevate your status from personal heroe to personal god19:15
sinzuiIf only I had physique of a code instead of an deskbound hacker19:16
sinzuiwow, how did "code" get into that sentence19:16
sinzuioh well.19:17
* beuno wonders what he meant19:17
sinzuis/code/god/19:17
beuno:)19:17
beunoBIG typo there19:17
EdwinGrubbssinzui: the SourcePackageNameVocabulary is in registry/model/sourcepackagename.py instead of registry/vocabularies.py. Is this part of the reorg or just wrong?19:19
sinzuiI think it was wrong and was not automatically fixed by the migration script19:20
rockstarbeuno, sounds good.  I have a backlog of branches that need to land first, but I'll keep it in mind.19:21
beunobigjools, mockup is looking better19:24
beunoalthough seeing it with data it makes me realize some of my thoughts where bogus19:24
beunosinzui, I went through an intensive review of navigation with the UX team and Mark today19:26
beunoand we're looking good19:26
beunoI should get a final-ish mockup back tomorrow19:26
sinzuirock19:27
beunowhich is *very* similar to the last one you saw19:27
rockstarWould someone like to do a JS review for me?19:35
=== kiko-fud is now known as kiko
sinzuibeuno: This is the fix for the modify icons: https://pastebin.canonical.com/20476/ I replaces "sprite-after" with "sprint modify". We do not have a .modify class. If you need to act just on those links, you now have a hook19:37
sinzuis/"sprint modify"/"sprite modify"/19:38
beunosinzui, rock19:38
beunothanks19:38
beunoderyck may go crazy19:38
sinzuiThis will land when pqm opens19:38
beunothanks sinzui19:38
* deryck looks at scrollback, smelling icon changes again19:39
deryckbeuno, why will I go crazy?  Because of changing the icon positioning again? :)19:42
sinzuideryck: only if you are not using the approved way of making links. fmt:link JDRT19:43
* beuno hides19:43
derycksinzui, fmt:link doesn't exist in js. :)19:43
sinzuideryck: fmt:link-icon and fmt:icon-link will also work because They are just aliases for fmt:link19:43
sinzuideryck: if you used sprite-after, you will need to change it to sprite modify.19:44
derycksinzui, yeah, I don't think it's going to be a pain.  Was just going to give beuno a hard time about it. :)19:44
* beuno unhides!19:45
beunoaha!19:45
beuno:)19:45
beunoI promise, I'm standarizing on this rule19:45
beunosinzui, how crazy do you think I am if I drop the use of tables from forms?19:46
rockstarderyck, I think you might like the branch I just sent you.  I'm working on devising a way of pulling markup out of js and back to tal again.19:46
beunoI will have to spend a year of my life fixing tests, right?19:46
deryckrockstar, oh cool19:46
sinzuibeuno: you will cry. the problem is larger than sprites19:46
deryckrockstar, did you ever branch subscriptions?19:46
beunocrap19:46
deryckever do, that is.19:46
sinzuibeuno: there are a lot of widgets that render as tr and td combos because they know all forms are tables19:46
rockstarderyck, I haven't finished it, but I will need to make LOTS of changes to it.  It's going to be more complicated than bug subscriptions, because our subscriptions have state.19:47
deryckrockstar, right.19:47
beunook, well, I'm going to ask to get this for my birthday then19:47
sinzuibeuno: they also assume the table is 2 column. I have seen BAD thing happen when they do not mix well19:47
deryckrockstar, I do have nicer Subscriber and Subscription objects in js now, which you may be better able to re-use.  If you haven't seen those yet.19:48
rockstarderyck, I saw that.19:48
deryckdoesn't help the state difference, but handling users is slightly better.19:48
beunosinzui, I could cheat and make everything colspan=2  :)19:49
beunoespecially now that flacoste is on vacations and can't see me19:49
sinzuibeuno: hey! that is my cheat. I used it last release19:49
beunofantastic, I know have someone to blame19:49
sinzuibeuno: use the change password view to verify our hacks work19:50
* beuno stabs stuff19:52
beunosinzui, the password change form seems to do something funky20:05
sinzuibeuno: it does!20:05
beunowhy?!20:06
sinzuibeuno: solve that form and most of the widget weirdness will also be solved20:06
beunoand where do I stab it?20:06
beunoI mean20:06
beunoI changed the forms macros20:06
beunoand the first field is fixed20:06
beunobut the next two remain the same20:06
beunothey have th's out of nowhere!20:06
sinzuibeuno: The password widget is inserting it's own markup. many of our widgets do20:07
* beuno bangs head against table20:07
beunosinzui, so I should dive into python?20:07
beunowhy does it *just* do that for 2 fields?  when all 3 of them are exactly the same?20:07
sinzuibeuno: EdwinGrubbs discovered that the widgets in that form never align. We decided that setting the width of one column will give the illusion on good design20:08
sinzuibeuno: I think you need to look at the HTML templates used by each widget.20:09
beuno*sigh*20:09
* beuno removes infinite length for input boxes20:10
* sinzui high five's beuno20:10
beunosinzui, I will want you to review this branch20:11
sinzuibeuno: I think these are the problematic controls: https://pastebin.canonical.com/20478/20:11
sinzuisure20:11
beunoI want to make non-optional labels bold20:11
beunothoughts?20:11
beunooh, THANK YOU for that list20:12
sinzuibeuno: I support every effort to fix the madness. I looked at the issue last year and walked away20:12
beunodoes anyone remember the large ec2 instance's name?20:47
beuno-i x1.large?20:47
beunogary_poster, ^20:48
beuno(and, can we make that the default?)20:48
gary_posterbeuno do ec2test --help20:48
beunoah  :)20:48
beunoI did, but didn't read20:48
gary_poster:-)20:48
beunothanks gary_poster20:48
gary_posternp20:48
beunoany reason why that's not the default?20:48
beunooh, it says it does now20:49
maxbgary_poster: Hi - Your name has been mentioned in connection with Launchpad + Python 2.5 a bit - are there any bugs / branches that I, being interested in that, might want to keep an eye on?21:02
gary_postermaxb: hi.  When I get back to this branch and get it landed, we'll have the infrastructure for others to start helping (by moving to newer versions of dependencies, for instance): https://edge.launchpad.net/~gary/launchpad/zbuildout21:04
maxbCan you un-private that branch, if you're at liberty to do so?21:04
gary_postermaxb: oh, sure, sorry.  haven't done that.  beuno (since you tagged me ;-) ), I either ask a losa to do that, or subscribe the launchpad public team, or just push another new branch up, right?21:07
maxbThere is no edit icon for you next to "This branch is private" on https://edge.launchpad.net/~gary/launchpad/zbuildout ?21:09
beunoyes21:09
maxb(I'm randomly speculating that it should work the same way as private bugs, since I've never seen a private branch)21:09
beunosubscribe people21:09
gary_postermaxb: no21:10
gary_posterbeuno ack thanks21:10
gary_postermaxb: kinda busy, I'll just add you for now.  what's your account?21:11
maxbJust maxb, but no rush, it can wait until you can do it properly21:11
maxbsidnei already pushed a public copy a couple of days ago21:11
gary_postermaxb: ok cool.  I plan to do it before EOD.  thanks for understanding.  ping me anytime you like21:12
* gmb wishes for a pqm-submit --do-what-i-mean option.21:15
beunofsck21:16
beunoI forgot to use --headless21:16
beunogary_poster, do I have any other options than killing it?21:17
gary_posterbeuno: no, sorry21:17
beunono problem, stupidity has a price21:17
beunoin this case, probably about 2usd21:18
gmb\0/ wgrant becomes the first community contributor to have code landed on devel. Hurrah, etc.21:42
gmb(at least I think he does)21:42
kfogelmaxb: hey, I noticed you edited the dev.launchpad.net wiki (thanks).  Was it open when you first tried, or did you have to get someone to remove the ACL?21:50
thumpermorning22:30
beunohey thumper22:30
marsmorning thumper22:30
beunoI want to talk to you when you're caffeinated  :)22:30
thumperI see that pqm is open again22:30
* thumper submits some branches22:30
* mars was just being social22:30
thumperbeuno: what was your bug number for your branch listing oopses?22:33
thumperhi mars22:33
thumperbeuno: nm22:34
beunokai22:36
thumperbeuno: LP looks very sucky in FF 2 on Windows :(22:36
beunodoes it?22:36
beunoI'll have to take a look and see why22:36
thumperyep22:36
thumpersprits :(22:37
thumpersprites22:37
beunoreally?  they should work fine on FF2, there's no black magic in them22:37
thumperbeuno: we can talk now if you like22:38
thumperbeuno: I have 20 minutes before the standup22:38
beunothumper, sounds good22:38
* beuno headphoneses22:38
beunothumper, ready22:39
thumperbeuno: my skype is having trouble finding you22:40
thumperbeuno: try to call me22:40
maxbkfogel: I waited until I noticed an Edit link. I understand it's generally open now.22:44
maxbI see the front page is locked - presumably to discourage stupidity22:45
* ajmitch wonders why rocketfuel-get is failing now as it tries to get a bzr lock22:48
ajmitchmore specifically, it's only ~/launchpad/lp-sourcedeps//download-cache that's failing to update, saying that it's a readonly transport22:49
wgrantgmb: Thanks!22:51
EdwinGrubbssinzui: we kinda forgot about the weekly meeting.22:54
sinzuiEdwinGrubbs: yeah. We can talk sometime tomorrow about the pickker work22:54
=== salgado is now known as salgado-afk
ajmitchwgrant: as a quick check, are you able to update ~/launchpad/lp-sourcedeps/download-cache ? It doesn't want to update with bzr+ssh for me22:58
wgrantajmitch: WFM22:59
ajmitchbzr+ssh for you?22:59
wgrantYep.23:00
ajmitchinteresting, I just get:23:00
ajmitchbzr: ERROR: Cannot lock LockDir(lp-45197200:///~launchpad/lp-source-dependencies/trunk/.bzr/branchlock): Transport operation not possible: readonly transport23:00
wgrantWhat are you trying to do?23:01
ajmitchRun rocketfuel-get & not have it fail23:01
wgrantWhat bzr action gives that error?23:02
ajmitchbzr up "$LP_DOWNLOAD_CACHE_PATH"23:03
ajmitchwhich is ~/launchpad/lp-sourcedeps/download-cache23:03
ajmitchnothing out of the ordinary there23:04
wgrantVery odd.23:04
ajmitchThe only thing I can see is that it's a checkout, not a branch23:04
beunothumper, I'm filing the "bzr push lp:project" bug anyway, since I can't find it23:14
beunounless you can  :)23:14
thumperbeuno: ok23:14
thumperbeuno: we could always dupe it anyway23:15
beunoyes, free kama23:15
beunokarma as well23:15
beunoaha23:16
beunobug 18140123:16
ubot3Malone bug 181401 in launchpad-code "should be able to push to lp:project or lp:project/series to make a new branch" [Medium,Triaged] https://launchpad.net/bugs/18140123:16
mupBug #181401: should be able to push to lp:project or lp:project/series to make a new branch <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/181401>23:16
mupBug #181401: should be able to push to lp:project or lp:project/series to make a new branch <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/181401>23:16
mupBug #181401: should be able to push to lp:project or lp:project/series to make a new branch <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/181401>23:16
beunothank you mup23:17
rockstarWho is in charge of ubot3?  Can we get it disabled?23:17
beunodone  :)23:17
rockstarThank you beuno23:17
* wgrant had better get going on another branch before bigjools clears the queue tonight.23:18
maxbmup would seem to have a bug too, since it's replying three times when only a person and ubot3 said anything23:18
wgrantmaxb: The third was probably from the URL in ubot3's reply.23:18
maxbhmm23:19
wgrantIt's reasonable to look for multiple bugs, so I don't think that's a bug.23:19
beunoit's mentioned 3 times23:19
beunoonce by me23:19
beunoand twice by ubot323:19
wgrantAt least ubottu and derivatives have a limit on how often they'll detect a mention of a bug.23:21
wgrantI can't see how badly I killed buildbot :(23:25
ajmitchDo you suspect that you may have murdered it?23:27
wgrantIt's the first community contribution, and it's by me, so something has to go wrong.23:27
thumperwgrant: what do you think has happened?23:28
thumperwgrant: I don't see anything wrong23:28
wgrantthumper: Ah, good.23:29
beunothumper, any idea how to conditionally display a specific CSS class in TAL?23:29
beunoas in, always show the tag23:30
thumperbeuno: yes23:30
beunobut on a condition, display a class23:30
mwhudsonis there a reason the buildbot waterfall is still private btw?23:30
* beuno waits to be enlightened23:30
marsbeuno, eeew, not fun to do in TAL23:30
thumpermwhudson: not any more23:30
thumperbeuno: well...23:31
thumperbeuno: it depends23:31
wgrantParticularly in Python 2.4...23:31
beunoI know it's something like  $condition|something/something23:31
thumperbeuno: you want to use tal:attributes="class ..."23:31
beunoyes, I got that far23:31
thumperbeuno: got a concrete example for me?23:31
beunobut blah|blah only returns True/False23:31
beunoyes23:32
beunoone sec23:32
mwhudsonbeuno: put it on the view23:32
mwhudsoni think returning None will mean not including the attribute at all23:32
beuno          <label tal:attributes="for widget/name;23:32
beuno                                 class show_optional|I-want-a-class-here"23:32
beuno                 tal:content="string:${widget/label}:">Label</label>23:32
beunothe thing is23:33
mwhudsonor a python: expression, but ewww23:33
beunothis is the forms macros23:33
beunoso I could put it in it's view23:33
beunobut I ahve this right above it:23:33
beuno        <tal:block tal:condition="display_label|widget/display_label|python:True">23:33
thumperas mwhudson said, a python tal expression is one way23:34
thumperor put the classname onto the view itself23:34
mwhudsonbeuno: how about you tell us what you're actually trying to do?23:35
mwhudson(a line that never gets old!)23:35
beunook23:35
beunoI want for labels on form elements to be bold if they're mandatory23:35
beunoI somehow feel explaining that won't help23:36
beunobut there you have it   :)23:36
thumpertal:define="classname python: "" and show_optional or "someclass""23:36
thumperno23:36
thumperactually that is exactly wrong23:36
thumper:(23:36
wgrantSounds like you need Python 2.5.23:36
beunoI know I've done this before23:37
thumperswitch "someclass" and ""23:37
mwhudsontal:attributes="class python:[None, 'show_optional'][bool(show_optional)]"23:37
mwhudsonit's horrific, but it'll work23:37
thumperick23:38
thumperthat'd need a comment for sure23:38
beunoUI is fun23:38
marstbh, I'd bounce it23:38
marsput that in the view23:38
mwhudsonbeuno: nicer would be widget/fmt:label-css23:38
mwhudsonand some magic in tales.py23:38
beunoyes, nicer is more expensive than I can afford23:38
thumperwhy?23:39
beunoso I think I'm just not doing it23:39
mwhudsonhow is that expensive?23:39
thumperbeuno: get wgrant to write it :)23:39
beunoI need to start poking in more places, test it, etc23:39
* wgrant fortunately has lectures today.23:39
mwhudsonbeuno: you're not very receptive (and this is a good thing!) to "too much work" when you do ui reviews :)23:40
beunomwhudson, heh23:40
beunowhich is why I try and do as little code as possible in LP  :)23:40
beunoI'm a terrible judge for myself23:40
beunobut somebody has to make forms stop sucking23:43
thumperbeuno: so just DTRT and do it properly :)23:45
mwhudsonbeuno: i'm happy to help with coding suggestions, etc23:46
mwhudsonbut this is not the place for hacks23:46
beunoI'm going to wait and see if changing this in forms breaks dozens of tests or not23:47
beunoand decide based on that if I don't implement that UI feature at all23:48
beunoI won't hack it in, it's not worth it23:48
beunoso either DTRT or not doing that change23:48
thumpermwhudson: how do I ec2test jml's branches without grabbing and pushing them myself?23:57
thumpermwhudson: is the a convenient param?23:58
mwhudsonthumper: ec2test.py lp:~whatever23:58
thumperah fantastic23:58
thumpermwhudson: I'll test submit jml's branches23:58
mwhudsonthumper: you'll need to supply a submit address somehow if you want to use -s23:58
mwhudsonand submit branch23:59
thumpermwhudson: ok23:59

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