Page MenuHomePhabricator

Phabricator translations can no more be received due to decommissioning of git-ssh
Open, In Progress, MediumPublic


T296022 has removed the SSH endpoint which was used to push to Phabricator repository. @Nikerabbit mentioned that broke publishing of TranslateWiki translations and their system only support ssh for authentication.

It pushed to ssh://

The repository is a submodule of Phabricator deployment repository:

Given the deployment repo is on Gerrit and other submodules are on Gerrit, we should migrate ssh:// to Gerrit with push rights granted to whatever user TranslateWiki is using (l10n-bot?).


Event Timeline

hashar updated the task description. (Show Details)

git-ssh had been deactivated for at least a week but what happened today additionally is that I actively set the "URI" under "manage repository" in DIffusion to "no I/O" and deleted the service from DNS.

This changed it from "time out" to a new more active error which made it more visible.

I imported the repo into gitlab but hashar voiced a preference for having it on Gerrit together with other Phabricator repos.

No worries, I will create the repo, add L10N-bot sync up with @Nikerabbit to confirm the sync up works again and also normalize the URLs.

Change 845019 had a related patch set uploaded (by Hashar; author: Hashar):

[phabricator/translations@refs/meta/config] Allow L10n-bot to push to wmf/stable branch

Change 845019 merged by Hashar:

[phabricator/translations@refs/meta/config] Allow L10n-bot to push to wmf/stable branch

I have imported the repository to Gerrit following the documentation at

$ git clone --mirror
Cloning into bare repository 'phabricator-translations.git'...
remote: Enumerating objects: 14057, done.
remote: Counting objects: 100% (14057/14057), done.
remote: Compressing objects: 100% (8194/8194), done.
remote: Total 14057 (delta 10527), reused 9057 (delta 5859)
Receiving objects: 100% (14057/14057), 13.52 MiB | 1.56 MiB/s, done.
Resolving deltas: 100% (10527/10527), done.

$ cd phabricator-translations.git

phabricator-translations.git(BARE:wmf/stable)$ git remote add gerrit ssh://
phabricator-translations.git(BARE:wmf/stable)$ git push --mirror gerrit

I had to further adjust permissions cause I missed a few to do the import and eventually everything got pushed with the exception of refs/meta/config which the Gerrit repository configuration

phabricator-translations.git(BARE:wmf/stable)$ git push --mirror gerrit
remote: error: branch refs/meta/config:
remote: Cannot delete project configuration from 'refs/meta/config'
remote: error: branch refs/meta/config:
remote: You need 'Delete Reference' rights or 'Push' rights with the 
remote: 'Force Push' flag set to delete references.
remote: User: hashar
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done    
To ssh://
 ! [remote rejected] refs/meta/config (prohibited by Gerrit: not permitted: delete)
error: failed to push some refs to 'ssh://'

I have deactivated the Phabricator repository .

Change 845459 had a related patch set uploaded (by Hashar; author: Hashar):

[phabricator/deployment@wmf/stable] .gitmodules: translations migrated to Gerrit

@Nikerabbit the new repository is The L10n bot has been granted [[,access | permission to push to the wmf/stable branch ]].

You should thus be able to adjust the TranslateWiki configuration to push to ssh://

Change 845459 merged by Brennen Bearnes:

[phabricator/deployment@wmf/stable] .gitmodules: translations migrated to Gerrit

Nikerabbit triaged this task as Medium priority.Oct 27 2022, 8:19 AM

Change 858629 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Update repository for phabricator translation

abi_ changed the task status from Open to In Progress.Mon, Nov 28, 5:19 AM
abi_ assigned this task to hashar.

Change 858629 merged by jenkins-bot:

[translatewiki@master] Update repository for phabricator translation

Change 861836 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Add auto-merge for phabricator

Change 861836 merged by jenkins-bot:

[translatewiki@master] Add auto-merge for phabricator

L10n-bot doesn't do a direct push in Gerrit, so we would need the default l10n-bot(-watcher) permissions and i18n-check on this repo.

We could also look into making it into a direct push, but I think former is preferable.