gerrit


Is it possible to configurate gerrit to always send the push requests to refs/for?


my team is implementing gerrit on their git repositories.
We liked the way it works.
As far as I understand (please, correct me if I am wrong) once gerrit is implemented it is kind of optional. If you use refs/for at the time you push, your push is sent to gerrit for review. But if you do not use refs/for it automatically pushes the code.
My question:
Is there a way to not give the user the opportunity to push directly? I want every push to be sent to revision because sometimes the user can get to forget to add refs/for to his/her push request.
It's optional but a person need to have a "special" permission to be able to push straight to the branch (bypassing Gerrit review). Have this permission is not the default for the most people in the most of Gerrit servers. Normally only Configuration Managers or Administrators have this permission:
Reference refs/heads/* Push
If someone who doesn't have this permission pushes straight to the branch the push will fail with "Prohibited by Gerrit" error (See here for more details).

Related Links

Gerrit can not login
How to not get lost reviewing Gerrit reviews comments?
How to see all incoming reviews in gerrit?
Reset gerrit -2 Code Review
How can I parse file-paths in gerrit-code-review site?
Gerrit redirects to wrong URL
How to retrieve the task context using Gerrit/Mylyn connector?
How to form a Gerrit search for reviews that have more than one +1 but pending a +2
How can I show the difference on click of the file path in gerrit ui?
Change default gerrit commit-msg
Push to gerrit command error prohibited by Gerrit
Can I make gerrit scores ephemeral?
How to avoid Gerrit to automatically add authors as reviewers?
How can I display the Gerrit ID in the UI?
Gerrit Code Review: Can not find “Review” and “Abandon Change” button after system upgrading
What is the correct way to integrate Gerrit project into Tuleap

Categories

HOME
sendgrid
winforms
openmp
tinymce
plone
relay
rsync
maven-3
leon
sharepoint-designer
survey
gps
adfs
iggrid
here-api
spring-xd
uitypeeditor
transformation
apache-metamodel
ab-testing
shared-hosting
viewport
scriptcs
orleans
cultureinfo
apache-commons-io
virtualdub
gitignore
gsoap
flink-streaming
media-queries
iframe-resizer
code-contracts
webtest
protovis
picasso
appfabric
serverside-rendering
leading-zero
mapzen
google-closure
acoustics
sencha-touch-2.3
appcompat
dds
jquery-nestable
worksheet
typescript1.8
mu
knockout-components
crypt
np-complete
qtwebview
akka-cluster
gnome-shell-extensions
objective-c-swift-bridge
grails-tomcat-plugin
log4c
savon
sts-springsourcetoolsuite
asp.net-4.5
django-debug-toolbar
mongocsharpdriver
multiple-regression
holder.js
skype4py
testng-dataprovider
sdf
suffix-tree
qdialog
purge
sframe
sortedlist
csquery
phalanger
socketexception
castle
jboss-weld
typo3-neos
page-layout
cdc
bulkloader
batterylevel
shellexecute
limejs
html-editor
jelly
ocunit
clipper
specification-pattern
chrono
transactionscope
libc++
heartbeat
django-tagging
xfbml
coda-slider
sproutcore-2
revisions
backcolor
adrotator
uimenucontroller
xetex

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App