> 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?
I only meant to say it could be a temporary workaround, and you probably shouldn't upload a key you are already using somewhere else. There are measures you can take, like hiding it using file permissions, using a new key and making sure you don't reuse it anywhere else, deleting the key once you sort it out with other methods. Still, I agree that some risks would remain in a shared environment like toolforge. -Yusuke (User:Whym) On Mon, Feb 20, 2023 at 10:20 PM Bináris <wikipo...@gmail.com> wrote: > > 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 <w...@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 <wikipo...@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-le...@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-le...@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-le...@lists.wikimedia.org _______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/GEXG7JCOXGPRKTNS3D6CGVAPDTFEHA4A/ To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org