Source: trac-git
Version: 0.0.20100513-2
I was looking through trac-git source to figure out how it
runs git. Lots of packages needed to change between lenny
and sid to use the “dashless” form when running git, so
I was hoping to get a sense of when trac-git did that, so
an appropriate Breaks: could be added to git.
So:
$ apt-get source trac-git
$ cd trac-git-*
$ ls
0.10 0.11 0.11-py2.4 0.12 debian
Okay, that’s weird.
$ grep 'weird layout' debian/README.source
$
Hmm, no explanation there.
$ grep -R -F -e git- . | tail
./0.10/gitplugin/PyGIT.py: for rev in self._git_call_f("git-rev-list -
./0.10/gitplugin/PyGIT.py: cmd = "git-diff-tree -r %s %s -- '%s'" % (t
./0.12/tracext/git/git_fs.py: if name in ('Parents','Children'
./0.12/tracext/git/git_fs.py: if name in ('git-committer', 'gi
./0.12/tracext/git/git_fs.py: action_map = { # see also git-diff-tree(
./0.12/tracext/git/git_fs.py: properties['git-committe
./0.12/tracext/git/git_fs.py: if not properties.get('g
./0.12/tracext/git/git_fs.py: properties['git-
./0.12/tracext/git/PyGIT.py: cmd.append('--git-dir=%s' % self.__gi
./0.12/tracext/git/PyGIT.py: self.logger.debug("unexpected res
So at least the 0.10 version uses git-rev-list and git-diff-tree,
but is that code used? I have no clue.
Would it be possible to add a note to README.source to explain
the code layout?
Many thanks,
Jonathan
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]