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

conf: cylc executable => cylc path #4105

Merged
merged 1 commit into from
Mar 9, 2021
Merged

Conversation

oliver-sanders
Copy link
Member

@oliver-sanders oliver-sanders commented Mar 2, 2021

sibling: cylc/cylc-doc#206

Small change that came out of comms mode = ssh discussions.

The cylc executable config is a bit strange, for remote cylc invocations the cylc executable is used, however, for job scripts the containing directory is added to the $PATH.

We have had to add a check in multiple places to make sure that the cylc executable isn't set to something which isn't cylc.

This PR:

  • Changes cylc executable to cylc path.
  • Documents the role of cylc path in the job script.
  • Corrects the use login shell docs for the profile files that are sourced.

Requirements check-list

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Already covered by existing tests.
  • Appropriate change log entry included.
  • (master branch) I have opened a documentation PR at cylc/cylc-doc/pull/XXXX.
  • No dependency changes.

@oliver-sanders
Copy link
Member Author

Do we want a changelog for this small global configuration change?

@oliver-sanders oliver-sanders marked this pull request as ready for review March 2, 2021 13:29
Copy link
Contributor

@datamel datamel left a comment

Choose a reason for hiding this comment

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

Thanks @oliver-sanders.

Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

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

👍

@hjoliver
Copy link
Member

hjoliver commented Mar 9, 2021

Do we want a changelog for this small global configuration change?

I'll add one on the fly...

@hjoliver hjoliver merged commit 7c719e2 into cylc:master Mar 9, 2021
@oliver-sanders oliver-sanders deleted the cylc-path branch March 10, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants