[gnome-multi-writer] Generate the NEWS file automatically



commit 4849f3000d4c4e95129fa76aaa3b13488aff133a
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jan 21 10:39:59 2015 +0000

    Generate the NEWS file automatically

 Makefile.am                                       |   13 ++++-
 NEWS                                              |   68 ---------------------
 configure.ac                                      |    1 +
 data/appdata/org.gnome.MultiWriter.appdata.xml.in |   60 ++++++++++++++++++
 4 files changed, 73 insertions(+), 69 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5ddd62a..b719f3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,12 +33,14 @@ MAINTAINERCLEANFILES =                                      \
        $(srcdir)/mkinstalldirs                         \
        $(srcdir)/omf.make                              \
        $(srcdir)/ChangeLog                             \
+       $(srcdir)/NEWS                                  \
        $(srcdir)/gnome-multi-writer-*.tar.*            \
        `find "$(srcdir)" -type f -name Makefile.in -print`
 
 distclean-local:
        if test $(srdcir) = .; then :; else \
                rm -f ChangeLog; \
+               rm -f NEWS; \
        fi
 
 ChangeLog:
@@ -55,6 +57,15 @@ ChangeLog:
          echo A git checkout and git-log is required to generate this file >> $@); \
        fi
 
-.PHONY: ChangeLog
+NEWS: data/appdata/org.gnome.MultiWriter.appdata.xml
+       $(AM_V_GEN) \
+       if test -e $(APPSTREAM_UTIL); then \
+               echo $^; \
+               $(APPSTREAM_UTIL) appdata-to-news $^ > $@; \
+       else \
+               touch $@; \
+       fi
+
+.PHONY: ChangeLog NEWS
 
 -include $(top_srcdir)/git.mk
diff --git a/configure.ac b/configure.ac
index 8e99aa0..98ae409 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,7 @@ PKG_CHECK_MODULES(GUSB, gusb >= 0.2.2)
 PKG_CHECK_MODULES(UDISKS, udisks2)
 PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.11.2)
 PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= 0.10)
+AC_PATH_PROG(APPSTREAM_UTIL, [appstream-util], [unfound])
 
 dnl ---------------------------------------------------------------------------
 dnl - Is docbook2man available?
diff --git a/data/appdata/org.gnome.MultiWriter.appdata.xml.in 
b/data/appdata/org.gnome.MultiWriter.appdata.xml.in
index f757132..f3cdb0f 100644
--- a/data/appdata/org.gnome.MultiWriter.appdata.xml.in
+++ b/data/appdata/org.gnome.MultiWriter.appdata.xml.in
@@ -57,6 +57,66 @@
       <_caption>All devices have been written</_caption>
     </screenshot>
   </screenshots>
+  <!--
+   Unstable releases: Untranslated
+   Stable releases:   Translated, but only include user-visible changes.
+                      ASK YOURSELF: Does the end user really need to know this?
+
+   Validate with `appstream-util validate foo.appdata.xml`
+   Use `date -d "2010-10-02" "+%s"` to get the timestamp.
+  -->
+  <releases>
+    <release version="3.15.4" timestamp="1390089600">
+     <description>
+        <p>This unstable release fixes the following bugs:</p>
+        <ul>
+          <li>Add quirks for the 36 port MegaHub</li>
+          <li>Don't proceed to the copy phase if unmounting failed</li>
+          <li>Never use the USB platform ID for the hub label</li>
+          <li>Support root hubs with bus numbers greater than 8</li>
+          <li>Unmount all partitions when a device is inserted</li>
+        </ul>
+        <p>This release also adds the following new feature:</p>
+        <ul>
+          <li>Show the size next to the device name when the device is idle</li>
+        </ul>
+      </description>
+    </release>
+    <release version="3.15.2" timestamp="1389225600">
+     <description>
+        <p>This unstable release fixes the following bugs:</p>
+        <ul>
+          <li>Queue the device writes according to the connected root hub</li>
+          <li>Show ten devices per column to better use the space</li>
+          <li>Unmount filesystems before starting to copy</li>
+        </ul>
+        <p>This release also adds the following new feature:</p>
+        <ul>
+          <li>Reads and writes are now spread over root hubs to increase throughput</li>
+          <li>Completely wipe devices by default</li>
+          <li>Make the verification and wipe optional</li>
+          <li>Show a warning dialog before copying for the first time</li>
+          <li>Show some global read/write stats in the title bar</li>
+        </ul>
+      </description>
+    </release>
+    <release version="3.15.1" timestamp="1388880000">
+     <description>
+        <p>This initial release fixes the following bugs:</p>
+        <ul>
+          <li>Show the USB connection address in the UI</li>
+          <li>Use a progressbar and smaller icons in the main UI</li>
+        </ul>
+        <p>This release also adds the following new feature:</p>
+        <ul>
+          <li>Copy an ISO image to an unlimited number of devices</li>
+          <li>Inhibit suspend when copying data</li>
+          <li>Play a sound when all the images have been written</li>
+          <li>Show an image when there are no suitable drives plugged in</li>
+        </ul>
+      </description>
+    </release>
+  </releases>
   <url type="homepage">https://wiki.gnome.org/Apps/MultiWriter</url>
   <url type="bugtracker">https://bugzilla.gnome.org/browse.cgi?product=gnome-multi-writer</url>
   <update_contact>richard_at_hughsie.com</update_contact>


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