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


Andras said to use

git push origin master:refs/for/master

or refer to your branch name like

git push origin mybranch:refs/for/master

which creates a patch for review in gerrit.

Ilmari

Milos Sramek kirjoitti 10.6.2020 klo 12.41:
Hi Andras,

it looks like I do not have the required rights. So, maybe that it would be more efficient if you patch and push the dictionaries (the required link is http://sk-spell.sk.cx/files/sk_SK-20200510.patch.gz). I've checked the patch on an installed 6.4, its was OK.

I've tried to push directly to master and also to push a branch. In both cases git complained about insufficient rights, for example with a branch sk-update:

milos:~/sbox/git/dictionaries$ git push --set-upstream origin sk-update
Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 4 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 420.88 KiB | 2.65 MiB/s, done.
Total 8 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6)
remote: error: branch refs/heads/sk-update:
remote: You need 'Create' rights to create new references.
remote: User: milossramek2
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done
To ssh://gerrit.libreoffice.org/dictionaries
 ! [remote rejected] sk-update -> sk-update (prohibited by Gerrit: not permitted: create) error: failed to push some refs to 'ssh://milossramek2@gerrit.libreoffice.org/dictionaries'

Milos

On 6/7/20 8:41 PM, Andras Timar wrote:
Hi Milos,

There may be multiple solutions. Here is mine:

You did right when you checked out dictionaries repo. But instead of anongit.freedesktop.org <http://anongit.freedesktop.org> I would have used git://gerrit.libreoffice.org/dictionaries <http://gerrit.libreoffice.org/dictionaries>
There you make your commit. Then:

git push origin master:refs/for/master

This command pushes the patch to gerrit. logerrit script does the same IMHO. I hope it will work for you, but I never know, because I have rights to do a lot of things.

Best regards,
Andras

On Sun, Jun 7, 2020 at 5:54 PM Milos Sramek <sramek.milos@gmail.com <mailto:sramek.milos@gmail.com>> wrote:

    Hi,
    I've tried to find instructions on how to commit something to
    dictionaries.

    I've checked out 'core', but the 'dictionaries' directory is empty
    there.  I've read
    https://wiki.documentfoundation.org/Development/Submodules, but I
    did not understand anything.

Then I checked out git://anongit.freedesktop.org/libreoffice/dictionaries
    <http://anongit.freedesktop.org/libreoffice/dictionaries> and
    followed
    https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch. There
    is, however no the 'logerrit' script. Should I use the version
    from core? Or should clone to dictionaries to core.dictionaries?
    Should I call ../logerrit in the disctionaries directory of
    ./logerrit in core?

    thanks for help
    Milos



    On 6/6/20 10:10 PM, Milos Sramek wrote:
    thank you, Zdenko!
    I'll try submit it
    Milos

    On 6/6/20 9:52 AM, ZdPo Ster wrote:
    Hello,

    users complain to me that Libreoffice Slovakian dictionaries are
    very old.
    Can somebody download and apply patch from
    http://sk-spell.sk.cx/files/sk_SK-20200510.patch.gz ?

    I am not interested in setting up gerrit or any other system for
    time to time update of dictionaries.
    Thanks for understanding.

    Zdenko


    _______________________________________________
    LibreOffice mailing list
    LibreOffice@lists.freedesktop.org  <mailto:LibreOffice@lists.freedesktop.org>
    https://lists.freedesktop.org/mailman/listinfo/libreoffice


-- Milos Sramek,msramek22@gmail.com <mailto:msramek22@gmail.com>

    _______________________________________________
    LibreOffice mailing list
    LibreOffice@lists.freedesktop.org  <mailto:LibreOffice@lists.freedesktop.org>
    https://lists.freedesktop.org/mailman/listinfo/libreoffice


-- email & jabber:sramek.milos@gmail.com <mailto:sramek.milos@gmail.com>

    _______________________________________________
    LibreOffice mailing list
    LibreOffice@lists.freedesktop.org
    <mailto:LibreOffice@lists.freedesktop.org>
    https://lists.freedesktop.org/mailman/listinfo/libreoffice


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


--
email & jabber:sramek.milos@gmail.com


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


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.