Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): automatically cleanup dangling git processes #2928

Merged
merged 3 commits into from
May 31, 2022

Conversation

Panaetius
Copy link
Member

closes #2889

Fixes a bug where SubmoduleManager would create a new Repository on each access, which in turn would have a dangling git subprocess.

Force cleans/deletes the repository in many cases where it makes sense, reducing the risk of dangling processes

@Panaetius Panaetius changed the title fix(core: automatically cleanup dangling git processes fix(core): automatically cleanup dangling git processes May 25, 2022
@Panaetius Panaetius force-pushed the bugfix/2889-cleanup-dangling-gitpython branch from 153d4ac to a9903f4 Compare May 25, 2022 13:00
@Panaetius Panaetius marked this pull request as ready for review May 25, 2022 13:45
@Panaetius Panaetius requested a review from a team as a code owner May 25, 2022 13:45
Copy link
Contributor

@m-alisafaee m-alisafaee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ralf! Please see my comments.

pyproject.toml Outdated Show resolved Hide resolved
renku/infrastructure/repository.py Outdated Show resolved Hide resolved
renku/infrastructure/repository.py Outdated Show resolved Hide resolved
renku/infrastructure/repository.py Outdated Show resolved Hide resolved
renku/version.py Outdated Show resolved Hide resolved
@Panaetius Panaetius force-pushed the bugfix/2889-cleanup-dangling-gitpython branch 3 times, most recently from 1e52199 to 658b53d Compare May 30, 2022 13:00
@Panaetius Panaetius force-pushed the bugfix/2889-cleanup-dangling-gitpython branch from 658b53d to edd29e2 Compare May 30, 2022 13:45
@Panaetius Panaetius requested a review from m-alisafaee May 30, 2022 15:25
Copy link
Contributor

@m-alisafaee m-alisafaee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Panaetius Panaetius merged commit 56b06b5 into develop May 31, 2022
@Panaetius Panaetius deleted the bugfix/2889-cleanup-dangling-gitpython branch May 31, 2022 09:22
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.

Clean up dangling GitPython processes
2 participants