[Kde-scm-interest] git migration and translation of documentation

Albert Astals Cid aacid at kde.org
Sat Sep 4 23:05:33 CEST 2010


A Dissabte, 4 de setembre de 2010, vàreu escriure:
> [Christoph Cullmann - Samstag 04 September 2010 21:04:59]
> 
> > On Saturday 04 September 2010 19:58:34 Albert Astals Cid wrote:
> > > Hi, this is just a heads up so that people that has not seen me bitch
> > > on irc knows.
> > > 
> > > The switch of KDE to git will break the process that creates .pot from
> > > original docbooks and translated docbooks from .po files since that
> > > uses svn externals to the doc folders of each module
> > > 
> > > I was going to work on a simple fix (create a script that checked out
> > > the doc/ folder of a git module) for it today but then i realized that
> > > git does not support the checkout of subdirectories so my simple fix
> > > was rendered impossible.
> > > 
> > > Since i'm not too found of doing what seems lots of work to workaround
> > > the weaknesses of git (that i was told was the greatest scm ever) i'll
> > > let the ones that really want to make us switch find a solution.
> > > 
> > > As always i'm open for help in explaining the problem and discussing
> > > possible solutions.
> > 
> > I you only need a snapshot of the directory, you could use git archive to
> > get it. I do that at work to have subdir-exports available.
> > 
> > But if you need history and Co., just forgot my mail.
> 
> The doc/ folders do not change that much, do they? In that case it
> might not be the best choice to download them every day just to
> figure that out. Or is there a way to see if a certein folder
> contains changes without downloading it?
> 
> What about using symlinks? If you have checkouts of all modules
> anyway (which you do for string extraction, right?), you could
> have another folder with symlinks to the doc/ folders, which
> should look like the externals from the script's point of view.

Yeah, i don't care about the l10n.kde.org machine, my concern is translators 
that want to generate the translated documentation, i don't think they will be 
happy if we force them to download all KDE repo.

Albert

> 
> Regards


More information about the Kde-scm-interest mailing list