[libgdata] Add a DOAP file and auto-generate the ChangeLog
- From: Philip Withnall <pwithnall src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgdata] Add a DOAP file and auto-generate the ChangeLog
- Date: Fri, 17 Apr 2009 06:42:10 -0400 (EDT)
commit b3043e515d0b06d04d640aa0cce14866ba57ff04
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Apr 17 11:40:53 2009 +0100
Add a DOAP file and auto-generate the ChangeLog
Add a DOAP file to give cgit a module description, and convert to
auto-generating the ChangeLog from the git log.
---
ChangeLog | 63 ---------------------------------------------------------
Makefile.am | 26 ++++++++++++++++++++--
libgdata.doap | 16 ++++++++++++++
3 files changed, 39 insertions(+), 66 deletions(-)
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 01d3783..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,63 +0,0 @@
-2009-02-22 Philip Withnall <philip tecnocode co uk>
-
- Improved documentation (README, ChangeLog).
-
-2009-02-21 Philip Withnall <philip tecnocode co uk>
-
- Added support for querying for related videos and fixed a bug parsing
- <yt:statistics/>.
-
-2009-02-20 Philip Withnall <philip tecnocode co uk>
-
- Completed functionality to upload videos to YouTube. There are a few
- elements in the response which are still unparsed, but the tests in
- the suite work.
-
-2009-02-11 Philip Withnall <philip tecnocode co uk>
-
- Removed generated file.
-
-2009-01-25 Philip Withnall <philip tecnocode co uk>
-
- Initial support for inserting entries, mainly adding functionality to
- serialise GDataEntry and GDataYouTubeVideo to XML.
-
-2009-01-24 Philip Withnall <philip tecnocode co uk>
-
- Converted all async functions to use GAsyncResult, and implemented
- overridden versions for YouTubeVideo. Added testcases, and generally
- made sure all current async functionality works nicely.
-
- Fixed a small bug when parsing <media:credit> elements.
-
-2009-01-24 Philip Withnall <philip tecnocode co uk>
-
- Consolidated the MediaGroup classes into YouTubeVideo, since that was
- the only class which would ever use them.
-
-2009-01-23 Philip Withnall <philip tecnocode co uk>
-
- Redesigned how feeds are parsed such that there is no longer any need
- for public setters, and there should be fewer memcpys.
-
-2009-01-23 Philip Withnall <philip tecnocode co uk>
-
- Added mostly-complete support for video comments.
-
-2009-01-22 Philip Withnall <philip tecnocode co uk>
-
- Cleaned up parsing of numbers a little, and cleaned up parsing error
- handling. Also tidied up feed creation, and removed the now-redundant
- GDataYouTubeVideoFeed object.
-
-2009-01-22 Philip Withnall <philip tecnocode co uk>
-
- Added basic async support, and greatly expanded the parsing code such
- that almost all of a typical YouTube GData query is now parsed into
- datastructures.
-
-2009-01-03 Philip Withnall <philip tecnocode co uk>
-
- Initial commit, with basic functional queries for YouTube and the
- generic GData API. No async support, and limited support for lots
- of the XML elements.
diff --git a/Makefile.am b/Makefile.am
index 54da1ec..6a23f07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
SUBDIRS = gdata po docs
-EXTRA_DIST = \
+EXTRA_DIST = \
COPYING.LIB \
autogen.sh \
intltool-extract.in \
@@ -12,10 +12,30 @@ EXTRA_DIST = \
CLEANFILES = gdata.pc
-DISTCLEANFILES = intltool-extract intltool-merge intltool-update \
- gnome-doc-utils.make gtk-doc.make
+DISTCLEANFILES = \
+ intltool-extract \
+ intltool-merge \
+ intltool-update \
+ gnome-doc-utils.make \
+ gtk-doc.make
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgdata.pc
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc
+
+# ChangeLog
+ChangeLog:
+ @echo Creating $@
+ @if test -d "$(srcdir)/.git"; then \
+ (GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat) | fmt --split-only > $ tmp \
+ && mv -f $ tmp $@ \
+ || ($(RM) $ tmp; \
+ echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
+ (test -f $@ || echo git-log is required to generate this file >> $@)); \
+ else \
+ test -f $@ || \
+ (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
+ echo A git checkout and git-log is required to generate this file >> $@); \
+ fi
+.PHONY: ChangeLog
diff --git a/libgdata.doap b/libgdata.doap
new file mode 100644
index 0000000..4dc43e7
--- /dev/null
+++ b/libgdata.doap
@@ -0,0 +1,16 @@
+<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:gnome="http://api.gnome.org/doap-extensions#"
+ xmlns="http://usefulinc.com/ns/doap#">
+ <name xml:lang="en">libgdata</name>
+ <shortdesc xml:lang="en">GLib-based library for accessing online service APIs using the GData protocol</shortdesc>
+ <homepage rdf:resource="http://live.gnome.org/libgdata/" />
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Philip Withnall</foaf:name>
+ <foaf:mbox rdf:resource="philip tecnocode co uk" />
+ <gnome:userid>pwithnall</gnome:userid>
+ </foaf:Person>
+ </maintainer>
+</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]