github是什么意思_神秘的Github评论是什么意思?

github是什么意思

by Alex Beregszaszi

通过亚历克斯·贝雷格萨斯(Alex Beregszaszi)

神秘的Github评论是什么意思? (What do cryptic Github comments mean?)

Are you new to Github and/or contributing to open source projects? Have you seen short messages like LGTM, ACK, NACK, etc. and wondered what they mean?

您是Github的新手和/或致力于开源项目吗? 您是否看到过LGTM,ACK,NACK等短消息,并想知道它们是什么意思?

Here you go:

干得好:

  • LGTM — looks good to me

    LGTM-对我来说很好
  • ACK — acknowledgement, i.e. agreed/accepted change

    ACK — 确认 ,即同意/接受的更改

  • NACK/NAK —negative acknowledgement, i.e. disagree with change and/or concept

    NACK / NAK — 否定确认 ,即不同意更改和/或概念

  • RFC — request for comments, i.e. I think this is a good idea, lets discuss

    RFC-请求评论,即我认为这是一个好主意,让我们讨论
  • WIP — work in progress, do not merge yet

    WIP-进行中,尚未合并
  • AFAIK/AFAICT — as far as I know / can tell

    AFAIK / AFAICT-据我所知/可以告诉
  • IIRC — if I recall correctly

    IIRC —如果我没记错的话
  • IANAL — “I am not a lawyer”, but I smell licensing issues

    IANAL-“我不是律师”, 但我闻到许可问题

Many projects in the crypto space also use the following (popularised by Bitcoin’s hacker lingo):

加密领域中的许多项目还使用以下项目(由比特币黑客术语 流行 ):

  • Concept ACK — agree with the concept, but haven’t reviewed the changes

    概念确认-同意概念,但尚未审查更改
  • utACK (aka. Untested ACK) — agree with the changes and reviewed them, but didn’t test

    utACK(又名未经测试的ACK)—同意更改并进行了检查,但未进行测试
  • Tested ACK — agree with the changes, reviewed and tested

    经测试的ACK-同意更改,经过审查和测试

These answers are usually part of the code review process and you would find them in issues or pull requests in Github.

这些答案通常是代码审查过程的一部分,您会在Github中发现问题提出请求

Honorary mention: +1 as the short form of ACK (and in many cases, Concept ACK). After the famous “Dear Github” letter, the platform has introduced proper reactions to declutter comments. No, this is not about making Github your next Facebook :)

荣誉提及: +1是ACK(在许多情况下为Concept ACK)的简称。 在著名的“亲爱的Github”信之后 ,该平台对混乱的评论引入了适当的React 。 不,这不是要让Github成为您的下一个Facebook :)

You would also see the ACKs be included in commit messages, like how the Linux kernel does it since Git is being used:

您还会看到ACK包含在提交消息中,就像Linux内核自使用Git以来所做的那样:

Add get_random_long().Signed-off-by: Daniel Cashman <dcashman@android.com>Acked-by: Kees Cook <keescook@chromium.org>Cc: "Theodore Ts'o" <tytso@mit.edu>Cc: Arnd Bergmann <arnd@arndb.de>Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>Cc: Catalin Marinas <catalin.marinas@arm.com>Cc: Will Deacon <will.deacon@arm.com>Cc: Ralf Baechle <ralf@linux-mips.org>Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>Cc: Paul Mackerras <paulus@samba.org>Cc: Michael Ellerman <mpe@ellerman.id.au>Cc: David S. Miller <davem@davemloft.net>Cc: Thomas Gleixner <tglx@linutronix.de>Cc: Ingo Molnar <mingo@redhat.com>Cc: H. Peter Anvin <hpa@zytor.com>Cc: Al Viro <viro@zeniv.linux.org.uk>Cc: Nick Kralevich <nnk@google.com>Cc: Jeff Vander Stoep <jeffv@google.com>Cc: Mark Salyzyn <salyzyn@android.com>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Check out the “How to Get Your Change Into the Linux Kernel” guide for a thorough explanation.

查阅“ 如何将您的更改纳入Linux内核 ”指南以获取详细说明。

Similar short answers are used widely in software engineering and the open source community as they make communication more efficient.

类似的简短答案可以使沟通更加有效,因此在软件工程和开源社区中得到了广泛使用。

You have surely seen the following in source code — TODO, FIXME, XXX and NOTE — and only wondered what XXX means?

您肯定已经在源代码中看到了以下内容-TODO,FIXME,XXX和NOTE-只是想知道XXX是什么意思?

Interested to see a lot more acronyms with explanation and perhaps a bit of history? Check out The Jargon File. It is the definitive source since 1975.

有兴趣看到更多带有解释的首字母缩写词,也许还有一些历史吗? 检阅行话档案 。 自1975年以来,它就是确定的来源。

Bonus trivia: where does ACK/NACK comes from?

奖励琐事 :ACK / NACK来自哪里?

I would say it came from networking/interface protocols, perhaps the popularity of TCP caused widespread usage.

我想说它来自网络/接口协议,也许TCP的流行引起了广泛的使用。

SYN, SYN/ACK, ACK, FIN, ACK, FIN, ACK.

SYN,SYN / ACK,ACK,FIN,ACK,FIN,ACK。

翻译自: https://www.freecodecamp.org/news/what-do-cryptic-github-comments-mean-9c1912bcc0a4/

github是什么意思

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值