Page MenuHomePhabricator

Update SVG Translate's Translatewiki.net config from GitHub to Gitlab
Closed, ResolvedPublic1 Estimated Story Points

Description

SVG Translate Tool has moved from GitHub to GitLab, and the Translatewiki.net config needs to be updated to match.

Details

Related Changes in Gerrit:

Event Timeline

Samwilson renamed this task from Update SVG Translate's config from GitHub to Gitlab to Update SVG Translate's Translatewiki.net config from GitHub to Gitlab.Sep 13 2025, 8:19 AM
Nikerabbit triaged this task as Medium priority.Sep 15 2025, 8:20 AM
Nikerabbit set the point value for this task to 1.
Nikerabbit moved this task from Backlog to Configuration changes on the translatewiki.net board.

Change #1192309 had a related patch set uploaded (by Samwilson; author: Samwilson):

[translatewiki@master] Move SVG Translate from GitHub to GitLab

https://gerrit.wikimedia.org/r/1192309

Change #1192309 merged by jenkins-bot:

[translatewiki@master] Move SVG Translate from GitHub to GitLab

https://gerrit.wikimedia.org/r/1192309

In Command.php line 166:
                                                                               
  The command "cd 'svgtranslate'; git add .; if ! git diff --cached --quiet;   
  then git commit -m 'Localisation updates from https://translatewiki.net.';   
  git rebase 'origin/main' && git push origin 'main'; fi" failed.              
                                                                               
  Exit Code: 1(General error)                                                  
                                                                               
  Working directory: /scratch/exports                                          
                                                                               
  Output:                                                                      
  ================                                                             
  [main 4b649b4] Localisation updates from https://translatewiki.net.          
   3 files changed, 4 insertions(+), 1 deletion(-)                             
  Current branch main is up to date.                                           
                                                                               
                                                                               
  Error Output:                                                                
  ================                                                             
  remote: GitLab: You are not allowed to push code to protected branches on t  
  his project.                                                                 
  To gitlab.wikimedia.org:toolforge-repos/svgtranslate.git                     
   ! [remote rejected] main -> main (pre-receive hook declined)                
  error: failed to push some refs to 'gitlab.wikimedia.org:toolforge-repos/sv  
  gtranslate.git'                                                              
                                                                               

commit [--variant VARIANT] [--filter FILTER] [--backport-branch BACKPORT-BRANCH] [--] <project>

@Nikerabbit Is that with user L10n-bot? That user should have permissions to push to main as far as I can see.

image.png (107×1 px, 21 KB)

The activity log shows L10n-bot as having joined the project at 2025-10-09 01:40:52Z

Your comment was at 2025-10-09 13:21:57Z but could that error message have been generated more than ~12 hours before then?

The branch protection rules say that Maintainers are allowed to push to main, so I've updated L10n-bot to be a Maintainer.

image.png (885×1 px, 88 KB)