Merge branch 'stable-2.10' into stable-2.11
* stable-2.10: Update version to 2.10.5 Release notes for 2.10.5 Fixed regression caused by the defaultValue feature Change-Id: Ic0ac644a8b76a546c7470305c334ff27f98f56df
This commit is contained in:
commit
84db9670c0
27
ReleaseNotes/ReleaseNotes-2.10.5.txt
Normal file
27
ReleaseNotes/ReleaseNotes-2.10.5.txt
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
Release notes for Gerrit 2.10.5
|
||||||
|
===============================
|
||||||
|
|
||||||
|
There are no schema changes from link:ReleaseNotes-2.10.4.html[2.10.4].
|
||||||
|
|
||||||
|
Download:
|
||||||
|
link:https://gerrit-releases.storage.googleapis.com/gerrit-2.10.5.war[
|
||||||
|
https://gerrit-releases.storage.googleapis.com/gerrit-2.10.5.war]
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
* Update JGit to include a memory leak fix as discussed
|
||||||
|
link:https://groups.google.com/forum/#!topic/repo-discuss/RRQT_xCqz4o[here]
|
||||||
|
|
||||||
|
* Attempt to fix the "Cannot read project" issue in Gerrit, as discussed
|
||||||
|
link:https://groups.google.com/forum/\#!topic/repo-discuss/ZeGWPyyJlrM[here]
|
||||||
|
and
|
||||||
|
link:https://groups.google.com/forum/#!topic/repo-discuss/CYYoHfDxCfA[here]
|
||||||
|
|
||||||
|
* Fixed a regression caused by the defaultValue feature which broke the ability
|
||||||
|
to remove labels in subprojects
|
||||||
|
|
||||||
|
Updates
|
||||||
|
-------
|
||||||
|
|
||||||
|
* Update JGit to v4.0.0.201506090130-r
|
@ -10,6 +10,7 @@ Version 2.11.x
|
|||||||
[[2_10]]
|
[[2_10]]
|
||||||
Version 2.10.x
|
Version 2.10.x
|
||||||
--------------
|
--------------
|
||||||
|
* link:ReleaseNotes-2.10.5.html[2.10.5]
|
||||||
* link:ReleaseNotes-2.10.4.html[2.10.4]
|
* link:ReleaseNotes-2.10.4.html[2.10.4]
|
||||||
* link:ReleaseNotes-2.10.3.1.html[2.10.3.1]
|
* link:ReleaseNotes-2.10.3.1.html[2.10.3.1]
|
||||||
* link:ReleaseNotes-2.10.3.html[2.10.3]
|
* link:ReleaseNotes-2.10.3.html[2.10.3]
|
||||||
|
@ -682,6 +682,7 @@ public class ProjectConfig extends VersionedMetaData implements ValidationError.
|
|||||||
label.setFunctionName(null);
|
label.setFunctionName(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!values.isEmpty()) {
|
||||||
short dv = (short) rc.getInt(LABEL, name, KEY_DEFAULT_VALUE, 0);
|
short dv = (short) rc.getInt(LABEL, name, KEY_DEFAULT_VALUE, 0);
|
||||||
if (isInRange(dv, values)) {
|
if (isInRange(dv, values)) {
|
||||||
label.setDefaultValue(dv);
|
label.setDefaultValue(dv);
|
||||||
@ -690,6 +691,7 @@ public class ProjectConfig extends VersionedMetaData implements ValidationError.
|
|||||||
"Invalid %s \"%s\" for label \"%s\"",
|
"Invalid %s \"%s\" for label \"%s\"",
|
||||||
KEY_DEFAULT_VALUE, dv, name)));
|
KEY_DEFAULT_VALUE, dv, name)));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
label.setCopyMinScore(
|
label.setCopyMinScore(
|
||||||
rc.getBoolean(LABEL, name, KEY_COPY_MIN_SCORE,
|
rc.getBoolean(LABEL, name, KEY_COPY_MIN_SCORE,
|
||||||
LabelType.DEF_COPY_MIN_SCORE));
|
LabelType.DEF_COPY_MIN_SCORE));
|
||||||
|
Loading…
Reference in New Issue
Block a user