From 2a42b3672e29198784b07e9014c17378d2aea414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taavi=20V=C3=A4=C3=A4n=C3=A4nen?= Date: Fri, 26 Sep 2025 13:55:32 +0300 Subject: [PATCH 1/3] singleuser: Update Pywikibot, OpenRefine Bug: T388928 Bug: T403780 Bug: T405170 --- images/singleuser/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/singleuser/Dockerfile b/images/singleuser/Dockerfile index 2e41816a..ce1a0661 100644 --- a/images/singleuser/Dockerfile +++ b/images/singleuser/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:24.04 -ENV PYWIKIBOT_VERSION=10.4.0 +ENV PYWIKIBOT_VERSION=10.5.0 ENV EDITOR=/bin/nano ENV PYWIKIBOT_DIR=/srv/paws ENV DEBIAN_FRONTEND=noninteractive @@ -156,7 +156,7 @@ USER root ENV OPENREFINE_DIR /srv/openrefine ENV PATH=$PATH:$OPENREFINE_DIR RUN mkdir -p ${OPENREFINE_DIR} && cd ${OPENREFINE_DIR} && \ - curl -L 'https://github.com/OpenRefine/OpenRefine/releases/download/3.9.0/openrefine-linux-3.9.0.tar.gz' | tar xzf - --strip=1 + curl -L 'https://github.com/OpenRefine/OpenRefine/releases/download/3.9.5/openrefine-linux-3.9.5.tar.gz' | tar xzf - --strip=1 USER root RUN apt-get install --yes unzip @@ -166,7 +166,7 @@ ENV REFINE_DIR /home/paws RUN pip install --no-cache-dir nb_serverproxy_openrefine USER root -RUN wget https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.3/openrefine-commons-extension-0.1.3.zip -O /tmp/openrefine-commonsextension.zip +RUN wget https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.5/openrefine-commons-extension-0.1.5-prerelease.zip -O /tmp/openrefine-commonsextension.zip RUN unzip /tmp/openrefine-commonsextension.zip -d ${OPENREFINE_DIR}/webapp/extensions/ ## Done setting up OpenRefine From 3b47e4dd7896fec30dd1f1a27fe64f18d3640547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taavi=20V=C3=A4=C3=A4n=C3=A4nen?= Date: Fri, 26 Sep 2025 13:57:24 +0300 Subject: [PATCH 2/3] builds: Fix Phabricator notifications * Set a User-Agent as the CDN heavily limits requests without one. * Update actions/checkout and fetch full history for the diff to work. * Post comments to all tasks, not just the last one. --- .github/workflows/notification.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/notification.yaml b/.github/workflows/notification.yaml index 84f9d4c8..7ad22ef5 100644 --- a/.github/workflows/notification.yaml +++ b/.github/workflows/notification.yaml @@ -21,18 +21,19 @@ jobs: runs-on: ubuntu-latest name: Comment on Phabricator steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: post to phabricator run: | message="${{ github.actor }} ${{ github.event.action }} ${{ github.event.pull_request._links.html.href }}" echo "${message}" inital_commit=$(git log origin/main..origin/${{ github.head_ref }} --pretty=%H | tail -n1) - task=$(curl ${{ github.event.pull_request._links.commits.href }} | jq .[0].commit.message -r | grep "^Bug: T[0-9]*$" | head -1 | awk '{print $2}') - - if [ -n "${task}" ]; then + curl ${{ github.event.pull_request._links.commits.href }} | jq .[0].commit.message -r | grep "^Bug: T[0-9]*$" | awk '{print $2}' | while IFS= read -r done; do curl https://phabricator.wikimedia.org/api/maniphest.edit \ + -H "User-Agent: WMCS/paws github notifications" -d api.token=${{ secrets.TOOLFORGE_PHAB_BOT_KEY }} \ -d transactions[0][type]=comment \ -d transactions[0][value]="${message}" \ - -d objectIdentifier=${task} - fi + -d objectIdentifier="${task}" + done From 6fd7bfca9d70581f73cf4b5a1b2b3006c938114b Mon Sep 17 00:00:00 2001 From: Github Action Date: Fri, 26 Sep 2025 11:09:17 +0000 Subject: [PATCH 3/3] auto update of tag --- paws/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paws/values.yaml b/paws/values.yaml index abb4e921..1333ffe6 100644 --- a/paws/values.yaml +++ b/paws/values.yaml @@ -276,7 +276,7 @@ jupyterhub: fsGid: 52771 image: name: quay.io/wikimedia-paws-prod/singleuser - tag: pr-500 # singleuser tag managed by github actions + tag: pr-501 # singleuser tag managed by github actions pullPolicy: Always memory: guarantee: 0.70G