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

Optimize Git handling #6

Open
rhuss opened this issue Sep 8, 2015 · 0 comments
Open

Optimize Git handling #6

rhuss opened this issue Sep 8, 2015 · 0 comments

Comments

@rhuss
Copy link
Contributor

rhuss commented Sep 8, 2015

If external blocks are used fish-pepper always clone or pulls a github repository. This could be optimized by

  • introducing an update interval so that git operations only happen e.g. once a day
  • add command line options like --oflline (offline) --update (update external github refs)
  • Check whether a tag is used and whether the HEAD of the currently checked out repo points to this tag. If so, resign from doing an update.
  • Don't know whether this is possible, but if one could check cheaply whether the remote repo has been changed then one could use this check, too to decided whether to pull or not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant