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(service): fix working dir when cloning outside of project_clone view #3164

Merged
merged 4 commits into from Oct 14, 2022

Conversation

Panaetius
Copy link
Member

the ProjectClone control is called in the base RenkuOperationMixin, in which case it wasn't running with the project context and cwd set, which could lead to errors with concurrent requests. This fixes that.

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.

Looks good! I left some minor comments.

renku/ui/service/controllers/utils/project_clone.py Outdated Show resolved Hide resolved
renku/ui/service/controllers/utils/project_clone.py Outdated Show resolved Hide resolved
renku/ui/service/controllers/utils/project_clone.py Outdated Show resolved Hide resolved
renku/ui/service/controllers/utils/project_clone.py Outdated Show resolved Hide resolved
@Panaetius Panaetius enabled auto-merge (squash) October 14, 2022 09:01
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.

🚀

@Panaetius Panaetius merged commit 9dd6a2d into develop Oct 14, 2022
@Panaetius Panaetius deleted the fix-service-workingdir branch October 14, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

None yet

2 participants