[banshee] Update the create-release-notes script



commit 5ca610f30a1470f980c628cf53117116eb711927
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Fri May 13 00:04:50 2011 +0200

    Update the create-release-notes script

 extras/create-release-notes |   58 ++++++++++++++++++------------------------
 1 files changed, 25 insertions(+), 33 deletions(-)
---
diff --git a/extras/create-release-notes b/extras/create-release-notes
index d4a67f6..e523756 100755
--- a/extras/create-release-notes
+++ b/extras/create-release-notes
@@ -8,11 +8,10 @@ while (my $line = readline(IN)) {
 close (IN);
 
 # Parse various bits out of NEWS
-$news =~ m/WELCOME TO BANSHEE ([\S]+) -/ms;     $version = $1;
-$news =~ m/Released ([^\n]+)$/ms;               $release_date = $1;
-$news =~ m/banshee\/([^\/]+)\/$version/ms;      $stable = $1;
+$news =~ m/Banshee ([\S]+) - ([^\n]+)$/ms;                $version = $1; $release_date = $2;
+$version =~ m/(\d+\.\d+)\./; $series = $1;
 
-$news =~ m/NEW AWESOME [^\n]+\n[^\n]+\n(.+)New Features Since [^:]+:(.+)Enhancements/ms;
+$news =~ m/[=]+\n\n(.+)New Features[^:]*:(.+)Enhancements/ms;
 $desc = $1;
 
 $features = $2;
@@ -22,24 +21,23 @@ $news =~ m/Enhancements:(.+)Notable Bugs/ms;
 $enhancements = $1;
 $enhancements =~ s/ \*/ <li>/g;
 
-$news =~ m/Notable Bugs Fixed \(([^\)]+)\):\n([^=]+)==/ms;
+$news =~ m/Notable Bugs Fixed \(([^\)]+)\):\n([^=]+)\n\n/ms;
 $bugs_since = $1;
 $bugs = $2;
 $bugs =~ s! bgo#(\d+): ([^\n]+)\n! <a href="http://bugzilla.gnome.org/show_bug.cgi?id=$1";>bgo#$1</a>: $2\n!g;
 $bugs =~ s/ \*/ <li>/g;
 
-$news =~ m/there would be no release!(.+)The following people.+much more limited.(.+)Contributors In Pas.+--\n(.+)/ms;
+$news =~ m/there would be no release!(.+)The following people.+much more limited.(.+)/ms;
 $contributors = $1;
 $translators = $2;
-$all_contributors = $3;
 
 $html = <<END;
 <ul>
 	<li><strong>Release Date:</strong> $release_date</li>
-	<li><strong>Source Tarball:</strong> <a href="http://download.banshee-project.org/banshee/$stable/$version/banshee-$version.tar.bz2";>banshee-$version.tar.bz2</a></li>
+	<li><strong>Source Tarball:</strong> <a href="http://ftp.gnome.org/pub/GNOME/sources/banshee/$series/banshee-$version.tar.bz2";>banshee-$version.tar.bz2</a></li>
 	<li><strong>Release Information:</strong>
-<a href="http://download.banshee-project.org/banshee/$stable/$version/banshee-$version.news";>NEWS</a>,
-<a href="http://download.banshee-project.org/banshee/$stable/$version/banshee-$version.sha256sum";>sha256sum</a></li>
+<a href="http://ftp.gnome.org/pub/GNOME/sources/banshee/$series/banshee-$version.news";>NEWS</a>,
+<a href="http://ftp.gnome.org/pub/GNOME/sources/banshee/$series/banshee-$version.sha256sum";>sha256sum</a></li>
 </ul>
 <p style="margin-left: 1.5em"><a href="/download"><img title="Download the latest Banshee!" src="/theme/css/images/download-button.png" alt="Download Now" /></a></p>
 
@@ -60,27 +58,20 @@ $features
 
 <h4>Banshee has a lot more to offer! Check out the previous major release notes...</h4>
 <ul>
-	<li><a href="/download/archives/1.9.2">Read about features added in Banshee 1.9.2</a></li>
-	<li><a href="/download/archives/1.9.1">Read about features added in Banshee 1.9.1</a></li>
-	<li><a href="/download/archives/1.9.0">Read about features added in Banshee 1.9.0</a></li>
+	<li><a href="/download/archives/2.0.0">Read about features added in Banshee 2.0.0</a></li>
 	<li><a href="/download/archives/1.8.0">Read about features added in Banshee 1.8.0</a></li>
-	<li><a href="/download/archives/1.7.6">Read about features added in Banshee 1.7.6</a></li>
-	<li><a href="/download/archives/1.7.5">Read about features added in Banshee 1.7.5</a></li>
-	<li><a href="/download/archives/1.7.4">Read about features added in Banshee 1.7.4</a></li>
-	<li><a href="/download/archives/1.7.3">Read about features added in Banshee 1.7.3</a></li>
-	<li><a href="/download/archives/1.7.2">Read about features added in Banshee 1.7.2</a></li>
-	<li><a href="/download/archives/1.7.1">Read about features added in Banshee 1.7.1</a></li>
-	<li><a href="/download/archives/1.7.0">Read about features added in Banshee 1.7.0</a></li>
 	<li><a href="/download/archives/1.6.0">Read about features added in Banshee 1.6.0</a></li>
+	<li><a href="/download/archives/1.4.0">Read about features added in Banshee 1.4.0</a></li>
 </ul>
 <h3>Dependencies</h3>
 <ul>
-	<li>Mono 1.9.1 (.NET 2.0 Profile / gmcs)</li>
+	<li>Mono 2.4.3 (.NET 2.0 Profile / gmcs)</li>
 	<li>SQlite 3.4</li>
-	<li>Gtk# 2.12</li>
-	<li>GStreamer 0.10.13</li>
-	<li>NDesk DBus (ndesk-dbus) 0.5</li>
-	<li>NDesk DBus GLib (ndesk-dbus-glib) 0.3</li>
+	<li>Gtk# 2.12.10</li>
+	<li>GStreamer 0.10.26</li>
+	<li>GLib 2.22</li>
+	<li>dbus-sharp 0.7</li>
+	<li>dbus-sharp-glib 0.5</li>
 	<li>Mono.Addins (mono-addins) 0.3.1</li>
 	<li>TagLib# (taglib-sharp) &gt;= 2.0.3.7</li>
 	<li>Required to build default feature stack:
@@ -88,18 +79,19 @@ $features
 	<li>libmtp &gt;= 0.2.0</li>
 	<li>mono-zeroconf &gt;= 0.8.0</li>
 	<li>boo &gt;= 0.8.1</li>
-    <li>webkit-1.0 &gt;= 1.2.2</li>
-    <li>gdata-sharp &gt;= 1.4</li>
-    <li>glib &gt;= 2.22, gio-sharp &gt;= 2.22.2, gtk-sharp-beans &gt;= 2.14.1, gudev-sharp and gkeyfile-sharp</li>
-    <li>libgpod-sharp &gt;= 0.7.95</li>
+	<li>webkit-1.0 &gt;= 1.2.2</li>
+	<li>gdata-sharp-youtube &gt;= 1.4</li>
+	<li>gio-sharp &gt;= 2.22.2, gtk-sharp-beans &gt;= 2.14.1, gudev-sharp and gkeyfile-sharp</li>
+	<li>libgpod-sharp &gt;= 0.7.95</li>
 </ul>
 </li>
 	<li>Run-time requirements for default feature stack:
 <ul>
-	<li>GIO/udev</li>
-    <li>Brasero &gt;= 0.8.1</li>
+	<li>udev</li>
+	<li>media-player-info</li>
+	<li>Brasero &gt;= 0.8.1</li>
 	<li>Avahi</li>
-    <li>gst-plugins-bad (providing the bpmdetect GStreamer plugin)</li>
+	<li>gst-plugins-bad (providing the bpmdetect GStreamer plugin)</li>
 </ul>
 </li>
 </ul>
@@ -116,7 +108,7 @@ The following people contributed updated translations to this release.    Withou
 </blockquote>
 <h4>Contributors In Past Releases</h4>
 <blockquote>
-    $all_contributors
+    
 </blockquote>
 <h4>Reporting Bugs, Joining the Community</h4>
 If you encounter any bad behavior with this release, please do not hesitate to <a href="/contribute/file-bugs/">file bugs</a>!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]