Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 30 / 6108b06eecaf95a0a75bea27d7c69b6ccf3c8c
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 14BF2431FAF\r
6         for <notmuch@notmuchmail.org>; Wed,  7 May 2014 12:33:53 -0700 (PDT)\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 NedASPoXttuT for <notmuch@notmuchmail.org>;\r
16         Wed,  7 May 2014 12:33:49 -0700 (PDT)\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 94E0E431FAE\r
19         for <notmuch@notmuchmail.org>; Wed,  7 May 2014 12:33:49 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 77AB11000F2; Wed,  7 May 2014 22:33:40 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: notmuch@notmuchmail.org\r
24 Subject: [PATCH 1/1] devel: news2wiki to recognize yyyy-mm-dd or UNRELEASED as\r
25         release date\r
26 Date: Wed,  7 May 2014 22:33:38 +0300\r
27 Message-Id: <1399491218-21155-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: Wed, 07 May 2014 19:33:53 -0000\r
43 \r
44 The yyyy-mm-dd (actually \d\d\d\d-\d\d-\d\d) for a bit more restrictive\r
45 (and self-documentative) than the \w\w\w\w-... that used to be there and\r
46 UNRELEASED so that developers can test the latest NEWS converted to mdwn\r
47 format before submitting NEWS patches.\r
48 ---\r
49  devel/news2wiki.pl | 3 +--\r
50  1 file changed, 1 insertion(+), 2 deletions(-)\r
51 \r
52 diff --git a/devel/news2wiki.pl b/devel/news2wiki.pl\r
53 index 8066ba7..d966bab 100755\r
54 --- a/devel/news2wiki.pl\r
55 +++ b/devel/news2wiki.pl\r
56 @@ -32,8 +32,7 @@ while (<I>)\r
57  {\r
58      warn "$ARGV[0]:$.: tab(s) in line!\n" if /\t/;\r
59      warn "$ARGV[0]:$.: trailing whitespace\n" if /\s\s$/;\r
60 -    # The date part in regex recognizes wip version dates like: (201x-xx-xx).\r
61 -    if (/^Notmuch\s+(\S+)\s+\((\w\w\w\w-\w\w-\w\w)\)\s*$/) {\r
62 +    if (/^Notmuch\s+(\S+)\s+\((\d\d\d\d-\d\d-\d\d|UNRELEASED)\)\s*$/) {\r
63         # open O... autocloses previously opened file.\r
64         open O, '>', "$ARGV[1]/release-$1.mdwn" or die $!;\r
65         print "+ release-$1.mdwn...\n";\r
66 -- \r
67 1.9.0\r
68 \r