Long Hours of Design

September 17, 2008

Micro-Versioning System

Phenomenal, gigantic projects! Itty bitty versioning system. [ 1 ]

Of course, when we think of a version control system (usually intended for source code), we think of Subversion, CVS, Adobe Version Cue, and their ilk, and generally regard such systems as multi-user entities.

However, even the solo-designer needs some kind of versioning system — even as simple as a “Version 1”, “Version 2” etc naming convention. Many design groups I’ve worked with use such a convention.

This system works fine for the solo designer and the normal design group for a few reasons:

  1. The learning curve for other systems (Version Cue, etc.) is relatively high and can be a lot of time to invest.
  2. While there might be multiple people working on similar projects (in a print arena), generally there is only one person working on a single file at a time.
  3. Source code versioning tools such as “diff and merge” are useless for print design projects; thus, any extra overhead involved in CVS, etc is unnecessary.

So, if we are going to use some kind of simple versioning system, it should at least be A. consistent — versions are updated the same throughout the system. And should be B. relatively easy to implement and use.

I decided to solve this problem with a simple AppleScript [ 2 ]

Open this script in Script Editor
or
Download this Script

Select a file (or files) in the Finder and then run this script. This script duplicates that file(s) and adds “v2”  to the new file. Run the script on that file, and it duplicates and names “v3”. It also asks you for version comments, which are added to the file.

Easy and consistent.

Et violå! An “itty-bitty” versioning system.

  1. Here, 7:10
  2. Right now, this script only works up to a version 10. After that, it fails and creates “v10 v1”. I plan on updating this in the near future Updated with help of the fine folks at MacScripter.net

Related posts

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment