[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bootstrap: discard non translation project po files
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] bootstrap: discard non translation project po files |
Date: |
Tue, 6 Jul 2010 21:12:13 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
Hi Pádraig,
* Pádraig Brady wrote on Tue, Jul 06, 2010 at 11:02:06AM CEST:
> >From 3c537222dd86cdd62f21e085f0a8c43d6fc9707c Mon Sep 17 00:00:00 2001
> From: =?utf-8?q?P=C3=A1draig=20Brady?= <address@hidden>
> Date: Tue, 6 Jul 2010 10:00:05 +0100
> Subject: [PATCH] bootstrap: discard non translation project po files
>
> * build-aux/bootstrap (update_po_files): Remove any
> local only files from the $po_dir/.reference directory.
> The LINGUAS index is generated from this directory
> and so those translations will not be distributed.
> Note, local only translations are not removed from the
> $po_dir directory.
> --- a/build-aux/bootstrap
> +++ b/build-aux/bootstrap
> @@ -90,7 +90,8 @@ bootstrap_epilogue() { :; }
> # options because the latest/%s directory and the .po files within are
> # all symlinks.
> po_download_command_format=\
> -"rsync -Lrtvz 'translationproject.org::tp/latest/%s/' '%s'"
> +"rsync --delete --exclude '*.s1' -Lrtvz \
> + 'translationproject.org::tp/latest/%s/' '%s'"
Won't this remove unrelated files from the directory, too?
IOW, if I happen to be writing a new translation, but it is
not official yet, an innocent bootstrap will kill those long
hours of work for me? That would be very scary.
Cheers,
Ralf