Skip to content

Conversation

@crimoniv
Copy link

Hi @lasley!

Hope you don't mind the code refactor in order to get the multithreading working. I've also added tests and improved the logging messages (especially when using multithreading).

Tell me what you think :)

Cheers!

sbidoul and others added 12 commits July 12, 2018 17:42
[IMP] Add merge status on closed pull requests
As it is possible to pass a file content instead of a file path to
Kaptan, a handler must be resolved before it happens. Though, it's
better to make an extra safety step and use Kaptan's own logic to
determine a suitable handler than to use bare file extension.
…nsions

Let Kaptan pick the handler of it's own choice
* Move repo aggregation into a helper method
* Add option for the amount of processes to use when aggregating
* Use multiprocessing pool for aggregation if aforementioned option is enabled
[ADD] 'jobs' parameter, set max parallel threads execution.
[ADD] Multithreading when jobs > 1.
[REF] Remove 'os.chdir' and 'utils.WorkingDirectoryKeeper' calls, use
'cwd' instead.
[FIX] Ignore local hooks in 'test_repo.git_write_commit'.
[ADD] Multithreading tests (WIP).
@crimoniv crimoniv force-pushed the feature/thread-download branch from 05d8bcb to 9fdb214 Compare August 21, 2018 11:46
@crimoniv
Copy link
Author

Closed as of acsone#21

@crimoniv crimoniv closed this Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants