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

fix: Make detection of mackup config dir more robust #3128

Merged
merged 1 commit into from
Jul 29, 2023
Merged

Conversation

twpayne
Copy link
Owner

@twpayne twpayne commented Jul 29, 2023

@eugenesvk this should resolve #885 (comment).

@halostatue
Copy link
Collaborator

I know that this isn’t documented, but it is probably worth noting somewhere that it only works with homebrew-installed Mackup.

I haven’t had time to play with it for various reasons, but I was looking at creating a Python package that could install Mackup in a venv and use Mackup as a library to get the configuration values, since Mackup is broken by default if you’re not using the atrocious Dropbox Desktop application (I use Maestral).

It might also be possible to use an archive of the mackup repo as a source of truth.

@twpayne
Copy link
Owner Author

twpayne commented Jul 29, 2023

Thanks for the ideas. Ideally Mackup would provide a command to expose its database, but the Mackup developers didn't seem very interested in collaborating when I asked them.

As Mackup doesn't have a huge number of users, and only a handful of users will use both chezmoi and mackup, I want to keep the integration as simple as possible. For reference, according to brew info, Mackup had 304 install-on-demands in the last 30 days, compared to chezmoi's 2818.

@twpayne twpayne merged commit f4f46e3 into master Jul 29, 2023
@twpayne twpayne deleted the mackup-python branch July 29, 2023 23:19
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 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.

Add pre-defined templates for config files of popular applications
2 participants