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/7... : 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/me... To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org