[gnome-software] Generate the NEWS file automatically
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Generate the NEWS file automatically
- Date: Tue, 3 Feb 2015 10:10:38 +0000 (UTC)
commit 56e19e78cc9b7e7107f2a725ecd48205e6d02b54
Author: Richard Hughes <richard hughsie com>
Date: Tue Feb 3 10:05:02 2015 +0000
Generate the NEWS file automatically
Makefile.am | 12 +-
NEWS | 944 ------------------------
RELEASE | 3 +-
configure.ac | 1 +
data/appdata/org.gnome.Software.appdata.xml.in | 37 +
5 files changed, 51 insertions(+), 946 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6f40990..f3a496f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,6 +28,7 @@ MAINTAINERCLEANFILES = \
Makefile.in \
missing \
mkinstalldirs \
+ NEWS \
test-driver
EXTRA_DIST = \
@@ -46,6 +47,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
distclean-local:
if test $(srdcir) = .; then :; else \
rm -f ChangeLog; \
+ rm -f NEWS; \
fi
ChangeLog:
@@ -62,6 +64,14 @@ ChangeLog:
echo A git checkout and git-log is required to generate this file >> $@); \
fi
-.PHONY: ChangeLog
+NEWS: data/appdata/*.appdata.xml
+ $(AM_V_GEN) \
+ if test -e $(APPSTREAM_UTIL); then \
+ $(APPSTREAM_UTIL) appdata-to-news $^ > $@; \
+ else \
+ touch $@; \
+ fi
+
+.PHONY: ChangeLog NEWS
-include $(top_srcdir)/git.mk
diff --git a/RELEASE b/RELEASE
index bd32227..4d8c72d 100644
--- a/RELEASE
+++ b/RELEASE
@@ -10,7 +10,8 @@ Released: 2015-xx-xx
* New Features:
* Bugfix:
-git log --format=" - %s (%an)" GNOME_SOFTWARE_3_15_4.. | grep -i -v trivial | grep -v Merge | uniq > NEWS.new
+git log --format="%s" GNOME_SOFTWARE_3_15_4.. | grep -i -v trivial | grep -v Merge | uniq
+Add any user visible changes into data/appdata/org.gnome.Software.appdata.xml.in
3. Commit changes in gnome-software git:
diff --git a/configure.ac b/configure.ac
index 12efab0..0804392 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,7 @@ PKG_CHECK_MODULES(SQLITE, sqlite3)
PKG_CHECK_MODULES(SOUP, libsoup-2.4)
PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, gsettings-desktop-schemas >= 3.11.5)
PKG_CHECK_MODULES(GNOME_DESKTOP, gnome-desktop-3.0)
+AC_PATH_PROG(APPSTREAM_UTIL, [appstream-util], [unfound])
AC_ARG_ENABLE(man,
[AS_HELP_STRING([--enable-man],
[generate man pages [default=auto]])],,
diff --git a/data/appdata/org.gnome.Software.appdata.xml.in b/data/appdata/org.gnome.Software.appdata.xml.in
index 0c94aac..22477c0 100644
--- a/data/appdata/org.gnome.Software.appdata.xml.in
+++ b/data/appdata/org.gnome.Software.appdata.xml.in
@@ -26,6 +26,43 @@
<screenshot width="1200"
height="675">https://git.gnome.org/browse/gnome-software/plain/data/appdata/ss-updates.png</screenshot>
<screenshot width="1200"
height="675">https://git.gnome.org/browse/gnome-software/plain/data/appdata/ss-updates-details.png</screenshot>
</screenshots>
+ <!--
+ Validate with `appstream-util validate *.appdata.xml`
+ Use `date -d "2010-10-02" "+%s"` to get the timestamp.
+ -->
+ <releases>
+ <release version="3.15.4" timestamp="1421625600">
+ <description>
+ <p>This unstable release adds the following features:</p>
+ <ul>
+ <li>Fix searching with very small search terms</li>
+ </ul>
+ <p>This release fixes the following bugs:</p>
+ <ul>
+ <li>Do case-insensitive searching of suitable keywords</li>
+ <li>Fix a crash in the screenshot loader</li>
+ <li>Fix a crash when clicking the back button</li>
+ <li>Fix searching for keyworks with special chars</li>
+ <li>Show an error message when we fail to load details about a local file</li>
+ </ul>
+ </description>
+ </release>
+ <release version="3.15.2" timestamp="1416787200">
+ <description>
+ <p>This unstable release adds the following features:</p>
+ <ul>
+ <li>Show a blurred low-resolution screenshot while loading the HiDPI one</li>
+ </ul>
+ <p>This release fixes the following bugs:</p>
+ <ul>
+ <li>Do not show a random white line above the star rating widget</li>
+ <li>Do not show empty app boxes if no popular results are available</li>
+ <li>Do not try to download local web-app icons</li>
+ <li>Use blue stars for the user-ratings rather than gold</li>
+ </ul>
+ </description>
+ </release>
+ </releases>
<url type="homepage">https://wiki.gnome.org/Design/Apps/Software</url>
<updatecontact>richard_at_hughsie.com</updatecontact>
<compulsory_for_desktop>GNOME</compulsory_for_desktop>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]