-
Notifications
You must be signed in to change notification settings - Fork 191
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
General: Add hint to solve git errors with a synced repo #3279
Conversation
nf_core/synced_repo.py
Outdated
log.error( | ||
f"Could not check out commit '{commit}' in '{self.remote_url}'.\n" | ||
"To solve this, you can try to remove the cloned rempository and run the command again." | ||
f"This repository is tipically found at `~/.config/nfcore/{self.local_repo_dir}`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f"This repository is tipically found at `~/.config/nfcore/{self.local_repo_dir}`" | |
f"This repository is found at `{Path(self.local_repo_dir).absolute()}`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this 🤔 Do you know how could we test it? how to create a corrupted repo so that we can see this message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, just put something in your ~/.config/nfcore/modules
directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok tested :) it was already an absolute path so we can use it as it is. thanks!
Co-authored-by: Matthias Hörtenhuber <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files☔ View full report in Codecov by Sentry. |
Close #3263