[PATCH 1/1] devel/release-checks.sh: check PROJECT_NAME in doxygen.cfg
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 6 Jan 2014 09:21:56 +0000 (11:21 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:58:54 +0000 (09:58 -0800)
c4/fb2c221deb178fd88b6449239dcf81521d1780 [new file with mode: 0644]

diff --git a/c4/fb2c221deb178fd88b6449239dcf81521d1780 b/c4/fb2c221deb178fd88b6449239dcf81521d1780
new file mode 100644 (file)
index 0000000..23d00cb
--- /dev/null
@@ -0,0 +1,81 @@
+Return-Path: <too@guru-group.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 73FA9431FC2\r
+       for <notmuch@notmuchmail.org>; Mon,  6 Jan 2014 01:22:08 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 7G8Zk65moNrf for <notmuch@notmuchmail.org>;\r
+       Mon,  6 Jan 2014 01:22:04 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id EF318431FBF\r
+       for <notmuch@notmuchmail.org>; Mon,  6 Jan 2014 01:22:03 -0800 (PST)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id 06FC9100063; Mon,  6 Jan 2014 11:21:58 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/1] devel/release-checks.sh: check PROJECT_NAME in\r
+ doxygen.cfg\r
+Date: Mon,  6 Jan 2014 11:21:56 +0200\r
+Message-Id: <1389000116-16702-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 1.8.0\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 06 Jan 2014 09:22:08 -0000\r
+\r
+Check that PROJECT_NAME configuration option in doxygen.cfg equals\r
+"Notmuch $VERSION" in devel/release-checks.sh.\r
+---\r
+\r
+Note that release-checks.sh is not yet able to parse the doxygen-generated\r
+namual pages in man/man3... Decision how to handle those is to be made\r
+later...\r
+\r
+ devel/release-checks.sh | 13 +++++++++++++\r
+ 1 file changed, 13 insertions(+)\r
+\r
+diff --git a/devel/release-checks.sh b/devel/release-checks.sh\r
+index 8938905..0585f68 100755\r
+--- a/devel/release-checks.sh\r
++++ b/devel/release-checks.sh\r
+@@ -236,6 +236,19 @@ do\r
+ done\r
+ echo $man_pages_ok.\r
\r
++doxygen_notmuch_version="\"Notmuch $VERSION\""\r
++doxyfile=devel/doxygen.cfg\r
++echo -n "Checking that $doxyfile PROJECT_NAME is $doxygen_notmuch_version... "\r
++doxygen_project_name=`sed -n '/^PROJECT_NAME/ { s/^[^"]*//p; q;}' $doxyfile`\r
++if [ "$doxygen_project_name" = "$doxygen_notmuch_version" ]\r
++then\r
++      echo Yes.\r
++else\r
++      append_emsg "PROJECT_NAME '$doxygen_project_name' is not '$doxygen_notmuch_version' in '$doxyfile'"\r
++      echo No.\r
++fi\r
++\r
++\r
+ if [ -n "$emsgs" ]\r
+ then\r
+       echo\r
+-- \r
+1.8.4.2\r
+\r