Submodules in git.gnome.org (and how to deal with them)



Hello everyone,

During the 3.7.x release cycle several GNOME modules has started using
git submodules. This causes some problems with damned-lies support,
which Claude, Gil and others are currently working on. It doesn't seem
that they will finish it that soon, and d-l is currently broken for
gnome-shell module, so please take a special attention when updating
your translations of such modules.

To correctly update a translation of, for example, gnome-shell, you
need to first update your copy of the repository:

$ git pull --rebase

Then you should pull and update submodules:

$ git submodule init && git submodule update

Finally, update your translation file using inttool:

$ cd po && intltool-update lang_code && cd ..

And that's it!

While only gnome-shell is broken in damned-lies, also
gnome-control-center and gnome-settings-daemon (and Banshee, but that
one does it for years) use submodules containing translations.

I hope this can help avoid any confusion and missing translations.

Best regards,

--
Piotr Drąg
http://raven.fedorapeople.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]