aboutsummaryrefslogtreecommitdiff
path: root/lib/git/config.py
AgeCommit message (Collapse)Author
2010-11-21moved all contents, incl. submodule gitdb, up to the root directorySebastian Thiel
2010-11-17Inital implementation of Submodule.move including a very simple and ↵Sebastian Thiel
to-be-improved test
2010-11-16remote: added methods to set and query the tracking branch status of normal ↵Sebastian Thiel
heads, including test. Config: SectionConstraint was updated with additional callable methods, the complete ConfigParser interface should be covered now Remote: refs methods is much more efficient now as it will set the search path to the directory containing the remote refs - previously it used the remotes/ base directory and pruned the search result
2010-11-16Submodule now only supports branches to be given as hint that will ↵Sebastian Thiel
svn-external like behaviour. Implemented first version of update, which works for now, but probably needs to see more features
2010-11-15Improved GitConfigurationParser to better deal with streams and the ↵Sebastian Thiel
corresponding locks. Submodule class now operates on parent_commits, the configuration is either streamed from the repository or written directly into a blob ( or file ) dependending on whether we have a working tree checkout or not which matches our parent_commit
2010-11-15submodule: Fleshed out interface, and a partial test which is not yet ↵Sebastian Thiel
usable. It showed that the ConfigParser needs some work. If the root is set, it also needs to refer to the root_commit instead of to the root-tree, as it will have to decide whether it works on the working tree's version of the .gitmodules file or the one in the repository
2010-10-27Fixed bug that would cause the author's email to be a generic default one, ↵Sebastian Thiel
instead of the existing and valid. The rest of the ConfigParser handling is correct, as it reads all configuration files available to git see http://github.com/Byron/GitPython/issues#issue/1
2010-06-29Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel
the submodules's naming conventions
2010-06-25Adjusted all files to (hopefully) deal with the fact that all objects now ↵Sebastian Thiel
use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though
2010-03-04Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel
2009-12-17config: GitConfigReader now allows to override its lock-type. By default it ↵Sebastian Thiel
uses a 'failing' lock file, but now its possible to easily put a blocking lock file in its place
2009-12-09config: fixed incorrect handling of default value in get_valueSebastian Thiel
remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
2009-12-08config.set_value: added more convenient set_value method to ConfigReaderSebastian Thiel
2009-12-08config.get_value: Added default argument including testSebastian Thiel
2009-12-03config: implemented get_value method to have a safe way to make general ↵Sebastian Thiel
queries to the git configuration, returning a value in the proper type. In a way its not supposed to be used as you should know the type of your configuration option or get an exception otherwise
2009-11-05Fixed config module which forgot to call the superclass's initializer, ↵Sebastian Thiel
finally causing failure in python 2.6
2009-10-22utils: Added LockFile including testSebastian Thiel
GitConfigFile is now derived from LockFile using its capabilities Implemented ConcurrentWriteOperation, test is yet to be done
2009-10-19config: fixed serious issues that would cause it to see initial tabs as ↵Sebastian Thiel
continuation lines - this leads to very incorrect results when parsing git config files. Now the complete reading is overridden to make it work as there was no other way
2009-10-19Added configuration access including tests to remoteSebastian Thiel
config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now Test does not work as the configuration parsing does not work as expected - this must be fixed first
2009-10-19added additional testing for the configuration, concurrent access and config ↵Sebastian Thiel
reading, all tests work
2009-10-19implemented config class as far as necessary, one check is still failingSebastian Thiel
Added odict module to get an OrderedDict to be used in the config parser, assuring the order of sections and options does not change
2009-10-18Added frame for configuration reader involving a meta class, decorators and ↵Sebastian Thiel
tests - most of which still has to be filled out