[Cloud] Re: [Cloud-announce] [IMPORTANT] Grid Engine Shutdown Timeline

2023-12-06 Thread Kunal Mehta
Hi, On 12/6/23 03:59, Magnus Manske via Cloud wrote: Hi all, I do appreciate the efforts to keep toolforge running, and that sometimes massive changes are necessary to do this, which has implications for tool maintainers. +1, I am not sure people fully appreciate how massive of a change

[Cloud] Re: Scratch database instance?

2023-01-25 Thread Kunal Mehta
Hi, On 1/25/23 11:42, Roy Smith wrote: 2) Is there a scratch database instance I can run unit tests against?  I'd rather not do this kind of testing against anything that's in production, to ensure I don't accidentally cause any damage. Normally I just spin up a MariaDB container locally in

[Cloud] Proposing a Tool sweep

2022-12-29 Thread Kunal Mehta
Hi everyone, tl;dr: https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Tool_sweep It has been nearly a decade since Toolforge came online. Since then, there have a been a lot of improvements to tool infrastructure, but many tools have not yet caught up. For example, new tools are required

[Cloud] New Toolforge admin: LucasWerkmeister

2022-08-20 Thread Kunal Mehta
Hi, Following a successful request[1], LucasWerkmeister is now a Toolforge admin. Congrats Lucas! And if you're looking for assistance with Toolforge things, there's now one more person who can help with admin-y things :-) [1] https://phabricator.wikimedia.org/T314527 -- Legoktm

[Cloud] High replag on s1/enwiki wiki replicas

2022-06-10 Thread Kunal Mehta
Hi, Because of schema changes happening in production, the s1/enwiki wiki replica is currently behind by ~40 hours, so tools and bots relying on it will have outdated data. The expectation is that it should recover by Monday. You can look up the current replag using

[Cloud] Looking for new maintainer for packagist-mirror.wmcloud.org

2021-12-09 Thread Kunal Mehta
Hi, is exactly what it sounds like, a mirror of the metadata on packagist.org. It's very simple, just a systemd timer and some Apache config. Since setting it up 2 or 3 years ago I've barely had to touch it. And based on access logs, some people are

[Cloud] Re: [Cloud-announce] [Toolforge] Some tools broken by upstream Let's Encrypt certificate changes

2021-09-30 Thread Kunal Mehta
One more tip in case it helps, if you're running into errors when using a Debian Stretch container or using the grid, long-running processes might just need a restart to pick up the openssl/gnutls bug fixes that were upgraded earlier this month. See

[Cloud] Re: [pywikibot] Bots and tools need to upgrade to Pywikibot 6.6.1

2021-09-22 Thread Kunal Mehta
Hi, On 9/22/21 12:03 PM, Maarten Dammers wrote: I'll repeat what I said on the task: This task is tagged as priority low. It would be completely ridiculous to push this through now knowing what amount of fallout this will cause. It's probably best if we continue the discussion about *when*

[Cloud] Bots and tools need to upgrade to Pywikibot 6.6.1

2021-09-22 Thread Kunal Mehta
Hi everyone, Bots and tools using Pywikibot must upgrade to version 6.6.1[1] otherwise they will break when deprecated API parameters are removed[2]. If you have any questions or need help in upgrading, please reach out using one of the Pywikibot communication channels[3]. [1]

[Cloud] Re: [Cloud-announce] #wikimedia-cloud IRC channel available on libera.chat

2021-05-22 Thread Kunal Mehta
If you've been using the "dologmsg" helper command[0], it'll now !log messages via Libera Chat[1]. And if you're using the wm-bot IRC relay[2], the port has changed, it's now 64835. The old port, 64834, will still relay messages to Freenode for a while. Thanks to petan for getting wm-bot

[Cloud] Re: secrets on cloud-vps

2021-05-18 Thread Kunal Mehta
Hi, On 5/17/21 12:39 PM, Andrew Bogott wrote: "How would I make use of secrets on cloud-vps instances?" I really only have one project right now that has secrets (LibUp). The mailman project has some secrets but it's a clone of our production setup so it seems logical (and maybe better?)

[Cloud] Starting the Wikimedia Rust developers user group

2021-02-11 Thread Kunal Mehta
Hi everyone, We are starting a user group for people interested in spreading the adoption of the Rust programming language[1] in the Wikimedia movement. If you're not familiar with it, Rust is a systems programming language that aims to provide the trifecta of safety, concurrency and speed.

[Cloud] Do you use Rust on Toolforge?

2020-06-30 Thread Kunal Mehta
Hi, Do you use, or want to use Rust on Toolforge? While it's not officially supported, some of us are discussing on Phabricator what the current pain points are, how to work around them and what we'd like to see in the future. If you have comments/suggestions/feedback, we'd appreciate it either

Re: [Cloud] Screen sessions

2020-06-23 Thread Kunal Mehta
Hi, On 2020-06-23 07:47, Isaac Johnson wrote: > I'm interested in running some long-ish scripts that loop through the > dump replicas on Toolforge. Eventually, this sort of thing might move to > crontab, but for now it would be nice to run a screen session as we test > / debug the scripts. The

Re: [Cloud] Python Flask app - localization

2018-09-18 Thread Kunal Mehta
Hi, On 9/18/18 7:13 AM, Martin Urbanec wrote: > I'm sometimes use Flask for my Toolforge tools. I'd like to localize > them, ideally with messages directory in similar format like MediaWiki > has in i18n directory.  There's the pywikibot.i18n component[1][2], though I've never actually tried

Re: [Cloud] Open beta testing period for PHP 7.2 webservices in Toolforge

2018-08-25 Thread Kunal Mehta
Hi, On 08/25/2018 02:45 PM, Maximilian Doerr wrote: > Is there any chance you can install the XHProf extension, or the > tideways, or uprofiler, extension?  It’s a tremendous help in > identifying performance issues with IABot. Probably! I note that the current PHP 5.6 webservice doesn't seem to

Re: [Cloud] Collect user's mail

2018-02-10 Thread Kunal Mehta
Hi, On 02/10/2018 03:26 AM, Martin Urbanec wrote: > My question is: Is this okay? Should I add some kind of formal > information to the tool? If so, is there some help page? Should I stop > with collecting mails at all and use some WMF-maintained service for > mass-emailing (mailman at

[Cloud] toolforge Python library updated to support new database servers

2017-10-27 Thread Kunal Mehta
Hi, In case you're not aware, I maintain a small Python library that has some common utility functions for my Toolforge tools. Features: * toolforge.connect('xxwiki') to easily get a database connection * toolforge.set_user_agent('mytool') to set a requests user-agent that complies with the