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

support macos #40

Merged
merged 14 commits into from
Sep 11, 2023
Merged

support macos #40

merged 14 commits into from
Sep 11, 2023

Conversation

tomeichlersmith
Copy link
Owner

@tomeichlersmith tomeichlersmith commented Sep 5, 2023

This will hopefully then allow users to install even if the man page sub-directories do not already exist in the install prefix location.

After updating the install script and adding MacOS+docker to the CI testing, I discovered some other things that needed to be patched in order to support MacOS. The branch used for this PR will resolve #39 but also expand slightly to include supporting MacOS in denv itself (hopefully, need to find a way to test more quickly than in GitHub CI).

tomeichlersmith and others added 6 commits September 5, 2023 11:03
This will hopefully then allow users to install even if the man page sub-directories do not already exist in the install prefix location.
we write our own which is very hacky but hopefully functional
@tomeichlersmith tomeichlersmith changed the title check prefix for permission, create man-page subdir support macos Sep 5, 2023
tomeichlersmith and others added 6 commits September 6, 2023 06:59
we don't need to be that extreme - removing the entire directory has
ramifications for folks who may want to store other denv-related items
in a .denv directory and it is better to just overwrite the things denv
cares about (.denv/config and .denv/.gitignore)
also set xtrace so I can see what is being done in the CI
I think this could resolve the "permission denied" error we are seeing
when the docker user is trying to read the _denv_entrypoint executable
from within the container
also enable DENV_DEBUG if the workflow is being run in debug logging
mode
I'm getting an odd "can't run /usr/local/bin/_denv_entrypoint
because it is a directory" error when trying to run the denv tests
on MacOS. I have a suspicion it has something to do with how docker
on MacOS behaves for single-file volumes.
the install script is functional but I don't have access to a MacOS laptop to do more testing of `denv` itself, I am going to merge this branch with the install updates and then start a new issue for supporting macos.
@tomeichlersmith tomeichlersmith marked this pull request as ready for review September 11, 2023 20:47
@tomeichlersmith tomeichlersmith merged commit aa3abc0 into main Sep 11, 2023
5 checks passed
@tomeichlersmith tomeichlersmith deleted the 39-install-macos branch September 11, 2023 20:50
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.

Installation script on macOS fails
1 participant