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 2BF6210198 for ; Sat, 3 Aug 2013 19:33:32 +0000 (UTC) Received: (qmail 58586 invoked by uid 500); 3 Aug 2013 19:33:32 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 58550 invoked by uid 500); 3 Aug 2013 19:33:32 -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 58542 invoked by uid 99); 3 Aug 2013 19:33:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 19:33:31 +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 kxepal@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 19:33:26 +0000 Received: by mail-wg0-f49.google.com with SMTP id y10so1382070wgg.28 for ; Sat, 03 Aug 2013 12:33:05 -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=tYj1Fg4XzjlxNDwEQwRfA3luGWQdw7XI+dmblIxCeGc=; b=GzAFilqMeVhv9wD0Q77di5+9gYE+KWl/+X/CKBxLt+uonuVvxsrSjvi6jrtYRfac62 7ImQ3Uqz9CCojYDWpNZO9Jzw6+e3/7ZWspajuObDTn8qXgwy0vu6bu9T12yMD/viq0SS eoaQ91/kO2gxw+rRlM1i6TBKyjJtL/bkF04JEhAx5PLDS1xMzgLIV9ZQONvS7dthPQx7 y4ZgWjp0aPcZk6raFBYWk1yfXgV0FSRZqurVOTKAzKTZ+xSrCuimL1cIjskDDgLiCOco t+gcQSqG8amveUiZcVqIx+S3aDqJF1so4DfFAFvXLqznFNfEMDMSDdLhR76vTBPTSI7k 7zOw== MIME-Version: 1.0 X-Received: by 10.180.89.231 with SMTP id br7mr2420616wib.19.1375558385525; Sat, 03 Aug 2013 12:33:05 -0700 (PDT) Received: by 10.180.162.230 with HTTP; Sat, 3 Aug 2013 12:33:05 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Aug 2013 23:33:05 +0400 Message-ID: Subject: Re: Project proposal for ICFOSS From: Alexander Shorin To: "dev@couchdb.apache.org" Cc: Yashin Mehaboobe , Noah Slater , Dirkjan Ochtman , Dave Cottlehuber Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 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