When setting up a fresh Gerrit installation with 2.15 it seems that All-Projects contains this by default:
So I assume it’s required J
Cheers,
Markus
--
--
To unsubscribe, email
repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry, wrong thread xD
From: Duft Markus
Sent: Thursday, April 26, 2018 3:38 PM
To: 'Ashwini T R' <ashu.r...@gmail.com>; Repo and Gerrit Discussion <repo-d...@googlegroups.com>
Subject: RE: Possibilities to Block the Binary push to Gerrit repositories
When setting up a fresh Gerrit installation with 2.15 it seems that All-Projects contains this by default:
So I assume it’s required J
Cheers,
Markus
From: repo-d...@googlegroups.com [mailto:repo-d...@googlegroups.com] On Behalf Of Ashwini T R
Sent: Thursday, April 26, 2018 3:03 PM
To: Repo and Gerrit Discussion <repo-d...@googlegroups.com>
--
--
To unsubscribe, email
repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We are running Gerrit instance version 2.13.2. There is a requirement to block all binary push in order to any size to the Gerrit repositories in Instance level.
On Thursday, 26 April 2018 14:03:28 UTC+1, Ashwini T R wrote:We are running Gerrit instance version 2.13.2. There is a requirement to block all binary push in order to any size to the Gerrit repositories in Instance level.Did you look at a server-side hook? You'll need to google a bit to find out how to do it.
Are you sure that you want to block *all* binary files, no matter how small? That seems like an unusual requirement - most projects have icon files or similar that they check in.
Do you have to block it at the server, or is it sufficient for your developers to have a .gitignore that ignores files *.png, *.ico etc?
--