Apologies for the rather cryptic announcement yesterday. It was late, it worked and I wanted to go to sleep! ;) As the more curious of you will have found out, I’ve set up a couple of new GDN Workspaces. One for NAntAddIn and another for a Workspaces command line client. You will find a pre-built version of 'wks'. I will try and get a release of NAntAddIn up tomorrow.
I started working on the Workspaces client after getting frustrated trying to keep the NAntAddIn Workspace in sync with my local Subversion repository. My ultimate aim is to create a two way bridge between them. For the moment I’ve added a command (load) that lets me do a vendor drop into the Workspace (adding, deleting, checking out and checking in to sync up with my local version). There’s also a command to save the Workspace along with last modified and version information. This lets me store the Workspace in my Subversion repository and hopefully absorb changes made there.
I’ve loosely modelled the command line client on 'cvs' and 'svn'. To get a list of possible sub-commands type “wks help”. At the moment you will get the following list…
save - Save files from a Workspace with version information
help - Help on wks sub-commands
mywks - List MyWorkspaces
size - List Workspace size information
list - List all files in a workspace
add - Add file(s) to a Workspace
delete - Delete file(s) from a Workspace
export - Export files from a workspace
checkout - Checkout Workspace
checkin - Checkin Workspace
load - Load files, adding and deleting as necessary
The functionality is skewed towards what I’ve needed so far. It should be very strait forward to add new commands. If you would like to run the unit tests, you will need write assess to the ‘wks-testing’ workspace. Just ask and I will happily give you access.