klesh commented on issue #4188:
URL: 
https://github.com/apache/incubator-devlake/issues/4188#issuecomment-1469492253

   > Maybe just leave `gitextractor` running, and ignore its output ? Can we do 
like this?
   
   It is one way to go... however, It is not reliable, there is a chance that 
too many Git Clone operations are stuck in the background and eating out the 
system file descriptors.
   
   I prefer the following options:
   - Get rid of the `git2go` and use the `gogit` only which supports `context`. 
`git2go` has always been problematic since it depends on the `libgit2` C 
library. However, doing so would require a huge rewrite.
   - Find a way for `git2go` to support cancellation, I found interesting 
discussion of the topic, it might be possible to add cancellation support for 
`git2go`
     - [git - libgit2 - clone operation with Github - Stack 
Overflow](https://stackoverflow.com/questions/25207194/libgit2-clone-operation-with-github)
     - [Error when cancel a Repository.Clone · Issue #780 · 
libgit2/libgit2sharp](https://github.com/libgit2/libgit2sharp/issues/780)
   
    
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to