From: Joey Hess <joey@gnu.kitenet.net>
Date: Tue, 23 Dec 2008 22:13:57 +0000 (-0500)
Subject: Add deprecation warning for GlobLists, which will stop working in 3.0.
X-Git-Tag: 2.72~9
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/c8cde4858eb8b1d0356b32f3b3ec1f6e8d38aec3

Add deprecation warning for GlobLists, which will stop working in 3.0.
---

diff --git a/IkiWiki.pm b/IkiWiki.pm
index 6747a3ba4..a81e34c3d 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1597,6 +1597,8 @@ sub rcs_receive () {
 }
 
 sub globlist_to_pagespec ($) {
+	print STDERR "warning: deprecated GlobList style PageSpec \"$_[0]\" will stop working in ikiwiki version 3.0\n";
+
 	my @globlist=split(' ', shift);
 
 	my (@spec, @skip);
diff --git a/debian/changelog b/debian/changelog
index ce3949436..2c8931735 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ikiwiki (2.72) UNRELEASED; urgency=low
 
   * Avoid comments in recentchanges being broken links (smcv)
+  * Add deprecation warning for GlobLists, which will stop working in 3.0.
 
  -- Joey Hess <joeyh@debian.org>  Mon, 22 Dec 2008 19:02:16 -0500