From e40b40b337cf40717decd1371bcb472d3dfd83857d4145be02c9cfadf15ab7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 31 Aug 2012 16:09:32 +0000 Subject: [PATCH] Accepting request 132201 from home:cgiboudeaux:branches:devel:libraries:c_c++ Update to 0.17.0 OBS-URL: https://build.opensuse.org/request/show/132201 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=12 --- libgit2-0.16.0.tar.gz | 3 -- libgit2-0.17.0.tar.gz | 3 ++ libgit2.changes | 91 +++++++++++++++++++++++++++++++++++++++++++ libgit2.spec | 3 +- 4 files changed, 96 insertions(+), 4 deletions(-) delete mode 100644 libgit2-0.16.0.tar.gz create mode 100644 libgit2-0.17.0.tar.gz diff --git a/libgit2-0.16.0.tar.gz b/libgit2-0.16.0.tar.gz deleted file mode 100644 index 6d8dcda..0000000 --- a/libgit2-0.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b84e5353ebc41e785f777a4977da9fa3eaf19f71c07eb2a2c23c2ceafb811597 -size 1042613 diff --git a/libgit2-0.17.0.tar.gz b/libgit2-0.17.0.tar.gz new file mode 100644 index 0000000..0f5c9fd --- /dev/null +++ b/libgit2-0.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:068eed0b8fe852a7cc55aae46d2299e9c9e3e00badc1c293d72a9dd122226018 +size 2096159 diff --git a/libgit2.changes b/libgit2.changes index e103646..885fee2 100644 --- a/libgit2.changes +++ b/libgit2.changes @@ -1,3 +1,94 @@ +------------------------------------------------------------------- +Fri Aug 31 13:27:15 UTC 2012 - cgiboudeaux@gmx.com + +- Update to 0.17 + Attributes: + - Added function macros to check attribute values instead of having + to manually compare them + - Added support for choosing the attribute loading order (workdir files + vs index) and to skip the systems' default `.gitattributes` + - Fixed issues when fetching attribute data on bare repositories + + Blob: + - Added support for creating blobs from any file on disk (not + restricted to the repository's working directory) + - Aded support for smudge filters when writing blobs to the ODB + - So far only CRLF normalization is available + Branches: + - Added a high-level branch API: + - git_branch_create + - git_branch_delete + - git_branch_list + - git_branch_move + Commit: + - Commit messages are now filtered to match Git rules (stripping + comments and adding proper whitespacing rules) + Config: + - Added support for setting and getting multivars + - Added `git_config_get_mapped` to map the value of a config + variable based on its defaults + Diff: + - Added full diff API: + - tree to tree + - index to tree + - workdir to index + - workdir to tree + - blob to blob + - Added helper functions to print the diffs as valid patchfiles + Error handling: + - New design for the error handling API, taking into consideration + the requirements of dynamic languages + Indexer: + - Added streaming packfile indexer + Merge: + - Added support for finding the merge base between two commits + Notes: + - Full git-notes support: + - git_note_read + - git_note_message/git_note_oid + - git_note_create + - git_note_remove + - git_note_free + - git_note_foreach + References: + - Added `git_reference_name_to_oid` helper to resolve + a reference to its final OID + - Added `git_reference_cmp` to compare two references with + a stable order + Remotes: + - Added support for writing and saving remotes + - `git_remote_add` + - `git_remote_save` + - Setters for all the attributes of a remote + - Switched remote download to the new streaming packfile indexer + - Fixed fetch on HTTP and Git under Windows + - Added `git_remote_supported_url` helper to check if a protocol + can be accessed by the library + - Added `git_remote_list` + Repository: + - Made `git_repository_open` smarter when finding the `.git` folder. + - Added `git_repository_open_ext` with extra options when + opening a repository + Revwalk: + - Added support for pushing/hiding several references through a glob + - Added helper to push/hide the current HEAD to the walker + - Added helper to push/hide a single reference to the walker + Status: + - Greatly improved Status implementation using the new `diff` code + as a backend + Submodules: + - Added a partial submodules API to get information about a + submodule and list all the submodules in a repository + - git_submodule_foreach + - git_submodule_lookup + Tag: + - Added `git_tag_peel` helper to peel a tag to its pointed object + - Tag messages are now filtered to match Git rules (stripping comments + and adding proper whitespacing rules) + Tree: + - Killed the old `git_tree_diff` API, which is replaced by the + new diff code. + ------------------------------------------------------------------- Mon May 7 10:15:10 UTC 2012 - idonmez@suse.com diff --git a/libgit2.spec b/libgit2.spec index 8efe7c0..4c412f2 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -18,7 +18,7 @@ Name: libgit2 -Version: 0.16.0 +Version: 0.17.0 Release: 0 Summary: C git library License: GPL-2.0-with-GCC-exception @@ -27,6 +27,7 @@ Url: http://libgit2.github.com/ Source0: https://github.com/downloads/libgit2/libgit2/libgit2-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig +BuildRequires: python-base BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: openssl-devel