Python 的 Git 開發包,Pygit2 0.22.0 發布
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:
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!