Command Line Client for GDN Workspaces

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…

Available sub-commands:
    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.

 

2 Comments

  • Hi, I was wondering if you are runnin Subversion on Windows or Linux? I was interested in trying to get something up on Linux but haven't had much luck configuring Apache (specifically the webdav stuff) and Subversion on Windows.



    Kind of off topic, but I if you have any info its appreciated.



    Thanks,



    Kris

  • I'm running Subversion on Windows 2000 and Apache. The setup went smoothly for me. Did you try Apache on Windows or just the SVN client?

Comments have been disabled for this content.