[01:46:27] Looks like Phabricator is down. [12:16:41] Hi :) can i use it for running a pywikibot for wiki.gg or is this against the rules? [14:21:22] Hi. Discovered another wiki got Wikidata-enabled today: bewwiktionary. Discovered it the hard way... Trying to use a database replica before it is ready tripped a simple consistency check. [14:21:35] Is there a reliable way to detect newly added replicas so that I might avoid them? [14:25:59] I think that’s probably outside the scope of WMCS, unless it’s related to Wikimedia projects (see section 3 of the TOU (https://wikitech.wikimedia.org/wiki/Wikitech:Cloud_Services_Terms_of_use#3._What_uses_of_WMCS_do_we_allow?)) (re @noah_1: Hi :) can i use it for running a pywikibot for wiki.gg or is this against the rules?) [14:59:32] Hmm. Looks like I might need to make sure my tool handles empty DB tables. Simpler problem to solve. [16:33:35] !log damian-scripts@tools-bastion-13 tools.cluebot3 bot deployed @ refs/tags/v1.2.0 [16:33:38] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.cluebot3/SAL [16:37:35] Thanks! Someone Said he is hosting it, so i checked it out, but was unsure too because it said stuff like Crypto isnt okay. So i am a wiki author too and the wiki is linked in the wiki article of the game as a knowledge base (the site has same CC AS Wikipedia too), so not sure if that counts as Wikimedia related? (re @lucaswerkmeister: I think that’s probably outside the [16:37:36] scope [16:37:37] of WMCS, unless it’s related to Wikimedia projects (see section 3 of the TOU)) [17:39:47] !log admin removing /var/lib/prometheus/node.d/check_disk_space.prom on all cloudvirts and a few other servers. I am taking this file to be obsolete after https://gerrit.wikimedia.org/r/c/operations/puppet/+/1180501/2 ; removing it seems to clear the alert. [17:39:54] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [18:02:20] !log damian-scripts@tools-bastion-13 tools.cluebotng-review reviewer deployed @ refs/tags/v0.3.0 [18:02:22] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.cluebotng-review/SAL [18:20:08] !help (though i'm thinking the answer is just "no" unless i make the permissions public) [18:20:08] If you don't get a response in 15-30 minutes, please email the cloud@ mailing list -- https://wikitech.wikimedia.org/wiki/Help:Cloud_Services_communication [18:42:41] derenrich: is your help summons about the sftp question? [18:42:52] yeah. also sorry i hope that didn't page someone [18:43:06] this is not urgent [18:49:07] You might be able to do it with something like` sftp -s ‘become $TOOL — sftp-server’.` [18:49:45] yeah i'm trying to help someone not familiar with CLI tools. i'll see if the gui client supports that [18:49:54] The become command is really just a` sudo `wrapper [18:50:12] https://winscp.net/eng/docs/faq_su [18:50:38] yeah i saw that. but that's SCP not SFTP (and winscp is windows only) [19:13:08] making the folder group-writable could be an option as well [19:50:59] that's a good idea thanks [19:54:07] oh but i can't use the tool account to change the group since the tool account isn't in the group [20:00:31] alternatively is there a way to do toolforge CI just for static files (i.e. i could tell them how to commit to a gitlab repo and have that auto-push to `www/static/` somehow) [20:04:31] sftp -s 'sudo -niu tools. /usr/lib/openssh/sftp-server' works for sure (I have to do this in fabric) [20:24:54] filezilla doesn't support that, maybe i should just give in and teach CLI tools [22:23:42] Hello, I am trying to use the "toolforge build start" to build from this ref https://gerrit.wikimedia.org/r/plugins/gitiles/labs/tools/WdTmCollab/+/refs/heads/main/frontend/, I keep getting the error "Error: Failed to resolve ref , maybe the repository https://gerrit.wikimedia.org/r/plugins/gitiles/labs/tools/WdTmCollab/+/refs/heads/main/frontend is not public? Error: [22:23:42] failed to r [22:23:43] esolve ref: exit status 128" I cloned the repo and tried to build while passing in ./WdTmCollab/frontend and it still fails with same error. [22:23:44] Please is the a way I can do this. [22:23:46] Code is on Gerrit. [22:29:55] which command are you running? [22:33:48] toolforge build start —image-name frontend (re @lucaswerkmeister: which command are you running?) [22:39:09] hm, I’m not sure that’s supported, actually [22:39:44] the specific error is because you’re passing in a Gitiles URL, which is not something the build service can `git clone` [22:40:00] !log lucaswerkmeister@tools-bastion-13 tools.lexeme-forms deployed 3669a5db51 (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:40:01] a supported URL on Gerrit would look like `https://gerrit.wikimedia.org/r/labs/tools/WdTmCollabs.git` [22:40:03] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [22:40:21] optionally with `--ref main`, though that’s probably the default branch in this repo anyway [22:40:44] but you also want to build an image from a subdirectory of the repository (`frontend/`), and I don’t see an option for that in the `--help` output at least [22:41:59] I think you might need to restructure the repository a bit for that [22:45:36] Yes, that is my main issue and concern, which now lives me with the option to host on gitlab, or make a branch or tag for (frontend/) and one for (backend/). (re @lucaswerkmeister: but you also want to build an image from a subdirectory of the repository (frontend/), and I don’t see an option for that in the...) [22:47:29] !log lucaswerkmeister@tools-bastion-13 tools.wd-image-positions deployed dbd4513115 (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:47:32] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.wd-image-positions/SAL [22:49:53] or add a top-level `package.json` with a script like `"postinstall": "npm --prefix backend ci && npm --prefix frontend ci`, and a `Procfile` with frontend and backend commands, and have both in one image (re @Xvansic: Yes, that is my main issue and concern, which now lives me with the option to host on gitlab, or make a branch or tag for (front...) [22:50:10] !log lucaswerkmeister@tools-bastion-13 tools.speedpatrolling deployed e8c02afd4d (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:50:11] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [22:51:16] Gracias, let me look into this. (re @lucaswerkmeister: or add a top-level package.json with a script like "postinstall": "npm --prefix backend ci && npm --prefix frontend ci, and a Pr...) [22:51:35] good luck! [22:53:04] !log lucaswerkmeister@tools-bastion-13 tools.quickcategories deployed 597636792a (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:53:08] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [22:54:39] !log lucaswerkmeister@tools-bastion-13 tools.pagepile-visual-filter deployed d8dfd750bd (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:54:40] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.pagepile-visual-filter/SAL [22:55:53] !log lucaswerkmeister@tools-bastion-13 tools.ranker deployed 0188147cec (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:55:54] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.ranker/SAL [22:56:49] !log lucaswerkmeister@tools-bastion-13 tools.translate-link deployed 4e490121df (upgrade dependencies, including PyMySQL 1.1.2 with Python 3.13 compatibility) [22:56:50] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.translate-link/SAL [22:59:22] !log lucaswerkmeister@tools-bastion-13 tools.wd-image-positions deployed 80d93db69e (l10n updates: el, pt, pt-br, ru, sl, yue-hant) [22:59:24] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.wd-image-positions/SAL