change the message of push when repo is READ_ONLY

52 views
Skip to first unread message

Guy Levkowitz

unread,
Mar 2, 2026, 11:08:47 AMMar 2
to Repo and Gerrit Discussion
Hey

we want to customize the notification when we move the repo to READ_ONLY state

And developer tries to push, he gets:
(prohibited by Gerrit: project state does not permit write)

Can we customize this notification? 

For example:
repo:XXX is at READ_ONLY mode
Please wait till tomorrow to be open

can this be done ?




 

Daniele Sassoli

unread,
Mar 3, 2026, 4:10:22 PMMar 3
to Repo and Gerrit Discussion
On Monday, 2 March 2026 at 16:08:47 UTC sil...@gmail.com wrote:
Hey

we want to customize the notification when we move the repo to READ_ONLY state

And developer tries to push, he gets:
(prohibited by Gerrit: project state does not permit write)

From a quick look this seems to be hardcoded.
Reply all
Reply to author
Forward
0 new messages