1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id B62A66DE13AB
\r
6 for <notmuch@notmuchmail.org>; Mon, 29 Jun 2015 02:46:28 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.366 tagged_above=-999 required=5 tests=[AWL=0.906,
\r
12 RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id D9sPfDctIfHu for <notmuch@notmuchmail.org>;
\r
17 Mon, 29 Jun 2015 02:46:26 -0700 (PDT)
\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
19 by arlo.cworth.org (Postfix) with ESMTP id 6D6FF6DE1343
\r
20 for <notmuch@notmuchmail.org>; Mon, 29 Jun 2015 02:46:26 -0700 (PDT)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id 5BAFD1000F4; Mon, 29 Jun 2015 12:46:03 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Subject: [PATCH] traditional post-release doc text and release-check.sh
\r
27 Date: Mon, 29 Jun 2015 12:45:59 +0300
\r
28 Message-Id: <1435571159-23762-1-git-send-email-tomi.ollila@iki.fi>
\r
29 X-Mailer: git-send-email 2.0.0
\r
30 Cc: tomi.ollila@iki.fi
\r
31 X-BeenThere: notmuch@notmuchmail.org
\r
32 X-Mailman-Version: 2.1.18
\r
34 List-Id: "Use and development of the notmuch mail system."
\r
35 <notmuch.notmuchmail.org>
\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
37 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
39 List-Post: <mailto:notmuch@notmuchmail.org>
\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
43 X-List-Received-Date: Mon, 29 Jun 2015 09:46:28 -0000
\r
45 - added period to the end of the only 0.20.1 news item so that news2wiki
\r
46 will not make it a header line
\r
48 - changed copyright year to 2015 in doc/conf.py
\r
50 - made release-checks.sh to check copyright year in doc/conf.py
\r
52 - made release-check.sh to execute python3 compatible version check code
\r
55 devel/release-checks.sh | 15 +++++++++++++--
\r
57 3 files changed, 15 insertions(+), 4 deletions(-)
\r
59 diff --git a/NEWS b/NEWS
\r
60 index e474e53..e04f4ab 100644
\r
63 @@ -20,7 +20,7 @@ Notmuch 0.20.1 (2015-06-01)
\r
67 -Work around apparent gdb bug on arm64
\r
68 +Work around apparent gdb bug on arm64.
\r
70 Notmuch 0.20 (2015-05-31)
\r
71 =========================
\r
72 diff --git a/devel/release-checks.sh b/devel/release-checks.sh
\r
73 index efd0b34..6591ccd 100755
\r
74 --- a/devel/release-checks.sh
\r
75 +++ b/devel/release-checks.sh
\r
76 @@ -66,7 +66,7 @@ then
\r
80 - append_emsg "Git working directory is not clean (git status --porcelain)."
\r
81 + append_emsg "Git working directory is not clean (git status --porcelain)"
\r
85 @@ -141,7 +141,7 @@ else
\r
88 echo -n "Checking that python bindings version is $VERSION... "
\r
89 -py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print __VERSION__"`
\r
90 +py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"`
\r
91 if [ "$py_version" = "$VERSION" ]
\r
94 @@ -207,6 +207,17 @@ case $news_date in
\r
95 append_emsg "Date '$news_date' in NEWS file is not in format (yyyy-mm-dd)"
\r
98 +year=`exec date +%Y`
\r
99 +echo -n "Checking that copyright line in documentation contains $year... "
\r
100 +copyrightline=`exec grep -n '^copyright *=' doc/conf.py` || :
\r
101 +case $copyrightline in
\r
106 + append_emsg "The copyright in doc/conf.py line $copyrightline does not contain $year"
\r
112 diff --git a/doc/conf.py b/doc/conf.py
\r
113 index 8fbc854..4609bfe 100644
\r
116 @@ -12,7 +12,7 @@ master_doc = 'index'
\r
118 # General information about the project.
\r
119 project = u'notmuch'
\r
120 -copyright = u'2014, Carl Worth and many others'
\r
121 +copyright = u'2015, Carl Worth and many others'
\r
123 location = os.path.dirname(__file__)
\r