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

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

Open
seth-- opened this issue Oct 16, 2012 · 2 comments
Open

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

seth-- opened this issue Oct 16, 2012 · 2 comments

Comments

@seth--
Copy link
Contributor

seth-- commented Oct 16, 2012

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:

  • .gitmodules should be added to the skip list (d341798)
  • the update (and merge?) function(s) should be changed to handle the submodule
  • add the need of running git submodule init and git submodule update to the documentation
  • Finally, delete /bin from the dotfiles repo and putting the submodule
@seth--
Copy link
Contributor Author

seth-- commented Oct 16, 2012

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
Copy link
Owner

justone commented Oct 20, 2012

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.

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

2 participants