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

Check directory looks like a copy of CSET before installing it #900

Open
jfrost-mo opened this issue Nov 8, 2024 · 0 comments
Open

Check directory looks like a copy of CSET before installing it #900

jfrost-mo opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jfrost-mo
Copy link
Member

What problem does your feature request solve?

Currently if you leave the path box blank when you install local CSET it will try and copy your entire filesystem. This is undesirable.

Describe the solution you'd like

We should check if the path given resolves to a directory that at least minimally looks like a CSET project, maybe by checking it contains a pyproject.toml file. If it doesn't we give a clear error message and fail the task.

Describe alternatives you've considered

It is a little annoying having to specify this path, as it will be per-user, and thus can't be preconfigured. We could move the workflow out of the cset-workflow folder and into the top level of the repository. That way the CSET source would be copied on cylc install, and we could build from the known workflow install directory.

@jfrost-mo jfrost-mo added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant