Re: [Pharo-dev] FileSystemGit and Fuel final report
Great! I have a different (and lower priority) use case for the libgit2 bindings: Michael Feathers has done some history analysis on github repositories which weâve used at the SPA2011 egg race. Basically, commit info on method level for 4 ruby projects. I guess Iâd have to use the low level bindings to do similar things? Stephan
On 24.03.2014, at 11:08, Stephan Eggermont <stephan@stack.nl> wrote:
Great!
I have a different (and lower priority) use case for the libgit2 bindings: Michael Feathers has done some history analysis on github repositories which weâve used at the SPA2011 egg race. Basically, commit info on method level for 4 ruby projects. I guess Iâd have to use the low level bindings to do similar things?
Not necessarily. The API could expose `git log` operations and then you could easily get a list of all commits referencing a specific method (for instance). If you want to do that yourself of course, then yes, youâll have to use the bindings (or rather the minimal objectified abstraction. Using the bindings directly is kind of dangerous). In my opinion however, Git provides all the tools you need for that and you should use those tools if possible. Does that answer your question? Bug me again if not :) Max
Stephan
participants (2)
-
Max Leske -
Stephan Eggermont