Documentation Request: Synchronizing wikis
Assume I want to use Gitit as local install, but I want the same content to be available on multiple machines (say office PC, notebook, home PC).
Is there a built-in way to do this, maybe by using a central Git repository all installations can pull from and push to?
Can you just synchronize the installations using unison or similar? Does this work while Gitit is running, or do you have to restart?
Probably the easiest solution would be to put your repository on a Dropbox or other shared drive.
+++ Raphael [Oct 25 12 04:26 ]:
Assume I want to use Gitit as local install, but I want the same content to be available on multiple machines (say office PC, notebook, home PC).
Is there a built-in way to do this, maybe by using a central Git repository all installations can pull from and push to?
Can you just synchronize the installations using unison or similar? Does this work while Gitit is running, or do you have to restart?
-- Reply to this email directly or [1]view it on GitHub. [xJAuenYDiIoVt3LF3y6848DAslDCyjnQ6q-QyN4VMN_vfbmYMYKMk9NBmx_JTGGu.gif]
References
- https://github.com/jgm/gitit/issues/320
+1 for this feature request. We are interested in possibly using this for a physics experiment in Antarctica which has limited satellite coverage. Syncing via Git push/pull is a fundamental use case for us. Dropbox is not an option.
I don't think anything needs to be added. You can already use git push/pull however you like (over ssh, http, whatever) to synchronize your git repositories containing the wiki content.
Great, thanks!
On Feb 20, 2013, at 3:04 PM, John MacFarlane wrote:
I don't think anything needs to be added. You can already use git push/pull however you like (over ssh, http, whatever) to synchronize your git repositories containing the wiki content.
— Reply to this email directly or view it on GitHub.
I think the mention "Just install it anywhere you like and synchronise folder X with Git" alone can help many a user; it is not a priori clear that you can do this without breaking things.
Indeed, all that is needed to synchronize wikis across multiple locations is to push and pull from the wikidata directory/repository (assuming common static files, etc. have been set up in both locations), this would be quite helpful. If you are interested and we manage to get this working, perhaps I could submit a PR for a change to the documentation which indicates how to do this.
I know this is an old request, but for anyone who comes along with the same question: you should look into git-annex! It's wonderful. I've added a post-commit hook so it syncs on every change.