March 31, 2014

The Comforts of Commons on my Tablet

Version Control


Image: jeffwilcox via Flickr

When it is comes to coding there is nothing better than basking in the glow of my 27" monitor with a dozen windows open, but when I'm writing (like right now!) I much prefer to be curled up in a pub with a pint and my tablet. However the idea of writing anything, even articles, without the safety of a versioned backup is unthinkable to me.

Of course Dropbox is pretty much ubiquitous these days in tablet text editors, giving me a place in the cloud to store my data safely, but I like to get everything I write into one of my Perforce servers so that I can track versions over time and so the files can get picked up by my standard backup procedures.

So what's a person to do? Thankfully with the 2013.6 release of Commons I can have my pint and drink it too; Commons now integrates with Dropbox.

When I sit down to write, I create a new file in the Perforce Commons folder that resides in my Dropbox apps folder. Every time I save a draft of the file to Dropbox, a version is sent to a shelf in Perforce that is managed by Commons. The next time I'm in the office I press the Dropbox button in Commons and select the files to send to the file valet, and and submit them. It's a painless workflow that I have found to be very, very useful.

Setting up Commons to use Dropbox for your user account only takes a few minutes. If you'd like to try it yourself easily, you can create a commons.perforce.net account and be up and running with your own Commons instance in seconds. As always we appreciate feedback, so if you do try it let us know either on the forums or through our G+ community.