Saturday, September 18, 2010

I am starting a git port of the scripts I originally created for Tom Lord's Arch, the tool that let the cat out of the bag for distributed scm.  Tom's command interfaces were verbose but uniform, enough so that it made sense to curry the arguments by way of shell functions set in the environment startup scripts. That strategy morphed into my Setview package, which mocks a workflow similar to that of the ClearCase command of the same name. The idea is that even if the SCM is distributed and can be cloned anywhere, you can benefit from organizing the common contextual information for your working projects, and injecting that context into a sort of sandboxed shell environment just when you want to do work on a given project.

Additionally, I've started setting up a snippets library using DropBox. I'll bootstrap it with scripts and snippets from past projects, organized at the top level into language (Javascript, CSS, Ruby) or language-library (Prototype, Rails) folders. The nifty thing about DropBox is that it is easily large enough for language snippets, accessible from my laptops, versioned without requiring an SCM, and can be shared to guests. An alternative would be to use a distributed scm service like GitHub.

It might be neat to combine the two ideas, and have Setview bind accessor methods for the snippets library to the view environment. Or perhaps better as a VIM plugin.
Post a Comment