[zanata-users] how do I control the directory name for pull and push

Ding Yi Chen dchen at redhat.com
Thu Aug 18 01:55:50 UTC 2011



----- Original Message -----
> 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.

This is reported as https://bugzilla.redhat.com/show_bug.cgi?id=730200
The one in Git is fixed, but the fix has not yet released.


Regards,

-- 
Ding-Yi Chen
Software Engineer
Internationalization Group
Red Hat, Inc.

Register now for Red Hat Virtual Experience, December 9.
Enterprise Linux, virtualization, cloud, and more.
http://www.redhat.com/virtualexperience




More information about the zanata-users mailing list