Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 A050B1046B for ; Sat, 10 Aug 2013 09:35:12 +0000 (UTC) Received: (qmail 63674 invoked by uid 500); 10 Aug 2013 09:35:11 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 63488 invoked by uid 500); 10 Aug 2013 09:35:10 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 63479 invoked by uid 99); 10 Aug 2013 09:35:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 09:35:09 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yashinm92@gmail.com designates 209.85.217.179 as permitted sender) Received: from [209.85.217.179] (HELO mail-lb0-f179.google.com) (209.85.217.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 09:35:05 +0000 Received: by mail-lb0-f179.google.com with SMTP id v1so3682818lbd.24 for ; Sat, 10 Aug 2013 02:34:43 -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 :cc:content-type; bh=OVAnZ3XbPIQn/1Tc929PBx6L4lUFWigUezVGr2KRRlA=; b=L7Efi43puuaFDwHFMNRCP2vlOnVIDOB0Ao5EF2JbZgDKzNgABSgC34aT/Tgj0Jw60u bsaHn9B05/sT2MisH6QlhRA4iB5y8VMw3LUCjPR2pWqEbgbhS7R2Q6nj8mWufwq9F5Lv PQqlS6sni3XeyD+mMaU0nWMWIhWnEk2nZTYmhjX/hA0G1/+NVEyxmuYiZcj2J50tBs4t vYl/wsmc5D5eJpmMWllB3hPZcDfXlQCBS0qv99+0pFCtfIicKUTwDisvyH3lquFcdv/Y kOWYmhD9gX5f+cxaFAcvY2XLhZteRDzuPmB6nHKZ9qqvmZEKO/f+474kAEp996kfAIZV Gwcw== MIME-Version: 1.0 X-Received: by 10.152.2.74 with SMTP id 10mr7626737las.36.1376127283225; Sat, 10 Aug 2013 02:34:43 -0700 (PDT) Received: by 10.152.108.229 with HTTP; Sat, 10 Aug 2013 02:34:43 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Aug 2013 15:04:43 +0530 Message-ID: Subject: Re: Project proposal for ICFOSS From: Yashin Mehaboobe To: dev@couchdb.apache.org Cc: Alexander Shorin , Noah Slater , Dirkjan Ochtman , Dave Cottlehuber Content-Type: multipart/alternative; boundary=089e01228e5ae1eba404e3949943 X-Virus-Checked: Checked by ClamAV on apache.org --089e01228e5ae1eba404e3949943 Content-Type: text/plain; charset=ISO-8859-1 First of all, so sorry for the late reply. Secondly, I've been selected to work on this project so thank you so much for letting me work on this :) . I'll have a rudimentary code up and running as soon as possible. Noah: So instead of integrating the Git and JIRA requests into bootstrap I will create a separate python script that will pull them into an RST file that can be improved upon if needed. That's what you meant right? Alexander: I was thinking of starting to create the RST file from current release only. From now on, a unique file will be created for each branch release (with the commit hash/version as the name?). About the integration of upgrade notes and CVE warnings into the file, could you please suggest from where I can pull the data? Is it usually present in the Git repository or the JIRA? On Sun, Aug 4, 2013 at 2:09 AM, Noah Slater wrote: > Hmm. > > If we're planning to commit the file, then the generation should not be in > ./boostrap at all. > > Instead, we should ship a utility script that spits out an RST file that > serves as a *starting point* for editing, and then committing. > > > On 3 August 2013 20:33, Alexander Shorin wrote: > > > Hi Yashin, > > > > Do you plan to generate since RST file with all changes or only just > > for current release? > > > > Why I'm asking...There is already change history for old releases that > > is not possible to generate automatically: it was quite untrivial to > > automate for 1.3.0 release for me since there was a lot of false > > positive matches or no matches at all. Completely regenerate past > > history also isn't good idea since it will be very heavy operation > > with a lot of JIRA requests. > > > > So the idea: to generate changes only for current branch release. Get > > the commit hash when previous release was tagged and scan commits till > > HEAD for features, JIRA issues etc. The output will be the file for > > specific branch. > > > > For example how it may looks: > > http://kxepal.iriscouch.org/docs/1.3/whatsnew/index.html > > > > By the way. This generated change log have to be stored on disk and be > > committed: how we're planning to write Upgrade notes, CVE warnings, > > Breaking changes and Migration guides for new release? Or, if not, how > > and from where the script will embed them into generated .rst file(s)? > > > > -- > > ,,,^..^,,, > > > > > > On Sat, Aug 3, 2013 at 12:18 AM, Noah Slater wrote: > > > On 30 July 2013 20:13, Yashin Mehaboobe wrote: > > > > > >> > > >> 1.User runs bootstrap > > >> > > > > > > Yep. But remember: only people building CouchDB from a Git checkout > will > > > ever need to run ./boostrap. When we distribute CouchDB from our > website, > > > all of the files that ./boostrap generates are included for them. > > > > > > > > >> 2.Bootstrap fetches the git commit messages too and stores in an rst > > file > > >> > > > > > > Sounds good. > > > > > > > > >> 3.The python script uses this rst file to generate documentation. > > >> > > > > > > Yep! But note: the Python script that generates the RST files is called > > by > > > make. So we have two steps here: > > > > > > ./bootstrap run on a pristine source checkout, and only run by devs. It > > > talks to Git, and generates an RST file. > > > > > > Make is configured to expect the RST file, as if it were a regular part > > of > > > the source. When you run "make", the regular rules for building the > docs > > > should pick up the RST file and include it into the docs. > > > > > > -- > > > NS > > > > > > -- > Noah Slater > https://twitter.com/nslater > -- - Yashin Mehaboobe --089e01228e5ae1eba404e3949943--