Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-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 34DDC106D3 for ; Thu, 6 Jun 2013 17:58:18 +0000 (UTC) Received: (qmail 70696 invoked by uid 500); 6 Jun 2013 17:58:18 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 70681 invoked by uid 500); 6 Jun 2013 17:58:17 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 70673 invoked by uid 99); 6 Jun 2013 17:58:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 17:58:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of braden@google.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bk0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 17:58:11 +0000 Received: by mail-bk0-f44.google.com with SMTP id r7so1777763bkg.3 for ; Thu, 06 Jun 2013 10:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=7iDDAHwAENACqLwSJIHgCes6p+dDSJnWLFcgwMdBTws=; b=iU2cWAsr9VhefwK+fOFcQkXqUxFRasmCSvvVDz70F4ZVZTFmsDxU++5GnOei/FBFET 4DJP1PyYpYvViZH2mvx5cyHtN+rEw1Zr9JECLrU/n4Mm83b3t63fDTWbCHjTkDedud2W 1xtubguKHWCV/1T8SeiXT7FCk76HyFikqHYSew95PddSfTDi+a69iNAq+O63sQk1PBnB 1f3867Qb1pfcOUFIbYyieSFZ22ql4BcLdeMvRdKn366eYCrHmolVRWrs9/HqUSjtnINh LfwHvPsxTBeXzekkae4F1I9yXxwcAZZbXSf1bcMllewMZxcYcdKIsmEsbHrAI224NdcI A/sA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=7iDDAHwAENACqLwSJIHgCes6p+dDSJnWLFcgwMdBTws=; b=AXsQsHNCUBuJKFQERyjgo6hTMZ8CbQDWfFHunv+xkV/dm1vM1IjEPPkATTS0BoX/1S 7sSXjHdF1N8nUlQWI2tbjjDjcR4bh1jo+AHr/pMP7tAceMHSthXhi1Q9Jw8RQ5P4wpmh UKrd6dGW2pzZibILrJzNN9kW9ef99BFv+rkVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=7iDDAHwAENACqLwSJIHgCes6p+dDSJnWLFcgwMdBTws=; b=ptusOjz+ZEAJ24FrZ0i26bDUxL9HbsdZvu4xGmv+9dHEmVST+hSTkFpsn13AKc9siz JjThelCNRnMGu929nsN8tkOtlcVSfkeNWE77bfbt1vw6dZH97HjfwefdHuzL5MS/8YUy PiHh42J0md7Slm/xilp48BID2RVeeoc6FhtXiwdsc9orQ9yz+6/eFl4Iv6Xmd9TXIOhz 775SWtAQvyzHUa41OTIH/xClLjPs9BQ3NTuslhvhhB/+4lJTa6j8YlNvycqDyXvDPymm dzGCy6BXCCL+gnbyiQUDhGqWVJKRGi4G4vCNDizlbzxsVOHYenlM+DAf96BbF6Xv0IQ+ mGzA== MIME-Version: 1.0 X-Received: by 10.205.25.137 with SMTP id ri9mr11270683bkb.151.1370541471008; Thu, 06 Jun 2013 10:57:51 -0700 (PDT) Sender: braden@google.com Received: by 10.205.112.132 with HTTP; Thu, 6 Jun 2013 10:57:50 -0700 (PDT) In-Reply-To: References: Date: Thu, 6 Jun 2013 13:57:50 -0400 X-Google-Sender-Auth: Rk2_d82Hzq3w_Wd69wbu-_Do6lI Message-ID: Subject: Re: [Android] Why is DataResource still in master? From: Braden Shepherdson To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=20cf301ee3b587ce9b04de800d11 X-Gm-Message-State: ALoCoQn/UWMcK5N7MXIMtfd+OOeNV+qdRVdrJnvC5gPbKWwKbszQI/6c203urzuCb1yeEKYYzZPQ8aazEfkMPbTl27MIzkLTSzWj1TfaxxjkxWj2Oq8+gJArx9UffeGS9lCJXPP817rHWmCaI8W3F7X9jCRgd2Pk6ifGsKBiFA1eUNHxcAdn8mUldvGMKjesLXEby2LJtvFg X-Virus-Checked: Checked by ClamAV on apache.org --20cf301ee3b587ce9b04de800d11 Content-Type: text/plain; charset=ISO-8859-1 I'm prepared to have it reverted like it was on the 2.8.x branch. I'll revert the revert in a branch and try to fix them. I'm working with the app harness currently and it depends on the DataResource work, but I don't think it depends crucially on it. Even if it is vital, I could still fix it up in a branch and use that for our app harness work. It's not hard to revert it and put it back later, so I think we should go with that. I'll push it again when it's actually fixed. I agree with you that the unit tests are a good idea, as well. Joe, can you give me some test cases where it's failing? Is there a bug? I don't have a clear sense of the cases where it crashes or does the wrong thing. Braden On Thu, Jun 6, 2013 at 1:45 PM, Joe Bowser wrote: > I'm OK with it staying in there if: > > 1. There's unit tests in the test directory to make sure it works. This > should be unit tested > 2. The unit tests in that directory pass > 3. All the existing MobileSpec tests pass. > > Now, I think that this is going to be tricky, which is why I want it out. > However, I don't know what the final decision on the plugins going in on > 2.9.0 or 3.0.0 is, so I don't know whether we should just suck it up and > fix it or rip it out yet. This code seems like it'd work fine for files, > but not for remote URIs, since that's where we're having the problems. > > Is that cool? > > On Jun 6, 2013 8:00 AM, "Braden Shepherdson" wrote: > > > Its intention is to provide a single place for URL handling by plugins. > > Then plugins can capture new schemes, and handle URLs that have been > > modified by other plugins into URLs they know how to handle. It unifies > > that various bits of code in different places that knew how to handle > > gallery URLs and so on. > > > > If we want to revert it on master and only push it when we're sure it's > > working, I can take on the task of rehabilitating it eventually, or it > can > > wait until Andrew is back. It isn't vital to the app harness, though it > > prevents some things from working like app harness-hosted apps accessing > > gallery URLs. > > > > Braden > > > > > > On Wed, Jun 5, 2013 at 11:37 PM, Joe Bowser wrote: > > > > > The reverts were only on the 2.8.0 branch, not on master. It's > > > currently totally broken right now. > > > > > > On Wed, Jun 5, 2013 at 8:09 PM, Michal Mocny > > wrote: > > > > 100 yard summary: our intern Shravan from last term was adding this > as > > > part > > > > of his app-harness work. This specific change landed a too hastily > as > > > > there were some issues in corner cases (perhaps over-eagerness due to > > > time > > > > pressure as he approach term end), but all actual uses of > DataResource > > > > should have been reverted before 2.8 branch (right?), and so just > idle > > > code > > > > remains in the codebase. The plan is to fix the remaining issues > > before > > > > re-adding its usage.. but Andrew was working on that, hence the > delay. > > > > > > > > The specifics details of why it has been added / what its used for, I > > > will > > > > defer to some others (Max/Braden?) who would know the answer. > > > > > > > > As far as I am aware, leaving it in isn't harmful, but perhaps > leaving > > it > > > > in unfixed in isn't helpful either. Lets see what Max/Braden say. > > > > > > > > > > > > On Wed, Jun 5, 2013 at 4:54 PM, Joe Bowser > wrote: > > > > > > > >> Hey > > > >> > > > >> Why is DataResouce still in master? I don't want this code to go > into > > > >> 2.9.0 or 3.0.0, since I have no idea what this is trying to > > > >> accomplish. I'm going to start ripping it out of master tomorrow if > > > >> someone doesn't tell me why it should still be here. > > > >> > > > >> Seriously, WTF? > > > >> > > > > > > --20cf301ee3b587ce9b04de800d11--