213 Commits

Author SHA1 Message Date
J. David Ibáñez
f841c62fa6 Drop support for Python 3.2, cffi 1.10 doesn't work with 2017-05-07 09:53:10 +02:00
J. David Ibáñez
8559b2da20 Release 0.25.1 2017-04-25 19:08:10 +02:00
J. David Ibáñez
9325494d6f docs: fix references 2017-04-21 11:36:40 +02:00
J. David Ibáñez
74717bed55 Merge remote-tracking branch 'tmr232/references-object' 2017-04-21 11:13:09 +02:00
Tamir Bahar
3818555e14 Added Repository.references accessor. 2017-04-21 08:51:41 +00:00
J. David Ibáñez
0733ba4da3 docs: fix make html 2017-04-19 21:34:07 +02:00
Tamir Bahar
d6716e035a Updated docs to match new branches API. 2017-04-19 21:03:43 +03:00
Nick Hynes
453fd8a9a3 Add docs 2017-03-27 17:10:51 -04:00
J. David Ibáñez
5a940987cd Add support for Python 3.6 2017-03-22 21:45:12 +01:00
J. David Ibáñez
68817aad4f Release 0.25.0 2016-12-26 12:30:36 +01:00
Carlos Martín Nieto
074a726d7f Update versions to libgit2 v0.25.0 2016-12-23 20:24:37 +00:00
J. David Ibáñez
66280af83a Release 0.24.2 2016-11-01 20:34:50 +01:00
Carlos Martín Nieto
578cf58cd7 Add Repository.create_reference to the automethod list 2016-10-03 20:31:56 +02:00
J. David Ibáñez
4fa43e234e docs, update version 2016-06-21 23:15:56 +02:00
J. David Ibáñez
4416f65fe1 Release 0.24.1 2016-06-21 23:04:12 +02:00
J. David Ibáñez
30f539ff35 Merge remote-tracking branch 'seanfarley/smf/pygit2-upgrade' 2016-06-02 16:18:07 +02:00
Dustin Raimondi
f2864c0511 fix addition occurence of libgit2 version number 2016-03-11 10:24:53 -05:00
Dustin Raimondi
456bf59a88 bump libgit2 version number 2016-03-11 09:38:08 -05:00
J. David Ibáñez
22021c67fc Release 0.24.0 2016-03-05 23:21:05 +01:00
J. David Ibáñez
141f0abe62 docs: add Repository.path_is_ignored 2016-02-28 14:26:19 +01:00
J. David Ibáñez
fa60e2233d Release 0.23.3 2016-01-01 19:18:34 +01:00
Noah Fontes
99dfce9ab8 Add support for Repository.describe(...). 2015-12-05 23:22:37 -08:00
J. David Ibáñez
f92d38e25f Merge remote-tracking branch 'frutiger/blob_from_iobase' into blob_from_io_base 2015-10-25 13:04:49 +01:00
J. David Ibáñez
70edbf256a Update copyright years 2015-10-11 18:48:59 +02:00
J. David Ibáñez
64150d3535 Release 0.23.2 2015-10-11 17:49:17 +02:00
J. David Ibáñez
9db8737364 Update changelog 2015-10-11 11:06:22 +02:00
Nicolás Sanguinetti
cf439e4286 List OpenSSL as a dependency in the docs 2015-10-06 14:44:18 -03:00
J. David Ibáñez
8a66da1278 docs: remove reference to old Remote.credentials 2015-09-27 13:57:30 +02:00
J. David Ibáñez
0d2bc05708 Merge remote-tracking branch 'carlos/diff-delta' 2015-09-27 13:55:13 +02:00
Carlos Martín Nieto
b8e6852d26 Add some missing fields to DiffFile's docs 2015-09-27 03:09:25 +02:00
Carlos Martín Nieto
ab97c08f72 Make clone take the callbacks object
This lets use the same callbacks for fetch and clone; it also fills in
the callbacks which the clone function did not support.
2015-09-27 02:43:50 +02:00
J. David Ibáñez
e4ef8ea5c2 Release 0.23.1 2015-09-26 20:49:13 +02:00
J. David Ibáñez
50f4b20e7d Update changelog 2015-09-26 13:30:24 +02:00
Nicolas Dandrimont
ac7738bbb3 Add type attribute to TreeEntry
This allows complete iteration and rebuilding of a tree without hitting
the object store for every entry.
2015-09-09 21:41:00 +02:00
J. David Ibáñez
29a8dbc6b2 Temporarily deactivate travis for PyPy and PyPy3
Until travis supports PyPy 2.6, and there is a new release of PyPy3

Update docs regarding cffi and PyPy
2015-09-03 09:24:58 +02:00
J. David Ibáñez
27e3450232 Get ready to release v0.23.0 2015-08-14 16:56:30 +02:00
Santiago Perez De Rosso
9dd74dd593 add doc for DiffLine 2015-07-16 11:35:46 -04:00
J. David Ibáñez
c5eae8942d Merge remote-tracking branch 'carlos/development' 2015-07-12 12:20:27 +02:00
J. David Ibáñez
2fdfdcdc4b Get ready to release v0.22.1 2015-07-12 12:04:58 +02:00
Carlos Martín Nieto
f09bbe79a8 Update installation docs with v0.23 2015-07-06 18:49:20 +02:00
J. David Ibáñez
6939b9b203 Fix indent error 2015-06-16 20:06:29 +02:00
J. David Ibáñez
e46119838b Merge remote-tracking branch 'rmoehn/cherry-pick-cleanup' 2015-05-03 11:37:57 +02:00
J. David Ibáñez
d63c2d4fd7 Merge remote-tracking branch 'carlos/diff-stats' 2015-04-29 10:47:21 +02:00
Carlos Martín Nieto
5b50579790 Add a recipe for git clone --mirror
It's not necessarily obvious how to perform a mirror, so add a recipe
which tells what git does as well as provide example code of how to
perform the same steps in pygit2.
2015-04-28 19:53:39 +02:00
Carlos Martín Nieto
42d81e33ec Add DiffStats
This wraps git_diff_stats and can be retrieved through a Diff. It
includes a formatting method.
2015-04-28 16:21:56 +02:00
Richard Möhn
654e4bf56f Cherry-pick recipe: clean up after picking
In b3025e3fe I had written that when following my recipe, the repository
remains in cherry-picking mode afterwards. In issue #516 I was told that
Repository.state_cleanup() is needed to correct that. Therefore add it
to the recipe.

Also add a note near the documentation for cherry-pick, so that nobody
will overlook this again. Apparently there are other times when you need
to do Repository.state_cleanup() as well, but it's not documented, I
don't know when and I don't want to take the time and find out. So leave
it at that for now.
2015-04-25 14:49:48 +09:00
J. David Ibáñez
c072a77e4b Merge remote-tracking branch 'rmoehn/diff-iter' 2015-04-23 12:45:44 +02:00
Richard Möhn
1b9cb54927 Add hint to Diff.__iter__()
I'm not the guy who looks at examples in the first place and I guess
there are other people like me. When I wanted find out how to get
information out of a Diff, I looked at the documented methods and didn't
find anything. Only later @cmn showed me the [p for p in diff] example
in the documentation. Add a short piece of information that gives a hint
to those who prefer the dry API docs.
2015-04-23 16:38:55 +09:00
Richard Möhn
b3025e3fe1 Add git-cherry-pick recipes
Add the way that worked for me. Not sure if it is idiomatic. When doing
the convenience-mode cherry-pick, the repo remains in cherry-picking
mode afterwards. I've already added an issue for this.
2015-04-22 17:14:45 +09:00
Patrick Steinhardt
f923e20f2d submodule: reimplement with Python CFFI.
The submodule type has been implemented as a C type. When opening
a submodule's repository this leads to the bug that instead of an
actual pygit2.Repository being instantiated we only create an
object of the C Repository type.

As this is not trivially fixed within the C code, reimplement the
submodule type as a Python interface with CFFI. As submodules
provide no functionality that is usually accessed repeatedly the
code paths should not prove performance critical. In addition,
maintainability is improved by this reimplementation.
2015-04-16 11:36:41 +02:00