Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi Cor,

On Sunday, 2017-10-22 21:08:08 +0200, Cor Nouws wrote:

Will the command
  git clone http://anongit.freedesktop.org/git/libreoffice/help.git
my_directory  (1)
correctly add the Help to the current repo?

Define "correctly" ;-)
That command clones the help repository to some arbitrary location named
my_directory, which is useful only if one wants to edit help content
independent of the build environment and core repository.

I assume you also want to integrate help into your existing build. See
https://wiki.documentfoundation.org/Development/Submodules
for details and individual manual steps. (which admittedly does look
confusing on first sight)

The easiest to setup things is to configure ./autogen.sh --with-help and
a subsequent make fetch will add the submodule and fetch the help
repository to helpcontent2 if it doesn't exist already. Note that to be
able to push commits to gerrit you'll still need to add the correct
pushurl entry to .git/modules/helpcontent2/config
so that will look something like

[remote "origin"]
        url = git://gerrit.libreoffice.org/help
        pushurl = ssh://YOURGERRITUSERNAME@gerrit.libreoffice.org:29418/help

To pull and rebase for a build update you should make using the ./g
command a habit, i.e.

./g pull -r

Also switching branches would be ./g checkout branchname
./g does also the necessary submodule updates.

Hope that helps.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack

Attachment: signature.asc
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.