From a729902746db778d6dc832266aadfed5449b43a3 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 19 Nov 2008 00:17:41 -0500 Subject: Remove dependency on GitPython Replace usage of random low-level parts of GitPython with a simple convenience functionality similar to that offered by git.cmd. For example: git.commit(file="-", amend=True, _input=input) Include special options _input/_quiet/_interactive to allow removing several cases where subprocess.Popen() was used directly and improve output on git command failure. Also, use commit.subject rather than commit.message to be consistent with standard Git terminology. --- TODO | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 0a529a8..658da61 100644 --- a/TODO +++ b/TODO @@ -18,15 +18,6 @@ Allow editing comment used for attachments That you could uncomment to obsolete old patches. -Get rid of GitPython usage - - We're using GitPython only at the very lowest level; it would be - 30-40 lines of code to replace it entirely which would make git-bz - much easier to install for people. And would also allow some - improvements (display command output on error, for example) and - allow removing some cases where we drop out to subprocess to get - around limitations in the GitPython cmd module. - Use XML-RPC when available. Maybe use python-bugzilla: http://fedorahosted.org/python-bugzilla/ -- cgit