Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E844717326 for ; Thu, 16 Oct 2014 17:26:54 +0000 (UTC) Received: (qmail 35135 invoked by uid 500); 16 Oct 2014 17:26:54 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 35040 invoked by uid 500); 16 Oct 2014 17:26:54 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 35027 invoked by uid 99); 16 Oct 2014 17:26:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 17:26:53 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yh0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 17:26:49 +0000 Received: by mail-yh0-f52.google.com with SMTP id f10so2219952yha.11 for ; Thu, 16 Oct 2014 10:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NnHZW3dqjysX00bSiQBXzoRrvjSwOoOQyTgkyUWclAE=; b=bQ1xVIuVTmuBHb3NHNZueSvglM8ajk/GqmF/LOBBAaUA7o9vE2F7dXZ3+59XlFU9jx seIX+SNHjFP8qeMc3PEqmrh8f/ZnwN3mEEiY0cWFEz6G2td2QaoDQ5jTW748sMo1LCw8 OXKZEc5/VOk4BkxJPhM+rItUtaMSLxKKxRgkPZYNQQqpPmYYrmpVk/y2d6j15rhmxtMO 79k02pJHU5blCOPZZGyrlneiafYMKJ3M+dCn8CNrxzWeYICUd/8kDirorhuknxzHRRHO PzCFCnK+i1Sp6+GPMu/np9DvHEOOYj7qmPu8thS3fbIWR1QzAlAZ4j0hWQfeIH1VCd// UkEg== MIME-Version: 1.0 X-Received: by 10.236.29.114 with SMTP id h78mr1479361yha.188.1413480388803; Thu, 16 Oct 2014 10:26:28 -0700 (PDT) Received: by 10.170.180.7 with HTTP; Thu, 16 Oct 2014 10:26:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Oct 2014 10:26:28 -0700 Message-ID: Subject: Re: A Chome extension for rendering patch on JIRA From: Ted Yu To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e0149479c78c13505058d8cde X-Virus-Checked: Checked by ClamAV on apache.org --089e0149479c78c13505058d8cde Content-Type: text/plain; charset=UTF-8 Verified that everything works well. Thanks for the fast turn around. On Thu, Oct 16, 2014 at 10:23 AM, David DENG wrote: > The new version should've solved this problem. Thanks for reporting. > > David > > On Wed, Oct 15, 2014 at 11:09 AM, Ted Yu wrote: > > > David: > > Thanks for the new feature. > > > > I found a little rendering bug. If you look at the following using your > > plugin: > > > > > https://issues.apache.org/jira/secure/attachment/12675067/HBASE-12267_v2.patch > > > > You would see that the 3rd line below (MultiTableOutputFormat.java): > > public void close(TaskAttemptContext context) throws IOException { - for > > (HTable table : tables.values()) { + for (Pair pair : > > tables.values()) { > > > > becomes: > > for (Pair<Connection, Table> pair : tables.values()) { > > > > On Tue, Oct 14, 2014 at 10:05 PM, David DENG > > wrote: > > > > > Version 1.5 has been submitted. Click on the icon to switch between > > > original and formatted. > > > > > > On Tue, Oct 14, 2014 at 6:43 AM, David DENG > > wrote: > > > > > > > I'll make clicks on the icon on toolbar switching between original > and > > > > formatted. Couldn't be later than this weekend. > > > > > > > > David > > > > > > > > On Mon, Oct 13, 2014 at 10:19 PM, tobe > wrote: > > > > > > > >> I could like to copy the address in Firefox to view the original > file > > or > > > >> just disable the plugin. > > > >> > > > >> On Tue, Oct 14, 2014 at 12:08 PM, Ted Yu > wrote: > > > >> > > > >> > Sometimes the reviewer may want to reference some particular diff > in > > > >> review > > > >> > comment. > > > >> > > > > >> > Is there a way to switch back to viewing the text of the patch ? > > > >> > > > > >> > I fully understand that you have other priorities. > > > >> > > > > >> > Cheers > > > >> > > > > >> > On Sat, Oct 11, 2014 at 9:37 PM, David DENG < > daviddengcn@gmail.com> > > > >> wrote: > > > >> > > > > >> > > Published a new version of the exteions: > > > >> > > > > > >> > > 1. An icon is shown right to the address bar. When viewing patch > > in > > > an > > > >> > > arbitrary url, click on the icon, it'll be rendered. This > support > > > >> cause > > > >> > the > > > >> > > extension needs a re-enabling when upgraded. (Sorry for the > > > >> re-enalbing) > > > >> > > > > > >> > > 2. Add an option page to set url patterns which are auto > rendered. > > > >> > Default > > > >> > > values are Apache jira patches (added [.]txt pattern) > > > >> > > > > > >> > > David > > > >> > > > > > >> > > On Fri, Oct 10, 2014 at 6:22 PM, Ted Yu > > > wrote: > > > >> > > > > > >> > > > Yes. > > > >> > > > > > > >> > > > See https://issues.apache.org/jira/browse/HBASE-12164 > > > >> > > > > > > >> > > > On Fri, Oct 10, 2014 at 5:58 PM, David DENG < > > > daviddengcn@gmail.com> > > > >> > > wrote: > > > >> > > > > > > >> > > > > @Ted, people also submit patch with .txt extension? > > > >> > > > > > > > >> > > > > David > > > >> > > > > > > > >> > > > > On Fri, Oct 10, 2014 at 5:35 PM, Ted Yu < > yuzhihong@gmail.com> > > > >> wrote: > > > >> > > > > > > > >> > > > > > Interesting. > > > >> > > > > > > > > >> > > > > > Can you add the following to the recognized patterns ? > > > >> > > > > > > > > >> > > > > > https://issues.apache.org/jira/secure/attachment/*/*. > > > >> > > > > > < > https://issues.apache.org/jira/secure/attachment/*/*.patch > > > >txt > > > >> > > > > > > > > >> > > > > > On Fri, Oct 10, 2014 at 4:57 PM, David DENG < > > > >> daviddengcn@gmail.com > > > >> > > > > > >> > > > > wrote: > > > >> > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > https://chrome.google.com/webstore/detail/git-patch-viewer/hkoggakcdopbgnaeeidcmopfekipkleg > > > >> > > > > > > > > > >> > > > > > > Go to one of the JIRA patch, the raw text will be > rendered > > > as > > > >> a > > > >> > > > > > Phabricator > > > >> > > > > > > like page (Like http://review.facebook.net/ ). > > > >> > > > > > > Recognized URL pattern: > > > >> > > > > > > > > https://issues.apache.org/jira/secure/attachment/*/*.patch > > > >> > > > > > > > > > >> > > > > > > Source code and bug report: > > > >> > > https://github.com/daviddengcn/patch-ext > > > >> > > > > > > > > > >> > > > > > > Have a try and enjoy! > > > >> > > > > > > > > > >> > > > > > > David > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > > > > > > > > > --089e0149479c78c13505058d8cde--