Hi Binaris,

I am with you that gerrit is much more difficult to handle than svn. I remember that bad time after the switch and I had to make a lot of tries and errors and I was about to give up and leave the project.

As we met us in Berlin decades ago I think you also was a Windows user and I thought that you was more familiar with git/gerrit than I was it that date.

Anyway I have found a nice way to contribute to the gerrit repository: The magic is TortoiseGit, easy to use, graphic UI and some useful 

Am 20.02.2023 um 14:20 schrieb Bináris <wikiposta@gmail.com>:


Thank you for the idea! This sounds interesting. But I would have to upload my private key to Toolforge, which sounds bad, wouldn't I?

Yusuke Matsubara <whym@whym.org> ezt írta (időpont: 2023. febr. 20., H, 12:48):
Hi Bináris

Can you perhaps push from your toolforge user directory? [1] As a
workaround, something like this might work for you.

1. Download the pywikibot zip to your local environment. Apparently
it's Windows in your case, but it can be anything.
2. Make changes to the files. I assume you can run tests as well.
3. Use ssh to login to toolforge, and use git clone to setup a clone
of the pywikibot git repository in your toolforge user directory.
4. Copy the locally changed files to your toolforge user directory.
(Use a rsync or sftp client.)
5. Back to the toolforge shell, commit the changes to the repository
in your toolforge user directory, and push using git review.

[1] https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Quickstart

# I see the linked phabricator ticket was declined because the
discussion was getting out of scope. I hope this one last message
helps. Otherwise, we probably shouldn't continue talking about
individual setups here as well.

-Yusuke (User:Whym)


On Wed, Feb 15, 2023 at 8:19 PM Bináris <wikiposta@gmail.com> wrote:
>
> Folks, I really made a lot of effort, even asked somebody to help IRL, but I am tired.
>
> I want develop Pywikibot, instead I am struggling with the working environment. Although git is hundred times as complicated as SVN and gerrit is a nightmare, my main problem is with git installing i18n submodule.
> See https://phabricator.wikimedia.org/T329452
>
> It causes two main problems:
>
> I cannot run tests. I have another copy of Pywikibot from downloaded zip, I can run tests there, but the same command fails in git copy.
> I cannot push my commits. For some reason an i18n part is always included which makes Jenkins fail. Now I can remove it after pushing, but Jenkins fails again, see https://gerrit.wikimedia.org/r/c/pywikibot/core/+/888745
>
> Error message: https://integration.wikimedia.org/ci/job/pywikibot-core-tox-doctest-docker/7631/console : FAILURE in 33s
> I am very frustrated and disappointed, but I cannot do anything until T329452 is solved somehow.
>
> --
> Bináris
> _______________________________________________
> pywikibot mailing list -- pywikibot@lists.wikimedia.org
> Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/MQWDKSWS5LBBEZ4LHOMGAZRKFG3O7OZM/
> To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/QLKUHZGPT4FCVE54ZVR7VSBMOE43VIE6/
To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org


--
Bináris
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/RB3QT4VOE3ULBQWW6L3MA7CB77AMYRZF/
To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org