Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337939

Summary: when working with Gerrit 'Compute Change-ID for Code Review' in the commit dialog should be selected by default
Product: [Technology] EGit Reporter: Edwin Kempin <edwin.kempin>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: jarek.przygodzki, manuel.doninger, matthias.sohn, stefan.lay
Version: 0.12   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Edwin Kempin CLA 2011-02-23 03:26:51 EST
When I'm working with Gerrit I always want to generate a Change-ID for new commits. Currently I have to remember for each commit to check the 'Compute Change-ID for Code Review' checkbox in the commit dialog. That is a bit annoying. I would like to once say for a repository that it comes from Gerrit and then to have this checkbox in the commit dialog checked by default.

Maybe it would be even better if in the preferences I could register my Gerrit server and then this setting would be done automatically for all projects coming from this Gerrit server (by comparing the URL's this should be possible to find out).
What do you think?
Comment 1 Manuel Doninger CLA 2011-02-26 18:50:33 EST
See change http://egit.eclipse.org/r/#change,2608 for a first simple implementation.
Comment 2 Matthias Sohn CLA 2011-02-27 17:08:17 EST
merged aabcdc3475daffa53767991ac5fb7dd1d767b979 to enable first simple improvement providing a preference to change the default for this option

We should provide another value for this option allowing to configure this per repository, I think this should be stored in repository configuration.

In addition the configuration proposed by Edwin makes sense which allows to define a URL pattern so that all repos handled by the same Gerrit server can be configured in one step.