534 Commits

Author SHA1 Message Date
Nico von Geyso
3bf32f707a added remote 'origin' to emptyrepo.tar 2013-02-16 21:56:00 +01:00
Nico von Geyso
d798d95a8b added basic fetch()-method for remotes 2013-02-16 21:26:51 +01:00
Nico von Geyso
4864e7b24c removed duplicated GETSET entry in remote.c 2013-02-16 20:47:50 +01:00
Nico von Geyso
4873529129 added setter for remote fetchspec 2013-02-16 20:47:45 +01:00
Nico von Geyso
ee32acdf39 added remote fetchspec getter 2013-02-16 19:51:18 +01:00
Nico von Geyso
d150937068 added functionality to set remote urls 2013-02-16 19:47:31 +01:00
Nico von Geyso
ffaf0d5ada added functionality to rename remotes 2013-02-16 19:47:31 +01:00
Nico von Geyso
bc2bb9fc26 added assertRaisesAssign test function 2013-02-16 19:47:31 +01:00
Nico von Geyso
c1e645ea1a moved remote tests to test_remote.py 2013-02-16 19:47:31 +01:00
Nico von Geyso
401e5c9aaf added remote 'origin' to testrepo.tar 2013-02-16 19:47:31 +01:00
Nico von Geyso
5a6a481fbb remote_create: instantiate object manually for efficiency 2013-02-16 19:47:31 +01:00
Nico von Geyso
5847007075 free remote pointer in deallocation 2013-02-16 19:41:19 +01:00
Nico von Geyso
14a6734921 Added basic remote support
* new Repository methods implemented:
   * remotes to list all existing remotes
   * remote_create to create a new remote entry
* New Class Remote added
2013-02-15 18:08:38 +01:00
richo
4551cb078a Add tests for hash 2013-02-15 03:28:53 +11:00
richo
ec5cfa413e Implement Repository.hash
This takes a string of arbitrary data (That may include null bytes) and
returns it's sha1 hash as though it were a blob, without actually
writing to the object db.
2013-02-15 03:28:52 +11:00
richo
927b29d70e Add tests for Repository.hashfile 2013-02-15 03:28:52 +11:00
richo
149db7c055 Implement Respository.hashfile
This hashes the content of a file, without actually writing it to the
db.
2013-02-15 03:28:52 +11:00
J. David Ibáñez
8e40dbd314 Make doc strings look fine from the interpreter
Basically add a new-line character since "help(...)" does not wrap
lines automatically.
2013-02-09 23:46:37 +01:00
J. David Ibáñez
7d3ba87cea Finish deploying PyDoc_STRVAR 2013-02-04 19:20:24 +01:00
J. David Ibáñez
5343d28ca5 Flat directory hierarchy: move src/pygit2/ to src/ 2013-02-04 12:51:28 +01:00
J. David Ibáñez
b0a93435eb Use PyDoc_STRVAR in tree.c 2013-02-04 12:43:16 +01:00
J. David Ibáñez
ad76120e8f Split treebuilder.c from tree.c 2013-02-04 12:15:04 +01:00
J. David Ibáñez
0b5b9fb389 Use PyDoc_STRVAR in signature.c 2013-02-04 11:49:57 +01:00
J. David Ibáñez
4933b8b199 travis: drop 3.1 since travis does not support it anymore 2013-02-03 12:08:36 +01:00
J. David Ibáñez
6a5e4879d9 Define the METHOD macro and deploy it 2013-02-03 12:07:25 +01:00
J. David Ibáñez
bf81dfe193 Define GETTER helper macro
To save typing, and increase coding consistency.
2013-02-03 11:21:03 +01:00
J. David Ibáñez
c0543b5db4 docs: use PyDoc_STRVAR in the Object type 2013-02-02 22:20:03 +01:00
J. David Ibáñez
4b72047260 docs: finish first round on the repository chapter 2013-02-02 11:02:28 +01:00
J. David Ibáñez
43558261a5 Add Python 3.3 to the list of supported versions 2013-02-02 09:00:08 +01:00
J. David Ibáñez
e110f1c759 Revert another mistake
Forgot the Python 3 changes to the API.
2013-02-02 08:50:55 +01:00
J. David Ibáñez
7d3b76ea83 Revert mistake 2013-02-02 00:12:20 +01:00
J. David Ibáñez
120bb0c9a3 docs: document arguments in a few more methods 2013-02-02 00:04:04 +01:00
Nico von Geyso
21229cb298 fix error message text 2013-02-01 15:19:54 +01:00
Nico von Geyso
1b7c809c55 added GIT_EINVALIDSPEC as error code and use error msg for expected failures 2013-02-01 15:19:15 +01:00
Nico von Geyso
5aead84b2d variable renaming 2013-02-01 13:43:48 +01:00
Nico von Geyso
ea8b076b70 fixed api changes for index.c
11d9f6b304 in libgit2 changed api for git_index_find()
2013-02-01 13:37:53 +01:00
J. David Ibáñez
8cdb8c06be docs: working on the repository chapter (continue) 2013-01-28 22:39:19 +01:00
J. David Ibáñez
93b8c633c3 docs: working on the repository chapter (in progress) 2013-01-27 23:49:02 +01:00
J. David Ibáñez
b0235e70c7 Improve Index docs
And fix a refcount error through the way.
2013-01-20 12:40:31 +01:00
J. David Ibáñez
181c6ed91e docs: merge auto generated and hand writen docs 2013-01-19 17:05:36 +01:00
J. David Ibáñez
c1a48d514a docs: make autodoc work without installing pygit2 2013-01-19 15:39:51 +01:00
J. David Ibáñez
6bb932cd1c Update to latest libgit2 API renaming
See libgit2 commit 25743bd7c5f14f2287d9c4, where git_index_add_from_workdir
was renamed to git_index_add_bypath
2013-01-19 15:21:43 +01:00
J. David Ibáñez
e34911b63e docs: split usage guide into several source files 2013-01-13 22:26:49 +01:00
J. David Ibáñez
356fca312a Update authors list
And remove AUTHORS text file.
2013-01-13 12:35:04 +01:00
J. David Ibáñez
c725ee7f05 Simplify README file 2013-01-13 12:13:25 +01:00
J. David Ibáñez
29708773e0 Copy docs from the readme file 2013-01-12 19:03:05 +01:00
J. David Ibáñez
0ff85b8fea Use autodocs 2013-01-12 18:42:12 +01:00
J. David Ibáñez
139ea8d67c sphinx-quickstart 2013-01-06 09:57:03 +01:00
J. David Ibáñez
b63982d102 Readme: add table of contents 2013-01-06 09:11:59 +01:00
J. David Ibáñez
9ec56c07ea Make Repostirory_as_iter shorter
Error_set already returns NULL
2013-01-05 10:36:09 +01:00