[zanata-users] how do I control the directory name for pull and push
Sean Flanigan
sflaniga at redhat.com
Thu Aug 18 01:26:01 UTC 2011
On 08/18/2011 07:17 AM, Bryan Kearney wrote:
> I have the following directory layout:
>
> /home/bkearney/code/headpin/locale
>
> in locale, I have
> app.pot
> es/app.po
> fr/app.po
>
> If I want to load to the server, I seem to be able to do the following:
>
>
> zanata publican push --srcdir . --import-po
>
>
> and it finds the *.po files fine. However, trying to do a po pull or a
> publican pull seems to want to put them into
>
> /home/bkearney/code/headpin/locale/po/
>
> is there a way to skip that po directory being added?
I'm not so familiar with the python client, and I'm not sure which
version you've got, but have you tried the --transdir (formerly
--dstdir) option? If that doesn't help, you've probably found a bug in
the client.
In that case, for now I can only suggest that you use a symlink as a
workaround. ("ln -s po .") Sorry. The new commands "zanata push" and
"zanata pull" will have saner directory handling.
--
Sean Flanigan
Senior Software Engineer
Engineering - Internationalisation
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20110818/01d40489/attachment.sig>
More information about the zanata-users
mailing list