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

Remove configurable run/work dir from global config #4177

Merged
merged 9 commits into from
Apr 23, 2021

Conversation

MetRonnie
Copy link
Member

@MetRonnie MetRonnie commented Apr 16, 2021

These changes close #4034

Remove from global.cylc:

  • [platforms][<platform name>]run directory
  • [platforms][<platform name>]work directory
  • [platforms][<platform name>]suite definition directory

Also remove obsolete --template option from cylc suite-state

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).
  • Does not need tests (no need to test removed stuff)
  • Appropriate change log entry included.
  • (master branch) I have opened a documentation PR at Remove configurable work dir from global config cylc-doc#239.
  • No dependency changes.

  • Check these are given deprecation notations in the docs:

    (Note that we also need to deprecate the environment variables $CYLC_SUITE_DEF_PATH & $CYLC_SUITE_DEF_PATH_ON_SUITE_HOST.)

@MetRonnie MetRonnie added the config change Involves a change to global or workflow config label Apr 16, 2021
@MetRonnie MetRonnie added this to the cylc-8.0b2 milestone Apr 16, 2021
@MetRonnie MetRonnie self-assigned this Apr 16, 2021
@MetRonnie
Copy link
Member Author

Not sure if there's any test cases I should implement?

@hjoliver
Copy link
Member

Not sure if there's any test cases I should implement?

Presumably sufficient to remove any code associated with the obsolete config items, and adapt or remove tests that use it.

@wxtim

This comment has been minimized.

Copy link
Member

@wxtim wxtim left a comment

Choose a reason for hiding this comment

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

  • Tests pass locally.
  • Changes look sensible.

@MetRonnie
Copy link
Member Author

MetRonnie commented Apr 20, 2021

Check these are given deprecation notations in the docs:

(Note that we also need to deprecate the environment variables $CYLC_SUITE_DEF_PATH & $CYLC_SUITE_DEF_PATH_ON_SUITE_HOST.)

@dpmatthews I think you brought this up - I can't find any reference to them in the docs at all, so is this point resolved, or should I add something somwhere?

@dpmatthews
Copy link
Contributor

@dpmatthews I think you brought this up - I can't find any reference to them in the docs at all, so is this point resolved, or should I add something somwhere?

We don't appear to document other deprecated env variables so I think that's fine

cylc/flow/job_file.py Show resolved Hide resolved
@hjoliver
Copy link
Member

Merge unit test conflict resolution, and confirmed that the result passed.

@hjoliver hjoliver merged commit 6d5a95e into cylc:master Apr 23, 2021
@MetRonnie MetRonnie deleted the config branch April 23, 2021 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config change Involves a change to global or workflow config
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove run and work dir configurations
5 participants