mdespuits / dotify

A CLI Tool for managing your dotfiles.
http://mattdbridges.github.com/dotify
MIT License
158 stars 10 forks source link

Dotify for non-dotfiles #13

Open fancyremarker opened 12 years ago

fancyremarker commented 12 years ago

First off, great work on dotify! I just started using it and am very happy with it so far.

Do you have plans to allow linking arbitrary (i.e., NOT home folder dotfiles) files to Dotify? My use case is that I'm keeping several configuration files under version control which aren't strictly dotfiles, but which behave similarly. An example would be certain .plist files under ~/Library/Preferences.

I'm working on a simple gem, dotlink, which roughly mirrors Dotify's linking behavior, simply linking files from the filesystem at large to their corresponding path inside ~/.dotlink.

This gem would work perfectly well in tandem with Dotify (I'd just link the .dotlink folder), but I'm wondering whether it would be more useful to add this functionality to Dotify and submit it as a pull request. What are your thoughts? Would you consider incorporating such a feature? (No offense will be taken if not; I can see how this would seem a strange feature to many users.)

mdespuits commented 12 years ago

I have had a similar request for this feature in the past. Now that it has been brought up more than once (see #4), I am thinking that it may be a more common use case than I originally anticipated.

This gem was originally designed as a tool to manage development setup and configuration. To me this meant just versioning the dotfiles and directories. However, the more I think about it, the more I think that this as more of a development configuration manager. That also seems to be what other developers are wanting.

All that being said, I think that this idea (similar to the one in issue #4) would be fantastic to integrate and I would be happy to see a pull request to that effect (if I don't implement it myself). One word of caution, though. I am in the middle of a _major refactor_ that has occupied my spare time for the last week and will likely last for another week or two at least. You can see that work here: master..cli-rewrite. I would recommend, before you do any work to incorporate it into this gem, that you wait until I've finished this refactor.

I'm looking forward to what you have in mind!