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 F3C61109FC for ; Mon, 26 Aug 2013 16:59:42 +0000 (UTC) Received: (qmail 69203 invoked by uid 500); 26 Aug 2013 16:59:41 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 69070 invoked by uid 500); 26 Aug 2013 16:59:41 -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 69057 invoked by uid 99); 26 Aug 2013 16:59:40 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 16:59:40 +0000 Received: from localhost (HELO mail-wg0-f53.google.com) (127.0.0.1) (smtp-auth username nslater, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 16:59:39 +0000 Received: by mail-wg0-f53.google.com with SMTP id c11so2977071wgh.8 for ; Mon, 26 Aug 2013 09:59:37 -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:content-type; bh=44ZiNWdHH/oKFu8K9/KSjLxxnlftc8tvvkW12IyJRpM=; b=cRpoycw0sjruzcteMHlpLglXhWmZ77xkNvLfCkB/26fjPaytGZwQRX98B8dwhXlWFr pwQeT6M+3SrghqWN3XOdGeXUPOadPDhyGWImAAmEAxM0ygORtHJfS6yT94Rzyl4Qdica 8znBeYaT5WVvmgQ2vLcBbU7B+PBZkH1nZU79u3XB6Vjc3Z+YreUaJ9/4kQI3X/qgv6xb B/z/QcOuUattL361fT8yHptd6DqLIxEdGmTW2WDeuqQaAcZQjMBomu9qmhLzKzy7sq2E 46gG/n/ADmUbeG84/jV0iiwq50QWtjU0ryYSrG9xHbBeKAqRjEHix9TylKF6GDhjqvUJ WOeQ== X-Gm-Message-State: ALoCoQmnyLwaOCN1ipk7qg6hI9TUsyJQxr+62iRpF8oODQlYwY0t5iT4oqCVk5v0LlGZdAKc84r6 MIME-Version: 1.0 X-Received: by 10.194.93.3 with SMTP id cq3mr10797869wjb.26.1377536377741; Mon, 26 Aug 2013 09:59:37 -0700 (PDT) Received: by 10.216.186.5 with HTTP; Mon, 26 Aug 2013 09:59:37 -0700 (PDT) X-Originating-IP: [178.250.115.206] In-Reply-To: References: Date: Mon, 26 Aug 2013 17:59:37 +0100 Message-ID: Subject: Re: git commit: updated refs/heads/1.4.x to afdf964 From: Noah Slater To: "dev@couchdb.apache.org" Content-Type: multipart/alternative; boundary=047d7bb0482275f93a04e4dcae85 --047d7bb0482275f93a04e4dcae85 Content-Type: text/plain; charset=ISO-8859-1 Hehe. Too complex. Let's just use the Autotools machinery how it was intended. :) There are plenty of examples in the source. Here's couchdb.conf.in: https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=blob_plain;f=bin/couchdb.tpl.in;hb=HEAD Then, in configure.ac, you have this line: AC_CONFIG_FILES([bin/couchdb.tpl]) So, during the `./configure` invocation, the .in file gets processed and renamed. You define variables with %percent_signs% like this: DEFAULT_CONFIG_DIR=%localconfdir%/default.d Here 'localconfdir' is defined in configure.ac. On 26 August 2013 04:57, Alexander Shorin wrote: > I have a bit better solution: > > https://www.friendpaste.com/3vzULs97Fl0AaPXqG6NuTZ > > What do you think? > -- > ,,,^..^,,, > > > On Mon, Aug 26, 2013 at 2:54 AM, Noah Slater wrote: > > Hmm. > > > > These values should ideally be written by configure. So this should be > > conf.py.in, and conf.py gets created at build time. > > > > I wonder why I never did it this way. Oh well. This is an easy one if > > someone wants to bother. > > > > > > On 23 August 2013 15:56, wrote: > > > >> Updated Branches: > >> refs/heads/1.4.x 06266f574 -> afdf9644f > >> > >> > >> Update version in documentation. > >> > >> > >> Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo > >> Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/afdf9644 > >> Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/afdf9644 > >> Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/afdf9644 > >> > >> Branch: refs/heads/1.4.x > >> Commit: afdf9644fffbc8e52a6515f3fdea9c533e6a4d2e > >> Parents: 06266f5 > >> Author: Dirkjan Ochtman > >> Authored: Fri Aug 23 16:55:42 2013 +0200 > >> Committer: Dirkjan Ochtman > >> Committed: Fri Aug 23 16:55:42 2013 +0200 > >> > >> ---------------------------------------------------------------------- > >> share/doc/src/conf.py | 4 ++-- > >> 1 file changed, 2 insertions(+), 2 deletions(-) > >> ---------------------------------------------------------------------- > >> > >> > >> > >> > http://git-wip-us.apache.org/repos/asf/couchdb/blob/afdf9644/share/doc/src/conf.py > >> ---------------------------------------------------------------------- > >> diff --git a/share/doc/src/conf.py b/share/doc/src/conf.py > >> index 6fd9112..8c352d6 100644 > >> --- a/share/doc/src/conf.py > >> +++ b/share/doc/src/conf.py > >> @@ -20,9 +20,9 @@ master_doc = "index" > >> > >> nitpicky = True > >> > >> -version = "1.3" > >> +version = "1.4" > >> > >> -release = "1.3.0" > >> +release = "1.4.0" > >> > >> project = u"Apache CouchDB" > >> > >> > >> > > > > > > -- > > Noah Slater > > https://twitter.com/nslater > -- Noah Slater https://twitter.com/nslater --047d7bb0482275f93a04e4dcae85--