From 9513aa01fab73f53e4fe18644c7d5b530a66c6a1 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 18 Oct 2009 23:15:55 +0200 Subject: Added frame for configuration reader involving a meta class, decorators and tests - most of which still has to be filled out --- test/fixtures/git_config | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/fixtures/git_config (limited to 'test/fixtures') diff --git a/test/fixtures/git_config b/test/fixtures/git_config new file mode 100644 index 00000000..3c91985f --- /dev/null +++ b/test/fixtures/git_config @@ -0,0 +1,23 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true +[remote "origin"] + fetch = +refs/heads/*:refs/remotes/origin/* + url = git://gitorious.org/~byron/git-python/byrons-clone.git + pushurl = git@gitorious.org:~byron/git-python/byrons-clone.git +[branch "master"] + remote = origin + merge = refs/heads/master +[remote "mainline"] + url = git://gitorious.org/git-python/mainline.git + fetch = +refs/heads/*:refs/remotes/mainline/* +[remote "MartinMarcher"] + url = git://gitorious.org/~martin.marcher/git-python/serverhorror.git + fetch = +refs/heads/*:refs/remotes/MartinMarcher/* +[gui] + geometry = 1316x820+219+243 207 192 +[branch "mainline_performance"] + remote = mainline + merge = refs/heads/master -- cgit v1.2.3 From 3fd37230e76a014cf5c45d55daf0be2caa6948b7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 19 Oct 2009 14:27:10 +0200 Subject: implemented config class as far as necessary, one check is still failing Added odict module to get an OrderedDict to be used in the config parser, assuring the order of sections and options does not change --- test/fixtures/git_config_global | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/fixtures/git_config_global (limited to 'test/fixtures') diff --git a/test/fixtures/git_config_global b/test/fixtures/git_config_global new file mode 100644 index 00000000..1a55397f --- /dev/null +++ b/test/fixtures/git_config_global @@ -0,0 +1,24 @@ +[alias] + st = status + ci = commit + co = checkout + br = branch +[color] + branch = auto + diff = auto + interactive = auto + status = auto +[user] + name = Sebastian Thiel + email = byronimo@gmail.com +[core] + editor = vim + autocrlf = false + packedGitLimit = 1g + packedGitWindowSize = 512m +[pack] + windowMemory = 512m +[merge] + tool = meld +[diff] + tool = meld -- cgit v1.2.3