aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-21Changed version to 0.3.1 (removed beta1) so that other projects can actually ↵0.3.1-beta1Sebastian Thiel
depend on git-python using the setuptools. Previously it would claim the version did not exist, probably because the setuptools are just comparing strings
2010-11-21-#######->WARNING<-####### Directory structure changed, see commit messageSebastian Thiel
If you use git-python as a submodule of your own project, which alters the sys.path to import it, you will have to adjust your code to take the changed directory structure into consideration. Previously, you would put the path ./git-python/lib into your syspath. All modules moved two levels up, which means that the 'git-python' directory now is a package itself. This implies that the submodule's path must change so that the root directory is called 'git'. Your code must now put the directory containing the submodule into the sys.path. For example, if you previously would have the following configuration: ./ext/git-python/lib/git/__init__.py you would now change your submodule path to the following: ./ext/git On the latets revision, the directory structure is changed so that the git/__init__.py file is at the following path: ./ext/git/__init__.py To be able to import git, you need to put ./ext into your sys.path.
2010-11-21updated changelogSebastian Thiel
2010-11-21Updated MANIFEST and setup to include fixtures. Adjusted includes in all ↵Sebastian Thiel
tests to work with the new directory structure
2010-11-21Fixed setup script to work with changed folder structureSebastian Thiel
2010-11-21flattened test folder structure, didn't adjust any file content yetSebastian Thiel
2010-11-21moved all contents, incl. submodule gitdb, up to the root directorySebastian Thiel
2010-11-21Fixed API reference docs as far as possibleSebastian Thiel
2010-11-21docs: added final docs for version 0.3.0, started new release 0.3.1Sebastian Thiel
2010-11-21Added zip_safe info to setup.py fileSebastian Thiel
2010-11-20fixed performance tests ... again, previously I was just working on an ↵Sebastian Thiel
incorrect repository
2010-11-20Merge branch 'osx'Sebastian Thiel
2010-11-20testing:added special case for osx to solve a special issue with the temp ↵Sebastian Thiel
directory
2010-11-20Merge remote branch 'gitorious/win32'Sebastian Thiel
2010-11-20Tried to get rid of held references which could keep a filehandle open. In ↵Sebastian Thiel
fact, it didn't work, and ... something else keeps them open. Its odd, its weird, its windows, and I give up on it for now
2010-11-20submodule.update: now forcing the checkout - see in-code commentsSebastian Thiel
2010-11-20Submodule: Assured we properly convert paths to using the slash separatorSebastian Thiel
2010-11-20submodule: Fixed capital error when handling the submodule's branch, which ↵Sebastian Thiel
was returned in the submodules super repository, not in the submodule's module
2010-11-20Fixed performance tests which broke in the meanwhile - they definitely don't ↵Sebastian Thiel
run often enough, which is because they intentionally don't have a package initialization file
2010-11-19Bumped version number to 0.3.1Sebastian Thiel
2010-11-19submodule: When adding an existing submodule, when retrieving the binsha, we ↵Sebastian Thiel
will now consider not only the tree, but the index too
2010-11-19remote: parsing of fetch information now reacts to fatal errors. Previously ↵Sebastian Thiel
it would just bump into an assertion
2010-11-19test_submodule: fixed failures that arose due to changes of the original ↵Sebastian Thiel
submodule names. Also, a major bug was fixed that cased submodules to always being updated recursively when using the RootModule.update method submodule: previously, it would update the repository configuration during add(), but in fact it must be done during update() when the module is cloned, which is how the git-submodule implementation works
2010-11-19Merge branch 'docs'Sebastian Thiel
2010-11-19Updated gitdb submodule, and added note about how the submodule package ↵Sebastian Thiel
manages its dependencies
2010-11-19Updated tutorial with a brief introduction to submodulesSebastian Thiel
Changes now give a hint at the upcoming release as well
2010-11-18Changed name/id of gitdb submodule to something that doesn't look like a pathSebastian Thiel
2010-11-18Merge branch 'submodule'Sebastian Thiel
2010-11-18Merge branch 'refactor' into submoduleSebastian Thiel
2010-11-18Fixed all imports, refactoring appears to be completeSebastian Thiel
2010-11-18Split big submodule file into smaller files. Tried to manually get imports ↵Sebastian Thiel
right, but its not yet tested
2010-11-18Added test for the recursive code path.Sebastian Thiel
2010-11-18Added test for branch changes - it appears to work well, at least as far as ↵Sebastian Thiel
the restricted tests are concerned
2010-11-18Updated tests and implementation to verify functionality for handling ↵Sebastian Thiel
submodule removals, as well as url changes
2010-11-18first update test succeeds, so it verifies that existing repositories can be ↵Sebastian Thiel
moved later if the configuration changed, and actually it also verifies that the url-change is handled correctly (as we changed the url from the default to the local path)
2010-11-18Added test-setup which can test all aspects of the (smart) update methodSebastian Thiel
2010-11-18ORIG_HEAD handling is now implemented in the ref-class itself, instead of ↵Sebastian Thiel
being a special case of the commit method; includes tests util: Fixed iterable lists, which broke due to an incorrectly implemented __contains__ method
2010-11-18commit: when creating a new commit and advancing the head, it will now write ↵Sebastian Thiel
the ORIG_HEAD reference as well
2010-11-17RootModule.update: initial implementation of update method, which should be ↵Sebastian Thiel
able to handle submodule removals, additions, path changes and branch changes. All this still needs to be tested though
2010-11-17repo: Added create_submodule method which fits into the tradition of ↵Sebastian Thiel
offering a create_* method for most important entities. Moved implementation of smart update method to the RootModule implementation, where it may do special things without requiring an interface for everything
2010-11-17submodule: removed module_path method as it is implemented in the abspath ↵Sebastian Thiel
property alrdeady Improved submodule move tests
2010-11-17Inital implementation of Submodule.move including a very simple and ↵Sebastian Thiel
to-be-improved test
2010-11-17index: Sped up reading and writing of the index file by reducing the amount ↵Sebastian Thiel
of attribute lookups considerably
2010-11-17Repo: scetched out submodule_updateSebastian Thiel
2010-11-17Added rest of submodule.add test code which should be pretty much 100% ↵Sebastian Thiel
coverage for it
2010-11-16The submodule's branch is now a branch instance, not a plain string anymoreSebastian Thiel
2010-11-16Added tests for all failure modes of submodule add ( except for one ), and ↵Sebastian Thiel
fixed a few issues on the way
2010-11-16Initial implementation of submodule.add without any tests. These are to come ↵Sebastian Thiel
next
2010-11-16Implemented deletion of submodules including proper testsSebastian Thiel
2010-11-16implemented update to_last_revision option including test. Its now possible ↵Sebastian Thiel
to update submodules such as svn-externals