[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun ChangeLog GNUmakef...
From: |
Yavor Doganov |
Subject: |
trans-coord/gnun/server/gnun ChangeLog GNUmakef... |
Date: |
Sat, 23 May 2009 13:32:16 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Yavor Doganov <yavor> 09/05/23 13:32:16
Modified files:
gnun/server/gnun: ChangeLog GNUmakefile.team NEWS TODO
gnun/server/gnun/doc: gnun.texi
Log message:
Add support for GNU Arch repositories.
* GNUmakefile.team (TLA): New variable.
(REPO): Add a test for Arch.
(VERBOSE): Print the repository.
(update, sync): Add conditional commands for Arch.
* doc/gnun.texi (GNUmakefile.team Variables): Add Arch as
supported VCS. Explain that committing commits all changes.
* NEWS: Update. Add missing entries.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.149&r2=1.150
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile.team?cvsroot=trans-coord&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/TODO?cvsroot=trans-coord&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/gnun.texi?cvsroot=trans-coord&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -b -r1.149 -r1.150
--- ChangeLog 22 May 2009 19:18:39 -0000 1.149
+++ ChangeLog 23 May 2009 13:32:15 -0000 1.150
@@ -1,3 +1,14 @@
+2009-05-23 Yavor Doganov <address@hidden>
+
+ Add support for GNU Arch repositories.
+ * GNUmakefile.team (TLA): New variable.
+ (REPO): Add a test for Arch.
+ (VERBOSE): Print the repository.
+ (update, sync): Add conditional commands for Arch.
+ * doc/gnun.texi (GNUmakefile.team Variables): Add Arch as
+ supported VCS. Explain that committing commits all changes.
+ * NEWS: Update. Add missing entries.
+
2009-05-22 Yavor Doganov <address@hidden>
* doc/gnun.texi (PO Files): Add Lokalize to the list of PO
Index: GNUmakefile.team
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile.team,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- GNUmakefile.team 25 Feb 2009 22:42:20 -0000 1.4
+++ GNUmakefile.team 23 May 2009 13:32:15 -0000 1.5
@@ -27,6 +27,7 @@
# GNU gettext >= 0.16
# CVS
# Subversion (if the www-LANG repository is SVN)
+# GNU Arch (if the www-LANG repository is Arch)
SHELL = /bin/bash
@@ -42,17 +43,21 @@
MSGFMT := msgfmt
CVS := cvs
SVN := svn
+# Baz can be used alternatively; its commands are compatible.
+TLA := tla
translations := $(shell find -name '*.$(TEAM).po' | sort)
# Determine the VCS.
-REPO := $(shell (test -d CVS && echo CVS) || (test -d .svn && echo SVN))
+REPO := $(shell (test -d CVS && echo CVS) || (test -d .svn && echo SVN) \
+ || (test -d \{arch\} && echo Arch))
ifndef REPO
$(error Unsupported Version Control System)
endif
# For those who love details.
ifdef VERBOSE
+$(info Repository: $(REPO))
$(info translations = $(translations))
MSGMERGEVERBOSE := --verbose
ECHO := echo $$file: ;
@@ -83,8 +88,10 @@
cd $(wwwdir) && $(cvs-update)
ifeq ($(REPO),CVS)
$(cvs-update)
-else
+else ifeq ($(REPO),SVN)
$(svn-update)
+else ifeq ($(REPO),Arch)
+ $(TLA) update
endif
else
$(info Repositories were not updated, you might want "make VCS=yes".)
@@ -101,8 +108,14 @@
ifeq ($(VCS),yes)
ifeq ($(REPO),CVS)
$(CVS) commit -m "Automatic merge from the master repository."
-else
+else ifeq ($(REPO),SVN)
$(SVN) commit -m "Automatic merge from the master repository."
+else ifeq ($(REPO),Arch)
+# Arch is so dumb that it will do a bogus commit (adding another
+# absolutely useless revision) even if there are no changes.
+# Fortunately, the exit status of `tla changes' is sane.
+ $(TLA) changes >/dev/null || $(TLA) commit -s \
+ "Automatic merge from the master repository."
endif
endif
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- NEWS 19 May 2009 22:02:51 -0000 1.11
+++ NEWS 23 May 2009 13:32:15 -0000 1.12
@@ -3,6 +3,24 @@
* Changes in GNUnited Nations 0.3 (2009-??-??)
** GNU gettext >= 0.16 is required for `msgmerge --previous' support.
+ This feature copies the entire old string above the new `msgid',
+ enabling translators to compare what precisely changed in the
+ original. Currently, it is not very useful for large messages as
+ it is hard to detect a small change in a long paragraph. Po4a 0.36
+ comes with an example script `compare-msgids.pl' which can be used
+ to print the differences in wdiff format. A separate GNUN program
+ with better output is planned for the very near future.
+
+** Improved configuration.
+ The `configure' tests have been improved, and a short summary with
+ enabled/disabled features is printed at the end.
+
+** Notifications are sent about errors during POT generation.
+ If NOTIFY is enabled, errors from the .pot files generation are
+ mailed to `web-addr' (i.e. www-discuss for the official build).
+ Usually they are about non-ASCII characters in the original .html.
+
+** GNUmakefile.team supports GNU Arch repositories.
** Bugs fixed in 0.3.
Index: TODO
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/TODO,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- TODO 30 Apr 2009 15:10:59 -0000 1.30
+++ TODO 23 May 2009 13:32:15 -0000 1.31
@@ -58,7 +58,7 @@
* Non-essential
-** Implement Arch, Bzr, Hg and Git support for GNUmakefile.team.
+** Implement Bzr, Hg and Git support for GNUmakefile.team.
** Implement a `report' target that would be language specific and will
output the state of all files for a language team, and extended
Index: doc/gnun.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/gnun.texi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- doc/gnun.texi 22 May 2009 19:18:40 -0000 1.6
+++ doc/gnun.texi 23 May 2009 13:32:16 -0000 1.7
@@ -1444,8 +1444,13 @@
Update both `www' and address@hidden' repositories, then commit the
merged PO files in the latter repository. By default, there is no VCS
interaction. The VCS of the translation project repository is
-determined automatically; currently only CVS and Subversion repositories
-are supported.
+determined automatically; currently only CVS, Subversion and
address@hidden Arch repositories are supported.
+
address@hidden:} The makefile rule will commit all local changes, not
+only those that resulted from running @command{msgmerge}. Thus, it is
+better to use a separate working copy dedicated solely for this
+purpose.
@end table
@unnumberedsubsubsec Targets in @file{GNUmakefile.team}