如何评价 Python 迁移到 GitHub?

php中文网
发布: 2016-06-06 16:24:15
原创
1626人浏览过

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

回复内容:

看着个:PEP 0507 -- Migrate CPython to Git and GitLab
One feature that the current tooling (Mercurial, Rietveld) has is that the primary language for all of the pieces are written in Python. This PEP focuses 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 subjective opinion. This PEP does not state whether the mechanics of Git or Mercurial are better, and instead focuses on the network effect that is available for either option. While this PEP proposes switching to Git, Mercurial users are not left completely out of the loop. By using the hg-git extension for Mercurial, working with server-side Git repositories is fairly easy and straightforward.
另外,最后他们决定了不用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 来说更加简单易用的轻量级分布式版本控制系统感到惋惜。
python速学教程(入门到精通)
python速学教程(入门到精通)

python怎么学习?python怎么入门?python在哪学?python怎么学才快?不用担心,这里为大家提供了python速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号