Gerrit 2.11.4 發布,代碼評審工具 - OSCHINA - 中文開源技術交流...

2021-01-11 開源中國

Fix NullPointerException in ls-project command with --has-acl-for option.

Using the --has-acl-for option for external groups (e.g. LDAP groups) wascausing a NullPointerException.

Issue 3328:Allow to push a tag that points to a non-commit object.

When pushing a tag that points to a non-commit object, likev2.6.11 on linux-stable which points to a tree, orspearce-gpg-pub on jgit which points to a blob, Gerrit rejected the push withthe error message missing object(s).

Note: This was previously fixed in Gerrit version 2.11.1, but was inadvertentlyreverted in 2.11.2 and 2.11.3.

Issue 2817:Insert Change-Id footer into access right changes.

When modifications of access rights were saved for review, the changedid not have a Change-Id footer in the commit message.

Fix duplicated log lines after reloading a plugin.

If a plugin was reloaded, logs emitted from the plugin were duplicated.

Remove --recheck-mergeable option from reindex command documentation.

The --recheck-mergeable option was removed in Gerrit version 2.11.

Use the correct validation policy for commits created by Gerrit.

Commits created by Gerrit were being validated in the same way as commitsreceived from users.

Issue 3557:Disallow invalid reference patterns in project configuration.

When editing a project configuration by using the UI or by submitting a changeto refs/meta/config, it was possible to add a permission to an invalidreference pattern. This caused the project to be unavailable and the ls-projectscommand to fail whenever this project was encountered.

Issue 3574:Fix review labels with AnyWithBlock function.

The review labels with AnyWithBlock with 0 and +1 values blocked submit whenreviewers were added.

Fix ref in tag list for signed/annotated tags.

The tag name from the header was used, rather than the ref name. In some casesthis resulted in the wrong tag ref being listed.

Prevent user from bypassing ref-update hook through gerrit-created commits.

If the user used the cherry-pick ability in the UI or via the REST API, theycould put a commit on a branch that bypassed the requirements of the ref-updatehook (such as that certain branches require QA-tickets to be referenced in thecommit message).

Allow InternalUsers to see drafts.

According to the documentation, InternalUsers should have full read access.This was not true, since InternalUsers could not see drafts.

Issue 2683:Fix non-ASCII password authentication failure under tomcat (LDAP).

The authentication with LDAP failed when the password contained non-ASCIIcharacters such as ä, ö, Ä, and Ö.

Do not double decode the login URL token.

The login URL token used to redirect from the login servlet to the target pageis already decoded and should not be decoded again.

Issue 3020:Include approvals specified on push in change message.

When using the %l option to apply a review label on uploaded changes orpatch sets, the applied label was not mentioned in the change message.

Fire the comment-added hook for approvals specified on push.

When using the %l option to apply a review label on uploaded changes orpatch sets, the comment-added hook was not being fired.

Issue 3602:Use uploader for approvals specified on push, not the committer.

When using the %l option to apply a review label on uploaded changes orpatch sets, the review label was in some cases applied as the committer ratherthan the uploader.

Issue 3531:Fix internal server error on unified diff screen for anonymous users.

Issue 2414:Improve detection of requiring sign-in.

Some queries, such as the has:* operators, require the user to be signed in.

Also, when handling a REST API failure, detect Invalid authentication responsesas also requiring a new session.

Issue 3052:Fix Conflicts With list for merge commits.

The Conflicts List was not being populated correctly if the change being viewedwas a merge commit, or if the change being viewed conflicted with an open mergecommit.

Gerrit 是一個免費、開放原始碼的代碼審查軟體,使用網頁界面。利用網頁瀏覽器,同一個團隊的軟體程式設計師,可以相互審閱彼此修改後的程序代碼,決定是否能夠提交,退回或者繼續修改。它使用 Git 作為底層版本控制系統。它分支自Rietveld,作者為Google公司的Shawn Pearce,原先是為了管理Android計劃而產生。這個軟體的名稱,來自於荷蘭設計師赫裡特·裡特費爾德(Gerrit Rietveld)。最早它是由Python寫成,在第二版後,改成用Java與SQL。使用Google Web Toolkit來產生前端的JavaScript。

相關焦點