/srv/irclogs.ubuntu.com/2009/08/10/#launchpad-dev.txt

* thumper frowns01:49
thumpertests for db-devel are failing01:49
thumperbut it is just two merges from trunk01:49
thumperand the tests pass on devel01:49
* thumper relocates02:10
meaton2veggieshi guys, how can you control the email address that launchpad sends mail too? is it in lp conf?02:51
wgrantthumper: Is that why my latest hasn't been merged yet? It's not the one that has broken the tests, I hope...03:22
marsargh, just cc'd mwh, and remembered he's not around for a while :)04:36
jtvspm: what's an arvo?04:40
spmjtv: slang for afternoon.04:41
jtvspm: ah.  In any case, I think that script is just naturally non-noisy.04:41
spmjtv: ie "now" :-)04:41
spmright04:41
Ursinhahello people04:42
spmjtv: a non-noisy script is a good script - in my professional opinion. :-)04:42
spmUrsinha: errr.... were you including me in "people" - cause I kinda object to that classification. sysadmin donchaknow.04:42
jtvspm: absolutely, which is why I made it send even the remaining warnings to the uploader instead of the log.  But it would be nice to know that something is really happening.  :)04:42
Ursinhaspm, lol04:42
jtvhi Ursinha, see you've insulted someone already.  :)04:43
spmjtv: we can always disable "-q" ?04:43
UrsinhaLOL04:43
Ursinhasee, I just said "hello people"04:43
jtvUrsinha: no seriously, I admire that04:43
Ursinhahahahaha04:43
spmjtv: see! you did it too! "someone". Sigh. I'm so misunderstood.04:43
spmROFL.04:43
jtvspm: no, thats not what I meant.04:43
jtvspm: I totally understand how you feel about this.04:44
jtvspm: it's just that I don't give a smeg.04:44
Ursinhaomg04:44
Ursinhalol!04:44
* spm literally rolls out of the chair laughing04:44
jtvspm: but yes, sure, disable the -q04:44
spmjtv: oki04:44
jtvwow, look at that guy typing while rolling on the floor... *that* is a good sysadmin04:44
jtv(apart from the fact that he's rolling on the floor for any reason except cable management)04:45
UrsinhaHAHAHAHAHAHA04:45
* wgrant quickly breaks Launchpad while spm is incapacitated.04:45
spmwireless keyboards FTW! surgically attached to my arms.04:45
spmwgrant: no need. it can do it all on it's own. :-)04:45
wgrantspm: Good to know.04:46
wgrantAlthough it isn't breaking too much these days.04:46
jtvwgrant: please file a bug for that... means the cron job is broken04:46
wgrantjtv: Is this the one that likes 5 hour transactions?04:46
jtvwgrant: wow, that took a surprisingly serious turn...04:47
wgrantAh.04:47
* wgrant fails.04:47
jtvwgrant: 5-hour transactions happen to be a personally sensitive subject.  :)04:48
jtvspm: also, would you have a moment(*) to service my staging testing request?04:49
jtv(*) for a fairly large value of a moment04:49
spmjtv: sure. just give me 5, just mid something atm.04:50
* jtv hands spm 504:50
spmjtv: ok, we're seeing INFO stuff in that log again.04:55
jtvspm: i.e. the script starting and stopping?04:55
spmjtv: yup04:56
jtvspm: hope that can go somewhere where nagios sees it but we don't have to unless there's anything serious?04:56
spmjtv: we use scriptactivity, not nagios for that style of thing. if you need it checked ultra frequently so it's a critical system fail if it doesn't work for <10-15 minutes? we can nagios. ???04:57
jtvspm: you make it sound like overkill04:58
spmjtv: no not really. it's just degress of prioirty04:59
jtvspm: if this script fails, I'd say it's not critical unless it lasts for several hours at least04:59
jtvmeanwhile, some runs may legitimately take more than 15 minutes.05:00
spmjtv: right. and that's where scriptactivity will catch it05:00
jtvperfect05:01
jtvspm: I see you head several swap alerts for appservers...  do you think that was incidental?  If not, we may have to tweak ORM cache sizes.05:31
jtvs/head/had/05:31
jtvspm: meanwhile, about those staging script runs...  :-)05:35
spmjtv: sorry - that 5 turned ino 45 and then some.05:36
jtvspm: call it a round 10×?05:37
spmjtv: I need to afk in ~ 25 for the school run; but we can progress now.05:37
jtvspm: most of this should be noninteractive from your pov05:37
spmeven better!05:37
jtvspm: just run, say, 5 instances of the export script and let me know; then kick off the migration and 5 more exports after that.05:38
spmjtv: righto. this is per your email late last week?05:38
jtvspm: the rest we can figure out after, assuming staging doesn't restore in the meantime05:38
jtvspm: righto indeed05:38
spm'k05:38
spmjtv: stage 1 done05:46
jtvspm: ack05:46
* thumper is back06:03
thumperI know the answer to the failing test06:04
thumperjust incase anyone cares06:04
=== Ursinha changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 2 of 2.2.8 | https://dev.launchpad.net/ | Please use #launchpad for support. | https://launchpad.net/~launchpad-dev | Get it: https://dev.launchpad.net/Getting | http://people.canonical.com/~herb/ | http://paste.ubuntu.com/
Ursinhawhat was that thumper?06:05
thumperwhat was what?06:05
thumperthe fix? or the problem?06:05
Ursinhathe answer to the failing test06:07
thumperI'm not entirely sure how I'm going to fix it yet06:07
thumperbut the problem relates to security proxies and the object factory06:07
thumpernow I know the fix \o/06:20
thumpernope that's not going to work...06:23
thumperah ha06:24
thumperthis one will06:24
* thumper heads for dinner, probably back later06:55
noodles775Morning.07:32
adeuringgood morning08:20
poolie1noodles775: do you think it's too crazy to use the same field for search and file-bug?08:20
poolie1i kind of like the idea08:20
noodles775poolie1: what' the context/use-case?08:22
noodles775s/what'/what's08:22
noodles775Ah, I see...08:23
noodles775Yeah, it would certainly remove an extra click/page-load.08:23
poolie1it's possibly overloading it too much08:23
poolie1i was thinking "why not just have the file bug thing there "08:23
noodles775The "by importance' filtering would be a bit confusing.08:23
poolie1and then, really ,with the dupe-finder, the filebug thing really is just like a search field08:23
noodles775exactly.08:23
noodles775Another thought, if you *just* had a "Search or report a bug" button (somehow... needs thought),08:24
noodles775the result being a list of relevant bugs or the option to create your new one.08:24
noodles775Nah, that wouldn't work... very different terms entered into the field.08:25
noodles775BjornT would be a much better person to think about the above ^^ :)08:29
BjornTnoodles775, poolie1: i think overloading it might be a bit confusing, hard to get it right so people would understand it. being able to enter the search terms without an extra page load is a good idea. we could you an overlay, or something like that, which pops up when you click on "Report a bug"08:32
BjornT(an overlay which would post to +filebug and take you there)08:33
poolie1i find about half my interactions are "find an existing bug" and half are "if this isn't a dupe, file it"08:33
poolie1if it's an existing bug i usually find it from browser history or emal08:33
poolie1email*08:33
gmbMorning folks.08:49
noodles775hey gmb :)08:51
gmbnoodles775: Morning! Anything (funny|terrifying|annoying) happen whilst I was away?08:55
noodles775gmb: Lots of small things (some great contributions), and there was just some discussion about bugs UI earlier (just 0.5hr ago) you might want to check the log) :)08:57
noodles775But nothing terrifying or annoying :)08:58
gmbnoodles775: Will do. Once I've got through this pile of emails.08:58
noodles775gmb: yeah, I'm just finishing up going through the backlog... :)08:58
gmbUnfortunately I set up an over-simplistic filter and have not got loads of stuff I normally filter straight to the bin in my "To read" folder08:59
gmbs/not/now08:59
noodles775You can still update and apply your filters to your inbox though can't you? (both gmail and thunderbird to this iirc)09:01
gmbnoodles775: Yes. I'm now trying to figure out what I should be filtering out, though :)09:02
gmbnoodles775: Also, gmail doesn't offer any X-header filtering, which is a real PITA.09:02
noodles775Yeah.09:02
=== adeuring1 is now known as adeuring
mrevellMorning09:06
jtvhi mrevell!09:15
mrevellhey jtq09:15
mrevellor jtv09:16
mrevellI like that guy too09:16
jtvmrevell: I just had it pointed out to me that my blog post about exporting to branches wasn't categorized.09:16
mrevelljtv: That's easily fixed. I can go in and do that.09:16
jtvmrevell: cool, thanks.09:16
mrevelljtv: fixed :)09:17
jtvmrevell: thanks09:17
BjornTanyone knows why edge hasn't been updated during the weekend?09:18
henningeI am wondering why I get (not for the fist time) Ubuntu support questions via the "Contact any user" feature.09:18
wgrantgmb: Are you the master of bug migrations?09:20
gmbwgrant: Yes, more-or-less.09:21
wgrantgmb: Is there anything existing to import a project's bugs from Google Code?09:21
gmbwgrant: We've certainly never done a migration from Google Code before, so no, not as far as I know.09:22
wgrantgmb: Really? Huh.09:22
gmbUnless it was before my time (jamesh used to handle imports)09:23
=== danilos-afk is now known as danilos
deryckMorning, all.10:59
danilosjtv: call11:04
jtvdanilos: lost you11:05
danilosjtv: no, you lost yourself :)11:06
=== henninge_ is now known as henninge
danilosjtv: are you around?11:13
=== mrevell is now known as mrevell-lunch
=== cprov-afk is now known as cprov
=== mrevell-lunch is now known as mrevell
barrygood morning fellow 'padders!13:25
=== james_w` is now known as james_w
=== kiko-fud is now known as kiko
=== danilos is now known as danilo-food
mrevelljtv: are you still around, sir?14:18
=== Edwin is now known as Guest70933
barrybac, sinzui, salgado are we still doing standups? :)14:31
sinzuibarry: We now have to stand on our heads balancing a bowl of custard. otherwise, nothing has changed.14:31
* barry makes some custard14:32
barrysinzui: sorry, all my bowls are still packed away.  can i use a paper cup?14:32
* gmb misread the word bowls there, thought there was an 'e' in it.14:33
barryew14:34
=== danilo-food is now known as danilo
=== danilo is now known as danilos
barrylosas: i'm am at your disposal for bug 32596215:06
mupBug #325962: lp-mailman startup is blocking on a pid file in the wrong directory <mailing-lists> <Launchpad Registry:Triaged by barry> <https://launchpad.net/bugs/325962>15:06
mrevellcprov: Also, wrt signing PPA keys -- I think we should add a note to the existing pop-up help. Happy with that?15:49
cprovmrevell: yes, absolutely15:49
beunonoodles775, mars, flacoste, rockstar, intellectronica, jtv, ajax call in 10?15:49
cprovmrevell: signing the PPA signing-key doesn't add any trust and in some case cause confusion.15:49
mrevellcprov: I'll prepare something15:49
noodles775beuno: yep.15:49
intellectronicabeuno: yes. thanks for the reminder15:50
=== Guest70933 is now known as EdwinGrubbs
flacostebeuno: i'm sprinting with IS/ISD this week16:11
danilossalgado: ping16:35
salgadodanilos, pong16:35
danilossalgado: I am looking at our _getPersonAndEmail code in lib/lp/translations/utilities/translation_import.py, and I am sure you can help me with something16:36
danilossalgado: that method calls person_set.getByEmail, and if it doesn't exist calls person_set.createPersonAndEmail16:36
danilossalgado: if there's already an emailaddress registered but no person record, it seems to fail spectacularly (or not so spectacularly) with a traceback like http://launchpadlibrarian.net/30100943/nEHny0WhPU3DP4opnCiFlw7QaBo.txt16:37
=== matsubara is now known as matsubara-lunch
danilossalgado: so, I am looking for a suggestion on how to proceed here? what's the correct thing to do?16:38
danilossalgado: and this should give you a clue why I am talking to you: https://pastebin.canonical.com/20963/ :)16:39
salgadodanilos, to be frank, I'm not sure what to do in cases like this, as simply creating a new Person entry and associating it with the existing account/email will cause the newly created person to show up as a LP user event though the user never registered on LP16:42
salgadodanilos, that email is associated to an account and not to a person because it's an SSO account16:43
danilossalgado: right, I understand what's going on, but I am not so sure what's the right way forward16:44
salgadobug 408528 was when I first heard about this problem. https://bugs.edge.launchpad.net/launchpad-foundations/+bug/408528/comments/2 has my reasoning16:44
danilossalgado: we've got a lot of person references that already work like this (i.e. translationmessage.submitter is initialized to this person)16:44
mupBug #408528: lucene2 synced from Debian, built fine but failed to upload <Launchpad Foundations:New> <https://launchpad.net/bugs/408528>16:44
mupBug #408528: lucene2 synced from Debian, built fine but failed to upload <Launchpad Foundations:New> <https://launchpad.net/bugs/408528>16:44
salgadodanilos, right, but since the person has no account associated, they don't show up as LP users -- they show up as placeholder profiles16:45
danilossalgado: right, so I do want a person record, but not account record, is that right?16:45
danilossalgado: and if it is, what APIs should we use to create it?16:46
salgadoyes, but that's a constraint we're unnecessarily imposing on ourselves16:46
salgadothere's no API for that because you need an email address to create a Person entry16:47
danilossalgado: right, so would the right thing to do be to change IPersonSet.getByEmail to return a person record even if no account exists, or to change createPersonAndEmail to reuse existing email address, or something entirely different?16:48
salgadothe correct thing to do here is to create the Person entry we need and associated it with the email/account16:49
salgadobut we need to somehow flag that new entry as a placeholder profile, so that they don't show up as LP users in the web UI16:49
danilossalgado: ah, right, so that's the missing bit right now16:49
danilossalgado: is that something we can use creation_rationale for?16:50
salgadoand we need to fix callsites that do "if IPS.getByEmail(email) is None: IPS.createPersonAndEmail(...)"16:50
danilossalgado: right16:51
danilossalgado: so, it seems we can't use creation_rationale for that, and we'd need a new db field16:51
salgadodanilos, a new db field would be best, but it might be possible to abuse creation_rationale for the time being16:52
salgadoit'd involve some considerable amount of work, though16:53
danilossalgado: only if we go back to using binary masks it seems to be, or we'd be losing information; i.e. in this case, I'd like creation_rationale to be POFILEIMPORT | NOTYETUSINGLAUNCHPAD, where NOTYETUSINGLAUNCHPAD > whatever we are using right now (0x100 seems it would do, but something larger would be even better)16:54
beunosalgado, hi. How easy would it be to show number of product downloads on the homepage?16:54
danilossalgado: right, so any suggestions on how I can fix this bug in a simpler way?16:54
salgadodanilos, you do need a Person entry, right?16:56
salgadobeuno, the product's +index page or LP's home page?16:56
danilossalgado: right16:56
beunosalgado, both?   :)16:57
salgadodanilos, use a new creation rationale (POFILEIMPORT_NOTYETUSINGLAUNCHPAD) and let the newly created entry show up as a LP user16:58
salgadowhen we fix the real problem we can identify the entries that were created this way and fix them16:59
danilossalgado: sure, sounds good... should I strive to make it extractable using binary logical operations, or just make it a next entry in the sequence?16:59
salgadodanilos, what was the last msg you got from me?17:10
=== henninge is now known as henninge-afk
=== deryck is now known as deryck[lunch]
salgadobeuno, it would be easy to write and cheap to compute for product/+index, but it seems to be unacceptably slow for the home page17:19
salgadoeven the latter might be cheap on production, but would have to check with stub first17:21
beunosalgado, cool, I'll file bugs. Thanks17:22
kfogeljml: ping (quick q, if you're online)17:24
kfogelBjornT: do you know the merging-relationship between devel/db-devel/stable/db-stable ?  I'm writing a wiki page explaining all, but I'm not sure what gets auto-merged where when.17:28
kfogelhmm, okay, anyone ^^   :-)17:29
* kfogel casts about for Someone Who Knows17:29
bigjools-afkkfogel: IIRC abentley and/or gary knocked up a web page somewhere about that17:31
kfogelbigjools-afk: on the dev wiki?17:31
bigjools-afkI don't remember, sorry :(17:31
bigjools-afkI just remember that It Was Done17:31
=== bigjools-afk is now known as bigjools
gary_posterkfogel: yeah, I wrote one, abentley supplied a nice diagram.  on internal wiki.  looking17:32
kfogelbigjools: thanks.  I searched in the dev wiki and didn't find it.17:32
kfogelgary_poster: AH!  I searched there too, but no luck.  (search for "devel", "db-devel", "stable", "db-stable" simultaneously gets no hits, but then search is always broken there.)17:32
gary_posterkfogel: more diagrams than those at which you might be able to shake a stick: https://wiki.canonical.com/Launchpad/Experiments/DBDevel17:35
kfogelgary_poster: OMG,that's perfect.  Thank you.  I will translate to dev wiki.17:36
gary_postercool17:36
=== beuno is now known as beuno-lunch
=== matsubara-lunch is now known as matsubara
=== salgado is now known as salgado-dr
* gmb EoDs.18:11
=== mrevell is now known as mrevell-dinner
=== Ursinha is now known as Ursinha-afk
intellectronicarockstar: when running the full test suite on EC2, i got some errors that look code related. the branch doesn't really touch anything related to them. see https://pastebin.canonical.com/20973/ any ideas?18:26
intellectronicajml: maybe you know? ^^^^^18:27
intellectronicathis is a branch of db-devel, b.t.w18:28
jmlintellectronica, no idea, I'm afraid.18:29
rockstarintellectronica, that looks like a test abentley added.  Is it failing in trunk?18:31
intellectronicarockstar: it is failing in db-devel18:32
rockstarintellectronica, disable it and file a bug.  I'll take a look at it.18:32
intellectronicarockstar: k18:33
rockstarintellectronica, thanks18:34
* rockstar goes back to ignoring IRC18:34
=== deryck[lunch] is now known as deryck
=== EdwinGrubbs is now known as Edwin-lunch
maxbHow long should I wait after submitting a contributor agreement before chasing if I haven't heard an acknowledgement?18:36
kfogelmaxb: it shouldn't take long.  To whom did you send it?18:38
maxbcontributor-agreement@ and kiko@18:38
kfogelmaxb: can you resend to me and contributor-agreement@ ?  I'll get it in.18:38
kfogelmaxb: I think kiko's just having a busy week.18:38
kfogelNot that I'm not having a busy week, but (I suspect) not like kiko's.18:38
kfogel:-)18:38
maxbI only sent it late last wednesday - I can wait a bit longer if it's likely to be in the pipeline18:40
maxbI still need to get around to sorting myself a non-karmic chroot to test my changes in18:40
kfogelmaxb: well, actually, let me check internally, one sec18:42
kfogelmaxb: is your middle name Oliver?18:42
maxbyes18:42
kfogelmaxb: then we have it on file :-)18:42
maxbno one told me :-)18:43
kfogelyeah, I'm going to follow up about that internally18:43
kfogelmaxb: ^^18:43
maxbBut that's fine, now I have no excuse not to get on submitting some actual branches :-)18:43
intellectronicaandrea-bs: hi, tests run cleanly and i'm now landing the branch on your behalf. thanks again for working on this (and for doing such excellent work with so little guidance)18:48
andrea-bsintellectronica, thank you very much for your help!18:49
=== beuno-lunch is now known as beuno
beunobigjools, is your mockup based on an actual branch, or gimped??18:57
cprovbeuno: 50/50, AFAIK19:06
beunocprov, ok, because I think we're entering a phase where visual changes are needed mora than layout changes19:07
cprovbeuno: btw, can you take a look at https://dev.launchpad.net/SoyuzBuildIndexPage as well?19:07
* beuno looks19:08
cprovbeuno: yes, I realized this on my changes as well, at this point it's not any harder to tweak the templates directly and the result is way more useful than mockups19:08
beunocprov, that mockup I *really* like19:09
cprovbeuno: the build-details table was required by buildd-admins, making it super-ugly is my fault.19:09
cprovbeuno: note that the portlets on the 2nd line of the grid may grow vertically according to the number of resulting binaries.19:10
=== salgado-dr is now known as salgado
cprovbeuno: so, having the details table doesn't affect it badly, since the 1st line of the grid will have an almost fixed height.19:12
beunocprov, yeah, agreed19:12
cprovbeuno: it just need to be easier to the eyes, the current <table class="listing"><tr class="shaded/white"> didn't work, right ?19:13
cprovbeuno: see an example of a huge list of binaries -> https://dogfood.launchpad.net/ubuntu/+source/linux/2.6.28-11.36/+build/91319619:14
beunocprov, yes, this table is much nicer19:15
cprovbeuno: cool, the idea is to split context and status of a build19:16
beunocprov, sounds like a great plan19:17
beunothis page still looks too messy: http://people.canonical.com/~ed/dsp_mockup2.png19:17
cprovbeuno: as in general TMI or the layout itself ?19:17
beunocprov, layout19:18
beuno100% layout19:18
cprovbeuno: I think a bugtask-like table for the published version info would be nicer because of its fixed size and colored lines.19:19
beunocprov, agreed19:19
beunowhich is kind of why I want to get my hands on the branch19:19
cprovbeuno: but I also see that it's not very different than what we have and people dislike :(19:19
beunocprov, I don't really understand all the issues behind this19:20
beunomaybe we should schedule a call and some time to pair on this?19:21
cprovbeuno: sure, now ?19:21
beunocprov, can't, need to un-swamp myself. How's Wed?    :)19:22
=== Ursinha-afk is now known as Ursinha
cprovbeuno: works fine.19:22
beunocprov, 15UTC?19:23
cprovbeuno: burning my lunch-time ? :)19:23
cprovbeuno: 1h later or earlier ?19:23
beunocprov, ok, earlier19:24
beuno14UTC19:24
beuno10am my time19:24
cprovbeuno: deal.19:24
* beuno calenders it19:24
kfogelandrea-bs: https://dev.launchpad.net/Trunk  is still in progress, but please see if it answers your questions.19:37
* andrea-bs looks19:38
andrea-bskfogel, The images really help. I think that the text is a bit hard to understand, especially because: 1. when I read "stable" I think to launchpad.net, not edge.launchpad.net; and 2. what exactly is testfix?19:50
andrea-bskfogel, but yes, it answers my questions19:50
kfogelandrea-bs: yeah, a lot of work to do there.  The internal wiki page I'm translating from has a wealth of information, but was slightly out-of-date and assumes certain prior knowledge.19:51
bigjoolsbeuno, it started off as a template but most of it's gimped now.  I suck at gimp. can't you tell? :)19:53
Lantash1@danilos: It's me, the guy attempting to fix #392154. Thanks alot for introducing me to the test environment with your verbose explanation. However, I couldn't complete the testcase because pofile.contributors seems to be empty for some reason: http://pastie.org/57886719:53
mupBug #392154: translator-credits show two contributor lists <Launchpad Translations:Triaged> <https://launchpad.net/bugs/392154>19:53
danilosLantash1: hi19:59
barrykfogel: ping19:59
kfogelbarry: pong-a-long-long19:59
barrykfogel: hi!  i'm looking at dev.lp.net/Trunk19:59
danilosLantash1: it's possible we need to do a pofile.sync() before the contributor shows up (a list of contributors is updated with a database trigger, i.e. behind the scenes)19:59
barryi'm not sure i understand what you're trying to say by "corresponds to"19:59
Lantash1danilos: Thanks. I'll give it a try.19:59
danilosLantash1: cool, let me know how it goes20:00
Lantash1danilos: Don't seem to be allowed to do that: "ForbiddenAttribute: ('sync', <POFile...>)"20:01
barrykfogel: i mean, i think i know what the intent is :) but the wording is awkward20:02
kfogelbarry: I'm planning to work on the page more today, but just go ahead and fix/edit/tweak/rewrite/whatever anything there!  It's a VERY rough draft; based on the internal wiki page gary_poster pointed me to (see the top, there's a link).20:02
barrykfogel: cool, i didn't want to step on any toes!  let me see if i can tweak it20:03
kfogelbarry: no, the toes are already stepped on; all you can do is set & mend them now.20:04
kfogel(not to imply that you did any stepping, barry -- I mean these toes come pre-stepped!)20:04
barrykfogel: i'm better at digging out ingrown toenails :)20:05
barrykfogel: thanks!20:05
kfogelbarry: Ok, I'm not sure where this metaphor is going, but I think this is my stop.  Got to get off.  Bye!  Have fun stormin' the castle!20:05
barrykfogel: tweaked.  please let me know if i made it worse20:08
kfogelbarry: oh, that is *much* better, thank you.20:09
kfogelandrea-bs: see above20:09
kfogelbarry: any further improvements or clarifications you think that page could use, please just make 'em.20:09
kfogelbarry: if I'm editing, you'll get a warning, but I'm not right now20:09
kfogel(and won't be for a few hours)20:10
andrea-bsbarry, kfogel, it's much better now (but of course the whole page can be improved)20:11
barrykfogel: cool.  i think i'll leave it for now.  i'm mostly in email catchup mode so trying to just hit the low hanging fruit as i go.20:11
barryandrea-bs, kfogel i was thinking that the picture might want to come earlier, but i won't touch that for now20:11
barrykfogel: and i might be pinging you again in a bit when i catch up on the "contributions" thread20:12
kfogelandrea-bs: I agree with barry about the pictures coming earlier -- if you want to Just Do It, go for it.20:12
andrea-bsbarry, Absolutely yes! To understand the text I had to look at the picture :)20:12
barryandrea-bs: exactly!  i've known this stuff for months now, but the picture always reminds me so much quicker than the words :)20:13
andrea-bskfogel, I'm a bit tired now (it's late here), so I think I will move it tomorrow if nobody else does it. Sorry!20:14
=== Edwin-lunch is now known as EdwinGrubbs
danilosLantash1: sorry for the delay, busy with some stuff20:16
danilosLantash1: you can avoid that in tests by using removeSecurityProxy(pofile).sync() (from zope.security.proxy import removeSecurityProxy)20:17
Lantash1danilos: I'm sorry to disappoint you, but pofile.contributors is empty even if a sync is performed on the pofile just before accessing it.20:22
kfogelandrea-bs: I'll do it, np.20:23
danilosLantash1: ok, perhaps a full transaction.commit() is necessary, let me try it out20:23
salgadosinzui, ping.  I'm having trouble creating a navigationmenu to use in the +index page of project groups20:26
sinzuisalgado: for Change details and Administer?20:27
salgadosinzui, yes, these and 'Subscribe to bugmail' (which would require work to move to another facet)20:27
danilosLantash1: ah right, you need a sequence=1 when creating potmsgset20:28
sinzuisalgado: I had a similar thought20:28
sinzuisalgado: milestones and series have the link in their index page20:28
sinzuisalgado: We should be sure what ever we do, pillar, series, and milestone do it the same way20:29
danilosLantash1: so, this worked for me20:29
salgadosinzui, when I created the new menu (https://pastebin.canonical.com/20984/), the template OOPSes when attempting to access context/menu:overview20:29
danilosLantash1: this is because with our recent message sharing work (we still tend to forget some bits due to being used to different behaviour), potmsgset doesn't have to be attached to a template even if it's added to it20:30
salgadosinzui, https://pastebin.canonical.com/20985/ is the OOPS20:30
danilosLantash1: so, adding a sequence parameter to makePOTMsgSet call attaches it explicitely20:30
sinzuisalgado: I have seen that when the code the make the link is bad20:30
danilosLantash1: to be honest, it's actually a crappy factory method, but just because nobody had time to make it better yet (i.e. it should automatically calculate a suitable sequence number and use that)20:31
Lantash1danilos: Adding the sequence argument solved the problem. Thanks for your help! I saw that other makePOTMsgSet factory calls use the sequence argument but didn't know what it is for, so I removed it.20:32
sinzuisalgado: you create a nav menu for a view, not the context20:32
danilosLantash1: right, it's useful to have the possibility to create it unattached (especially for testing), but in many tests you do want it linked to a potemplate20:33
Lantash1danilos: I'll try to write as many useful and reasonable assertions as possible in order to cover the bug and get back to you.20:33
sinzuisalgado: try20:34
sinzuiadd implements(IProjectActionMenu)  to ProjectView20:34
sinzuiand call <tal:menu replace="structure view/@@+global-actions" />20:34
salgadothe first line I had already20:34
salgadojust tried using view/@@+global-actions instead of context/...20:34
salgadodidn't work20:34
salgadoerm20:35
* salgado uncomments the implements() line20:35
danilosLantash1: ok, cool... it's already quite late here, so I'll be out soon, but you can freely link the branch to a bug and comment on the bug, or you can even ask for a review using merge proposal if you have what you believe is code we can discuss; don't feel blocked even if it's far from complete, it's best to discuss it early on, and we can help whenever needed :)20:35
danilosLantash1: btw, thanks for taking interest in the bug, it's very appreciated :)20:35
salgadosinzui, same error, with implements() uncommented and using view instead of context20:35
sinzuisalgado:  your template is dying on the overview menu, not your @@+global-actions20:36
danilosLantash1: note that the important bit is that you now "import" (i.e. use makeTranslationMessage(is_imported=True) a translation generated with this, because that's the only way to get a translation for credits message in20:37
salgadosinzui, right, but that doesn't happen if I comment out the new menu20:37
sinzuisalgado:  I saw a lot of ambiguous failure in meuns because of tales. There is a problem in the one of the menus such as making a link20:38
=== danilos is now known as danilo-afk
sinzuisalgado: am I right in seeing that you removed edit and administer from one menu, but did not remove them from the list of link20:40
salgadooh, crap20:41
salgadothat's it20:41
salgadomust be it20:41
sinzuisalgado: if you want two menus to share a link, use a mixin20:41
salgadoI don't20:41
salgadojust forgot to remove20:41
sinzuisalgado: I am assuming you are showing me the whole diff, so the remove must still happen20:41
salgadoyes, that's what I forgot and is probably what's breaking the page20:42
salgadosinzui, now it works, but it crashes when context/@@+global-actions is not found.  it might be that I'm missing a merge from mainline, though20:45
salgadosinzui, thanks!20:45
sinzuisalgado: your code does not bind the menu to a context20:45
salgadoI just followed the instructions on https://dev.launchpad.net/VersionThreeDotO/UI/Conversion20:46
sinzuisalgado: you created a marker interface that we use to bind the menu to a view20:46
sinzuisalgado: to create one for a context object:20:47
sinzuiclass MyMenu20:47
sinzui    usedfor = IObjectType.20:47
sinzuisame as the navigation menus on person and product20:47
salgadoright, but if it's only used in one page, why would I bind it to the context instead of the view?20:47
sinzuisalgado: In the case you need to use an action menu and a related pages menu. I cannot think of a real need for that case. the action menu should be only be used on an index page, and I cannot image a related pages section on an index page too20:49
sinzuisalgado: We get the context option to create a menu because Navigation menus were designed 18 months to support two levels per the 2.0 UI20:50
salgadoright20:52
Lantash1http://www.youtube.com/watch?v=AYM-_qfytfA&eurl=http%3A%2F%2Fde-bug.de%2Fmedien%2Farchives%2Fwahlspot-dilemma.html&feature=player_embedded21:13
Lantash1sry everyone21:14
Lantash1didn't meant to post this link here21:14
rockstarthumper, when you're awake, children have been to school, etc, ping.21:16
dobeyi seem to be getting a lot of timeouts lately21:31
dobeyOOPS-1318EC206 is one of them21:31
beunosinzui, yo21:34
sinzuihi beunio21:34
sinzuibeuno21:34
* rockstar goes on a short walk21:35
beunosinzui, would you like to have a catch-up call?21:36
sinzuibeuno: in 15 minutes21:37
beunosinzui, sure. Call me when ready21:37
sinzuibeuno: I'm calling21:57
beunosinzui, headphones on, waiting eagerly21:57
beunoEdwinGrubbs, hi22:14
EdwinGrubbsbeuno: what's up?22:14
thumperrockstar: ping22:16
thumperrockstar: I'm home along :)22:16
thumpers/along/alone/22:16
* thumper needs more coffee22:16
rockstarthumper, get more coffee, then we can skype.22:17
* rockstar secretly fears an un-caffeinated thumper22:17
thumperrockstar: I have coffee, we can skype now22:17
beunoEdwinGrubbs, I've just purchased your time to work a bit on the timeline after you land the team page22:18
beunoare you up for it?22:18
beunoI can still get a refund22:18
EdwinGrubbsbeuno: working on the timeline would be fine.22:23
EdwinGrubbssinzui: ping22:23
sinzuiHi EdwinGrubbs22:23
EdwinGrubbssinzui: I read your email. Can I use view/+global-actions instead of context/+global-actions or some other menu tied to views, since the +related-pages are supposed to be inline, but I need certain actions only on the edit pages.22:26
sinzuiEdwinGrubbs: yes. I think we should avoid menus on the context object for now22:26
EdwinGrubbssinzui: won't the menu being registered on the view for +related-pages interfere with registering one for the view on +global-actions? How can I place one menu inline and one menu in the sidebar that both use the view as the context object.22:30
sinzuiEdwinGrubbs: I am confused. If a page needs two menus then you must define a a nav menu on the context object and a nav menu for the view. I have not seen a reason for any page to need two menus.22:32
sinzuiEdwinGrubbs: what is your need for two menus on the team page>22:32
EdwinGrubbssinzui: ok, so I will have a context/+global-actions inline and a view/+global-actions in the sidebar?22:33
sinzuiEdwinGrubbs: You are killiing me22:33
EdwinGrubbssinzui: and menus are killing me.22:34
sinzuiEdwinGrubbs: The action menu may only go in the sidebar...thus can only be used on pages that have a side bar. we think index pages of object are the only pages that get a sidebar22:34
=== matsubara is now known as matsubara-afk
sinzuiEdwinGrubbs: what page are you designing?22:34
EdwinGrubbssinzui: sorry, I flipped the pages in my head. My question should have been, do I use view/+global-actions in the sidebar and context/+related-pages inline, which is reversed from your original example?22:36
=== salgado is now known as salgado-afk
sinzuiEdwinGrubbs: yes. That is how they are intended22:37
sinzuiEdwinGrubbs: are you designing the team page?22:37
EdwinGrubbssinzui: the $team/+edit page.22:37
sinzuiEdwinGrubbs: Edit pages (form pages) do not have a sidebar, they cannot have an action  menu. You may choose to have a related pages portlet after the form like the product-edit.py page22:38
sinzuiEdwinGrubbs: If you are concerned about common links (Administer, Change details), then I advise you place them in a mixin class. Use the mixin in every NavigationMenu that need one of those links22:39
* sinzui looks for example classes22:39
EdwinGrubbssinzui: ok, that is fine. I had complained in another thread about the "Change branding", "Change owner", etc. links being at the bottom of the "Change details" page, where they are easy to miss. That's why I was trying to stick everything in the sidebar, but I'll stop doing that now.22:41
sinzuiEdwinGrubbs: take a look at lp/registry/browser/product:22:42
sinzui    ProductEditLinksMixin:22:42
sinzui    ProductEditNavigationMenu(NavigationMenu, ProductEditLinksMixin)22:42
sinzui   ProductOverviewMenu(ApplicationMenu, ProductEditLinksMixin):22:42
sinzuiand the templates/22:42
sinzui    product-edit.pt22:42
sinzui    product-admin.pt22:42
sinzui    22:42
sinzui    22:42
sinzuiEdwinGrubbs: That is a big NO22:42
sinzuiEdwinGrubbs: the sidebar is a distraction from the single task the user has to perform22:42
sinzuiThe conversion page does say that modifcation pages are main_only22:43
sinzuiEdwinGrubbs: remember, We expect most users to be changing content inline, so we want the links inline22:43
EdwinGrubbssinzui: Then, I think it is weird not to have easier access to "Change branding", etc. on some other page. If I can put an edit link right next to the big team logo, that would solve that problem, but it might look ugly.22:45
sinzuiEdwinGrubbs: I do not think you are thinking like a user. How does the user no branding is not on the page until he has scrolled to the bottom? Why should we assume that when the user first sees the page, that something is wrong and he wants to leave?22:47
sinzuiEdwinGrubbs: The branding issue is special22:47
beunoyou know nwhat would be super mega awesome for branding?22:47
beunoan edit link right under the picture22:47
sinzuiEdwinGrubbs: Lifeless proposed a solution, but the new design makes it hard. We will solve the problem for all IHasLog in in glorious landing22:48
EdwinGrubbssinzui: The user's thought pattern would be, "I used the change-branding page the other day, and now I want to go back to it. There is no link on the overview page, so I'll click on 'Change details'. Oh look, there are no links in here, maybe they put the branding form fields in the change-details form. Let me look carefully through all the form fields on this page. When I see the form's submit button, I assume that there is no22:51
EdwinGrubbsbecause everything below the form must be part of the footer.22:52
sinzuiEdwinGrubbs: I think you are wrong. After clicking Change details, The user looks for the branding form, see it is not there, a but a link is present.22:53
sinzuiEdwinGrubbs: And the correct fix is not to assume something is wrong, but to make something right. We need to solve two things, which an action menu does not...22:54
sinzuiEdwinGrubbs: beuno: The user needs to see the default art and know he can click near it to set the value. Branding makes no sense in regard to a person or team. No sane user would see Change branding and click on it to set their picture.22:55
beunosinzui, agreed22:55
beuno"branding" is the wrong term22:55
beunoeven for project IMHO22:56
sinzuiEdwinGrubbs: beuno: lifeless suggested we make the default image a link to set branding. Now it is a link to the pillar/person22:56
beunothere's 2 easy ways out of this22:56
beunosinzui, yes, and we could compliment that with a different image saying "upload picture"22:56
beunothat just the ownser sees22:57
beunochanging your picture *again* is a less common operation22:57
sinzuibeuno: I am updating the bug now. You win a gold ☆22:57
beunoso you could show the edit link on hover22:57
beunowooooo22:57
* beuno copies and pastes that star to /home/beuno/chest22:58
sinzuibeuno: I am noting hover too22:58
beunosuper\22:58
sinzuibeuno: I will get this fixed by 3.022:58
beunosinzui, it will be an epic release22:59
gary_posterjml: ping?23:19

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