Python 的 Git 开发包,Pygit2 0.22.0 发布
jopen 10年前
Pygit2是一组Python绑定到libgit2共享库。libgit2实现了Git核心。Pygit2支持 Python 2.7, 3.2, 3.3, 3.4 和pypy。
项目地址:https://github.com/libgit2/pygit2
Changelog
0.22.0 (2015-01-16)
New:
- Update to libgit2 v0.22 #459
- Add support for libgit2 feature detection (newpygit2.featuresandpygit2.GIT_FEATURE_*) #475
- NewRepository.remotes(RemoteCollection) #447
API Changes:
- Prototype ofclone_repositorychanged, check documentation
- Removedclone_into, useclone_repositorywith callbacks instead
- UseRepository.remotes.rename(name, new_name)instead ofRemote.rename(new_name)
- UseRepository.remotes.delete(name)instead ofRemote.delete()
- NowRemote.push(...)takes a list of refspecs instead of just one
- ChangePatch.old_id,Patch.new_id,Note.annotated_id,RefLogEntry.oid_oldandRefLogEntry.oid_newto beOidobjects instead of strings #449
Other: