Gerrit评论网址中的数字的正式名称是什么? [英] What is the official name of the number in a Gerrit review url

查看:249
本文介绍了Gerrit评论网址中的数字的正式名称是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用了 Git / Gerrit 约9个月,但我仍然不知道这个问题的
答案。 (请参阅 Gerrit文档



Gerrit 中,当更改被推入审阅时,将会有一个关于嵌入数字变化的URL。例如:

  http:// gerrithost:8080/68 

这个号码的正式名称是什么? (在上面的例子中 68 )。在讨论Gerrit工作流程时,这个数字是一个重要的概念。

在Gerrit用户界面上,这个数字也可以显示在左上角。例如:

 更改68  - 合并

该数字是一个小整数,当向Griter服务器提交时,似乎会单调递增。



这个数字不应该和Change-Id混淆,因为后者是一个很长的哈希(前缀为 I commit 后跟一个或多个 commit --amend 创建) )合并为一个更改(可以有一个或多个修补程序集)。例如:

 变更编号:Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b 


解决方案

这是更改号码,有时在文档中被称为旧版ID号码,数字ID或遗留数字更改ID。

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

解决方案

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

这篇关于Gerrit评论网址中的数字的正式名称是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆