Damned-lies blocked from committing translations

When I am trying to submit the Bulgarian translation of gnome-builder I am getting the following error:

An error occurred while pushing the commit for module gnome-builder in branch main: An error occurred while pushing the references to the remote for module gnome-builder in branch main: Git repository gnome-builder could not be pushed because of an unknown error: Command ‘git push origin main’ returned non-zero exit status 1. (Warning: Permanently added ‘ssh.gitlab.gnome.org’ (ED25519) to the list of known hosts. remote: GL-HOOK-ERR translations user cannot create or update branches except for add-translation-{locale}-from-{branch} or update-translation-{locale}-from-{branch} pattern To gitlab.gnome.org:GNOME/gnome-builder.git ! [remote rejected] main → main (pre-receive hook declined) error: failed to push some refs to ‘gitlab.gnome.org:GNOME/gnome-builder.git’)

This seems similar to L10n.gnome.org: unable to submit user guide translation to repository due to unknown git error . Can someone look into it?


I am getting the same for: Module Translation: Manuals

An error occurred while pushing the commit for module Manuals in branch main: An error occurred while pushing the references to the remote for module Manuals in branch main: Git repository Manuals could not be pushed because of an unknown error: Command ‘git push origin main’ returned non-zero exit status 1. (Warning: Permanently added ‘ssh.gitlab.gnome.org’ (ED25519) to the list of known hosts. remote: GL-HOOK-ERR translations user cannot create or update branches except for add-translation-{locale}-from-{branch} or update-translation-{locale}-from-{branch} pattern To gitlab.gnome.org:GNOME/manuals.git ! [remote rejected] main → main (pre-receive hook declined) error: failed to push some refs to ‘gitlab.gnome.org:GNOME/manuals.git’)

1 Like

Should be fixed by now, thanks!

Thank you very much for the quick fix @averi!

I can confirm it is working and I submitted the two translations. In case this happens again - I will ping in this thread rather than opening a new. Do you want to tell what is happening so other people can fix that?

Kind regards

Please do so, yes, there was a change needed on one of the pre-receive hooks that is installed in gitaly. These hooks can only be modified by the infrastructure team so if you see anything that is not working as expected and resembles what you reported above, please mention it in this thread, thanks!

GTK is blocked: Module Translation: gtk

An error occurred while pushing the commit for module gtk in branch main: An error occurred while pushing the references to the remote for module gtk in branch main: Git repository gtk could not be pushed: Command ‘git push origin main’ returned non-zero exit status 1. (Warning: Permanently added ‘ssh.gitlab.gnome.org’ (ED25519) to the list of known hosts. remote: GitLab: You are not allowed to push code to protected branches on this project. To gitlab.gnome.org:GNOME/gtk.git ! [remote rejected] main → main (pre-receive hook declined) error: failed to push some refs to ‘gitlab.gnome.org:GNOME/gtk.git’). The branch seems protected and Damned Lies is unable to push references to the repository. Ask the project maintainers to update the protection for branches to allow Damned Lies to push commits.

Also seen for modules gnome-remote-desktop (main), gtk (main), glib (main) when submitting Kazakh translations.

Also some issues with solanum in gnome-circle. Translation was submitted (and seen in repo) but DL ui not updated

Looks like Failed to generate a new POT file for the user interface of “solanum” (domain: “po”) (#68) · Issues · World / Solanum · GitLab