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

Remove GNU findutils and coreutils dependenices #14

Open
mikepqr opened this issue Jan 28, 2017 · 3 comments
Open

Remove GNU findutils and coreutils dependenices #14

mikepqr opened this issue Jan 28, 2017 · 3 comments

Comments

@mikepqr
Copy link
Owner

mikepqr commented Jan 28, 2017

It should be possible to remove these dependencies so stowsh can run on BSD systems (including macOS). See #13.

I don't personally have a need to fix this issue, but contributions welcome.

Some difficulties:

  • we need a way to construct the relative path from an existing file to a non-existing file. We currently do this with realpath foo --relative-to=bar --canonicalize-missing. This script may work, but introduces a readlink dependency. (BSD readlink doesn't do the right thing for our use case.)
  • BSD find complains on uninstall. Have not investigated why.
@mikepqr
Copy link
Owner Author

mikepqr commented Feb 7, 2017

Could use that script with this for realpath.

@mikepqr
Copy link
Owner Author

mikepqr commented Jul 13, 2017

Consider what to do if a package contains a symlink (say ~/.dotfiles/vim -> /usr/bin/vim). Should ~/vim point to ~/.dotfiles/vim or /usr/bin/vim.

Write tests that assert whatever behavior is chosen.

@mikepqr
Copy link
Owner Author

mikepqr commented Dec 27, 2019

@mikepqr mikepqr mentioned this issue Mar 13, 2021
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

No branches or pull requests

1 participant