Closed kevin-fibich closed 9 years ago
Yeah this is something lot of people want.
Some even asked for support for remote repos, but I don't think that's good idea, since what if remote repo is down, what is our failure mode?
But local repo and automatic push (just ignore if it fails) might be something we should support.
I guess value is, you'll avoid having one script in crontab pushing the repo every 5min.
I'm coming from a rancid-git installation with a hook to push the configs to a remote repository, so this would be awesome to see. :+1:
I think correct solution to this issue should be #60, instead of specific support for remote push.
So you'd have hook which is called before/after output/store, and you'd then do what ever you want in the hook. We could provide in example directory hook to fork 'git push'.
Closed as duplicate of #60
Since rugged/libgit2 ignores hooks, an option would be nice to let oxidized automatically push new commits to a configurable remote.