[Zim-wiki] Pushing Zim VCS commits to remote repository

2013-08-13 Thread sivaramakrishnan
Hi,

I wonder how I can set up my Zim notebook's repository to regularly update
to a remote location (eg: Github or BitBucket repo)

I would appreciate any suggestions. Thanks!

Regards,
Siva

-- 
Sivaramakrishnan Swaminathan
http://siva.nh4.in/
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Pushing Zim VCS commits to remote repository

2013-08-15 Thread sivaramakrishnan
That suggestion made me realize that it's best to solve this problem at a
lower level than Zim. I've now set up a post-commit hook to update the
remote repository. That thing can be automated by using an ssh key without
a passphrase, or using ssh-agent to cache your key.

Thanks for the help. I love Zim :-)

Cheers,
Siva


On Wed, Aug 14, 2013 at 8:10 AM, Jaap Karssenberg 
jaap.karssenb...@gmail.com wrote:

 On Tue, Aug 13, 2013 at 9:51 AM, sivaramakrishnan ssivark...@gmail.comwrote:

 I wonder how I can set up my Zim notebook's repository to regularly
 update to a remote location (eg: Github or BitBucket repo)


 My suggestion would be to put the commands to update in a script (e.g. a
 bash script if you use linux, or a bat script on windows) and then use the
 custom tool option in the tools menu. This way you can have a toolbar
 button to update the repository.

 To do it time based, you would need to write a plugin.

 Regards,

 Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp