Development for Helpcontent2

Norbert Thiebaud nthiebaud at gmail.com
Sat Jul 18 12:13:59 PDT 2015


On Sat, Jul 18, 2015 at 10:06 AM, Regina Henschel
<rb.henschel at t-online.de> wrote:
> Hi Markus,
>
> --with-help works fine. Thank you.

Regina:

help, translations and dictionaries are git sub-modules.

that have some implications:

when pulling from core or switching branches, run: git submodules
update after it (or use ./g pull -r  which does that for you)
when creating commit for the submodules:
cd  to the directory where it lives (helpcontent2 here) and create the
commit _there_ that will create a commit in that git repo.. then you
can push to gerrit the usual way (refs/for/master) from _there_ again
so that it get to the right repo
gerrit will take care of creating the necessary commit in core.git
when the patch for help is 'submitted'

Be careful that when you create a new commit in help, core will see it
and consider your 'status' unclean.. git submodule update should reset
help to the commit that is appropriate for your level of core.git.

PS to push to gerrit for a submodule you may have to tweak you git
config for the module
it lives in .git/modules/help/config
you will need to setup a pushurl of 'origin' in a similar way than it
is setup for core

https://wiki.documentfoundation.org/Development/Submodules

Norbert


More information about the LibreOffice mailing list