-
Notifications
You must be signed in to change notification settings - Fork 94
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 install w/ .cylcignore #5066
Conversation
Changelog entry PR https://github.com/hjoliver/cylc-flow/pull/25/files |
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.
This makes sense to me, I've reproduced the bug and confirmed the fix. I've opened a PR agin 8.0.x because this ought to be fixed asap.
Bumping this onto the 8.0.x branch. |
@hjoliver can you rebase onto |
Is it worth adding a test onto |
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 have confirmed the problem on master and have checked this out, read the code and it fixes the issue, thanks!
I think, as Ronnie has suggested, a test might be useful to preserve this logic, since it is functionality that isn't ordinarily tested on a day to day basis.
I'll wait until rebase is complete before approving.
56bc7bc
to
cb6aa94
Compare
Rebased to 8.0.x ... and functional test added. |
7aa19fe
to
d93e02d
Compare
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.
Consider it approved with the suggested changelog fix
b13b00c
to
0e0e472
Compare
(Tests all passed before skip-ci update to change log only). Final sanity check from @datamel should do it. |
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.
All good!
A
.cylcignore
file works as expected if you docylc install .
from within the source dir. But otherwise, this happens:WorkflowFilesError: No flow.cylc or suite.rc in /home/oliverh/cylc-run/bug/run8
and the install log says:
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.CHANGES.md
entry included if this is a change that can affect users