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 7F968102A9 for ; Sat, 3 Aug 2013 20:39:22 +0000 (UTC) Received: (qmail 3810 invoked by uid 500); 3 Aug 2013 20:39:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 3779 invoked by uid 500); 3 Aug 2013 20:39:22 -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 3763 invoked by uid 99); 3 Aug 2013 20:39:22 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 20:39:22 +0000 Received: from localhost (HELO mail-we0-f176.google.com) (127.0.0.1) (smtp-auth username nslater, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 20:39:21 +0000 Received: by mail-we0-f176.google.com with SMTP id q56so1418354wes.7 for ; Sat, 03 Aug 2013 13:39:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cGLQ7nPlvbfH3ZoO8zZpYcUYxUgzW3AIlb7CgtWfAwc=; b=YAQINLrt5EhlbGPXA0LgjYkDN9Olqkrl5XxhlpcCvvArUamsC/7o39KnR1mTKa0CI/ 5QoSH/qt+ys8OErIYL0rUCY3WnLTscIMpX9ivY8Q+HKgas5srqcmjKp4lAaStm4A7WVo k9NCCX+RUH1ufVVxQgMrGwKs5nuXbNb1w4UZ38DTrx5RdyyGkI1wLEe//Zy61fMmAEgn bzU7aSY+yNRLA/32PuDHiN4suZpMpIQciCL875oA4Bij8L0CQeBMvGtFIB0QUyHFs2Jj qhgRGVyx2AwoUB/21AGQH+ppBc38DFeBjLq0PoajEE1vo67vbw0lbo4T1QgJI975uPvk eUwg== X-Gm-Message-State: ALoCoQn/HeXW2VjfC4s6A1h+WMKJDdPu442isWZwxrq7ZIskjCDw0W9xvXiIrMnaQrSjFHGUDLJK MIME-Version: 1.0 X-Received: by 10.180.104.10 with SMTP id ga10mr2431140wib.35.1375562360038; Sat, 03 Aug 2013 13:39:20 -0700 (PDT) Received: by 10.216.0.72 with HTTP; Sat, 3 Aug 2013 13:39:19 -0700 (PDT) X-Originating-IP: [178.250.115.206] In-Reply-To: References: Date: Sat, 3 Aug 2013 21:39:19 +0100 Message-ID: Subject: Re: Project proposal for ICFOSS From: Noah Slater To: Alexander Shorin Cc: "dev@couchdb.apache.org" , Yashin Mehaboobe , Noah Slater , Dirkjan Ochtman , Dave Cottlehuber Content-Type: multipart/alternative; boundary=f46d04374a09d64c3304e31111dd --f46d04374a09d64c3304e31111dd Content-Type: text/plain; charset=ISO-8859-1 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 --f46d04374a09d64c3304e31111dd--