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

Init config fixes #245

Merged
merged 3 commits into from
Apr 10, 2019
Merged

Init config fixes #245

merged 3 commits into from
Apr 10, 2019

Conversation

twpayne
Copy link
Owner

@twpayne twpayne commented Apr 10, 2019

This PR has some tidy-ups related to @fgrosse's excellent work in #243.

* Use fs and mutator infrastructure to avoid separate code paths for
normal and dry-run modes.
* Read config file from buffer, so it works in dry-run mode.
* Return template errors from promptString.
* Read candidate config template files directly, rather than searching
with regexps.
* Use vfst to test file permissions and contents.
* Use latest go-xdg to create test xdg.BaseDirectorySpecifcation.
* Simplify promptString prompt.
@twpayne twpayne merged commit f90ea5d into master Apr 10, 2019
@twpayne twpayne deleted the init-config-fixes branch April 10, 2019 23:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant