/srv/irclogs.ubuntu.com/2012/01/04/#launchpad-dev.txt

lifelessI wonder00:34
lifelessare implicitly created accounts subject to the name blacklist ?00:34
cjwatsonHow long does qastaging take to update after a buildbot run finishes?00:42
wgrant40ish minutes00:42
wgrantLet's see how it's going.00:42
wgrantBah00:43
wgrantbuildbot poller missed it.00:43
wgrantSo it won't start for another 5 minutes.00:43
wgrantAnd it will take 30 minutes to update.00:44
cjwatsonOK, I can probably get some QA done tonight then00:44
wgrantWhat do you have that's QAable on qastaging?00:45
cjwatsonIt's pretty much all dogfood, but it's easier to wait for qastaging so that the deployment report is up to date ...00:45
wgrantHeh00:46
wgrantThat's what I thought.00:46
lifelessgmb: https://bugs.launchpad.net/launchpad/+bug/48471200:46
_mup_Bug #484712: Potential synchronisation of comments between Launchpad bugs via remote bug trackers <bugwatch> <lp-bugs> <Launchpad itself:Triaged by gmb> < https://launchpad.net/bugs/484712 >00:46
lifelessgmb: would like feedback/status update (if only to unassign yourself and say that it hasn't been tested...)00:46
cjwatsonwgrant: Speaking of which; can I commandeer mawson in a bit, after I'm done with a couple of chores?  You seem to be the only other person logged in.00:48
wgrantcjwatson: Sure, I'm just abusing its database.00:48
wgrantNothing that should affect you.00:48
cjwatsonThat won't get clobbered by a code update?00:49
wgrantNo.00:49
cjwatsonOh, of course, NDT means obviously not00:49
wgrantQuery count test failures are a little painful now...01:04
wgrantThey include full tracebacks :)01:04
lifelessheh, bad linkificaition on https://bugs.launchpad.net/launchpad/+bug/49943801:25
_mup_Bug #499438: Better handling of fatal upload errors <lp-soyuz> <soyuz-upload> <Launchpad itself:Triaged by julian-edwards> < https://launchpad.net/bugs/499438 >01:26
lifelesscjwatson: what do you think the reaction would be to disabling anonymous ftp uploads ?01:27
cjwatsonHard to say01:29
cjwatsonfrom a quick look at cocoplum:~lp_queue/ubuntu-queue/, it looks as though the bulk of our uploads are FTP right now01:30
lifelessyes, I would expect that01:30
cjwatsonlp_archive@cocoplum:~$ grep --count upload-ftp /srv/launchpad.net/production-logs/lp_queue/process-upload.log01:30
cjwatson6826801:30
cjwatson^- unscientific check01:30
cjwatsonlp_archive@cocoplum:~$ grep --count upload-sftp /srv/launchpad.net/production-logs/lp_queue/process-upload.log01:30
lifelessthe reason to suggest this is that a lot of the UI poorness around uploads is coupled to depending on good package metadata (including signatures) for error notifications01:30
cjwatson478901:30
cjwatsonperhaps we should find out why most people aren't using sftp uploads first01:31
lifelessif we knew that 'user foo' did the upload, we could always notify use foo, regardless of the package metadata status01:31
wgrantSFTP provides no progress information.01:31
wgrantAnd client support in Ubuntu is recent.01:31
cjwatsonour current dput.cf defaults to FTP01:31
cjwatsonI don't think it's reasonable to disable it in LP until and unless that's changed, at the very least, including in stable releases01:31
lifelessI think we should simplify our upload processing code for SFTP01:31
lifelessand then get Ubuntu to change (or try changing) to SFTP01:32
cjwatsonwgrant: in principle SFTP supports progress information01:32
cjwatsonwgrant: what makes you say that?01:32
wgrantcjwatson: The current client does not.01:33
cjwatsonYM dput?01:33
wgrantThe vast majority of current uploads, both PPA and Ubuntu, are FTP01:33
wgrantYes.01:33
wgrantI'm not sure the default dput.cf even has an SFTP PPA section.01:34
wgrantBecause it requires configuration.01:34
wgrant(we rely on username matching, not just key)01:34
cjwatsonoh, and Debian's dput doesn't have SFTP support yet01:36
cjwatsonhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50517301:36
lifelessdoes that matter particularly?01:36
cjwatsonit's another data point, and I'm sure it affects some percentage of users01:37
wgrantIt would be pretty unpleasant to make it impossible to upload to PPAs except from Ubuntu.01:37
wgrantPeople do use Debian, you know :)01:37
lifelesswgrant: it wouldn't be impossible: lftp etc can do it, and folk can apply the patch01:38
lifelesshttps://bugs.launchpad.net/launchpad/+bug/499438 is what sparked these questions01:38
_mup_Bug #499438: Better handling of fatal upload errors <lp-soyuz> <soyuz-upload> <Launchpad itself:Triaged by julian-edwards> < https://launchpad.net/bugs/499438 >01:38
lifelesscjwatson: whats the right way forward to get Ubuntu to promote SFTP for uploads - I'm primarily concerned with new PPA users, the set of folk most likely to make packaging fubars anyhow01:39
cjwatsonI doubt I'm capable of thinking of a problem that complex at 1:4001:39
cjwatsonam01:39
lifelessfair enough01:39
lifelessI will probably raise it again01:40
wgrantlifeless: Initial config is the difficult bit.01:40
cjwatsonright01:40
wgrantWe can't provide a default config, so we have to tell people to edit their dput.cf01:40
wgrantLike we did 4 years ago :/01:40
lifelessor get credentials from lptools, which we use for a bunch of other things too01:40
cjwatsonunless we're very careful, all we achieve is rearranging the deckchairs on the UI.01:40
wgrantlifeless: lptools?01:41
cjwatsonlptools, which ~nobody has installed01:41
StevenKbzr launchpad-login ?01:41
wgrantExactly.01:41
wgrantNobody uses lptools.;01:41
lifelesscjwatson: thats true, OTOH deckchairs the user can see are easier to examine than ones they cannot :)01:41
lifelessdidn't a bunch of ubuntu-dev-tools get shuffled over to lptools ?01:41
lifelessI was fairly sure they did, during the last cycle01:41
cjwatsonubuntu-dev-tools declares no package relationships on lptools01:42
cjwatsonso if they did, it was shuffled out of sight01:42
StevenKlifeless: All I can see that is doing is having more people ask "Why can't I just upload using dput?"01:42
lifelessyeah, I can see01:42
lifelesscould use ubuntu-dev-tools01:42
wgrantOther sites seem to rely on uniqueness of SSH keys.01:42
lifelessStevenK: a) experienced folk can, b) new folk follow docs on the wiki, and *then* also mess up01:42
cjwatsonIt's true that a few tools were moved, but they were the sorts of things only pretty LP-aware people used anyway01:43
cjwatsonlp-get-branches, lp-grab-attachments, lp-project-upload, lp-list-bugs, lp-set-dup, lp-shell01:43
lifelessyou didn't want to reason about this at 1:40am01:43
lifelessso don't :)01:43
cjwatsonyou asked me to come up with a solution :)01:43
cjwatsonpicking holes is easier ;)01:43
lifelessheh01:44
wgrantcjwatson: qastaging update finished 4 minutes ago, btw.01:44
cjwatsonthanks.  upgrading mawson01:44
lifelessso, as long as we never need to go spelunking on germanium again to determine what went wrong, I will accept nearly any hole you care to poke01:44
lifelessI think pushing it back onto the users machine where they can locally diagnose and get up-front errors is a good thing01:44
cjwatsonI wonder if there's any way to push errors over the FTP session01:45
wgrantThere is.01:45
wgrantWe do it already.01:45
StevenKWhich we don't do for SFTP01:45
wgrantBut lifeless knows that well, so I assume he a reason to ignore it.01:45
wgrant+has01:45
lifelessit has limits, and we will happily email the wrong person if the package is a plain copy from e.g. Debian01:45
lifelessone of the limits is that core twisted tries very hard to turn such events into OOPSes01:46
lifeless(oh no something went wrong, must alert the admin)01:46
lifelessthats probably fixable, but even then we still can't notify *anyone else* that the problem occured.01:46
lifelesse.g. via upload subscriptions01:47
cjwatsonI agree in principle that SFTP is a good thing to use; the road to making it mandatory probably isn't short though.01:47
cjwatsonI guess that's all I'm really saying01:47
lifelessmaking it the default for new users would go a long way01:47
cjwatsonYes01:47
lifelesswe could just say 'try over sftp' to any experienced user with an undiagnosable problem01:47
lifelesse.g. deprecate but not disable ftp01:47
cjwatsonOr if we can't figure out the user's LP login, fall back to FTP01:48
wgrantThe experienced users aren't going to have trouble :)01:48
cjwatsonYou'd still win if we reduced the incidence of spelunking significantly01:48
cjwatsonJust not as much01:48
lifelessmmm, I'd like something more aggressive than 'if we can't figure it out'01:48
lifelesse.g. opt-in to ftp01:48
cjwatson"What's your LP login?  Type 'lifeless' to use FTP"01:48
lifeless(remember too that we have folk dealing with private packages etc, so the default really wants to be non plaintext01:49
lifelesscjwatson: :)01:49
lifelesscjwatson: put that in for april 1st please01:49
cjwatsonI have a better April 1st way ahead of that, which I've been failing to implement for five years :)01:49
cjwatsonActually, seriously, interactivity wouldn't be awful01:50
lifelesspoor andi01:50
lifelessstill confused by LP's UI.01:50
wgrantAgain?01:50
cjwatsonjust have /usr/share/dput/sftp.py ask you and save the answer somewhere01:50
lifeless3 imports one project01:50
lifelesscjwatson: +101:50
cjwatsonenhancement: figure it out automatically without asking.  but that's nice-to-have.01:50
cjwatson(I'm assuming sftp.py gets a terminal.)01:51
cjwatsonAnd then have sftp.py fall back internally to FTP on abject failure.01:51
cjwatson(With loud warnings.)01:51
StevenKmwhudson was talking about anonymous-ssh, so we could utilise that too ...01:51
lifelessStevenK: not useful here01:51
cjwatsonLet me not attempt to figure out the confidentiality properties of anonymous SSH01:51
lifelessStevenK: the point is knowing the user so we can notify sensibly01:52
StevenKcjwatson: Or fall back to trying $USER ?01:52
lifelessStevenK: fixes a raft of corner cases that we have today, anonymous-ssh wouldn't do that01:52
cjwatsonStevenK: *handwave* that kind of thing01:52
cjwatsonI wonder what the performance difference is for large uploads over SFTP vs. FTP01:52
StevenKlifeless: SFTP for uploads still doesn't solve notifications for syncs ...01:53
lifelesscjwatson: SFTP should be faster (tcp window already open)01:53
cjwatsonSyncs will all be API soon enough, so you'll at least have a username01:53
cjwatsonlifeless: haha my bugmail disagreed last I checked01:53
lifelessindeed, and *I'm not talking about syncs* :P01:53
lifelessfailing to fix problem B doesn't make a solution to problem A better or worse01:54
lifelesshaving a single solution to A and B is nice, of course.01:54
cjwatson(the HPN people talk about FTP as a comparator for their none-cipher work)01:54
lifelessbut you need to demonstrate a link between them for it to be worth considering - whats the link between syncs, where we know all the package data is intact, and uploads, where its all arbitrary01:55
cjwatsoncomparand.  blah.  I keep getting that wrong.01:55
lifelesscjwatson: interesting01:55
cjwatsonUr, help.  What does http://paste.ubuntu.com/792323/ mean when upgrading dogfood?01:55
lifelessyou keep both pieces?01:55
lifelessthe dogfood config has old and deleted config keys01:56
StevenKHaha01:56
wgrantAh, yes, let me fix that.01:56
StevenKYeah, wgrant broke it01:56
wgrantI don't think it's the DF config that's broken. It's just that the prod configs are out of date.01:57
wgrantcjwatson: Should be fixed.01:58
cjwatsonwgrant: Thanks; should I carry on with the build or did you do that?02:01
wgrantcjwatson: I didn't touch it.02:02
wgrantCome on, do you think it can build that quickly? :)02:02
cjwatsonHeh02:02
mwhudsoninferring username from ssh key is technically easy i guess02:04
mwhudsonand that UNIQUE constraint on sshkey would have been interesting a few years back :-)02:04
wgrantNow that there's more than just a few keys, yeah...02:04
cjwatsonI thought that's why we added the UNIQUE constraint02:05
wgrantThere isn't one, AFAIK.02:05
wgrantIndeed not.02:05
cjwatsonAdding one might not be a terrible idea.02:06
wgrantThere is one key with 19 links, another with 20...02:07
wgrant650ish with 2 links, 40 with more than 202:07
cjwatson:-(02:10
cjwatsonThat doesn't block lifeless' project though; we have the username to work with, not just the key02:10
wgrantYeah02:10
micahglifeless: also, about owners and notifications, some people want to be owners to just administer and not have rights02:13
lifelessmicahg: yes, thats why we have separate roles, though wgrant is campaiging that this doesn't make sense02:14
wgrantlifeless: No.02:14
wgrantlifeless: I'm campaigning that the owner special case doesn't make sense.02:15
wgrantI am campaigning that admin+membership should be separated.02:15
wgrantCurrently you have a list of members, and a list of admins who are members, and a single not-quite-admin-but-not-member.02:15
wgrantWhen a list of members and a list of admins who may also be members would work fine.02:16
lifelesswith the recent change to admins promoting admins, hmm02:16
lifelessperhaps02:16
micahgthat would solve the DMB use case as well02:18
wgrantYup.02:18
wgrantMorning jtv.02:20
jtvhi there wgrant, happy 201202:20
wgrantLikewise.02:21
jtvthank you02:21
=== jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jtv | Firefighting: - | Critical bugtasks: 3*10^2
wgrantlifeless: So, how do you propose to find transitive dependencies without a resolver? :)02:27
lifelesswgrant: I thought you meant something different apparently02:29
lifelessjtv:  https://bugs.launchpad.net/launchpad/+bug/506497 - is that more done now?02:36
_mup_Bug #506497: import-queue-gardener gives file path a higher priority than a manually assigned template <import-queue> <lp-translations> <Launchpad itself:Triaged> < https://launchpad.net/bugs/506497 >02:36
lifelessjtv: also would like your input on https://bugs.launchpad.net/launchpad/+bug/50651602:36
_mup_Bug #506516: Failed migration of ubuntu kdeaddons to message-sharing <lp-translations> <message-sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/506516 >02:36
jtvlifeless: probably not done, but I'm not even sure those tools still work.02:37
lifelessjtv: should I invalid it? or incomplete?02:37
jtvlifeless: incomplete.02:39
micahglifeless: what would you think of marking bug 529957 invalid since we build translation packages out of the Firefox/Thunderbird sources now?02:41
_mup_Bug #529957: XPIPO file uploads should be disabled <lp-translations> <Launchpad itself:Triaged> < https://launchpad.net/bugs/529957 >02:41
lifelessmicahg: have we ditched the XPIPO support?02:42
lifelessmicahg: should we drop it?02:42
lifelessmicahg: (also does that mean thunderbird is not translatable in Ubuntu using LP?)02:43
micahglifeless: I should check with chrisccoulson first, but I think so, at least once the Firefox migration in lucid/maverick is complete which should be some time this month02:43
micahglifeless: thunderbird actually never was IIRC02:43
lifelessso I don't think we should invalidate the bug while we have the code it talks about around02:43
lifelessbut we could change it to be 'this code can be deleted'02:43
micahgwell, I guess one day if we ever get a way to push translations back upstream, we could import from the source uploads and push changes upstream, but I guess in that scenario, we don't need the xpipo code either02:45
* StevenK stabs the screwed up security model SPRBs use.02:54
lifelessjtv: so, thoughts on bug https://bugs.launchpad.net/launchpad/+bug/509109 and https://bugs.launchpad.net/launchpad/+bug/506516 ?03:06
_mup_Bug #509109: Deadlock in message-sharing-merge while migrating brasero <lp-translations> <message-sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/509109 >03:06
_mup_Bug #506516: Failed migration of ubuntu kdeaddons to message-sharing <lp-translations> <message-sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/506516 >03:06
jtv“If they're really a problem, they'll come back.”03:07
lifelessjtv: they were both migration stuff; thats done, right ?03:07
jtvYes, though the code may still be in use.03:08
lifelessah03:08
lifelessthe question is, should the maintenance squad sit down and work on them ?03:08
jtvNot based on these reports, no.  I'd just close them.03:10
jtvToo much has changed since those bugs were reported.  If they're really a problem, they'll come back.03:11
lifelessthanks, done.03:12
lifelesshmm, something is seriously odd with multi-project -importance bug sort order03:13
* StevenK stabs diff generation and/or longpoll03:18
lifelessI wonder that noone has hacked https://bugs.launchpad.net/launchpad-buildd/+bug/516208 into the thing already03:20
_mup_Bug #516208: disable Automake's silent rules <feature> <Launchpad Auto Build System:Triaged> < https://launchpad.net/bugs/516208 >03:20
cjwatsonRight, mawson is all ... whoever-cares' again.03:26
StevenKcjwatson: Did you QA mvo's rev, or is that his to do?03:27
StevenKLaunchpad encountered an error during the following operation: generating the diff for a merge proposal.  The source branch has no revisions.03:28
StevenKBlink03:28
cjwatsonStevenK: I did his03:28
cjwatsonSo it's just jelmer's recipe format thing left03:28
StevenKIndeed. Thanks.03:28
StevenKjtv: O hai. I'd like a review, but the branch scanner has de-pramed its toys while scanning my branch. The diff is at http://pastebin.ubuntu.com/792375/03:47
jtvStevenK: working on a long one right now, but you'll be next.03:47
wgrantStevenK: Make it rescan?03:47
StevenKwgrant: By pushing agai03:48
StevenKn?03:48
wgrantYes.03:48
wgrantYou may have to push -r-2 then push again, I forget.03:48
StevenKI thought we worked out that -r-2 doesn't work?03:48
wgrantIt can't not.03:48
StevenK% bzr push -r-203:49
StevenKUsing saved push location: lp:~stevenk/launchpad/hide-forbidden-sprbs03:49
StevenKNo new revisions to push.03:49
wgrant--overwrite03:49
StevenKAnd then bzr push quickly?03:49
wgrantNo need to be quick.03:50
wgrantBut if you want.03:50
StevenKThe branch scanner should log branch.unique_name03:51
wgrantYes.03:51
StevenKBleh, job logging is complete crap03:55
StevenKYou can't get at the logger in the actual job's run() method.03:55
StevenKwgrant: Looks like the scanner choked on it again03:58
wgrantYay03:58
lifelessStevenK: its not on an attribute? Also why would you need to, thats not the logging API04:00
StevenK-        return '%s (ID %d)' % (class_name, ijob_id)04:03
StevenK+        return '%s (ID %d) %s' % (class_name, ijob_id, repr(job))04:03
StevenKI think that will help04:03
lifelessStevenK: wgrant: is  https://bugs.launchpad.net/launchpad/+bug/525749 part of disclosure, do you think ?04:08
_mup_Bug #525749: A Branch's visibility setting page contain the word 'visibility' <confusing-ui> <lp-code> <Launchpad itself:Triaged> < https://launchpad.net/bugs/525749 >04:08
wgrantlifeless: Probably, yes.04:10
wgrantAlthough the summary seems to be inverted.04:10
lifelessindeed04:10
lifelesswill you fix?04:12
lifelesswgrant: is https://bugs.launchpad.net/launchpad/+bug/527550 still ?04:13
_mup_Bug #527550: CopyChecker._checkArchiveConflicts erroneously permits copies of sources with failed and unpublished builds <lp-soyuz> <soyuz-core> <Launchpad itself:Triaged> < https://launchpad.net/bugs/527550 >04:13
wgrantThat hasn't been touched recently.04:13
wgrantSo yes.04:13
StevenKlifeless: So to answer your question, it is not on a attribute. And it would be very useful for say, IDSJ.04:14
lifelessStevenK: but why? logger = logging.getLogger('lp.jobs.foo')04:26
lifelessdone04:26
lifelesswgrant: and  https://bugs.launchpad.net/launchpad/+bug/527551?04:26
_mup_Bug #527551: Intra-archive copying of a source with a failed build may leave that source uncopyable <lp-soyuz> <soyuz-core> <Launchpad itself:Triaged> < https://launchpad.net/bugs/527551 >04:26
wgrantlifeless: Still there.04:29
lifelesswgrant: and https://bugs.launchpad.net/launchpad/+bug/528459 ?04:30
_mup_Bug #528459: PPA does not delete old packages after new build <lp-soyuz> <ppa> <Launchpad itself:Triaged> < https://launchpad.net/bugs/528459 >04:30
wgrantlifeless: Likewise.04:30
wgrantNBS04:30
StevenKlifeless: Because I prefer it was in the same log as the job runner uses04:30
lifelessStevenK: and? thats orthogonal04:31
lifelessStevenK: logger objects are not intended to be passed around willynilly04:31
lifelessStevenK: fixtures.FakeLogger may help you04:45
StevenKjtv: Still dealing with the large review?04:46
jtvYes04:46
jtvBut the first container of coffee has arrived, which should speed things up.04:46
jtvWe're slightly hung over (in the non-imbibed sense) from an all-night drive during the holidays.04:47
jtv(“The holidays” for us being January 2 & 3)04:47
micahgthe lpia PPA queue does not seem to be dispatching to the buildd04:51
wgrantwebops: please stab gold and restart buildd-manager04:53
* wgrant throws some builders at lpia.04:53
spmthis is terrible. I can nearly do this from memory.04:53
micahgwgrant: I would just give it one, no one should be using lpia anyways04:54
lifelesswgrant: so this bug - https://bugs.launchpad.net/launchpad-buildd/+bug/53358304:56
_mup_Bug #533583: build fails where no error is present <Launchpad Auto Build System:Triaged> < https://launchpad.net/bugs/533583 >04:56
lifelesswhat is the defect/problem ?04:57
wgrantmicahg: Since there seem to be about 30 Mozilla builds on the virt builders at the moment, sounds like a good plan.04:57
micahgit's that time of day :)04:58
wgrantlifeless: sistpoty disagrees with Ubuntu policy.04:58
wgrantNeeds to be argued with lamont.04:58
micahgISTR another bug to make that not fatal04:59
* micahg thinks it's a lack of scrolling to the bottom :)05:00
* lifeless tosses oil on the fire05:04
micahglifeless: you didn't have to toss wgrant in as well :)05:05
lifelesshe is the oil ?05:05
micahgnah, I think he was holding it :)05:06
lifelessdidn't poolie do this? https://bugs.launchpad.net/launchpad/+bug/54703605:16
_mup_Bug #547036: The buildd code should be removed from the Launchpad tree <canonical-losa-lp> <lp-soyuz> <tech-debt> <Launchpad itself:Triaged> <Launchpad Auto Build System:Triaged> < https://launchpad.net/bugs/547036 >05:16
StevenKjtv: Just how big is this branch? :-P05:17
spmwgrant: btw, that ppa et al reset is done and done05:17
wgrantspm: Thanks.05:17
StevenKwgrant: Since jtv appears to be AWOL, would you mind reviewing the diff at http://pastebin.ubuntu.com/792375/05:51
lifelesswgrant: StevenK: opinions on  bug 547036 ?05:53
_mup_Bug #547036: The buildd code should be removed from the Launchpad tree <canonical-losa-lp> <lp-soyuz> <tech-debt> <Launchpad itself:Triaged> <Launchpad Auto Build System:Triaged> < https://launchpad.net/bugs/547036 >05:53
wgrantlifeless: poolie fixed it months ago?05:54
wgrantStevenK: He might be back now :)05:54
lifelesswgrant: thats what I thought, was seeking confirmation05:54
lifelessStevenK: see bug https://bugs.launchpad.net/launchpad/+bug/55141405:57
_mup_Bug #551414: log messages in jobs are discarded <jobs> <lp-code> <Launchpad itself:Triaged> < https://launchpad.net/bugs/551414 >05:57
StevenKjtv1: Still fighting with the large branch? How large is it?06:00
jtv1StevenK: it's not the branch, it's the interruptions06:00
lifelessboo!06:02
* StevenK nails wgrant to IRC.06:12
* wgrant kicks Optus in the face :)06:14
nigelbI love that those of us in the 3rd world have better internets.06:15
* nigelb waves to jtv1 06:15
jtv1Hi nigelb06:15
jtv1Happy new year etc!  No time to chat further right now, sorry :)06:15
nigelbheh06:15
StevenKnigelb: What do you call an Indian cricketer with a century next to their name?06:22
StevenKnigelb: A bowler.06:23
lifelessjtv1: what is 'pottery' ?06:24
wgrantWe do not speak its name.06:25
jtv1lifeless: it's the code for generating POTemplates from branches.  Runs in the build farm.06:25
lifelessthanks06:25
jtv1wgrant: yes we do.  I just did.  Robert just did.06:25
=== jtv1 is now known as jtv
wgrantBah06:28
lifelessLaunchpadTimeoutError: Statement: 'UPDATE Project SET max_bug_heat=(SELECT COALESCE(MAX(heat), 0) FROM06:33
wgrantYes :)06:33
lifelessstaaaaaaaaab06:33
wgrantI've been saying that for well over 18 months now.06:33
lifelessis there a better way?06:48
lifelesshttps://bugs.launchpad.net/launchpad/+bug/582805https://bugs.launchpad.net/launchpad/+bug/58280506:48
_mup_Bug #582805: On template generation, we should add a log file to the templates tarball as well <lp-translations> <Launchpad itself:Triaged> < https://launchpad.net/bugs/582805 >06:48
lifelesshttps://bugs.launchpad.net/launchpad/+bug/58280506:48
_mup_Bug #582805: On template generation, we should add a log file to the templates tarball as well <lp-translations> <Launchpad itself:Triaged> < https://launchpad.net/bugs/582805 >06:48
_mup_Bug #582805: On template generation, we should add a log file to the templates tarball as well <lp-translations> <Launchpad itself:Triaged> < https://launchpad.net/bugs/582805 >06:48
lifeless1123 high bugs, and counting07:05
wgrant330 critical bugs07:08
wgrantwhat's your point?07:09
micahglifeless: are you counting up or down?07:09
wgrant330 critical bugs and 4 people, even.07:09
lifelessmicahg: our bug handling policy says we have three groups of bugs07:10
lifelessthe great unwashed07:10
lifeless6 months of todo (high)07:10
lifelessas much zomg as there is (critical)07:10
micahglifeless: I'm familiar :), just wondering which way you're counting on the 6 month pot :)07:10
wgrantlifeless: Huh07:11
wgrantHow is high 6 months?07:11
wgrantGiven that we have 4 people...07:11
wgrantThat's like 10 bugs.07:11
lifelessmicahg: and that every quarter we'll review the high to keep it trim; its a year overdue. The first one is a doozy07:11
lifelesswgrant: yes, I'll be doing a couple of passes I suspect07:11
micahglifeless: ISTR you doing this recently07:11
lifelessmicahg: that was eliminating mediums07:11
micahgah07:11
lifelessmicahg: which were stuck in limbo, some were crits, some high, many/most low07:11
micahgwgrant: only 4 people on highs now?07:12
stubFor the next few months at least.07:13
wgrantEvening stub.07:20
wgrantstub: personless accounts: why do we still have them?07:20
stubmorning07:20
stubPossibly placeholder people generated when we import stuff like translations etc.07:21
stubNot sure what does an ensurePerson or whatever the call is any more.07:21
wgrantpersonless accounts, not accountless persons.07:21
stubYer... backwards.07:22
wgrantWe have 3 million personless accounts.07:22
wgrantFrom SSO07:22
stubDidn't I clean them out already?07:22
wgrantNo.07:22
wgrantWe cleaned out the people from shipit.07:22
wgrantBut not the accounts from SSO, or the accounts that were left over from deleted ShipIt people.07:22
stubk. more cleanup needed then. They just waste space I think.07:23
* stub looks for other Account references07:23
wgrantopenididentifier, emailaddress and person should be all07:23
wgrantI have a branch to delete EmailAddress.account, which depends on all those emailaddresses and accounts being gone :)07:24
stubOk.07:24
stubSo we need to trash emailaddresses and openididentifiers not linked to a person and accounts not linked to a person.07:24
wgrantYep.07:25
wgrantAh, accountpassword too07:25
wgrantNot that it's used any more except by tests.07:25
jtvStevenK: gasp!  Finally getting to yours now.07:28
jtvStevenK: I don't suppose check_permission might do any de-pramming of its own when presented with a None?07:30
StevenKjtv: Oh, in initial_values?07:31
jtvI think so — name not included in diff context.07:31
jtvLine 32 of your diff.07:31
jtv(By the way, updating copyrights is easy: just run utilities/update-copyright just like you do utilities/format-new-and-modified-imports.07:32
StevenKWhich is what I did07:33
StevenK:-)07:33
wgrantAlso, if people don't run format-new-and-modified-imports in all their branches now I will be very upset :)07:33
wgrantSince they're all in good order now.07:33
jtvSo will I, but there is one problem: lp.codehosting.07:33
wgrantI fixed most of those.07:33
wgrantThere's only like 3 places that need it.07:33
jtvI thank you.07:33
wgrantand they all have FIRST comments now07:33
wgrantWhich format-imports handles nicely.07:34
wgrantI also made it handle _pythonpath properly.07:34
jtvOh, there's a convention for that?  Great.07:34
wgrantAnd then ran it over the whole tree.07:34
jtvAll wonderful.  I suppose _pythonpath still elicit lint warnings?07:34
wgrantAn import preceded by a comment starting "# FIRST" will be put after the stdlib imports, but before the third-party ones.07:34
wgrantYes.07:34
wgrantNot sure how to suppress those globally.07:34
jtvThis will also make my megalint branches a bit less mega.  :)07:35
wgrantThis one touched about 1200 files.07:35
StevenKjtv: Does http://pastebin.ubuntu.com/792471/ make you less nervous?07:36
jtvStevenK: wasn't saying nervous.  You should see the review I just finished.07:36
StevenKjtv: That should make certain check_permission() doesn't get a None.07:36
jtvIt does make me feel slightly safer, as well as appreciated.  :)  Thanks.07:37
StevenKI'm actually more comfortable with how I've written it now.07:37
jtvThat's good too.07:39
jtvYou've got my vote, with one additional note.07:39
StevenKjtv: If we say something other than "This recipe has not been built yet" we may leak the existance of the private PPA07:40
StevenKPretending the build doesn't exist if they can't see it is safest.07:41
jtvAnd the recipe needs to remain visible?07:41
jtvWhat about "this recipe has not been built yet (or if it has, you are not permitted to see the builds)"?07:42
StevenKWe do not support private recipes or recipes making use of private branches.07:42
wgrantWe'd have to add that disclaimer to practically every list in Launchpad.07:42
jtvI see.  Nasty problem.07:43
lifelessyes the recipe has to stay visible07:43
jtvThen again, I suppose it's a bit of a tree falling with no-one to hear.07:43
lifelessbecause it may be owned by e.g. you07:43
StevenKjtv: It's a rabbit hole. wgrant, sinzui, wallyworld, jcsakett and I have been arguing about problems like that for months.07:44
StevenKlifeless: At the moment, it doesn't. :-)07:44
StevenKBut sinzui agreed it's a disclosure bug.07:45
jtvI suppose the only relevant information to an unprivileged user would be "yes, this recipe can build" and they'll find out eventually if that's not the case.07:45
* StevenK checks the scanner choked on the branch again.07:46
StevenKPity. It does.07:49
lifelessStevenK: doesn't your branch make the recipe stay visible ?07:49
StevenKlifeless: Yes. I was making a joke that it doesn't on production.07:50
lifelessah, heh07:50
stubHow much work did you guys land over the break? New Year branch pulling just keeps going and going...08:00
StevenKstub: wgrant and sinzui's fault. They effectively emptied lib/canonical08:02
wgrantstub: We moved a couple of hundred thousands lines of lib/canonical remnants, and properly formatted the imports in every file.08:04
stubI wonder if you could compile a diff to a regexp search and replace?08:04
wgrantHeh08:04
lifelessyes, you can08:05
wgrantstub: Also, I reverted the EmailAddress.{person,account} consistency patch, as it was going to take 3-4 minutes to apply.08:05
lifelesswgrant: do you think https://bugs.launchpad.net/launchpad/+bug/566339 is fixed, or not ?08:05
_mup_Bug #566339: Cannot accept package which would notify private email addresses <boobytrap> <lp-soyuz> <Launchpad itself:Triaged> < https://launchpad.net/bugs/566339 >08:05
stubwgrant: Really? What was it doing besides adding the triggers?08:06
wgrantstub: Not triggers, but check constraints.08:06
stuboh... ic. hmm...08:06
wgrantApart from the questionable sensibility of having cross-table functions in check constraints, before pg 9.1 they can't be added without a full scan.08:06
wgrantSo, instead of turning them into triggers I decided to fix the inconsistencies by dropping EmailAddress.account instead.08:07
stubYes, that would have been my preferred approach but gmb thought this was a quicker fix and wanted the quicker fix.08:07
StevenKwgrant: You managed to drop it?08:08
wgrantThe actual code changes were reasonably shallow. But the tests, oh god the tests.08:08
wgrantAll fixed now, anyway.08:08
stubMain goal being to locate the code generating the inconsistent data.08:08
wgrantIn a final ec2 run before being split into 4.08:08
StevenKwgrant: Four now?08:08
wgrantStevenK: Yes.08:08
wgrantMailing list refactorings are being split up separately.08:08
StevenKAh08:08
wgrantBecause the queries and tests were awful.08:09
StevenKs/were/are/ ?08:09
wgrantstub: I never tracked down exactly what it was, but I believe it's in the code around reconciling openididentifiers, persons and accounts on login when there are conflicts and the account needs reactivating.08:09
wgrantBut account has basically had all its functionality ripped out in this branch, so it doesn't matter.08:10
stubNeed to convince bzr that removing a directory containing nothing but garbage is fine08:10
wgrantstub: bzr clean-tree08:10
wgrantWill ask you if you want to remove unknown files/directories08:10
wgrantIt's how I get around these conflicts, and tends to work pretty well.08:10
stubyer. I know why the guard is there, but so far it has only been false positives.08:11
wgrantYeah08:11
wgrantpyc ftl.08:11
stubbzr knows about files to ignore, we could teach it about garbage in a similar fashion.08:12
stubI guess it doesn't matter that much08:12
lifelessbzr resolve --take-other should clean them up08:12
stubJust complaining that it is my responsibility to fix things up that aren't really broken, but bzr isn't intelligent enough to know if this case is potential data loss or noise.08:14
StevenKwgrant: r14625 is ready for you to QA.08:14
lifelesswgrant: so, can has answer to last two q's?08:14
StevenKjelmer: Can haz QA for r14620?08:14
wgrantlifeless: What was the one that wasn't bug #566339?08:15
_mup_Bug #566339: Cannot accept package which would notify private email addresses <boobytrap> <lp-soyuz> <Launchpad itself:Triaged> < https://launchpad.net/bugs/566339 >08:15
lifelesshttps://bugs.launchpad.net/launchpad/+bug/58280508:15
wgrantI don't believe that one is fixed.08:15
_mup_Bug #582805: On template generation, we should add a log file to the templates tarball as well <lp-translations> <Launchpad itself:Triaged> < https://launchpad.net/bugs/582805 >08:15
wgrantStevenK refactored that code, but didn't change it much.08:15
=== jtv is now known as jtv-afk
StevenKLet's just delete it instead.08:16
wgrantlifeless: Commented and closed.08:16
lifelessthanks08:19
wgrantstub: So, do you want me to write the SQL to clean up the accounts, or can you do it?08:20
stubwgrant: It needs to be a garbo job, and I was going to do it when my branches have synced.08:20
stubUnless you want to... just a couple of BulkPruner tasks I think.08:20
wgrantMm, I think the references are few enough that you could do it without garbo.08:20
wgrantBut I guess it's the same as PersonPruner, really.08:20
stubWe don't want to block creating new accounts while the SQL runs...08:22
lifelesspruners are easy08:23
stubbah... launchpaddatabaseupdatelog.end_time isn't being populated :-P08:24
wgrantstub: It's also crashing with dupe ids.08:24
wgrantOn staging restores.08:24
wgrantWhich is a little bit odd.08:25
adeuringgood morning08:26
stubwgrant: Because it gets populated when we build the database schema, then we attempt to repopulate it by restoring the similar data from production.08:28
wgrantAh!08:28
stubhmmm...08:28
stub?08:28
stuboh... full updates should work, but code updates can fail like that.08:29
stubno..08:29
stubhmm...08:29
stubneed to look over the scripts.08:29
wgrantCode updates work, AFAICS.08:29
wgrantHm08:29
wgrantAlthough they've been failing early.08:29
wgrantBecause of the bad patch.08:29
wgrantSo maybe not.08:29
lifelessstub: remember we're dropping the updatelog08:31
lifelessstub: (and trusted.sql etc) - moving to just patch applications08:31
stuboh right, so I'll ignore the missing field for now and maybe trash it if it is the best way to fix staging.08:32
wgrantstub: Hopefully _new is salvagable.08:32
wgrantBut I'm not sure.08:32
=== jtv-afk is now known as jtv
stubwgrant: Any particular reason you decided to drop EmailAddress.account rather than Person.account? You can argue either way.09:04
danhgmorning09:05
wgrantstub: EmailAddress.{account,person} could still be inconsistent, as there can be multiple email addresses.09:05
stubI guess we might end up with Person records with no emailaddresses once we start adding other contact mechanisms09:05
stubGood point.09:05
wgrantAnd Account is hopefully not long for this world.09:06
lifelesswheee09:10
lifelesshttps://bugs.launchpad.net/launchpad/+bug/59937709:10
_mup_Bug #599377: FilebugShowSimilarBugsView.show_duplicate_list treats contextUsesMalone as a property but it's a method <dhrb> <dupefinder> <lp-bugs> <Launchpad itself:Triaged> < https://launchpad.net/bugs/599377 >09:10
=== almaisan-away is now known as al-maisan
stubAssertionError: Can't create a Person for an account which has no email.09:10
wgrantstub: Where'd you run into that?09:12
wgrantTests?09:12
wgrantI assume that's from Account.createPerson?09:12
stubwgrant: Yup. test_garbo09:13
stubThink it is on trunk09:13
stubtest_RevisionAuthorEmailLinker is one of two09:13
wgrantWhat have you changed to trigger that?09:13
stubTwo new daily jobs. Hmm... might be my change actually. A lot of the tests just run 'all daily jobs', and I might be destroying the data in a way the test does not expect.09:15
wgrantHeh, yes.09:15
wgrantThat sounds likely.09:15
stubok... leave this until after lunch then before wife gets antsy09:15
wgrantIIRC test_RevisionAuthorEmailLinker relies on an unlinked Account surviving a garbo run.09:16
wgrantFor one of its cases.09:16
wgrantBut that can probably go, since it's no longer a valid data state.09:16
stubHas lp hung or my censorwall screwing up?10:41
stuboh... there it is10:41
wgrantstub: There weren't parens in the original, so I didn't add them. Although I wonder if that's just how it rendered it, as it seems to change whitespace.10:42
wgrantI shall fix it, anyway.10:42
stubwgrant: They get stripped by PG, which always worries me10:42
wgrantOh, that is rather awful.10:43
stubIt gets it right, but I know *I* will mess things up without them.10:43
wgrantI noted their absence and considered fixing them. But then decided to make minimal changes.10:43
wgrantDidn't think it would strip them...10:43
stubit is reconsituting the expression that was compiled I think, sans comments etc.10:44
stubnot sure10:44
wgrantYeah, I was thinking it couldn't do that, but of course this is a view not a function.10:45
wgrantThanks lifeless.10:45
wgrantfrankban: I'd remove the request for 11239, as it is redundant and likely to confuse.10:48
wgrantstub: As for the merged check, the more likely reason for its omission is the preferredemail check.10:49
wgrantSince a merged account will never have an email address, let alone a preferred one.10:49
frankbanwgrant: let me guess, applying 11275 also means applying my patch, am I right?10:50
wgrantfrankban: Yep.10:50
frankbanwgrant: ok thanks10:50
stubTrue. Probably me prematurely optimizing.10:50
=== jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 3*10^2
wgrantfrankban: That revision will be checked out, and all of the patches in that tree applied if they aren't already applied.10:51
wgrantfrankban: So all changes from current production to that revision will be applied.10:51
frankbanwgrant: very clear, request removed10:53
wgrantfrankban: Looks good, thanks.10:53
LaneyRemind me about teams: are administrators members?11:08
wgrantLaney: At present yes.11:09
wgrantLaney: Owners are not.11:09
LaneyOK, and what can the owner do that administrators cannot and vice-versa?11:09
wgrantToday, owners can do everything admins can, plus change the owner, promote members to admins, and change their own expiry date if they are a member.11:10
Laneyuh, thought I was asking this in #lp, sorry11:10
wgrantBut this will change tomorrow.11:10
wgrantAs admins are gaining the ability to promote others to admins, and to change their own expiry date.11:10
wgrantSo the only things special about the owner are that they aren't necessarily a member, and that they can change the owner.11:11
wgrants/are that/will be that/11:11
Laneyand that they don't get all of the mail that admins do (#908144 prompted my questions).11:12
_mup_Bug #908144: No way to customise receipt (or not) of team membership expiry/join emails <email> <notifications> <Launchpad itself:Triaged> < https://launchpad.net/bugs/908144 >11:12
wgrantAh, yeah, that too.11:12
wgrantBut that's not meant to be a privilege :P11:12
LaneyI was trying to figure out if having non-member administrators would be a better fit than subscribing to administrator mails11:14
Laneythanks for the info11:14
wgrantI would like to remove owners, and instead have non-member administrators.11:15
wgrantIt is somewhat controversial, however.11:15
stubowner is needed as a defence against rogue administrators. We don't want to have to arbitrate in feuds.11:30
stubwgrant: https://code.launchpad.net/~stub/launchpad/garbo-bulk-pruner/+merge/8746111:30
wgrantstub: Do openididentifier and accountpassword cascade?11:36
wgrantAh, yes.11:36
wgrantHandy.11:37
stubyes, although looptuner tuning would be more predictable if those rows were purged in separate jobs.11:38
wgrantMmm.11:38
wgrantOnly slightly.11:38
wgrantIt should be pretty much 1-1-111:38
stubyer. don't think anyone would notice.11:38
StevenKstub: I'm nitpicking, but you should update the copyright years. :-)11:41
wgrantstub: What does SELECT COUNT(*) FROM emailaddress JOIN person ON person.id = emailaddress.person WHERE emailaddress.account IS DISTINCT FROM person.account; say on prod?11:42
wgrants/IS DISTINCT FROM/!=/ was 0 yesterday, but this is probably closer to what we actually care about.11:42
stubwgrant: 011:46
wgrantSurprising!11:47
* wgrant approves11:47
wgrantThanks.11:47
stubWhat is the script that does the copyright stuff automagically?11:48
wgrantutilities/update-copyright11:48
stubwgrant: Long term, I think it would be good to have both Account and Person. I don't like bots and things claiming to be people. We collapsed the concepts unfortunately (along with teams for even more fun).11:54
wgrantstub: Possibly.11:55
wgrantIt's hard to say what we should do.11:55
wgrantPerson is really Principal.11:55
wgrantOr Role.11:55
stubYes, and if we had called it something like that at the time things would be nicer now.11:59
wgrantAnyway, we can easily shuffle these things around later on once we don't have a conflict-happy model :)11:59
benjihmm, someone is looking for JS injection points: https://answers.launchpad.net/launchpad/+question/18368613:48
rick_h__benji: heh, yep13:52
rick_h__man, junk ppa and everything13:53
abentleyrockstar: About bug 911090: I know that Launchpad should be robust against 16 MB code review comments, but I also think tarmac should not be making 16 MB code review comments, because they make code review hard to read.14:28
_mup_Bug #911090: merge proposal is broken with consistent timeouts <timeout> <Launchpad itself:Triaged by abentley> <Tarmac:New> < https://launchpad.net/bugs/911090 >14:28
cr3odd, launchpad.net/projects seems to be forbidden now :(14:33
jelmercr3: probably something private on that page14:35
cr3jelmer: is that expected behavior or should I report a bug against launchpad itself?14:36
stubThat would be a bug.14:37
jelmercr3: that's a bug14:37
jelmerpresumably those private items that you're not allowed to view should just be hidden rather than making the entire page inaccessible14:37
stubProjects lists 'latest teams', and should be hiding private teams you shouldn't be able to see rather than making the page fail14:37
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: abentley | Firefighting: - | Critical bugtasks: 3*10^2
cr3jelmer, stub: reported bug #91179414:40
_mup_Bug #911794: /projects page now returns forbidden <Launchpad itself:New> < https://launchpad.net/bugs/911794 >14:40
rick_h__benji: https://bugs.launchpad.net/launchpad/+bug/91163214:41
benjirick_h__: I guess he found one.14:42
rick_h__yea, checking it out.14:43
abentleyfrankban: Please target your reviews to "canonical-launchpad-reviewers" (which is the default-- you can just leave it blank in the web form) rather than "launchpad"15:08
frankbanabentley: ok, thank you15:08
abentleyfrankban: Thanks.15:09
deryckabentley, is there a bug, either upstream or in lp, about pystache and scoping issues?15:51
abentleyderyck: I don't think so.15:52
deryckabentley, do you mind filing an lp bug at least?  Should be a high bug, but we can work on it on maintenance, to avoid the tech debt in our code.15:53
flacostederyck: from a maintenance point of view, bug 911520 seems really terrible :-/ we should probably disable oops pruning until it's fixed15:55
_mup_Bug #911520: Pruning fails to find any references, deleting all OOPSes older than a week <python-oops-tools:Triaged> < https://launchpad.net/bugs/911520 >15:55
abentleyderyck: However, I did report it to the author of pystache, who agreed it was a bug.15:55
deryckabentley, ah, ok.  Do you mind filing the lp bug for us, too?15:55
deryckflacoste, ack, I'll add the bug to the backlog and have oops pruning disabled.15:56
deryckor the next lane rather.15:56
flacostederyck: thx15:56
flacostederyck, mrevell: when are we releasing bug-columns?15:58
abentleyderyck: As soon as I make sure it's still present...15:58
deryckabentley, ah, ok.  Thanks!15:59
mrevellflacoste, danhg is preparing the announcement.16:00
mrevellderyck, do you have time for a call?16:00
flacostemrevell: great!16:00
deryckmrevell, I do shortly.  give me 10-15 minutes to finish the stuff I'm on.  it's a bit interrupty :)  hard to just drop.16:02
mrevellthanks deryck16:02
=== salgado is now known as salgado-lunch
flacostegary_poster: we did complete the work to make apache serves the wadl right?16:07
gary_posterflacoste, yes16:07
abentleyrick_h__: I'm filing a new bug, and when I start to type in "Further information:", the box gets longer immediately.  Is this fallout from your work?16:12
rick_h__abentley: probably16:12
abentleyrick_h__: This is on Firefox 8.016:13
rick_h__abentley: ok16:14
abentleyderyck: bug 91184016:18
_mup_Bug #911840: Launchpad works around pystache scoping bug <bug-columns> <tech-debt> <Launchpad itself:Triaged> < https://launchpad.net/bugs/911840 >16:18
deryckabentley, awesome, thanks!16:19
deryckmrevell, we can chat now if you like.16:24
deryckmrevell, Skype?16:24
deryckrick_h__, and I understand our card titled: "Refactor bug listing ordering history code out of the template file" ….16:32
deryckrick_h__, this would help prevent any other oops with history handling, if this was moved out to a separate js file, yes?16:32
rick_h__deryck: right, it can't be tested like the rest of the JS code because of logic in the .pt files16:33
deryckrick_h__, can you file a high bug about that and pass me the bug number then please?16:33
rick_h__deryck: so factoring it out into a init or something that's called from the .pt would allow some better testing in JS tests16:33
rick_h__deryck: sure thing16:33
rick_h__deryck: 91185716:39
rick_h__abentley: thanks, I confirm seeing that FF issue. Created a bug for it and will check it out.16:40
abentleyrick_h__: cool.16:40
deryckrick_h__, thanks16:42
jcsackettsinzui: have some time to mumble?16:48
sinzuiyes16:51
rick_h__abentley: have a sec for a ?16:59
abentleyrick_h__: sure.17:00
rick_h__so have this bug: https://bugs.launchpad.net/launchpad/+bug/911632 with this mp in progress https://code.launchpad.net/~rharding/launchpad/xss_911632/+merge/8750717:00
rick_h__abentley: and looking at how to test this?17:00
rick_h__abentley: it looks like I could try to change the dev data's name in the story, but seems a bit much for it17:01
rick_h__abentley: so curious if I should try to create a new user with the known xss? Just say this is such a small fix, no new test?17:01
=== al-maisan is now known as almaisan-away
abentleyrick_h__:  I would test it by creating a person with a bogus name, rendering the relevant view (using getViewBrowser) and asserting that the resulting HTML did not have the unescaped version.17:04
rick_h__abentley: ok cool, will check that out17:05
abentleyrick_h__: I would not touch the doctest.  You are writing a unit test, not documentation.17:05
rick_h__abentley: yea, you're right. I was just searching for existing tests to latch onto and hit that17:06
rick_h__abentley: thanks!17:06
abentleyrick_h__: np17:06
abentleyrick_h__: It would be interesting to change factory.makePerson to generate people with bogus names, but I don't think even that would catch all cases.17:08
rick_h__abentley: yea, you have to be checking for the bad output specifically17:08
rick_h__abentley: until it renders there's nothing to say <script> is a bad name17:08
=== salgado-lunch is now known as salgado
abentleyrick_h__: If the bad characters were a consistent string, we could perhaps tweak some common code to puke if it was present.17:10
=== deryck is now known as deryck[lunch]
sinzuiflacoste, I would like your opinion of bug 910876. Choosing to remove code to revert to the 2009 rules makes fixing other bugs easy.17:51
_mup_Bug #910876: "Remove assignee" no longer shown in bugtask assignee AJAX popup unless logged in user is the assignee <bugs> <person-picker> <Launchpad itself:Triaged> < https://launchpad.net/bugs/910876 >17:51
sinzuimaybe anyone can unassign a user, but the current rules apply to assigned teams17:54
nigelbStevenK: HAHA good one18:02
flacostesinzui: replied, i basically agree with your first comment18:32
sinzuithank you18:33
lifelessmorning18:33
=== salgado_ is now known as salgado
=== deryck[lunch] is now known as deryck
cjwatsonargh @gina19:06
cjwatsonit imports dsc_binaries in an invalid format19:06
rick_h__abentley: can you peek at https://code.launchpad.net/~rharding/launchpad/xss_911632/+merge/87507 when you get some time please?19:07
abentleyrick_h__: sure.19:07
rick_h__ty19:07
abentleyrick_h__: why are you using getUserBrowser rather than getViewBrowser?  getViewBrowser already does the canonical_url bit.19:08
rick_h__abentley: when I tried getViewBrowser it failed to generate the url as "xxx broke the chain"19:08
rick_h__I went off the example from the test above it which was using getUserBrowser19:08
rick_h__abentley: but now that you say that it makes sense, since I was sending it the canonical url bit19:09
abentleyrick_h__: "xxx broke the chain" is emitted by canonical_url.19:09
rick_h__abentley: right, makes sense. Basically I copied the test above it.19:09
rick_h__abentley: looking back at the getViewBrowser19:10
abentleyrick_h__: Perhaps you did not specify rootsite?19:10
rick_h__abentley: right, I called it wrong. I called it like getUserBrowser19:10
abentleyrick_h__: Ah.19:10
rick_h__abentley: crossing the streams between copying existing test and looking at getViewBrowser19:11
abentleyrick_h__: I see.19:11
abentleyrick_h__: r=me.19:11
rick_h__abentley: ty19:11
abentleyrick_h__: However, I don't think the bug is meant to apply only to this issue.19:12
rick_h__abentley: well, this guy hammered all over the site and this was the instance he found it.19:13
rick_h__abentley: I've tried to think of how best to *auto* test this, but the cause was that someone at some point told zpt to specifically "not" escape this item19:13
rick_h__abentley: I could grep through all of the templates looking for structure usage and verify the content is safe19:14
abentleyrick_h__: Okay.  I think you're right.  "persistent" made me think he was going for a broader issue.19:14
rick_h__abentley: but wasn't sure if I should take the time to go through all that or not tbh.19:14
abentleyrick_h__: Did your second test "self.assertTrue(escapedname in browser.contents)" fail before you changed the template?19:16
rick_h__abentley: yes, I put back the structure to verify19:16
abentleyrick_h__: I have a hunch it would pass because the user name appears elsewhere on the page.19:17
rick_h__abentley: the change was in place because I found the issue before finding a good place for the test, but did walk back19:17
rick_h__abentley: ah, see what you mean. However the first test fails19:17
rick_h__abentley: that's why I check for both, to make sure there is no non-escape <script> and that there is in fact an escaped one19:17
abentleyrick_h__: I think the second test would not.  Can you check, and if so remove it?19:17
rick_h__abentley: you're right that the second test doesn't do much since it's in there 3 places19:17
rick_h__abentley: gotcha, will do19:17
rick_h__abentley: cool, and got getViewBrowser() to pass and work right19:18
abentleyrick_h__: Great.19:18
abentleyrick_h__: alternatively, you could do a more exact match on the error text.19:19
rick_h__abentley: right, gotcha19:20
abentleyrick_h__: Does your branch also fix it if the error message is loaded via AJAX?19:22
rick_h__abentley: I'll double check. I believe so since it's a fix of the template used to generate the table view19:22
cjwatsonIs all the gina code actually in the LP tree?  I can't find any references to ImporterHandler other than its definition.19:24
cjwatsonBut it seems like the main operating class ...19:26
cjwatsonsee also bug 83090419:27
_mup_Bug #830904: Is run-newgina.sh dead code? <Launchpad itself:Triaged> < https://launchpad.net/bugs/830904 >19:27
cjwatsonNever mind, I'm talking nonsense19:30
lifelesswgrant: to answer your question '300'19:36
lifelessflacoste: did you find a timeslot for us ? :)19:36
flacostelifeless: how about in 20 minutes?19:37
lifelessflacoste: thats the parallel testing call19:39
lifelessah no, its not19:39
lifelessthats me going into hospital for my once a month allergy shot19:40
flacostelifeless: when are you getting back?19:42
lifelessflacoste: its 40m in + 40m back + 30m observation + 15m friction, more or less19:42
flacostelifeless: ping me when you get back, i'll probably still be around19:43
lifeless1030 appointment, so back ~ 1200, which is 2300UTC19:43
lifelessflacoste: will do19:43
flacostehmm, i got my calculation wrong then19:44
flacostei thought that was 22UTC19:44
flacostelifeless: if you are back before 23 UTC then ping me, otherwise, we'll have to postpone to tomorrow19:45
flacostelifeless: before the parallel testing call, just ping me when you are online19:45
lifelessflacoste: I will ping you; if you are around, \o/ if you are not tomorrow is go19:46
flacostelifeless: great!19:47
=== cody-somerville_ is now known as cody-somerville
lifelesssinzui: do we have a general 'lp is hard to read bug' ?19:52
lifelesssinzui: I'd like to dupe https://bugs.launchpad.net/loggerhead/+bug/601392 on it19:53
_mup_Bug #601392: Loggerhead should have a better text-background contrast with Chromium <css> <ui> <loggerhead:Triaged> < https://launchpad.net/bugs/601392 >19:53
* sinzui looks for mpt's last font bug19:53
flacostempt isn't the one who filed it iirc19:54
flacostewe won't fix it though19:54
flacostemight have been poolie19:55
sinzuilifeless, I thought mpt had reported a bug about fonts that was general to the issue. He wrote the Lp is harder to read than other hosting sites19:57
sinzuiThis looks like a WAI issue. Looks like someone removed the the WAI tag I had added19:58
abentleyrick_h__: BTW, we also have assertIn and assertNotIn.20:00
rick_h__abentley: ooh, thanks. Bookmarked the full list.20:01
lifelesssinzui: I thought he did too20:02
lifelessrick_h__: and assertThat(foo, Contains(bar))20:03
rick_h__lifeless: cool, I saw some work with the containsHTML from the soup stuff, but I wasn't creating full tags20:04
sinzuilifeless, I ws thinking of bug 88325820:04
_mup_Bug #883258: Bug descriptions/comments much harder to read on Launchpad than other hosting services <css> <trivial> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/883258 >20:04
lifelesssinzui: thanks, do you think this is a dupe, or that the loggerhead thing is different ?20:05
lifelesssinzui: if its a dupe, I will add a loggerhead task to 88325820:05
sinzuilifeless, No. I think is a separate bug. It is both a css issue and a WAI comparability issue.20:08
sinzuicompatibility20:09
lifelessWAI ?20:09
sinzuilifeless, sorry, I was in another conversation: WAI was established in 1997 to tell web authors to stop messing with users: http://www.w3.org/TR/WCAG/20:21
lifelesssinzui: I've gardened the bug a little; if you wanted to add analysis to it that would be the bomb20:22
sinzuilifeless,  I tagged a few things WAI last year when Canonical said it was taking accessibility seriously20:22
=== salgado is now known as salgado-afk
jcsackettsinzui: i'll be a little late to standup; vet just called.21:59
sinzuiokay22:00
wgrantlifeless: 300?22:02
wgrantcjwatson: Yes, all of gina is in the tree. Have you grepped scripts/?22:02
deryckLater on, all.22:04
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 3*10^2
cjwatsonwgrant: Yeah, when I found scripts/gina.py I said "Never mind, I'm talking nonsense" :-)22:43
lifelessflacoste: ping23:07
lifelesswgrant: '6 months worth of bugs'23:08
lifelesswgrant: our rate was 200 commits/month with all squads; *6/423:08
wgrantlifeless: Ah!23:08
wgrantlifeless: !!23:39
wgrantYAY23:39
wgrantkill, crush, destroy23:39
lifelessheh, happy new years23:40
StevenKHm?23:44
lifelessI just proposed disabling heat aging and max-heat tracking on bug contexts23:44
lifelesswhich means changing heat display to a number not a fraction23:45
wgrantWhich makes Launchpad fast :)23:46
lifelesswell, it will remove some causes of slowness23:51
wgrantLies.23:52
lifelesshmm?23:53
wgrantDestroying bug heat will solve all the world's problems :)23:54
lifelessOptimism from you? I'm shocked!23:54

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