justone / dfm

dotfiles manager
http://endot.org/projects/#dfm
Other
122 stars 18 forks source link

dfm should be included as a git submodule in dotfiles #12

Open seth-- opened 11 years ago

seth-- commented 11 years ago

Instead of having to update dfm in the dotfiles repo by hand, it should be included as a git submodule. See seth--/dotfiles for an example. It also makes it easier to update dfm for users.

To make it possible:

seth-- commented 11 years ago

Maybe instead of changing the current functions, we could add a new one to update dfm (dfm selfupdate or something like that) and a shortcut like umis to do umi + selfupdate

justone commented 11 years ago

I'm not a fan of using submodules. They are difficult to update and it adds to the time to install dotfiles on a new system. Also, switching to a submodule will cause merging errors for anyone who's forked the dotfiles repo.

I think a new selfupdate subcommand is a great idea. It could update dfm either by merging from the upstream dotfiles master or grabbing the latest from the dfm repo. I made a separate bug for the new subcommand: #17.