You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I recently found this utility and I really like it.
I was wondering if it would be possible to somehow merge configuration files to help cut down on duplicating files and manually syncing them.
For example, in my .gitconfig file I use the git-credential-libsecret store to save my passkey on Linux, but I don't need that on my Mac because it's stored in the Apple Keychain.
So what I would like to see is something like this file structure:
Hello, this is already an implemented feature. It's documented here but I forgot to write about it on the wiki page.
What is not implemented yet is doing a fallback, so if you have the same file on git and git_linux it will just symlink one of them and mark the others as conflict. I think doing the fallback thing makes sense tbh. I haven't thought of this use case before. I think it's worth investing and attempting to implement.
Thanks for replying. I did look at the conditional deployment and I'm using it for some things. The fallback is exactly what I'm looking for so I can maintain one file for the majority of the configuration that is shared between machines and then have a few very small other files for OS specific values.
I see, makes sense. Only this last year people have started to use my tool, even though I've been using it myself for 3 years. So there's these small holes in how tuckr behaves and how people expect it to behave, since I was only working on whatever affected my own use cases.
I'll definitely take a look at how I can add this. I think adding this and coupling it with this suggestion can massively reduce the amount of setup and files u have to keep track of.
Hey, I recently found this utility and I really like it.
I was wondering if it would be possible to somehow merge configuration files to help cut down on duplicating files and manually syncing them.
For example, in my .gitconfig file I use the
git-credential-libsecret
store to save my passkey on Linux, but I don't need that on my Mac because it's stored in the Apple Keychain.So what I would like to see is something like this file structure:
In Configs/git/.gitconfig I would have something like
Configs/git_macos/.gitignore would be empty since I don't need that configuration option on Mac. In Configs/git_linux/.gitconfig I would have:
Thanks!
The text was updated successfully, but these errors were encountered: