klesh commented on PR #2050: URL: https://github.com/apache/incubator-devlake/pull/2050#issuecomment-1149521140
> @klesh my latest commit breaks it into 3 subtasks, but the problem is there is no easy way (from my understanding) to cache the cloned repo so that after it is cloned first it gets reused by the remaining two. So right now we end up cloning the repo 3 times. I think we'd need a broader framework enhancement to support a shared state between subtasks, as well as the ability to close/release this shared state after the subtasks are complete. cc @hezyin Why not? in `jira` or other data source plugins, we **shared** `apiclient` across multiple subtasks, we can use the same technique here. -- 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]
