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

wgrantcprov: Is it considered a bug that the component listed for a build sometimes lies?00:22
wgrantIt can change after the build completes, if the package is promoted/demoted.00:22
wgrantThat can be a bit confusing, as the only way to work out where it really built is checking the override-sources-list line in the build log.00:23
=== Ursinha-nom is now known as Ursinha
spm*** FYI. restarting codehosting for a Cherry Pick ***00:47
=== thumper is now known as thumper-afk
* wgrant beats the AJAX milestone picker with a how-did-you-get-around-the-security-policy bat.02:19
cprovwgrant: sort of, it changes according to subsequent overrides.02:21
wgrantcprov: Right.02:21
cprovwgrant: ideally we would store the component at the time the source was dispatched, on Build table02:22
wgrantcprov: That's what I thought. But I guess it's rare enough that it's not worth it.02:23
cprovwgrant: I suspect it would be useful for spotting component mismatching.02:23
wgrantBut it might be a bit stranger when package sets come into it.02:23
cprovwgrant: yeah, good point ... we need to study some real use-cases.02:24
wgrantWhere would I add a test for c.l.w.tales.ObjectFormatterAPI.api_url? c.l.w.tests.test_tales doesn't seem right.03:04
deryckwgrant, ping03:22
wgrantderyck: Hi.03:31
deryckwgrant, hi.  So I see you're working on bug 415166.  Thanks!03:32
mupBug #415166: Launchpad says I don't exist when I subscribe to a bug <Launchpad Bugs:In Progress by wgrant> <https://launchpad.net/bugs/415166>03:32
deryckwgrant, did you talk over your proposed fix with anyone?03:32
wgrantderyck: No, but it is less trivial than I thought, so I will.03:33
deryckwgrant, yeah, I thought it there might be more than that at first appears.03:34
deryckwgrant, what were you thinking?03:34
wgrantderyck: the obvious thing to do was pass rootsite='api' in ObjectFormatterAPI.api_url.03:34
wgrantBut that gives the API site, not the API bit of the main site.03:34
deryckwgrant, right.  You get an https://api.launchpad.net... absolute URL, right?03:35
wgrantderyck: Right.03:35
wgrantI'm currently poking around to work out how to get an https://launchpad.net/api/beta/...03:36
deryckwgrant, but all the JS code assumes "me" is a relative URL, right? i.e. "/~me"03:36
wgrantThat seems like it will be very difficult, though...03:36
wgrantderyck: Hmmmm. I suppose so.03:36
deryckwgrant, there are a lot of places in the js that make that assumption.  That LP.client.links['me'] is a relative URL, that the links in HTML scraped by JS are relative, etc.03:38
deryckwgrant, so I don't think there's a single spot to fix this and have it work.03:38
wgrantderyck: But ObjectFormatterAPI.api_url did work before. It just got broken by the canonical_url default chnage.03:39
=== Ursinha is now known as Ursinha-nom
wgrantActually, that change should have been on edge before yesterday. So maybe it isn't that.03:40
deryckwgrant, right.  Let me say it another way.  You can fix "me" to be right and I suspect subscribing may still be broken in other ways.  The current bug is a symptom, not the problem.03:41
beunowgrant, I got to give it to you, we open up Launchpad, and you've started fixing bugs03:41
wgrantbeuno: You didn't think I would?03:42
* deryck is quite happy wgrant is fixing bugs!03:42
wgrantAlthough I filed a lot this morning, too :(03:42
deryckgood bug reports are never a problem, no matter the number.03:42
wgrantderyck: Assuming that api_url gets fixed, subscribing should work. What is broken about it, besides being fragile?03:43
beunowgmost people don't  ;)03:43
beunowgrant,  (tab fail)03:43
wgrantbeuno: True.03:43
wgrantI imagine that will change over time.03:43
deryckwgrant, first, if "me" isn't relative the Subscriber js object won't initialize correctly, and second, unsubscribing won't work because the links in HTML won't be relative either.03:45
deryckwgrant, allow the second point may just be DOM update fail.  the unsubscribe API call may not depend on the HTML href.  Can't recall right now.03:46
* deryck is up late03:46
wgrantderyck: You are probably right. This is indeed looking more difficult.03:47
wgrantI forgot about team unsubscription.03:47
deryckit's a tangled web.  inline subscribing is actually very complex.03:48
deryckwgrant, I'm not trying to discourage you though.  Please keep at it! :)03:49
wgrantShould I leave it to you, then?03:49
wgrantOK.03:49
deryckwgrant, just didn't want you to be disappointed if you fixed "me" and the rest was still borked.03:49
wgrantAh.03:49
BjornTwgrant, deryck: wouldn't fixing fmt:api_url to always return a relative url fix the problem?03:50
deryckwgrant, and naturally if you work out any of the rest, or see hints of whats going on in light of what you know now, you'll be better able to file bugs on the rest. :)03:50
wgrantBjornT: I think so.03:51
wgrantBjornT: I'm testing team unsubscription now.03:51
deryckBjornT, I'm not sure.03:51
deryckBjornT, I thought we relied on user links in the DOM being relative, and so the API call may succeed, but if fmt:link was used, and it isn't relative, it may look like a fail in the UI.03:52
wgrantderyck: Team unsubscription doesn't use the fmt:link URLs.03:53
wgrantI'm not sure how it gets the other ones, though...03:53
deryckwgrant, what do you mean by "other ones"?03:54
wgrantderyck: I can see it making webservice requests with a person of https://bugs.launchpad.dev/~team03:54
wgrantderyck: But fmt:link should now give https://launchpad.dev/~team03:55
deryckwgrant, I think everything other than "me" is inferred from DOM.  or the subscriber_ids object.03:56
deryckwgrant, BjornT -- ok, so maybe I've just added confusion. sorry. :)  And now I must sleep if I'm to be worth anything the coming morning. :)03:57
* wgrant digs into the JS.03:57
wgrantNight deryck.03:57
wgrantFixing the me-link was as easy as I initially suspected after all.03:57
deryckgood deal then03:57
wgrant(just needed rootsite=None, not rootsite='api')03:57
deryckok, night03:57
BjornTwgrant: can i see the patch? i think there might be another solution03:59
wgrantBjornT: bzr diff is being a little slow, but I just replaced c.l.w.tales.ObjectFormatterAPI.api_url's self.url() call with self.url(rootsite=None)04:00
wgrantAs various subclassess now specify rootsite='mainsite' as the default.04:01
wgrantThis reverts to the previous behaviour.04:01
BjornTwgrant: ok, that's a sane solutoin. but i have a question for you. why not change api_url() to always return a relative path?04:02
wgrantBjornT: That's what it does.04:03
wgrantAlthough maybe that's just by accident -- I haven't dug all the way down the call stack.04:03
BjornTwgrant: not really. canonical_url() can't always return a relative url. note the parameter name: 'path_only_if_possible'04:04
BjornTwgrant: note that i don't know the answer to this question, and i don't expect you to either :) but it's worth thinking about.04:05
BjornTwgrant: in short, i think your patch is good, since it reverts to the old behaviour. i would go with your patch, and raise the issue i mentioned on the list.04:06
BjornTwgrant: btw, did you manage to write a test for this?04:08
wgrantBjornT: Sorry, the switch got angry and decided my packets were unworthy of retransmission...04:10
wgrantI haven't written a test, no.04:10
=== thumper-afk is now known as thumper
wgrantI'm about to find the best place to put it.04:11
wgrantIs there some repository of class-specific TALES tests somewhere?04:11
wgrantAhh.04:12
wgrantc/l/doc/tales.txt04:12
wgrantI didn't expect there to be anything there, as the others are in c/l/w/tests/test_tales.py04:12
BjornTwgrant: unfortunetaly, i think that tales.txt is the right place for now.  it seems like api_url() is untested :(04:14
wgrantBjornT: It is.04:14
wgrantNot for much longer, hopefully.04:14
wgrantBjornT: Should I just add api_url tests for the three problematic classes, next to the tests that show fmt:link always goes to the mainsite?04:16
wgrantOr should I add a new section?04:16
BjornTwgrant: i think there should at least be a section for fmt:api_url04:19
BjornTwgrant: do you know how to go about making the test fail without your fix?04:24
wgrantBjornT: Um, what? You mean running the test?04:25
BjornTwgrant: nope. i meant writing the test, so that the pre-conditions are the same as in the bug report04:27
thumperBjornT: what time is it for you right now?04:28
wgrantOh, right.04:28
wgrantthumper: I was wondering that...04:28
wgrantIsn't it like 06:30 over there?04:29
BjornTthumper: 6.30 am. woke up a bit earlier than usual today04:29
wgrantBjornT: I think I can fairly safely just check that api_url returns something relative, although I suppose that isn't testing exactly what we want.04:30
thumperwgrant: what you probably want to test is that the fmt:api_url always returns api.launchpad.net as the base04:30
wgrantthumper: No, that's exactly what we don't want.04:31
thumperso perhaps something like:04:31
thumperno?04:31
thumperwhat is the problem then?04:31
BjornTwgrant: i think such a check is ok. i do suspect that you need to do some setup to make api_url return a relative url04:31
thumperI must have misunderstood04:31
wgrantthumper: api_url is actually a path-only absolute URL.04:31
wgrantthumper: Nothing to do with the API, except that it's used by some flaky JS.04:31
thumperwgrant: and what is it doing right now?04:31
wgrantthumper: Returning an absolute URL to the main site, since fmt:url for person/team/pillar was changed to do that by default.04:32
thumperwgrant: why would it be wrong to check that the urls are always api.launchpad.net?04:32
wgrantthumper: Because they should never have a domain, and api.launchpad.net is particularly we don't want -- api.launchpad.net isn't usable from the webapp.04:33
BjornTwgrant, thumper: to be more exact, it's returning the url to the mainsite, unless calling it from the mainsite04:33
wgrantBjornT: Indeed.04:34
thumperBjornT: ok04:34
thumperwgrant: I'd make sure then that you test with the main pillars04:34
thumperwgrant: created by the factory, and test the explicit url with test_tales04:35
thumperwgrant: person, product, project, distribution04:35
wgrantthumper: Thanks.04:36
wgrantBut first... lunch.04:36
wgrantSome of these factory tests don't seem to be much better than the sample data ones.05:17
wgrantI'd even say they're worse.05:17
wgrantSome depend on the order in which objects were created.05:17
wgrantSo I throw in an innocent makeProduct and makePerson, and some of the subsequent tests start complaining that the numbers in the names are different.05:17
thumperwgrant: haha05:19
thumperwgrant: and here comes the magic of the factory05:19
thumperwgrant: factory.makePerson(name="eric")05:19
thumperwgrant: always provide what you want to test to the factory05:20
wgrantthumper: Right. But I'm going to have to fix other bits of the test.05:20
wgrantSo it's a bug that the other tests test the name, but don't provide it?05:20
thumperwgrant: so if you are checking the url, make sure you don't have unspecified parts05:20
thumperwgrant: yes, that is very wrong05:20
wgrantBut now I have to come up with more names ;'(05:21
thumperwgrant: ask and I will provide05:21
thumperwgrant: foo, bar, baz, fubar, widget, frobrisher05:21
thumperthose are what I use05:21
thumperexcept for the last one05:21
thumperI just made that up05:21
wgrantHaha.05:21
thumperI use eric a lot for my random person05:22
thumperbecause there is no eric in the sample data, and I like Eric the Viking05:22
wgrantI've seen a few of him.05:22
thumperprobably me05:22
ajmitcheric, john, graham, michael, terry05:22
ajmitchI'm sure you could think of a few more05:22
thumperwgrant: for multiple people, I also use abe, bob, charles, dave05:22
thumperxray, yankee, zulu for teams05:22
spmthumper: not "Eric the 'alf a Viking"?05:40
thumperspm: :)05:40
rockstarI use random naming schemes, depending on what's on my mind at the time.05:43
thumperrockstar: there is a 3.0 branch for some code-import pages if you are up for it05:49
rockstarthumper, I'll look at it in the morning.  Trying not to break my stride right now.05:51
rockstarAlso, my media server's PSU just died, so I don't even get music anymore...  :/05:52
wgrantHow does the JS build system work?06:08
thumperwhat do you mean?06:08
wgrantDo I make changes in lib/canonical/launchpad/javascript, and 'make run' will propogate those changes to lib/canonical/launchpad/icing/build?06:09
wgrantOh.06:11
wgrantThey're symlinks.06:11
wgrantThat's easy, then.06:11
sinzuiwgrant: I am tired but it think the answer to your question is that we have a script in utilities that scans the template we list the scripts in. The utility builds he compressed js.06:13
wgrantsinzui: But that's not relevant for development purposes?06:13
sinzuiNo, but it is relevant to YUI.Test. I recall have to run make build a few times.06:14
wgrantAh.06:14
wgrantThanks.06:14
sinzuiI think the issues related to the html page that acts as a harness. It wants the built libs  plus the lib under test.06:16
thumpersinzui: hi, got a minute06:18
thumperfor a question?06:18
thumpersinzui: what's the status of the new breadcrumbs?06:18
thumpersinzui: I sent out an email earlier06:18
sinzuiI may not have a comprehensible answer06:19
wgrantTo fix unsubscribing of teams, LP.client.normalize_uri needs to be convinced to prepend the root when operating on an absolute URL, which it currently explicitly doesn't do. Does anybody know why, before I go hunting?06:19
sinzuithumper salgado proposed a generic mechanism that will DTR thing on most cases to flacoate.  I believe there are exceptions and there will be a way to change the bread crumb06:20
thumpersinzui: yeah, I figured we'd need to annotate the breadcrumbs for branches06:20
thumpersinzui: which was the main point of my email, "what do we show"06:21
thumpersinzui: here's another idea06:21
sinzuithumper I wont know more until salgado wakes and I attain some form of caffeine induces consciousness.06:21
thumpersinzui: rename code -> branches for the "tab", and add a "code" tab for projects that goes to loggerhead06:21
sinzui+106:21
thumperI'll copy that into an email for beuno06:21
sinzuiI recall beuno_ wanted to do that, I wonder if that was shelved to 4.0 as being too invasive for 8 weeks of development06:22
thumpersinzui: lets see06:24
wgrantBjornT: Is it a sufficiently civilised time to request a review from you?06:40
wgrantI figure I'll get this fairly clean branch out of the way, rather than landing one polluted with JS changes as well.06:41
=== thumper is now known as thumper-afk
rockstarUgh.  Why do we even have a test like notfound-traversals ?06:44
sinzuirockstar: I deleted a few today06:44
rockstarsinzui, it just fails with something that looks entirely unrelated.06:44
rockstarIt's impossible to debug, it's a dumping ground for tests.06:45
sinzuirockstar: why do we test nofound + do pagetest 404 + view check_permissions? I think some drugs were involved06:45
* sinzui only writes view check_permissions tests and deletes all others.06:46
rockstarIf drugs are a requirement, I suggest that they be administered as part of rf-setup.06:46
sinzuirockstar: I think notfound was originally for URL that we wanted to retire. It is now an opportunity to not write a good test06:46
rockstarsinzui, yes, I would agree.  I'm willing to bet most of the code stuff in notfound-traversals is tested elsewhere in a better manner.06:47
stubnotfound-traversals was a reaction to poor test coverage. A quick way to ensure the pages at least rendered, at a minimum.06:51
stub(or generated the correct error code in the first round, hence the name)06:52
stubI agree it should wither and die06:52
rockstarIt'll probably shave eleventy billion minutes off the total time to run the test suite as well.06:55
rockstarDangit.  Looks like I got a little overzealous while deleting templates.  One test failure left though.06:59
=== lionel_ is now known as lionel
adeuringgood morning08:26
noodles775hi adeuring :)08:26
adeuringhi noodles775!08:27
=== danilo-afk is now known as danilos
lantashdanilos: Do you think it's time to make a merge proposal for https://code.edge.launchpad.net/~lantash/launchpad/bug-392154 ? I guess I'm supposed to write a merge proposal as suggested at https://dev.launchpad.net/DetailedCoverLetterTemplate and send a contributor agreement to you or kiko. What about running the whole test suite?08:44
daniloslantash: hi, let me take a glance at it08:45
daniloslantash: about the full test suite, it's generally preferred to do it ('make check'), but if it's problematic for you, running "bin/test -vvt lp.translations" (takes <15 minutes on my machine) should be enough08:46
lantashdanilos: Thanks. I'll do that. Don't hesitate to tell me if you dislike anything about the newly introduced code or if there's anything missing.08:47
daniloslantash: looking at the revision log, I'd say you are mostly ready to submit it for review08:47
daniloslantash: don't worry, I am not shy about it, though it's very much appreciated you spent your time to help us improve Launchpad :)08:48
henningewgrant: Hi. Anybody looking at your MP already?08:55
wgranthenninge: No. I discussed the patch with BjornT and deryck earlier, but if it seems sane to you then go ahead.08:56
BjornThenninge: i'm looking at it now08:56
wgrantThanks BjornT.08:57
henningeBjornT: I already have, was about to review08:57
henningeBjornT: so you can save your time if you want ... ;-)08:57
BjornThenninge: were you about to start reviewing, or write up the review?08:57
henningethe latter08:57
henningeBjornT: ^08:58
BjornThenninge: ok, go ahead then08:58
lantashdanilos: For some reason, my bin/ directory is gone. Looks like "make clean" removed it, which seems to have been invoked by "make check" (which failed by the way: "Error: Couldn't find a distribution for 'zc.buildout==1.4.0dev-gary-r102684'."). Can you tell me how to regenerate it?09:00
daniloslantash: once you merged with trunk, some dependencies (listed in versions.cfg) have changed; it should be enough for you to cd into download-cache and do a 'bzr up' there09:00
wgrantAnd then 'make' again.09:00
daniloslantash: and do 'make' again, as wgrant said (if it's not clear he was continuing on what I said :)09:01
lantashdanilos,wgrant: It works fine now. Thanks! I'd run "make lint" too, but unfortunately, it fails on my 9.04 machine: "pkg_resources.DistributionNotFound: pylint==0.18.0"09:04
wgrantlantash: Odd. download-cache is up to date?09:04
wgrantAnd the branch is up to date with devel?09:05
lantashwgrant: If you mean running "bzr up" in download-cache and "bzr merge lp:launchpad/devel", then yes. I ran both commands just seconds ago. Just FYI, this isn't a new issue, I've never been able to successfully run "make lint" since I branched lp.09:07
wgrantlantash: Odd. It has always worked fine for me on Jaunty and Karmic.09:08
wgrantlantash: Do you have the pylint package installed?09:08
daniloswgrant, lantash: I don't see pylint in versions.cfg, so I'd expect that you'd need to install it yourself09:09
lantashwgrant: yeah, I'll check there's a version I installed by hand that conflicts with the one in the repositories.09:09
danilosof course, launchpad-developer-dependencies should do it for you, but there might be a bug09:09
wgrantmaxb: Do you want to find a sponsor to get the necessary stuff from ~maxb/launchpad into ~launchpad/ppa to get things working on Karmic, or shall I?09:09
mrevellHello my friends :)09:13
hijacker_hi mrevell09:14
mrevellhey there hijacker_ :)09:14
* mrevell cuts down on the smilies09:14
lantashwgrant: did some investigation. ;-)09:15
lantashpylint 0.18 (which is required by lp) is in /usr/lib/python.2.6/dist-packages09:15
lantashpylint 0.15.2 can be found in /usr/lib/python.2.[45]/site-packages as well as pyshared (0.15.2 is in the Jaunty repos).09:15
henningeI am trying to submit a remote branch (wgrant's) to ec2test and pqm but ec2test complains like this:09:17
henningeTo send email, a remotely accessible smtp_server (and smtp_username and smtp_password, if necessary) must be configured in bzr.  See the SMTP server information here: https://wiki.canonical.com/EmailSetup .09:17
henningeI know I have done this before so I wonder if something changed about this.09:17
henningefor the record: yes, the smtp server is configured ...09:18
wgranthenninge: Other people have repushed it, I think.09:19
wgrantBut I'm no expert on sponsoring...09:20
daniloshenninge: smtp server is probably configured for your LP repo, and not for remote others' repos; you can try moving smtp settings to your global bzr config09:22
henningeOk, now it is working. I moved the smtp configuration from location.conf to bazaar.conf09:22
daniloshenninge: that's it :)09:22
henningedanilos: ;-)09:22
henningewgrant: ok, branch is in ec2test and will find it's way into the tree. Thanks again.09:23
wgranthenninge: Thanks!09:23
daniloslantash: note that LP uses python 2.4, so it'll probably try to use pylint 0.15.2, and that should be fine; it's probably 0.18 installation that causing the problems09:24
maxbwgrant: Hi, I was just thinking about that. The proper way would be to cherrypick my changes into individual small branches and submit those one by one, right?09:33
maxbOr, is submitting a branch with a one-line change considered a bit of a waste of time, and should I try to batch unrelated small changes?09:34
wgrantmaxb: I mean the PPA packages.09:34
maxbOh, right09:34
wgrantJust for 2.4 now.09:34
wgrantSince that works, and is better than nothing.09:34
maxbWell, works for you :-)09:34
wgrantWell, yes. Rather odd.09:34
maxbI guess I should try to talk to flacoste about that, based on the authorship of most of the packages in ~launchpad/ppa09:35
wgrantProbably.09:36
lantashdanilos: Removing /usr/local/pylint as well as the 0.18 installation solved the problem. Thanks! Fortunately, the changed files are lint clean.09:37
daniloslantash: cool, let me know once MP (merge proposal) is up, so we can move to #launchpad-reviews to discuss it :)09:38
maxbI'm really annoyed with myself, I carefully started using launchpad~maxb in .deb versions in my ppa with the intent that launchpad versions would be higher when official. But then I did some uploads whilst too sleepy, and made some of them maxb~launchpad instead09:39
danilosbigjools: is this something you can help maxb with? ^09:42
bigjoolsnot much I can do about that09:42
maxbNo, the version numbering is entirely my screwup09:43
bigjoolsyou could start a new PPA09:43
=== thumper-afk is now known as thumper
bigjoolsthumper!  working late?09:43
thumperbigjools: hey09:43
thumperbigjools: yeah, just a bit09:43
maxbWell, yeah, but the numbers are in the wild now, the PPA's advertised on dev.lp.net and I know people are using it09:44
maxbAnyway09:44
maxbI would like to help populate the ~launchpad ppa for karmic. What is the preferred form for submitted packages for sponsored upload / copy into there?09:44
bigjoolsgood question09:44
bigjoolscheck with flacoste when he's around later, but if necesarry we can add you as a named uploader09:45
maxbok, if I don't catch flacoste later today, I'll ask launchpad-dev@09:45
maxbSeparate topic - I'd like to start submitting code changes to support python2.5 - I thought I'd start small, with this one: http://bazaar.launchpad.net/~maxb/launchpad/python2.5/revision/897409:47
thumperif I have a security wrapped product09:47
thumperand adapt it to something else09:47
maxbAre branches with a one-line change wanted, or is it better to try to collect a few one-liners into a single branch?09:47
thumperdoes the something else get security wrapped?09:47
* thumper thinks not09:47
thumpermaxb: one liners are fine09:48
thumpermaxb: several one liners together are fine09:48
thumpermaxb: several 50 line fixes should be broken up09:48
thumpermaxb: keep changes easily reviewable09:48
thumpermaxb: that's your axiom09:48
bigjoolsthumper: I think it does10:04
bigjoolsonce wrapped, always wrapped10:04
thumperbigjools: adaptation doesn't go through a secured utility10:04
bigjoolshave you tried it?10:04
thumperby accident once10:04
thumperbigjools: but I have a test I'm writing10:04
bigjoolsI remember seeing some code somewhere that used an adapter so that we got proxied objects10:05
thumperbigjools: I'll let you know :)10:06
bigjoolsthumper: I'll honestly be very surprised if an adapter turns a proxied object into a non-proxied one10:06
thumperbigjools: well, the adapter is a class that takes the wrapped object as a parameter10:07
wgrantDon't trusted adapters get proxied (but get unproxied access to the wrapped object)?10:07
thumperbigjools: so it won't wrap the new object10:07
wgrantBut IIRC non-trusted adapters don't get proxied, but rely on the proxy around the wrapped object.10:07
thumperwgrant: where are the docs about trusted adapters?10:07
maxbuhoh, ajax bug subscribe broken on edge for everyone or just me?10:07
thumpermaxb: yep, broken10:08
wgrantmaxb: I have a branch landing for that ATM.10:08
wgrantthumper: No idea. I just remember this from when I played with some Zope 3 code a couple of years back.10:08
* wgrant Googles.10:08
wgrantthumper: http://docs.zope.org/zope3/ZCML/http_co__sl__sl_namespaces.zope.org_sl_zope/adapter/index.html, the trusted attribute seems relevant.10:09
thumperta10:09
thumperwgrant: fantastic, thanks for that10:10
* wgrant knows enough Zope 3 to survive.10:10
* bigjools hoped to never have to know that much Zope310:11
* wgrant doesn't mind it.10:13
mptOh hooray, the global search field is going back down into the page footer10:24
lifelessah, so people can't use it ?10:24
mpteh?10:25
lifelesswill people see it at all down at the bottom?10:27
mptWell unless you're at the front page, the main reason to use the global search is because there's nothing on the current page relevant to where you actually want to be10:28
mptMy hypothesis (and it's only a hypothesis) is that you're more likely to come to that conclusion once you've scrolled through a page than when you're at the top10:29
lifelessmpt: my feeling is that search at the top is great, but it should always be contextual; if you want global search hit the home page10:30
lifelessor something like that10:30
lifelessit would be interesting to make sure we can track the result of the change being made10:31
mptThere are quite a lot of pages with context-sensitive searches, e.g. project Bugs pages, distribution pages10:31
mptIf all pages had a single search field it would be hard to tell when someone was wanting context-sensitive results (e.g. show me only bug reports about only this project) and when they were wanting site-wide search results10:33
deryckMorning.11:02
deryckwgrant, thanks for your work on tracking down (and fixing!) those inline subscribing bugs.11:05
lifelessmpt: thats true, which is why I suggest being always context sensitive and letting users request site wide11:05
wgrantderyck: The second one wasn't at all as hard as I suspected, fortunately.11:06
deryckwgrant, yeah, I think once you understand the general subscribing process in js, all of these should be fairly easy to fix.11:06
* deryck needs to look closer at each bug though11:06
wgrantderyck: It took a while to work out how it all worked.11:07
wgrantThere's a bit of JS there...11:07
deryckindeed there is.11:07
mrevelljtv: http://blog.launchpad.net/translations/screencast-importing-translation-templates-from-a-bazaar-branch11:16
jtvmrevell: listening to your voice now...11:17
mrevelljtv: That's nice to know :)11:17
jtvmrevell: "you might notice that this is a copy of Barry Warsaw's I Have a Colon Full of Cookie project"..?11:17
jtvmrevell: do you expect many people to pick up on that?  :)11:17
mrevelljtv: Only in that there is the rather odd phrase "I have a colon full of cookie" in the pot. I think this was the tenth take after several Audacity crashes :)11:18
jtvmrevell: and how many retakes from starting to laugh when you said the phrase?11:19
mrevelljtv: Heh, I was closer to tears after all the crashes11:19
jtv"oh good"11:19
mrevelljtv: there's a factual error in that I say imports happen once a day but I'll fix that when I re-record it for the new UI11:20
jtvmrevell: you say "a few minutes instead of a day or two," though that's about the approval process rather than the import process.11:22
mrevelljtv: Yeah, which I clarify later on11:22
jtvmrevell: where "clarify" is defined as "distort with lies and misinformation?"  :-P11:22
mrevelljtv: If the voiceover is actually misleading, I'll re-record. Do you want to give me a list of "bugs"?11:23
jtvmrevell: I just hit the point where you say "daily."  I'll be sure to note anything else, but no other mistakes have caught my ear so far.11:24
jtvmrevell: these imports get triggered as soon as you push your changes.11:24
mrevelljtv: I'll re-record.11:25
mrevelljtv: I think it's an important fact to get right :)11:25
jtvmrevell: well it's not actually harmful since everything else including your demo very clearly says "a few minutes."  So one could interpret the "daily" as "continually."11:26
=== beuno_ is now known as beuno
dpmmrevell: I've just watched the screencast, and I found it excellent! Just a comment/suggestion: in the last few seconds, when you are typing the translation in the textbox, it might be worth clicking on the radio button or on the arrow button of the original string to show people that they can be easily copied to the translation textbox with a mouse click.11:27
mrevelljtv: The gods of audio recording seem to be smiling on me today, so it won't be too much effort to re-record. I like talking to myself anyway11:27
jtvmrevell: did danilo ask you about these screencasts btw?  Joey wanted something like this as well.11:28
wgrantSomebody want to help in #launchpad before things get too off course?11:28
=== henninge_ is now known as henninge
wgrantmrevell: Note that nat/canonical/..11:29
mrevelldpm: Thanks for that suggestion! I have to confess I didn't even consider that. I'll mention that in the voiceover as that's easy to re-record and I think that's all we need for an extra value tip like that.11:30
mrevellwgrant: Yeah, I'm still used to be able to recognise everyone's name :)11:31
mrevelljtv: yeah, danilo pung me about this yesterday11:32
=== intellec` is now known as intellectronica
mrevelljtv: I've fixed the import video. Now I'm going to record the export video.12:34
jtvmrevell: looking forward to that, for obvious reasons.  :)  I really liked getting the information in this format.12:36
mrevelljtv: Is there any way to cheat/force the export? I guess I can wait until tomorrow to record the part where I go and look for the export in my branch, but joey might find this useful, as you said.12:36
jtvmrevell: you're not the first to ask...  May be worth a new feature, though obviously we're not going to work on it very soon.12:38
jtvotoh for now the script performs so well that it looks like we might run it much more frequently.12:38
mrevelljtv: Ah ok. So, there's no special "I'll buy you a pint jtv" button :)12:39
mrevelljtv: When does the export occur?12:39
jtvmrevell: buying me a pint is fine, but getting an extra cron job approved & executed might not get it done much faster than just sitting and waiting.12:40
* jtv looks up the times12:40
mrevell:)12:40
jtvmrevell: between 03:00 and 04:00 UTC12:41
jtvor BST, if that's what the logs are in.12:41
mrevelljtv: Cool, thanks12:41
=== danilos is now known as danilo-food
wgrantgmb: If I want to fix bug #415165, do I have to change all sites that set it to use the new method? Or can I just set the field readonly and export a mutator, to only protect the webservice side?13:26
=== mrevell is now known as mrevell-lunch
* gmb looks at the bug13:37
gmbAh, right.13:37
gmbwgrant: The problem specifically effects anything that uses the webservice, so exporting the mutator should be sufficient. You can then file a follow-up bug to make everything else use the new method, but that's less urgent.13:38
wgrantgmb: Thanks, I was just wondering if I would be committing Evil by not changing the rest.13:43
gmbwgrant: Nah - what's there already has worked up until this point.13:44
gmb(And as I said, what's there already for non-webservice stuff isn't all that broken)13:44
=== henninge_ is now known as henninge
henningejtv, danilo-food: wanne take a look at my TranslatableMessage draft?13:49
henningejtv: https://pastebin.canonical.com/21250/13:49
jtvhenninge: looking...13:49
henningejtv: actually I am thinking of even more high-level methods.13:51
henningejtv: like "getAllTranslations"13:51
jtvhenninge: a small note... names like is_empty and is_imported don't really mesh with the choice of Translat*able*Message.13:52
henninge;-)13:52
barrysinzui said: No.one menu must be bound to the oject, the other to the view, so you must pass each so that when we use nearest(INavigationMenu) we get the right menu13:52
henningejtv: well they are really "(Re)TranslatableMessage)13:52
jtvhenninge: I think you've made a good start with these low-level things; this should not become a 2-year project after all.  :-)13:52
henningejtv: meaning13:53
henninge?13:53
jtvhenninge: about the names, I mean that is_empty etc. should be something like current_translation_is_empty etc. to reflect that it's the translation, not the POTMsgSet, that is empty (or whatever).13:54
henningejtv: ok, no problem13:54
jtvhenninge: about the other thing, I mean don't worry too much about pulling in more functionality; you'll risk making more changes than needed and complicating things.13:55
barrysinzui: nearest() seems like a rather magical (and error prone) way to find the menu.  why is it not explicit?13:55
sinzuibarry: You are using the zope, This is how all menus work13:56
henningejtv: You mean, the rest can be done in the view?13:56
jtvhenninge: I'm not making any predictions, just saying be conservative in what you move in here because it's going to pile up anyway.  :)13:57
barrysinzui: my point is, i guess, that we should do better13:57
sinzuibarry: if it was very explicit, people would be making menus everywhere and the pages would be a mess. NavigateMenus were design to work with two scenario, items about the object and items about the objects content13:57
henningejtv: I see.13:57
sinzuibarry: I loath to change the way something has worked for 18 months13:58
sinzuibarry: remember that lots of pages are using them.13:58
barrysinzui: then we should be building a better mechanism that new pages would use.  but i'll drop this for now.13:59
sinzuiI think the way I outlined it ensures there one link definition, that we allowed two menus per page. The only oddness is the marker interface14:01
allenapsinzui: Hi, I have a question when you have a moment. I'm converting a page from onecolumn to main_only, and collapsibles are now not working. I notice that the code that sorts them out is in the page-javascript macro, but I don't think I want to be using that (it seems to be to support main-template). Any ideas how I should approach this?14:01
jtvhenninge: overall, what you have here looks to me like the kind of interface we'd want to have.14:02
henningejtv: good to hear, thank you14:02
sinzuiallenap: head-epilogue-slot is where I have placed javascript14:02
bigjoolssinzui: I think we also need .side h2 {font-weight: bold;} I think I might have said that before.14:04
sinzuiyes,14:04
sinzuibigjools: I leave beautification to beuno14:05
allenapsinzui: Okay. Previously several calls were made on every page (activate_collapsibles(), and a few others). Is the policy now to only call those that each page needs?14:06
gary_postermthaddon: when you get a chance would like to investigate the problem landing sourcecode branches on pqm that intellectronica and I wrote about.14:07
sinzuiallenap: I do not know.14:08
allenapsinzui: Do you reckon beuno is the person to talk to?14:08
sinzuiallenap: I think the problem is that those scripts were never converted to YUI, so we do not know what to do with them14:09
mthaddongary_poster: ok, will be about 30 mins or so14:09
gary_postermthaddon: cool thanks14:09
sinzuiallenap: if there a problem with the epilogue slot?14:09
wgrantShould all schema circular import patches live in c.l.i._schema_circular_imports? It took me ages to find one that doesn't live in there.14:11
allenapsinzui: Those calls used to happen in every page, to set up sortables, inline help, collapsibles, etc. None of those things will work unless every template adds a block to the head_epilogue.14:11
allenapsinzui: The one I'm interested in - Y.lp.activate_collapsibles() - has been converted to YUI, so maybe I should add it to base-template.pt to ensure it gets run on every page?14:14
sinzuiallenap: then I think we want to add that to the new template. There is a macro that makes discretional page javascript. We can add them to that or we add a new part the template loads non YUI scripts14:15
sinzuiallenap: I think we want to update base-layout-macros.pt define-macro="page-javascript" to do this14:16
sinzuiIf you look, you will see it does a setup, loads the main scripts, then does some post setup14:17
allenapsinzui: Yeah, that macro is used by main-template.pt, but not by base-layout.pt, and adding it to the head_epilogue slot means that the load-javascript macro ends up being included twice in the page.14:18
sinzuiallenap: I see Y.lp.activate_collapsibles(); in the define-macro="page-javascript" macro. It should be there now14:19
allenapsinzui: Yes. I'll break out the <script> block containing Y.lp.activate_collapsibles() into a separate macro so that I can include it in base-layout.pt.14:20
sinzuiallenap: no14:20
bigjoolssinzui: did you look into a way of automatically putting the file size in the sidebar download links?14:21
sinzuiallenap: look at line 72 of  lp/app/templates/base-layout.pt14:23
sinzuiallenap: load-javascript is meant to just provide libraries and by special pages like the timeline. I do not think we should be loading it in base-layout. It should call page-javascript, which does the required pre and post setup of those libraries.14:25
sinzuiallenap: So I think we need to change line 7214:26
sinzui     use-macro="context/@@+base-layout-macros/page-javascript" />14:26
allenapsinzui: Okay, that seems good.14:26
sinzuibigjools: I have not. Salgado looking to a way and used the tooltip because there was room in many of the uses for download files.14:28
sinzuibigjools: I think the answer is when there is a table, show the information. When you are making a fast action button, just show the file name14:29
bigjoolssinzui: it would be nice to put it next to the release date IMO.  release date won't work for me on the DSP page anyway since it's the package upload date that counts14:29
sinzuiWill it always fit?14:29
bigjoolswhat is "it"?14:30
sinzuibigjools:I do not think we can. the release date should only appear one in a list of download buttons.14:30
bigjoolsah interesting14:31
sinzuibigjools: "it" was the file size14:31
gary_posterleonardr: ping14:31
leonardrgary: yo14:31
bigjoolsit should fit, but won't work too well if we don't want to put the release date in every button14:32
gary_posterleonardr: ready for call?14:32
leonardryeah14:32
gary_postercool14:32
=== Ursinha-nom is now known as Ursinha
allenapsinzui: Switching load-javascript to page-javascript in base-layout.pt is working nicely. However, initInlineHelp() breaks (because there's no #help-close element) necessitating a change to stop it from throwing an exception. Is inline help entirely going away for 3.0?14:44
sinzuihmm14:45
sinzuiallenap: I think that mean we need to add the missing help info. Is the issue more complex than that.14:49
allenapsinzui: No, I don't think so. There's a div#help-pane in main-template which I can just copy into base-layout.14:50
sinzuiallenap: I intentionally made the lp/app/browser/tests/base-layout.txt test very verbose to ensure that we know exactly what each layout provides. You should update one or all the layout sections to verify that #help-close is present14:54
allenapsinzui: Okay, cool. Thanks for you help :)14:54
beunoEdwinGrubbs, hi15:03
EdwinGrubbsbeuno: hello15:04
beunoEdwinGrubbs, would you like to have a call to figure out the UI you're working on?15:04
=== abentley1 is now known as abentley
sinzuisalgado: is Bug 415133 update?15:10
mupBug #415133: Update code-of-conduct pages to UI 3.0 <Launchpad Registry:In Progress by salgado> <https://launchpad.net/bugs/415133>15:10
henningeabentley: Hi!15:19
abentleyhenninge: Hi!15:19
henningeabentley: Are you knowledgable about the job system?15:19
abentleyhenninge: Yes.15:19
henningeabentley: I see a lot of stale "running" jobs.15:19
henningeabentley: that is jobs that remain in state "1" forever.15:19
abentleyhenninge: What kind of jobs?15:20
henningeabentley: rosettabranchjobs15:20
henningeabentley: but I just saw that there are other (old) jobs still in that state, too.15:21
abentleySo, when a job terminates, the JobRunner should set its status appropriately.15:21
henningeabentley: what happens if it crashes?15:21
salgadosinzui, there are a few pages left to convert15:21
sinzuiokay15:21
abentleyhenninge: You mean outside of normal python exception handling?15:21
henningeabentley: possibly ;-)15:22
henningeabentley: these are all rosettabranchjobs not in state "2" as of last night.15:22
henningehttps://pastebin.canonical.com/21251/15:23
james_wcould I get a review of https://code.edge.launchpad.net/~james-w/wadllib/fix-simplejson-unicode/+merge/10180 please?15:25
henningeabentley: looking at lines 65 to 70 you see 4 jobs for window-picker-applet but nothing ever happens, meaning nothing gets uploaded.15:25
intellectronicajames_w: you're best trying in #launchpad-review, where the on call reviewers hang out. but if you can't find a reviewer there i'll be happy to review your fix15:26
flacostegary_poster, adeuring, intellectronica: my fix for submission to sourcecode branches is #4 in PQM right now15:26
intellectronicahallelujah15:26
adeuringflacoste: thanks!15:26
james_wintellectronica: but I'm the only person in that channel!15:26
gary_posterflacoste: thank you!  mthaddon did you see that?  no investigation needed, probably15:27
james_wah, -reviews15:27
mthaddongary_poster: sounds good to me :)15:27
gary_poster:-)15:27
abentleyhenninge: Well, if it raises an exception, the job will be marked "failed" and an oops will be reported.15:27
abentleyhenninge: At least, that's what's meant to happen.15:27
abentleyhenninge: If the job causes a segfault, the job will be left in 1 state forever.15:27
bigjoolssinzui: did you involvement portlet thing land?15:28
bigjoolsyour*15:28
henningeabentley: I guess that is the problem, then.15:28
=== abentley1 is now known as abentley
henningeabentley: I guess that is the problem, then.15:29
sinzuibigjools: yes!15:29
bigjoolssinzui: woooo!  can I just copy the runes from the product-index template?15:29
abentleyhenninge: There have been some changes in that area recently, so it might work now.15:30
henningeabentley: the last failures were yesterday.15:30
abentleyhenninge: Drat.15:30
henningethat i know of.15:30
abentleyhenninge: Have you looked at the job system oopses?15:31
sinzuibigjools: <div tal:replace="structure context/@@+get-involved" />15:31
henningeabentley: yes, there are none, or at least not matching the job failures15:32
bigjoolssinzui: in fact I just tried it and it looks a bit wonky, for the DSP page it adds "Register a Blueprint" which doesn't make sense does it?15:32
bigjoolsand it links to +addbranch15:32
henningeabentley: that is oopses for rosettauploadjobs15:32
sinzuibigjools: \o/ you found a bug15:32
bigjoolssinzui: "Help translate" also just goes to the translations root site15:32
sinzuibigjools: yes it does15:33
abentleyhenninge: The only thing I can think of is trying to reproduce the failure locally.15:33
abentleyhenninge: Or maybe on staging?15:33
henningeabentley: are branches copied to staging, too?15:33
henningeabentley: it does not happen to all branches, just certain.15:33
abentleyhenninge: Only a few are copied, but you can push them.15:33
thekornintellectronica, hi, right now, I try to fix bug 414992, and I have a question: there is a test in lib/canonical/launchpad/doc/displaying-paragraphs-of-text.txt line 224/225 which indicates that this is expected behaviour,15:34
mupBug #414992: 'bug $ID' markup in descriptions and comments does not respect new lines <Launchpad Bugs:New> <https://launchpad.net/bugs/414992>15:34
bigjoolssinzui: I guess the text is wrong, +addbranch is sane for packages now15:34
thekornintellectronica, so: is the testcases wrong, or isn't it a bug at all?15:34
sinzuibigjools: lp/registry/browser/pillar has an exception for IProject, add one for IDistributionSourcePackage15:34
bigjoolssinzui: okay15:34
EdwinGrubbsbeuno: sorry, I didn't see your last comment. sinzui was saying that the problem with the duplicate headings is due to the base templates, so a fix doesn't really belong in my branch. We can have a call if you like, but I think sinzui should be involved, unless there is a different issue.15:35
intellectronicathekorn: sounds to me like the behaviour is wrong. i don't understand why you'll want to do that other than in one case - some text can come from email, where it may have been broken down15:36
intellectronicathekorn: let me have a look15:36
beunoEdwinGrubbs, if you're clear on what you need to do, then it's ok. If you're not 100% sure on design, let me know, and we'll have a call to figure it out15:41
thekornintellectronica, thanks for looking at it15:42
bigjoolssinzui: doesn't seem to work for DSP, the pillar is IDistribution in that code15:42
bigjoolssinzui: maybe examine the context instead?15:43
jtvmthaddon: I have to go now, but I've written up my request for later: https://pastebin.canonical.com/21261/15:43
jtvmthaddon: with apologies for asking you to hold the baby, is that something you can work with while I go and slack off?15:43
EdwinGrubbsbeuno: sinzui said that whatever changes that need to be done to the heading are up to you, so I couldn't even start working on that in a separate branch.15:45
beunosinzui, do I owe you an answer then?15:45
=== mrevell-lunch is now known as mrevell
sinzuibigjools: the __init__ needs to set the specs, code, and tranlations, to false if IDistributionPackage. just like IProject15:46
bigjoolssinzui: it's ok, I have fixed it15:47
sinzuibeuno: EdwinGrubbsI do not undersand the issue until I have seen it.15:47
bigjoolssinzui: however, I am wondering why there's no Code link, even though the tab is enabled15:47
sinzuibigjools: Does Ubuntu have official_code?15:48
* sinzui does not think so15:48
bigjoolsmight be right, where the heck is it set ....15:48
sinzuibigjools: the involvement menu enforces the official status15:48
=== abentley1 is now known as abentley
mthaddonjtv: sure - can you email that to losas and I'll have one of my new minions have a crack at it15:49
sinzuibigjools: <Change details>?15:49
bigjoolssinzui: nope :/15:49
* sinzui looks at model15:49
bigjoolssinzui: why does "Help translate" go to the translations rootsite?15:50
sinzuiWow!15:50
bigjoolswhen it doesn't on the existing page15:50
bigjoolsor is that a bug?15:50
sinzuibigjools: official_codehosting is a property allways set to false. There is a not about sourcepackage branches you shoudl read15:50
bigjoolsha15:51
intellectronicathekorn: don't know, i think the reason i mentioned above is the only reason i can think of why we'd want to do that. if we wanted a really clever solution we could do the linkification only if the number on the next line is preceded by #, though i think it's worth changing even if we don't do that15:51
intellectronicai sort of feel like someone needs to be devil's advocate here15:51
sinzuibigjools: You might wan the view to falsify official_codehosting if distribution.full_functionality15:51
sinzuibigjools: That is were the link always goes as far as I understand.15:52
bigjoolsok15:52
bigjoolsin the meantime, abentley, do you guys have plans to fix IDistribution.official_codehosting?15:52
henningeabentley: you have lots of "running" jobs, too... https://pastebin.canonical.com/21262/15:53
intellectronicaBjornT: do you have an opinion on whether it makes sense to linkify 'bug\n123'? we currently do, and i can think of one reason why that would be good to do (text coming from email might be broken up for line length) but it's a bit confusing when entering lines starting with a number15:53
henningeabentley: this was the query run on staging: https://pastebin.canonical.com/21260/15:53
abentleybigjools: I lack context.15:54
BjornTintellectronica: i assume you mean that we don't do this currently?15:54
bigjoolsabentley: it always returns False, and there's a comment from you on 2008-01-2215:54
intellectronicaBjornT: we currently do linkify across line boundaries. we even have a test demonstrating this15:54
bigjoolsabentley: doesn't seem right any more now we have source package branches?15:54
BjornTintellectronica: oh. so in what way is it confusing? can you give an example?15:55
intellectronicaBjornT: https://launchpad.net/bugs/41499215:55
mupBug #414992: 'bug $ID' markup in descriptions and comments does not respect new lines <Launchpad Bugs:New> <https://launchpad.net/bugs/414992>15:55
abentleybigjools: I don't think that's on our radar, but jml is most familiar with sourcepackage branch issues.15:55
bigjoolsabentley: ok, no rush anyway, just wondered.  Ta!15:56
abentleybigjools: Is it possible for a distribution's sourcepackage branches to be unofficial?15:56
bigjoolsabentley: I don't think so15:56
abentleybigjools: So perhaps we need to force it True.15:57
bigjoolsI'll wait for jml to comment when he's back15:57
=== mthaddon changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 3 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/ | Staging.lp.net going down for hardware maintenance 15:00 UTC - 15:30 UTC
=== cprov is now known as cprov-lunch
abentleyhenninge: I'll investigate that, but I've no idea at the moment.16:05
henningeabentley: just like me ;-)16:05
=== danilo-food is now known as danilos
daniloshenninge: we should either turn all of those into properties, or turn them all into methods... I don't see a reason to be inconsistent like this... is_empty would be better if it was the opposite like is_translated, but that's ultimately equivalent to current not None and not current not is_empty16:11
daniloshenninge: it might make sense to keep expensive operations as methods, and cheap ones as properties, but then everything might turn into methods :)16:12
bigjoolssinzui: with the portlet changes: http://people.canonical.com/~ed/dsp_mockup_with_linkage2.png16:14
sinzuibigjools: What did you do with the help translate link? Should it change for an DSP?16:17
bigjoolssinzui: yes, it should retain the pillar16:17
bigjoolsI've not fixed that16:17
bigjoolssinzui: what do you think about the new layout though?16:17
sinzuiI like it16:18
sinzuibigjools: we normally do not want a line (border, rule) between the <h1> and the content.16:18
sinzuibigjools: I am not sure what to do in this case16:18
bigjoolssinzui: me neither16:19
sinzuibigjools: We could set the top two portlets to class="top-portlet"16:19
sinzuibigjools: Is there any narrative information we can place at the top of main?16:20
=== deryck is now known as deryck[lunch]
* sinzui thinks not16:20
bigjoolsnot relly16:20
bigjoolsthe product info is the best narrative16:20
=== abentley1 is now known as abentley
bigjoolssinzui: so using top-portlet makes it sit right against the title now. noodles775 observed that on a review of something else earlier, it's a global problem16:23
sinzuiyes, because top-portlet assumes that some real blocks are in it16:23
noodles775bigjools, sinzui: I haven't checked, but I've got a feeling it probably only affects top-portlet's where the first content is a table/form.16:23
bigjoolssinzui: heh, on top of that, the <dt> have lost their styling16:24
sinzui:(16:24
sinzuibigjools: where does the explanation of what the package does come from when I use apt? is that available here?16:25
gary_postersalgado: please let me know what you think of https://pastebin.canonical.com/21264/ when you get a chance, and let me know what you think we ought to do next.16:26
bigjoolssinzui: that's a different package you're seeing the description for - they're binary remember16:27
bigjoolsthis is source16:27
jtvdanilos, henninge, mthaddon: I'm off!16:29
mthaddonjtv: did you email losas@?16:29
jtvmthaddon: I did.  Didn't notify you because I figured you'd get the email anyway.  :)16:29
mthaddoncool, thxc16:29
bigjoolssinzui: the class="summary" on the description looks really crap to me as well16:29
rockstarabentley, chat?16:30
abentleyrockstar: sure.16:30
henningedanilos, jtv, mthaddon: so am I!16:30
sinzuibigjools: yes, since we are not using it as narrative we should not use the class16:30
danilosjtv, henninge: cool, enjoy it16:31
salgadogary_poster, I like that it seems like a lightweight solution for future changes, but doing that for all existing entries in versions.cfg will be a bit of a PITA, won't it?16:35
thekornintellectronica, ok, thanks. so I guess best is to wait until someone notes a decission about this on the bugreport16:40
intellectronicathekorn: yes, i suggest let's put this question in the bug report and try to make a decision quickly. i'd say just do it, but the fact that someone went through the pain of making sure that it works the way it does makes me a bit cautious - maybe there's a really good reason we don't understand16:42
bigjoolssinzui: instead of narrative, I can put something in that used to be on an old mockup, like "This package has 14 open questions and 139 untriaged bugs"16:42
sinzuioh16:43
sinzuibigjools: That is nice. Why aren't we showing them as portlets on the page? Is the information not interesting enough? Do you link to those bugs and questions?16:44
gary_postersalgado: We only have four ATM (Storm is 1.15).  It will be a bit of a PITA, yeah.  I think it's most important for feedvalidator, since right now we don't have any prospect of improving the situation (getting a real release).  The other three are hopefully on their way to being merged and officially released upstream, so I'd be +1 on letting them through as-is on a grandfather clause. :-)16:44
gary_posterSo, to be clear, maybe just redo feedvalidator to comply with this.16:44
bigjoolssinzui: I'm wary of putting too much on the page and slowing it down.  I would be happier to link to the relevant page.16:44
sinzui+116:45
bigjoolscool16:46
=== mthaddon changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 3 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/
salgadogary_poster, oh, I thought we were doing the comments even for non-custom distributions.  I think that'd be good to kind of force people to update the comment in case they change it to a custom one, but it might be too much effort for not enough benefit16:47
salgado(your pastebin clearly says it's only for custom local distributions; I misread it)16:48
gary_postersalgado: cool.  if it is a non-custom distribution, then I think that's not Launchpad's responsbility to make those releases anyway (unless we are the upstream, like with lazr.*, but I think documenting that release process needs to be handled within those packages, not within launchpad).16:50
gary_postersalgado: so, are you +1 then?  Should I make any changes, or just put it on the wiki and invite comment?16:53
salgadogary_poster, big +1 from me. :)16:54
gary_postersalgado: :-) k cool thanks16:54
daniloskfogel: did we come up with a recommended PQM submit message to credit our contributors when submitting branches for them?16:57
kfogeldanilos: no, because we're just going to parse the logs (the inner revisions) directly.  Which, coincidentally, is what I'm working on right now :-).16:57
daniloskfogel: ok, cool16:58
kfogeldanilos: (and the result will feed to a wiki page automatically, keeping our contribution logs up-to-date)16:58
=== beuno is now known as beuno-lunch
sinzuibarry:  can you take 30 minutes to look at bug 403606. I haven't a clue what is up.17:03
mupBug #403606: ExpatError errors should be handled to not generate the OOPSes <oops> <Launchpad Registry:Triaged by barry> <https://launchpad.net/bugs/403606>17:03
=== gary_poster is now known as gary-lunch
=== deryck[lunch] is now known as deryck
kikosinzui, is it currently possible to subscribe a private team to code reviews? no, right?17:26
sinzuikiko: I think it can. We fixed a related bug in June17:27
* sinzui tries17:27
=== salgado is now known as salgado-lunch
bigjoolssinzui: are the same links as the tabs available as global Links somewhere?17:30
sinzuibigjools: No :(17:30
bigjoolsbugger17:30
sinzuibigjools: I lied, but getting a link can be hard17:30
bigjoolssinzui: so I shall have to duplicate them in my view then17:31
* sinzui looks at old revision on involvement to see how it was done17:31
sinzuibigjools: I had to use the translations menu to get links. That is not good. I have been putting links in  mixins so that it is easy to share links between menus17:33
* sinzui reads ancient code for hacks17:33
sinzuibigjools: view/menu:facet returns a list of links. you cannot access them by name :(17:35
bigjoolssinzui: the help_translate link returns "/"17:37
sinzuibigjools: yeah, that is why I created the pillar menu which makes a rooted url17:38
bigjoolssinzui: if I change it to "" it does what I expect17:38
bigjoolswell, sort of :)17:38
bigjoolsactually, no it doesn't. Crap.17:39
kikosinzui, got an answer for me?17:43
kikomatsubara-afk, Ursinha: what about you, do you know if I can subscribe a private team to a public or private code branch?17:43
Ursinhakiko, nope, not sure, rockstar?17:44
sinzuikiko: private teams are supported17:44
sinzuikiko: I am creating a private membership team to verify it17:44
rockstarkiko, I don't know why you couldn't subscribe a private team, although it's existence might be leaked.17:45
sinzuirockstar: you could not in June because of validation contraint17:46
sinzuibac fixed it17:46
rockstarsinzui, Ugh.  Sometimes privacy is a real pain.17:47
sinzuikiko: rockstar: private and private-membership teams can subscribe to a public or private branch17:47
* sinzui vows to conslidate and rename tests so that he can find them17:48
kikothanks sinzui17:53
=== beuno-lunch is now known as beuno
kikosinzui, the new guided project registration is really nice, but we need a separate "import a project" workflow now, I realize17:57
kikoI used to think you could do that as part of the same workflow17:57
kikobut now I don't think you can17:57
sinzuikiko: yep17:57
=== kiko is now known as kiko-fud
kiko-fudI think "Register a new project" and "Import a project from somewhere else" are different things17:58
kiko-fudthat the user sees really differently17:58
kiko-fudanyway, fud17:58
=== matsubara-afk is now known as matsubara
rockstarALL:  I'm going to hunker down and hack.  If you need something, please text me, as I'll be ignoring IRC and email for the next few hours.17:58
=== cprov-lunch is now known as cprov
* gmb EoDs18:05
=== salgado-lunch is now known as salgado
=== gary-lunch is now known as gary_poster
salgadosinzui, any suggestions for the next group of pages to convert? maybe poll-related ones?18:44
sinzuisalgado: They18:48
sinzuisalgado: I listed poll-edit, polll-newoption, polloption-edit as the ones to convert18:48
salgadosinzui, do you mean we're not converting the others or that these are the ones that should go first?18:50
sinzuisalgado: we are converting all. I listed those pages in my notes to convert next.18:51
salgadosinzui, so you're doing them or can I take them?18:51
sinzuisalgado: take them18:58
bigjoolssinzui: can we put GET data on a Link() ?19:09
bigjoolsother than hacking the crap out pf it I mean19:13
sinzuibigjools: I do not understand?19:19
bigjoolssinzui: never mind, I've hacked it, I don't see another way.  While you're there, check out these tweaks: http://people.canonical.com/~ed/dsp_mockup_with_linkage2.png19:20
* bigjools has to go in 5 minutes19:20
maxbflacoste: Are you around today? I was hoping to discuss how to submit packages for inclusion in ~launchpad/ppa19:23
flacostemaxb: i am, on the phone, though19:23
sinzuibigjools: looks nice, beuno will want the links with the counts to have the colours of  the apps19:23
bigjoolssinzui: do we have a style for that?19:23
maxbflacoste: ok, I'll be around for several hours, let me know if you have time for a chat19:24
beunosinzui, you're becoming my evil, but better looking twin19:24
bigjoolsmore eccentric twin you mean? :)19:24
sinzuibigjools: maybe, I did it on the milestone page19:24
bigjoolssinzui: ok I'll look on there, ta19:25
bigjoolsbeuno: any comments on that page now?19:25
flacostemaxb: ok, i just hung up, i have a couple of minutes before it rings again :-)19:26
flacostemaxb: these are packages for karmic?19:26
maxbYes - basically the entire python2.4-using modules for karmic19:26
beunobigjools, it looks 7000 times bettar than when you started. And, a few other things, that I'll take to -reviews now19:26
bigjoolsbeuno: I need to finish coding the data-retrieval for the table and write tests, so in a couple of days I'll be pinging you for that19:27
maxbI have packages in https://edge.launchpad.net/~maxb/+archive/launchpad - some of which are just copy-with-binaries from ~launchpad/ppa jaunty - what's the best way for things to get into ~launchpad/ppa for karmic?19:28
flacostemaxb: i think we could copy the binaries over19:33
flacostebigjools: do you have any better suggestion?19:33
maxbSounds good if you're happy with that approach19:33
bigjoolsflacoste: +119:33
* bigjools has to go19:33
flacostemaxb: why did you drop the python2.4-foo in launchpad-dependencies?19:34
maxbThat's because I'm simultaneously trying to make it work with both 2.4 and 2.5 - and not all of the packages provide pythonX.Y-foo vdeps anyway19:35
maxbWhere possible I've done no-change rebuilds to re-add the python2.4 binaries - no source patching at all19:36
flacostemaxb: hmm, the problem is that if there is no python2.4 dep, it's possible for the ubuntu package to be selected instead of the PPA one19:37
flacostethat was the way we had to make sure that the PPA package was installed, or not removed on upgrade19:38
maxbHmm. OK then19:38
maxbSo either I need to get nifty with substvars or I have to abandon sticking with no-change rebuilds19:39
flacosteright19:39
flacostei did the latter for Jaunty19:39
flacostebecause i'm not a deb package sho-dan19:40
barrybeuno: ui sadness :(19:40
flacostemaxb: so i'll copy over the other packages now19:42
maxbthe other packages?19:42
flacostemaxb: other than launchpad-dependencies19:43
maxbhmm - but some of the others are going to need rebuilding anyway if you would like a python2.4-foo provides inserted19:44
flacosteright...19:44
flacosteanyway, it's already done :-)19:44
flacostei can copy again later :-)19:44
maxbheh, ok19:44
flacostemaxb: let me know when there is more stuff you want to move over, either by an email to the list or IRC19:46
flacostemaxb: and thanks for doing this, this is really appreciated, especially since we are nearing beta and everybody will need to move over to Karmic19:46
maxbsure. btw, I never did a python2.4 version of python-lxml or python-setuptools because I couldn't find anything that needed them any more19:46
maxbditto python-xml19:46
flacostepython-setuptools isn't needed anymore19:47
flacostewe can drop it from l-d19:47
flacostepython-lxml is still needed i think though19:47
flacostefor some tests19:47
deryckbarry, hi.19:47
maxbDoes launchpad-dependencies have a branch on which I can propose changes? Or what's the best way to submit a proposed change for it?19:48
flacostepython-xml, i can't recall19:48
deryckbarry, your email about milestone links is bug 415156.19:48
mupBug #415156: Can't get to milestone from bug <Launchpad Bugs:Triaged> <https://launchpad.net/bugs/415156>19:48
flacostemaxb: actually, that's a very good point19:48
flacostewe should now use a branch!19:48
barryderyck: cool, thanks!  i'm gonna metoo it :)19:48
flacostei don't think we have one yet19:48
deryckbarry, heh. :)19:48
maxbflacoste: I could run a bunch of bzr import-dsc, and push one?19:49
flacostemaxb: that would be awesome19:49
flacostei guess, i'll then need to copy over the branch to ~launchpad and make it an "official" branch of some sort so that merge-proposal goes to it?19:50
flacoste(i haven't use the feature yet)19:50
barryubuntu tells me it wants to reboot.  what is this, a mac?19:53
gary_posterleonardr: I'm seeing a webservice request in the tests that looks like this.  Does this look well-formed?  http://api.launchpad.dev/beta/product-name4/+bug/16/comments/120:21
mupBug #16: "Swedish" and "Swedish (Sweden)" should be the same language <Launchpad Translations:Fix Released by daf> <https://launchpad.net/bugs/16>20:21
gary_posterheh20:21
leonardrgary: apparently so!20:22
leonardri don't see anything wrong with it. are you having problems?20:22
gary_posterleonardr: :-) ok.  Yeah, problems in the lazr.* migration, but wanted to make sure that the problems were not above where I was looking.20:23
gary_posterthank you!20:23
leonardrnp20:23
=== kiko-fud is now known as kiko
salgadobeuno, the icon of the 'Setup a new poll' link on https://launchpad.dev/~ubuntu-team/+polls overlaps with the text; how can I fix that?20:37
beunosalgado, is it a sprite?20:38
salgadolet me check20:38
salgado      <ul class="add" tal:condition="context/required:launchpad.Edit">20:39
salgado        <li><a href="+newpoll">Set up a new poll</a></li>20:39
salgado      </ul>20:39
salgadoguess not20:39
beunosalgado, so the add button is b0rked?20:40
beunoremove the "add" class from the ul20:41
beunoand add class="sprite add" to the href20:41
salgadocool, thanks beuno20:42
beunothumper, let me know if your up early20:49
beunoand feeling lonely, wanting to talk20:49
beunowoooo, 79 templates converted, and the number of templates dropped to 37520:55
kikounconverted20:59
beunoyes, unconverted dropped to 37520:59
beunofrom 400+  (can't remember the exact number)20:59
beunoactually21:01
beunoyeah, that makes no sense21:02
beunothe total number dropped, because the scales changed21:02
=== Ursinha is now known as Ursinha-nom
barrysinzui: ping21:14
sinzuihi bary21:22
barrysinzui: hi21:25
barrysinzui in your review you mentioned merge people, merge team and merge accounts.  i moved those inline so i don't feel a need to stick them in the menu.  wanted to see if you thought that was enough21:25
barrysinzui those don't feel like universal actions for all top level containers, like the other ones do21:26
sinzuibut, barry, every other object puts at admin links in the action menu. The admins do not read the page.21:27
barrysinzui: then maybe they shouldn't go inline also?  it doesn't feel right to me.  maybe beuno can weigh in?21:27
sinzuibarry: consider who we are designing for. The LOSAs. 4 people who have a lot to do and the only thing they read is BOFH.21:28
beunobarry, admin-only links can go on portlets21:28
sinzuibarry: I do not think they need to be inline. That is content we become obligate to mainstain21:29
beunobut only if they're super-admin things that only 3 people in the worl dsee21:29
sinzui4 next month21:29
kikosinzui, did you see that https://edge.launchpad.net/helioviewer is still oopsing? didn't this fix land on edge yet?21:29
sinzuiwe need to capture this ruling21:29
beunook, call me when it's over 100021:29
sinzuikiko: no PQM was closed for a CP21:30
barrysinzui, beuno okay, sounds good.  admin links into the portlet and out of inline21:30
barrythanks guys21:30
gary_posterEdwinGrubbs: ping21:33
EdwinGrubbsgary_poster: pong21:33
gary_posterEdwinGrubbs: When I run multiple tests in a branch that I'm doing some surgery on, I'm getting a postgres disconnection error after the first test.  so--the first test passes, the subsequent tests (in the same layer) fail with the disconnection error in the setUp.21:34
gary_posterEdwinGrubbs: (1) am I correct in assuming that normally we never disconnect from the db?21:34
gary_poster(or rarely, not normally between tests)21:35
EdwinGrubbsgary_poster: I believe we only disconnect in tests when we are testing that functionality.21:35
gary_poster(2) can you suggest a break point I can put in to see who is calling the disconnect?21:35
gary_posterEdwinGrubbs: cool, that's what I thought21:35
gary_posterEdwinGrubbs: (not sure you saw my question #2 above.) Probably a ``disconnect`` method I should use? :-)  Trying to grep myself, but advice would be welcome.21:38
sinzuibarry: ping21:41
sinzuibarry: is it possible to show the latest teams registered on the /people page in 30 minutes of work? See https://edge.launchpad.net/projects21:43
EdwinGrubbsgary_poster: the code you are looking for might be _reset_store() in canonical.launchpad.sqlbase. If that doesn't work, it might be easiest to wrap the _raw_connection object that storm holds, and watch for a close() method call.21:47
barrysinzui: maybe, but... mission creep? :)21:47
gary_posterEdwinGrubbs: awesome, thank you!21:47
sinzuibarry: yes it is21:48
barrysinzui: open a bug.  maybe later21:49
sinzuibarry: I do not know why that page has the team portlet. We can add it when we extract it from the project page21:49
barrysinzui: i don't understand21:51
sinzuibarry: you are doing the project page next21:51
sinzuibarry: I mean /projects page21:52
sinzuibarry: I just cc'ed you on a reply to thumper. He is also playing with /projects21:53
barrycool21:54
thumpersinzui: one issue is we are redirecting from a view on LaunchpadRoot, to the default view on /projects for the code site21:57
thumpersinzui: does our redirection infrastructure allow this easily?21:57
* thumper runs Maia to playcentre21:57
sinzuithumper: I see the rootsite in the directive. I think it works21:59
flacosteanyone knows where are the instructions on how to upload an .ogg recording the desktop?22:00
sinzuithumper: it was written for support.launchpad.net/<pillar>/+ticket/<id> to redirect to answers.launchpad.net/<pillar>/questions/id22:00
barrysinzui: well, at least ec2 is happen with my branch22:01
sinzuibarry: \o/22:03
barrysinzui: now i just have to get through this review :)  nearly there22:03
=== salgado is now known as salgado-afk
thumperbeuno: ping22:14
thumperbarry: did you get my mail about mailman and missing people?22:16
beunothumper, leaving home in 1022:17
beunothumper, will try to come back online so we can talk in an hour22:17
thumperbeuno: ack22:17
beunothumper, I've continued working on the mockup22:20
beunonot much, but fed some of the feedback back in22:20
beunonow, really gone for an hour22:20
flacostesinzui, beuno: here is what the launchpad-project home page looks for me22:24
flacostehttps://devpad.canonical.com/~flacoste/launchpad-project-top.png22:24
sinzuia giant list and whitespace?22:24
flacostehttps://devpad.canonical.com/~flacoste/launchpad-project.png22:24
flacostesinzui: yes, but the side is also at the bottom22:25
flacosteand there is whitespace on the right22:25
flacosteand the left22:25
sinzuiflacoste: I am rearranging the the portlets on that page as a part of my portlet preparation for the disrto page22:25
sinzuiflacoste: all see it22:25
flacosteyou mean, it's not flowing on the right for anybody?22:25
sinzuiIt should be fixed in 2 days22:25
sinzuiflacoste: no YUI-G is a grid and it does not like variable width, which is what we do22:26
flacosteah, ok22:26
sinzuiflacoste: We are changing the layout to be more like 1.0 to accommodate it.22:27
flacosteand https://devpad.canonical.com/~flacoste/launchpad-project-code.png22:27
flacosteis the code page22:27
sinzuiflacoste: This wasn't a surprise. We wanted to see severalc ases before making a decision about how to fix it22:27
flacostethere it always needs scrolling22:27
flacosteand the right column is tight with the scrollbar22:28
flacostesinzui: ok, got it22:28
sinzuiflacoste: this last pic is odd22:28
flacosteyeah, kiko wasn't seeing it22:28
flacostei am using firefox22:28
sinzuiflacoste: is there a very large unwrappable branch path?22:28
flacostenot that i can see22:29
flacosteall branches have amble of white space22:29
* sinzui looks himself22:29
barrythumper: i did, but i haven't had time to think about it yet22:29
flacostewell, unless there is a padding-right on the name column22:29
flacostein which case lp:~adeuring/launchpad/hwdb-db-schema-subvendor-subproduct-columns would explain it22:30
flacosteif there is someting like 20em of padding-right22:30
sinzuiflacoste: I am looking at https://code.edge.launchpad.net/launchpad-project22:30
thumperwho wrote the code for showing the pillar on the 3.0 pages?22:30
flacosteyep same here22:31
sinzuiI see a 20px right margin, no scrolling22:31
* sinzui force-reloads22:31
flacostehmm, this is weird22:31
flacosteme gets the same thing after a force-reload22:31
sinzuiI see missing row borders and rows that are uneven height. I cannot account for the irregularities in this page.22:33
flacostesinzui: do you see the same errors after force-loading?22:34
sinzuiyes22:34
sinzuiMy page is readable, which cannot be said for yours22:35
sinzuiMy browser window is set to 1024 wide22:35
sinzuiyours is 122522:35
thumperI have some questions about the logo in the corner22:37
thumperwho do I ask?22:37
rockstarsinzui, I has a question about a failing answers test - Do you have a minute?22:39
sinzuii do22:39
* sinzui prepares for uncode nonsense.22:40
rockstarsinzui, so, it looks like there is some sort of ACL for linking bugs to questions, as an admin seems to be able to link a bug that another person can't unlink.22:40
sinzuirockstar: bug linking is based on the user being an answer contact (which is voluntary)22:41
rockstarsinzui, hm.  Okay, so I haven't changed any actual underlying code here, but the test  answersbugs/stories/question-buglink.txt is failing at line 155.  I'm not sure how a minor template change would break that.22:42
sinzuirockstar: I just looked at the answersbugs/configure.zcml and see that +linkbug and +ublinkbug are AnyPerson22:43
rockstarYeah, that's how I've understood it.22:43
rockstarsinzui, so I don't completely understand why there would be a test for not being able to unlink a bug.  This is what I'm trying to sleuth.22:43
thumpersinzui: I don't like that our primary context is derived by IHasLogo22:44
thumpersinzui: shouldn't we have a definitive interface like IPrimaryContext22:44
thumpersinzui: I'm trying to work out how to fix branches22:44
rockstarOh wait, it looks like bug #6 is set to private in the test.22:45
mupBug #6: "next 10 entries" at bottom of page <Launchpad Translations:Invalid by carlos> <evolution (Ubuntu):Invalid> <https://launchpad.net/bugs/6>22:45
sinzuithumper: you are welcome to introduce the interface. You can solve the ISprint problem while you are at it ;)22:45
thumpersinzui: also if the context doesn't provide IHasLogo, it walks up the canonical_url_iterator22:45
rockstarHowever, that still doesn't explain why the text is gone.22:45
thumpersinzui: what is the ISprint problem?22:45
sinzuirockstar: I see and think that is related22:46
rockstarsinzui, I think I figured it out.22:46
sinzuirockstar: There are nasty unicode issues in the tests where something prints fine (but has unicode in it) then the next test fails, leaving you confused22:46
rockstargeneric-edit is proving less and less useful - or maybe the extra information we have is proving to be more of a pain in the but.22:46
sinzuithumper: Sprints have IHasLogo, so they get branding. Should they?22:47
thumpersinzui: what are we calling this thing in the top corner?22:48
sinzuithumper: I think Sprints really belong in a registry, but it bound to projects via a blueprint22:48
thumpersinzui: are we calling it our primary context?22:48
sinzuiI call it a watermark22:48
thumpersinzui: and it should be one of Person, Product, Project, Distro ?22:48
sinzuiThe context is in the breadcrumbs. It is generated by the heading-slot22:48
thumpersinzui: is it ever something else?22:49
sinzuithumper: apparently there is Sprint22:49
thumpersinzui: *should* it ever be something else ?22:49
spmsinzui: we also read alt.sysadmin.recovery, not just BOFH22:49
rockstarthumper, I think that generic-edit.pt should have a way to show the "extra_info" slot idea.22:50
sinzuithumper: Anything that a top-level collection can return may be viewed as the root, so outside of the collections we just named, I will add bugtracker and language22:50
rockstarthumper, that would mean we could get rid of more templates.22:50
sinzuithumper: But I am unsure of them. there are several bugs about how we treat top-level collections or these rare objects so we are feeling out the rules as we implement their pages.22:51
sinzuirockstar: I am sorry about these tests. I am sure many failed because they assumed a certain HTML structure. I now only use ids to find and test content.22:53
thumpersinzui: ok, how about this: IWatermark interface, watermark:heading and watermark:logo tales path adapter22:54
rockstarsinzui, not a big deal.  This one was my fault, actually.  There were some others where I had WTF moments, but I have that pretty regularly anyway.  :)22:54
thumpersinzui: adapts the context to IWatermark.22:54
thumpersinzui: we register adapters for the pillars22:54
thumpersinzui: failure to adapt gives launchpad.net22:54
sinzuithumper: That is too close to IHasLogo. And the reason the design uses that is because branding is important. Let's rename IHasLogo if you are thinking about IWatermark.22:55
* thumper thinks about walking the url...22:55
thumpersinzui: but what about sprints that have a logo?22:55
thumpersinzui: wouldn't it be more important to kill the logo of a sprint?22:55
sinzuiYes it does and I am not sure it is wrong to show it. It is branded so I think we want to show it22:56
thumpersinzui: if we are using IHasLogo to determine the watermark, then lets just use that22:56
thumpersinzui: but *should* it be branded?22:56
sinzuiI think so22:57
thumperwhy?22:57
thumpersinzui: it seems strange to provide an adapter for IBranch to IHasLogo for some reason...22:57
sinzuiBecause they exist outside of teams and projects. I do not think they need a blueprint to exist.22:57
sinzuithumper: I agree22:57
sinzuiLet's return to IPrimaryContext22:58
thumperok22:58
sinzuiMy concern is that the content of the page is about the context, not the IPrimaryContext. like a milestone, or a bug22:58
thumperwhat about the watermark tales adapter?22:58
sinzuiI like that suggestion22:59
sinzuiI am considering IRegistration to make the "Registers by <person> on <date>" in the header23:00
* thumper nods23:00
thumperalthough the content should be overridable23:00
thumperspeling fail23:01
sinzuimake more sense than my spelling23:01
thumpersinzui: how do you traverse to a sprint?23:01
sinzuihttps://edge.launchpad.net/sprints23:02
sinzuihttps://edge.launchpad.net/sprints/uds-karmic23:02
thumperoh holy bejezus23:03
sinzuithumper: ubuntu is the major user. the feature is hidden. I like it. I think it would be used if it was not so tightly coupled with blueprints23:03
thumperthose pages need some love23:03
thumpersinzui: we should not hide it so much23:03
sinzuithumper: I believe that will be barry's effort23:04
thumpersinzui: bring on those project management features :)23:04
barrysinzui: more on your review23:10
barrysinzui using the menu on the inline text makes the tal look horrible.  how strongly do you feel about it?23:10
sinzuibarry: You put me in an awkward position23:14
* barry is a contortionista23:15
barrysinzui: oh and context/menu:overview is empty23:15
sinzuibarry: I feel strongly that consistency is often better than beauty23:15
barrysinzui: "strongly" is an acceptable answer :)23:15
* sinzui thinks23:16
sinzuimenu:usefor=IPersonSet -> context/@@+global-actions23:17
sinzuibarry: there is another option for a shortlist use <ul class="horizontal"> to make links like the project page external links. You can fit about 5 links in the space.23:19
barryhmm23:21
sinzuibarry: did you update the menu directive in ZCML?23:22
sinzuibarry: if not do you want to say FTW and just register them al in python like a real man.23:23
sinzuithumper: I think IRootContext or IFirstContext is better than IPrimaryContext. I think that because "primary" implies the content of the page to me, which is not your case when the breadcrumb are a level below root23:37
thumperIRootContext WFM23:38
thumpersinzui: do we have a nearest_adapter?23:42
thumpersinzui: the nearest method in c.l.webapp.publication only checks for providedBy, not adaptation23:43
thumpersinzui: sould we have IProduct, IProject, IPerson, IDistribution inherit from IRootContext?23:43
thumpersinzui: or should we adapt to it23:43
* sinzui looks in menu23:43
thumperI've got to take the car to the mechanics now23:44
thumperthere is some issue with the brakes they fitted a couple of weeks ago23:44
thumpershouldn't be long23:44
sinzuithumper: I would make them inherit23:44
thumpersinzui: ok23:45
sinzuifrom canonical.lazr.canonicalurl import nearest_adapter23:45
sinzui^ thumper23:45
thumpersinzui: I think we should do something like this instead of nearest23:45
thumpersinzui: otherwise we need to provide adapters for everything under branches too23:46
thumpersinzui: sound ok?23:46
sinzuithumper: that is the same reasoning salgado gave for IRegistrant23:46
thumpersinzui: I'll write it up and get you to review23:46
sinzuithumper: I think it is and I think it better if we take the same kind of approach to solving the header issues.23:47
* thumper nods and leaves23:48
wgrantcprov: buildd-manager isn't as async as you think it is. Both upload processing and ensurePresent block it.23:51
kikohey23:58
kikosinzui, barry: can I get a mailing list approved?23:58
beunokiko, Canonical DX Team Commits?23:59
kikobeuno, yep!23:59

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