aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2015-04-08fix(index): don't write extension data by defaultSebastian Thiel
It turned out that the index is not actually corrupted, which is good news. What happens is that `git` writes `TREE` extension data into the index, which causes it to write out the given tree *as is* next time a `git commit` is executed. When using `git add`, this extension data is maintained automatically. However, GitPython doesn't do that ... . Usually this is no problem at all, as you are supposed to use `IndexFile.commit(...)` along with `IndexFile.add(...)`. Thanks to a shortcoming in the GitPython API, the index was automatically written out whenever files have been added, without providing control over whether or not *extension data* will be written along with it. My fix consists of an additional flag in `IndexFile.add(...)`, which causes extension data not to be written by default, so commits can be safely done via `git commit` or `IndexFile.commit(...)`. However, this might introduce new subtle bugs in case someone is relying on extension data to be written. As this can be controlled through the said flag though, a fix is easily done in that case. Fixes #265
2015-04-07fix(docs): sphinx docs build in latest versionSebastian Thiel
2015-02-05Updated copyright information.Sebastian Thiel
Fixes #246
2015-01-22Removed Git.sshkey() as it couldn't be distributed properly.0.3.6Sebastian Thiel
However, I kept information on how to achieve the same thing with `custom_environment()` in the test. Related to #234
2015-01-22Merge branch 'master' into teeberg-masterSebastian Thiel
Need latest master to proceed with test Conflicts: doc/source/tutorial.rst
2015-01-22Intermediate commit on my way to get this finalized.Sebastian Thiel
Renamed context manager 'with_environment' to 'custom_environment'. On my way to implement sshkey test.
2015-01-22Overhauled all tutorials, and placed them in a unit-test.Sebastian Thiel
That way they are protected from regression. Fixes #239
2015-01-21Add 'sshkey' context managerJonas Trappenberg
2015-01-21Fixed regression in test-suite for IndexFileSebastian Thiel
Previously, it checked for AssertionErrors, now we have to implement need-unbare-repo check ourselves.
2015-01-21Added advance usage examples to tutorial and made minor fixes.Sebastian Thiel
GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239
2015-01-21Initial set of documentation improvements, and a fix to the submodule tests.Sebastian Thiel
Now travisci tests should work once again. Related to #239
2015-01-20Fixed flake8 and a minor test regression.Sebastian Thiel
The latter happened as now BadName is thrown, instead of BadObject. Changes.rst was marked accordingly
2015-01-19Added tutorial about initializing a repository.Sebastian Thiel
Additionally, for this and future examples, there is a test_doc.py suite to contain all code mentioned in the docs. That way, we know if things stop working. Fixes #236
2015-01-19Improved installation docs to mention `pip`, not `easy_install`Sebastian Thiel
Fixes #235 [ci skip]
2015-01-19Implemented Submodule.rename()Sebastian Thiel
A test verifies it's truly working. Related to #238
2015-01-14Added 'path' keyword argument to Repo.archive().Sebastian Thiel
This allows sub-trees to be archived as well, and makes `.archive()` feature complete. Fixes #67
2015-01-13Added `Repo.merge_base(...)` implementation, including test-case.Sebastian Thiel
Fixes #169
2015-01-12IndexFile.commit() now runs pre-commit and post-commit hooks.Sebastian Thiel
However, it does so only on posix. The test-case will run on posix only as well. Please note that in theory, even on windows we will attempt to run hooks, even though I am not sure that this will actually work. Fixes #81
2015-01-10Added search_parent_directories keyword argument to Repo type.Sebastian Thiel
Now by default, we will not walk up the directory structure and possibly find git directories that the user didn't intend to find. If required, that kind of behaviour can be turned back on. Fixes #65
2015-01-08Auto-update odb caches after fetch or pull.Sebastian Thiel
Fixes #34
2015-01-08Added support for rename detection in raw mode (which is the default).Sebastian Thiel
Fixes #36
2015-01-07Merge branch 'commit_by_actor' of https://github.com/firm1/GitPython into ↵Sebastian Thiel
firm1-commit_by_actor
2015-01-07add documentationfirm1
2015-01-07Implemented non-blocking operations using poll()Sebastian Thiel
Next up is using threads
2015-01-06Bumped version to 0.3.4Sebastian Thiel
2015-01-06test_tree worksSebastian Thiel
2015-01-06test_repo worksSebastian Thiel
2015-01-05test_commit works once againSebastian Thiel
2015-01-05Intermediate commit: test_config and test_actor worksSebastian Thiel
Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on
2015-01-04initial set of adjustments to make (most) imports work.Sebastian Thiel
More to come, especially when it's about strings
2015-01-04Replaced ordered dict with standard version; used logging moduleSebastian Thiel
All performance tests still print to stderr, but do so in a py3 compatible way
2015-01-04Bumped version, updated changelog, reduced code smellSebastian Thiel
There is more work to do though, as many imports are still incorrect. Also, there are still print statements
2015-01-03Reduced hackyness of remote reference parsing.Sebastian Thiel
This could however, introduce a chance of an assertion hitting once again as it has been commented out for quite a long time. Now it's back in a changed form though, and once again tries to make sure we get proper results
2014-11-29With docs up on http://gitpython.readthedocs.org, a manually maintained ↵Sebastian Thiel
index isn't required anymore [ci skip]
2014-11-19Fixes #64Sebastian Thiel
[ci skip]
2014-11-19Fixes #122Sebastian Thiel
For now, referencing github directly seems to be safest.
2014-11-18Bumping version 0.3.2.10.3.2.1Sebastian Thiel
2014-11-14Prepared release 0.3.20.3.2Sebastian Thiel
It represents the latest state on github, which should be better than what's installed by default. [skip ci]
2014-06-13Changed link to PyPIMarios Zindilis
2011-07-06Bumped version to 0.3.2 RC10.3.2-RC1Sebastian Thiel
2011-07-05Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel
2011-06-14Bumped version to 0.3.2. Using the latest version of gitdbSebastian Thiel
2011-06-08util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel
functionality
2011-06-07Fixed up docs in preparation for the new 0.3.1 releaseSebastian Thiel
2011-04-02Added downloadable versions of the respective documentation, which should ↵Sebastian Thiel
aid packagers a bit
2011-01-06blob: Added class level members to represent valid file modes that can be ↵Sebastian Thiel
used if you create a new blob
2010-11-30Renamed readme file to something github understands much better, adjusted ↵Sebastian Thiel
documentation links to point to github instead of lighthouse/gitorious
2010-11-25Fixed docsSebastian Thiel
2010-11-24Submodule: Added dry_run and progress parameter to the update method. It is ↵Sebastian Thiel
copatible to the RemoteProgress and should satisfy all progress needs. Dryrun will be useful in conjunction with the progress to verify the changes to be done
2010-11-24Adjusted all Head.create calls to set a logmessage similar to the one git usesSebastian Thiel