Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated libgit2 to 9b87998 (Clone API changes) #105

Merged
merged 174 commits into from
Jul 5, 2014

Conversation

jacquesg
Copy link
Owner

@jacquesg jacquesg commented Jul 5, 2014

There have been some changes in the way libgit2 handles cloning of repositories, notably, the remote_name and ignore_cert_errors clone options have been removed.

These have been superseded by a remote_create callback.

jacquesg and others added 30 commits April 14, 2014 10:35
 - Fix segfaults caused by invalid object creation (GH#66) (thanks, @pipcet!)
 - Add Config -> default() method (GH#67) (thanks, @magnolia-k!)
 - Do not fail when a lightweight tag is found in the Tag->foreach() callback
   (GH#68) (thanks, @pipcet!)
 - Add Tree::Entry -> file_mode() method (GH#69) (thanks, @pipcet!)
 - Repository -> merge() now takes %merge_opts and %checkout_opts as 2
   separate parameters. (incompatible change) (GH#70)
 - Merge options parameter member 'automerge' has been renamed to 'favor',
   inline with libgit2 API changes. (incompatible changes) (GH#70)
   It has also learned about a 'union' merge.
 - Checkout options has learned new options: 'target_directory', 'ancestor_label',
   'our_label' and 'their_label'. (GH#70)
 - Checkout strategy has additional options: (GH#70)
   'use_ours', 'use_theirs', 'skip_locked_directories', 'dont_overwrite_ignored',
   'conflict_style_merge', 'conflict_style_diff3' and 'disable_pathspec_match'.
 - Added new Repository methods (#GH70):
    + Repository -> merge_analysis()
    + Repository -> merge_base()
 - Added new Index methods (#GH70):
    + Index -> write_tree_to()
    + Index -> checkout()
    + Index -> entries()
    + Index -> add_conflict()
    + Index -> remove_conflict()
 - Added new Commit method (#GH70):
    + Commit -> merge()
 - Added new Tree method (#GH70):
    + Tree -> merge()
 - Index -> add() now either takes a path or a Index::Entry (GH#70)
 - Remote->create_inmemory() has been replaced by Remote->create_anonymous()
   (incompatible change) (GH#71).
   The order of 'url' and 'fetchspec' has also been reversed to bring it
   inline with the upstream changes.
 - Update libgit2 to bcc6229
Ideally we want the use to be able to specify the location of the
library when running `perl Makefile.PL` if required.
 - Removed Index -> add_conflict() (Incompatible change) (GH#97)
 - Index -> read() now takes an optional force argument (GH#97)
 - Added Raw -> features() method. This may be used to query the features
    built into libgit2 (and thus Git::Raw).
 - Added Repository methods (GH#97):
    + Repository -> cherry_pick()
    + Repository -> revert()
 - Update libgit2 to df19219 (GH#99,GH#102)
 - Added Index methods (GH#100):
    + Index -> capabilities()
    + Index -> path()
    + Index -> add_all()
    + Index -> remove_all()
 - Improved documentation (GH#101)
 - Improved the error model (GH#101)
    All errors are now Git::Raw::Error objects. Extended error information
	provided by libgit2 may be queried (code/category/message) via the
	corresponding accessor. All existing code should continue to work as is
	(via "" and bool overloads).
 - Added Error methods (GH#101):
	+ Error -> code()
	+ Error -> category()
	+ Error -> message()
 - Removed constants from Filter (Incompatible change) (GH#101):
   They are now located in the Error namespace.
 - Fixed Windows specific path comparison test case
 - (Possibly) Fix cross-compilation issues with ARM architectures
 - Fixed Windows specific path comparison test case (verified this time)
 - Tag -> tagger() now returns undef if a tag doesn't have a tagger instead
    of crashing (GH#103, GH#104)
Added 'remote_create' callback
Removed 'ignore_cert_errors' and 'remote_name' options
@coveralls
Copy link

Coverage Status

Coverage increased (+0.14%) when pulling ec0500e on jacquesg/update-libgit2 into e660a31 on master.

* (Try) to support ActivePerl builds
@coveralls
Copy link

Coverage Status

Coverage increased (+0.14%) when pulling bca58c7 on jacquesg/update-libgit2 into e660a31 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.14%) when pulling bca58c7 on jacquesg/update-libgit2 into e660a31 on master.

@jacquesg jacquesg merged commit bca58c7 into master Jul 5, 2014
@jacquesg jacquesg deleted the jacquesg/update-libgit2 branch July 6, 2014 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants