What is the official name of the number in a Gerrit review url

自作多情 提交于 2019-12-13 04:15:04

问题


I have been using Git/Gerrit for about 9 months and I still don't know the answer to this question. (c.f. Gerrit Documentation )

In Gerrit, when a change is pushed for review, there will be an URL about the change with an embedded number. For example:

http://gerrithost:8080/68

What is the official name of this number? (68 in the above example). This number is an important concept when discussing the Gerrit workflow.

On the Gerrit UI, this number may also shown on the upper left-hand conner. Something like:

Change 68 - Merged

The number is a small integer that seems to increase monotonically when pushes are submitted to the Gerrit server.

This number should NOT be confused with "Change-Id" because the latter is a long hash (prefixed by the letter I) used to identify multiple related pushes (created with one commit followed by one or more commit --amend) into one "Change" (which can have one or more "Patch-Set") . E.g:

Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b

回答1:


This is the "change number" which is sometimes referenced in the documentation as "legacy ID number", "legacy numerical id" or "legacy numeric change ID".



来源:https://stackoverflow.com/questions/49259146/what-is-the-official-name-of-the-number-in-a-gerrit-review-url

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!