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 E5D1A11E1D for ; Tue, 12 Aug 2014 18:47:00 +0000 (UTC) Received: (qmail 96253 invoked by uid 500); 12 Aug 2014 18:47:00 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 96216 invoked by uid 500); 12 Aug 2014 18:47:00 -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 96204 invoked by uid 99); 12 Aug 2014 18:47:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 18:47:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shazron@gmail.com designates 209.85.216.177 as permitted sender) Received: from [209.85.216.177] (HELO mail-qc0-f177.google.com) (209.85.216.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 18:46:34 +0000 Received: by mail-qc0-f177.google.com with SMTP id x13so3170739qcv.8 for ; Tue, 12 Aug 2014 11:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=40gXwCLXpQB/Kk2WWrRR7EUFXdmyjHlKqE69nupn/3Q=; b=bdaO0WY3Uvdc1I6Fo3YjtkV7jjMqsgA0hoDCas6WgqPWeplSXNWqxnSk0B915AvEYW 26tAOh0w4qbEkUThhfY5v9CR9OZp9Wclst3WQYGMeCres8+g9lWCSIOhCDo6iiSUHgyL VR73oYBg22b8C08qjm9uZcjkfnwI7oDoQ8Dn7un2z+YbjknMP9BRwF7JybabBMkPeSdr Jk04bp1F/QSniJe85MZbUdo+/WgvOIhOmufqc/YM/MmaWKFL/slMAaR/76qy7PdkUzmK aYi10JdWZxtvNoQFdluYf8o9+qeLwaJDpdwbb44h1PV8BWSYno/qXF613yIacsA2HASU VnIg== X-Received: by 10.224.65.196 with SMTP id k4mr9823863qai.56.1407869193817; Tue, 12 Aug 2014 11:46:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.43.229 with HTTP; Tue, 12 Aug 2014 11:45:53 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Tue, 12 Aug 2014 11:45:53 -0700 Message-ID: Subject: Re: Remove VERSION file from repos To: "dev@cordova.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Yeah I value life and my sanity - I'll probably replace the bash script with python On Tue, Aug 12, 2014 at 11:40 AM, Lorin Beer wrote: > one source for version information is better > > although parsing json with bash scripts seems janky > > > On Tue, Aug 12, 2014 at 11:31 AM, Jesse wrote: > >> I think it still needs to exist in an output project ... which is not >> (yet?) an npm project, and so does not have a package.json. >> >> The individual platform repos can get rid of it, they will just need to >> modify the way they `create` new projects to read the value from >> package.json and output it to NewProject/VERSION >> >> >> >> >> @purplecabbage >> risingj.com >> >> >> On Tue, Aug 12, 2014 at 11:25 AM, Shazron wrote: >> >> > For iOS, the only file I can see that depends on this is: >> > >> > 1. >> > >> https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/version >> > >> > Not sure of the alternative. >> > >> > This references it but can be removed: >> > https://github.com/apache/cordova-ios/blob/master/bin/create >> > >> > >> > On Tue, Aug 12, 2014 at 11:19 AM, Steven Gill >> > wrote: >> > > Most of our repos have a package.json. It keeps track of versions. I >> > think >> > > we should work towards removing the VERSION files from the repos we >> can. >> > > >> > > Thoughts? >> > > >> > > This would require some changes to coho so it doesn't try to update the >> > > version file when doing releases. >> > >>