如何评价 Python 迁移到 GitHub?

对于新项目而言 Mercurial 是否已不再值得考虑?

回复内容:

看着个:PEP 0507 — Migrate CPython to Git and GitLab

One feature that the current tooling (Mercurial, Rietveld) has is that theprimary language for all of the pieces are written in Python. This PEPfocuses more on the best tools for the job and not necessarily on the best tools that happen to be written in Python.

也就是说,之前用hg的原因之一是hg使用python写的,git不是。而显然这太狭隘。

而关于hg和git的对比,也有专门描述:

Whether Mercurial or Git is better on a technical level is a highly subjectiveopinion. This PEP does not state whether the mechanics of Git or Mercurialare better, and instead focuses on the network effect that is available foreither option. While this PEP proposes switching to Git, Mercurial users arenot left completely out of the loop. By using the hg-git extension forMercurial, working with server-side Git repositories is fairly easy andstraightforward.

另外,最后他们决定了不用gitlab,而用github。[core-workflow] We will be moving to GitHub

至少,在不远的将来,我可以把我对python的修改:unicode编译、android支持、uwp支持,都推回去了。因为独裁者Guido 更喜欢 GitHub。

Benevolent Dictator For Life从 maillist 里的声明可以看出,对于已经习惯使用 hg 的用户来说,他们的建议是:在 hg 客户端上安装使用 hg-git 插件来操作 git 库,这样就使得客户端的体验与之前的 hg 完全一致。
但我并不长期看好这种做法,这样使用中间件进行转换操作显然是折衷的过渡策略,是一种暂时的妥协。git 协议还是在不断更新中,hg-git 这个插件以后会怎样也很难说。
即使 mercurial 仍然继续积极维护,失去了本语言平台最大项目的支撑,它也没有出头之日了。
不管怎样,为 mercurial 这一相比 git 来说更加简单易用的轻量级分布式版本控制系统感到惋惜。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。

发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/2536818.html

(0)
上一篇 2025年3月5日 23:57:36
下一篇 2025年3月5日 23:57:42

AD推荐 黄金广告位招租... 更多推荐

发表回复

登录后才能评论