Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337939 - when working with Gerrit 'Compute Change-ID for Code Review' in the commit dialog should be selected by default
Summary: when working with Gerrit 'Compute Change-ID for Code Review' in the commit di...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.12   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 03:26 EST by Edwin Kempin CLA
Modified: 2014-09-18 15:44 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.