Re: [PATCH v3 0/6] Make Emacs search use sexp format
[notmuch-archives.git] / 83 / faba0d68b38cb8eecd616aa7f8eeab6b2e7b59
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 olra.theworths.org (Postfix) with ESMTP id 8472D431FBD\r
6         for <notmuch@notmuchmail.org>; Fri, 18 Jan 2013 18:13:35 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id tJdU2PRj7Tmz for <notmuch@notmuchmail.org>;\r
16         Fri, 18 Jan 2013 18:13:34 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id EE959431FAF\r
19         for <notmuch@notmuchmail.org>; Fri, 18 Jan 2013 18:13:33 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id B12B0100044; Sat, 19 Jan 2013 04:13:21 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: notmuch@notmuchmail.org\r
24 Subject: [PATCH 1/1] devel/release-checks.sh: version string problem does not\r
25         halt execution\r
26 Date: Sat, 19 Jan 2013 04:13:17 +0200\r
27 Message-Id: <1358561597-4241-1-git-send-email-tomi.ollila@iki.fi>\r
28 X-Mailer: git-send-email 1.8.0\r
29 Cc: tomi.ollila@iki.fi\r
30 X-BeenThere: notmuch@notmuchmail.org\r
31 X-Mailman-Version: 2.1.13\r
32 Precedence: list\r
33 List-Id: "Use and development of the notmuch mail system."\r
34         <notmuch.notmuchmail.org>\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
36         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
38 List-Post: <mailto:notmuch@notmuchmail.org>\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
42 X-List-Received-Date: Sat, 19 Jan 2013 02:13:35 -0000\r
43 \r
44 Version string has strict format requirements in release-check.sh:\r
45 only numbers and periods (in sane order) are accepted.\r
46 Mismatch there used to halt further execution.\r
47 In this case, checking versions like '*~rc1' for (more) problems\r
48 was not possible.\r
49 This 'fatal error' is now changed buffered error message like in\r
50 following tests, and is displayed at the end of execution.\r
51 ---\r
52  devel/release-checks.sh | 9 ++++-----\r
53  1 file changed, 4 insertions(+), 5 deletions(-)\r
54 \r
55 diff --git a/devel/release-checks.sh b/devel/release-checks.sh\r
56 index e1d19f2..d2bbc6a 100755\r
57 --- a/devel/release-checks.sh\r
58 +++ b/devel/release-checks.sh\r
59 @@ -53,12 +53,13 @@ fi < ./version\r
60  \r
61  readonly VERSION\r
62  \r
63 +# In the rest of this file, tests collect list of errors to be fixed\r
64 +\r
65  verfail ()\r
66  {\r
67         echo No.\r
68 -       echo "$@"\r
69 -       echo "Please follow the instructions in RELEASING to choose a version"\r
70 -       exit 1\r
71 +       append_emsg "$@"\r
72 +       append_emsg "  Please follow the instructions in RELEASING to choose a version"\r
73  }\r
74  \r
75  echo -n "Checking that '$VERSION' is good with digits and periods... "\r
76 @@ -73,8 +74,6 @@ case $VERSION in\r
77  esac\r
78  \r
79  \r
80 -# In the rest of this file, tests collect list of errors to be fixed\r
81 -\r
82  echo -n "Checking that this is Debian package for notmuch... "\r
83  read deb_notmuch deb_version rest < debian/changelog\r
84  if [ "$deb_notmuch" = 'notmuch' ]\r
85 -- \r
86 1.8.0.2\r
87 \r