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

Allow environments to be readonly if they have no deviations #250

Merged
merged 4 commits into from
Jan 26, 2020

Conversation

mcg1969
Copy link
Collaborator

@mcg1969 mcg1969 commented Jan 26, 2020

A-P should allow environments to be readonly as long as it does not require any changes to be made. But it expects to be able to write a timestamp file. The authors seemed to have attempted to make it fail silently if the timestamp write fails, but they didn't account for the possibility that creating the directory could fail, too.

We've created a writability test, and mark environments "unfixable" if they have deviations and they are readonly. And we've discarded the requirement that the timestamp write succeeds.

@mcg1969
Copy link
Collaborator Author

mcg1969 commented Jan 26, 2020

Fixes #247

@mcg1969 mcg1969 merged commit b28106b into anaconda:master Jan 26, 2020
@mcg1969 mcg1969 deleted the readonly branch January 26, 2020 23:42
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.

None yet

1 participant