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 clone with relative restart paths #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jo-basevi
Copy link
Collaborator

Added a fix for payu clone -r to resolve relative restart paths - with respect to the directory where payu clone is run from. I've changed it to call the helper method that checks restart path exists and resolves to an absolute path, before changing directory to the cloned repository which runs the checkout step.

Closes #514

@pep8speaks
Copy link

pep8speaks commented Sep 18, 2024

Hello @jo-basevi! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-09-18 06:59:41 UTC

@coveralls
Copy link

coveralls commented Sep 18, 2024

Coverage Status

coverage: 56.162% (+0.2%) from 55.951%
when pulling 6b86c14 on ACCESS-NRI:514-fix-payu-clone-relative-restart-paths
into 68d8482 on payu-org:master.

@jo-basevi jo-basevi force-pushed the 514-fix-payu-clone-relative-restart-paths branch from 7ac464e to 6b86c14 Compare September 18, 2024 06:59
@jo-basevi jo-basevi self-assigned this Sep 18, 2024
@jo-basevi jo-basevi marked this pull request as ready for review September 18, 2024 07:02
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.

Need for absolute paths when doing a payu clone -r could be clearer
3 participants