FYI, switching from transifex to the translationproject.org

Jim Meyering jim at meyering.net
Thu Dec 8 15:09:00 UTC 2011


Jim Meyering wrote:
> Just a quick heads-up:
>
> With our current bootstrap-driven .po-file downloading process, you must
> have an account with transifex.net in order to build from a just-cloned
> git repository.  IMHO, that is unacceptable.  Having an account is a
> must when uploading a new .POT file, but downloading?  That imposes too
> high a barrier.
>
> As a result, I'm setting up to pull .po files from translationproject.org,
> which permits .po-file download via anonymous rsync.
>
> This is just an FYI, for those few who build from cloned sources:
> You needn't register with transifex.  I will adjust bootstrap today
> or tomorrow.  In the mean time, you can use ./bootstrap's --skip-po
> option, but realize that with that, "make distcheck" has to fail.
> Not surprisingly, since without .po files you cannot make a complete
> release tarball.

This completes the transition.
Now, when you run bootstrap, .po files are pulled via anonymous rsync from
translationproject.org, rather than from transifex (requiring an account).

>From 114d8d06aad6511722e17d79a6ca18e8e607de5f Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Thu, 8 Dec 2011 15:49:47 +0100
Subject: [PATCH] po: switch from transifex to translationproject.org

* bootstrap.conf: Remove transifex-related hooks.
* po/LINGUAS: Remove from version control.  Generated.
* .gitignore: Ignore generated files in po/
---
 .gitignore     |   21 +++++++++++++++++++++
 bootstrap.conf |   13 -------------
 po/LINGUAS     |    5 -----
 3 files changed, 21 insertions(+), 18 deletions(-)
 delete mode 100644 po/LINGUAS

diff --git a/.gitignore b/.gitignore
index 0594918..d034914 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,27 @@
 /man/iwhd.8
 /parser-test
 /parser-test.c
+/po/*.gmo
+/po/*.po
+/po/.gitignore
+/po/.reference
+/po/LINGUAS
+/po/Makefile.in
+/po/Makefile.in.in
+/po/Makevars
+/po/Makevars.template
+/po/POTFILES
+/po/Rules-quot
+/po/boldquot.sed
+/po/checksums
+/po/en at boldquot.header
+/po/en at quot.header
+/po/insert-header.sin
+/po/iwhd.pot
+/po/quot.sed
+/po/remove-potcdate.sed
+/po/remove-potcdate.sin
+/po/stamp-po
 /qlexer.c
 /qparser.c
 /qparser.h
diff --git a/bootstrap.conf b/bootstrap.conf
index 033f25f..aed649c 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -141,16 +141,3 @@ bootstrap_epilogue()
 EOF
   chmod u-w $m
 }
-
-# Set up to run "tx".  This is rather obtuse because, at least with tx from
-# the transifex-client-0.5.2-1 package, there is no way to tell it to download
-# .po files to po/.reference/.  To get that effect, we create po/po as a
-# symlink to the dest. directory and run tx from ./po.  But to do that, tx
-# requires a .tx/config directory, so we create a .tx directory and symlink
-# the top-level config file into it.
-mkdir -p po/.reference po/.tx
-touch po/.reference/x.po
-rm -f po/po po/.reference/*.po po/.tx/config
-ln -s .reference po/po
-ln -s ../../.tx/config po/.tx
-po_download_command_format='(cd po && tx pull -a)'
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644
index d0b8340..0000000
--- a/po/LINGUAS
+++ /dev/null
@@ -1,5 +0,0 @@
-es
-fr_FR
-ja
-ru
-uk
--
1.7.8.110.g4cb5d1


More information about the iwhd-devel mailing list