红联Linux门户
Linux帮助

Pygit2 0.22.0发布,Python的Git开发包

发布时间:2015-01-17 09:35:08来源:红联作者:empast
Pygit2 是 libgit2 的 Python 绑定。

Pygit2 0.22.0 发布,此版本更新内容如下:

新特性:

Update to libgit2 v0.22#459

Add support for libgit2 feature detection (new pygit2.features and pygit2.GIT_FEATURE_*)#475

New Repository.remotes (RemoteCollection)#447

API 改进:

Prototype of clone_repository changed, check documentation

Removed clone_into, use clone_repository with callbacks instead

Use Repository.remotes.rename(name, new_name) instead ofRemote.rename(new_name)

Use Repository.remotes.delete(name) instead of Remote.delete()

Now Remote.push(...) takes a list of refspecs instead of just one

Change Patch.old_id, Patch.new_id, Note.annotated_id,RefLogEntry.oid_old and RefLogEntry.oid_new to be Oid objects instead of strings#449

其他:

Fix init_repository when passing optional parameters workdir_path,description, template_path, initial_head or origin_url#466#471

Fix use-after-free when patch outlives diff#457#461#474

Documentation improvements#456#462#465#472#473

Make the GPL exception explicit in setup.py#450

软件详情:https://github.com/libgit2/pygit2/

来自:开源中国社区
文章评论

共有 0 条评论