aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-24Adjusted all Head.create calls to set a logmessage similar to the one git usesSebastian Thiel
2010-11-24Merge branch 'reflog'Sebastian Thiel
2010-11-24Fixed doc strings, improved error checking on RefLog.write methodSebastian Thiel
2010-11-24RefLog: added entry_at method, which is a faster way of reading single ↵Sebastian Thiel
entries, including test
2010-11-24Renamed msg named parameter to logmsg, as it describes the purpose of the ↵Sebastian Thiel
message much better Added test for deletion of reflog file when the corresponding ref is deleted
2010-11-24Added tests for creation and adjustments of reference, verifying the log ↵Sebastian Thiel
gets written
2010-11-24Fixed remaining issues, all tests work as expectedSebastian Thiel
2010-11-24Unified object and commit handling which should make the reflog handling ↵Sebastian Thiel
much easier. There is some bug in it though, it still needs fixing
2010-11-24Made previously protected methods public to introduce a method with reflog ↵Sebastian Thiel
support which cannot be exposed using the respective property. Ref-Creation is now fully implemented in python. For details, see doc/source/changes.rst
2010-11-24Improved refparse error handling in case of out-of-bound indicesSebastian Thiel
2010-11-23Implemented revlog.append_entry as classmethod, to assure we will always ↵Sebastian Thiel
actually write_append the new entry, instead of rewriting the whole file. Added file-locking and directory handling, so the implementation should be similar (enough) to the git reference implementation. Next up is to implement a way to update the reflog when changing references, which is going to be a little more complicated
2010-11-23Removed ORIG_HEAD handling which was downright wrong. ORIG_HEAD gets only ↵Sebastian Thiel
set during merge and rebase, and probably everything that changes the ref more drastically. Probably I have to reread that. What needs to be adjusted though is the reflog
2010-11-23Actor: Moved it from git.objects.util to git.util, adjusted all imports ↵Sebastian Thiel
accordingly. Added methods to Actor to retrieve the global committer and author information Reflog: implemented and tested append_entry method
2010-11-23repo.rev_parse: Added support for simple log parsing - dates are not yet ↵Sebastian Thiel
supported, mainly because I don't need it
2010-11-23Documentation is now being built for all new modulesSebastian Thiel
2010-11-23SymbolicReference: log method added, including testSebastian Thiel
2010-11-23Implemented reflog reading and writingSebastian Thiel
2010-11-23Initial interface including some of the implementation of the RefLog. ↵Sebastian Thiel
TestCase scetched out for now tests: Added tests to verify that objects don't have a dict. Previously, due to a missing __slots__ member in Serializable, most objects would indeed have a dict, although the opposite was intended
2010-11-23Fixed remaining tests - lets hope that everything is indeed working ↵Sebastian Thiel
correctly - as imports changed, every line of code needs to be run to assure all names can be resolved
2010-11-23Split ref implementation up into multiple files, to make room for the log ↵Sebastian Thiel
implementation
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