源代码控制系统的瘦包装
blah的Python项目详细描述
此包已弃用。blah已重命名为Mayo。请改用包mayo。
blah的主要用途是能够从uri下载存储库 指定正在使用的版本控制系统(VCS):
import blah blah.fetch("git+https://github.com/mwilliamson/blah.git", "/tmp/blah") print open("/tmp/blah/README.md").read()
blah也可以用作脚本:
blah fetch git+https://github.com/mwilliamson/blah.git /tmp/blah
可以通过向uri附加哈希来选择特定的提交, 后跟提交的名称:
blah.fetch("git+https://github.com/mwilliamson/blah.git#74d69b4", "/tmp/blah")
目前,git和hguri是受支持的。