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

update checker #18

Open
justone opened this issue May 20, 2013 · 3 comments
Open

update checker #18

justone opened this issue May 20, 2013 · 3 comments

Comments

@justone
Copy link
Owner

justone commented May 20, 2013

A command dfm checkupdate that you can put in your .bash_profile (or zsh equiv) that will only check for updates once a day and will have one of the following outputs:

  • Nothing - if there are no updates
  • A list of updates (log summary) and "you have updates, run dfm umi"

Alternatively, it could just merge the changes in if configured.

It should:

  • complain if there are local changes and there are changes to pull in
  • refuse to merge changes in if there are local changes
@justone
Copy link
Owner Author

justone commented May 20, 2013

We don't want it to run if you are using mass SSH or ansible, so it shouldn't run if there's no terminal attached.

@justone
Copy link
Owner Author

justone commented May 20, 2013

For configuration, how about a ".dfmrc" that goes in the root of the dotfiles directory (and is not installed), with options to control this:

  • update frequency
  • behavior if there are changes to merge

@justone
Copy link
Owner Author

justone commented Jun 3, 2013

Or, call the file .dfmconfig and use git config internally to manage it. No need for a new file format and we already know git will be there.

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

1 participant