Angular shitstorm: What's your opinion on the controversial plans for Angular 2.0?
Backup there

Google reveals new source code hoarding app

Lucy Carey
piggie1

Google launches a new source code backup tool for developers – dubbed Hesokuri- which provides automatic, synced backups of Git repositories.

We’ve all been there – so focused on meeting a deadline that activities like backing up or even saving work are thrown to the wayside. Then the power cuts, and you find yourself weeping into your Haribo and ninth cup of coffee at three am as you pull an all nighter to recover your lost work. Hesokuri, a new open-source application unveiled by Google on September 12,  will hopefully alleviate this issue for developers in the future by automatically backing up source code for them as they go.

It’s been developed by Matthew DeVore of the Google+ team,  and, acting as a background process, keeps Git repositories on multiple machines in sync, automatically, so that developers can ensure that their vital source code is is stashed in alternate locations for safekeeping. Rather than relying on a third party service to back up code, it is stored on your own machines, a process which the Google team liken to storing your money in the family vault.

According to DeVore, he developed Hesokuri to ensure that critical backups are automated and certain so that developers won’t lose hours’, days’ or weeks’ worth of code if hardware or systems should fail and devour the code along with it. The app takes its name from the Japanese word for secret cash savings, and was chosen by the project team because, “this tool enables a kind of ‘hoarding’ of data on a personal machine”.

It works by pushing any changes “aggressively to peers as they are committed”, including when a peer is offline, in which case it will keep retrying until it gets a response. According to the official blog post, the upshot of this is that if Hesokuri is running on more than one networked machine, the Git repositories on them are “duplicated, backed up, and widely accessible”.

Once Hesokuri has been set up and you’ve jotted down a simple configuration file, Git can be used as in the usual way. The app also has a web interface, which enables developers to check what revisions of each repository have been pushed to each peer.

You can check out the Hesokuri project page for source code and more information on how to get started.


Author
Comments
comments powered by Disqus