Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Automating SourceSafe with Perl

by zebedee (Pilgrim)
on Sep 18, 2001 at 16:41 UTC ( [id://113100]=perlquestion: print w/replies, xml ) Need Help??

zebedee has asked for the wisdom of the Perl Monks concerning the following question:

Anybody written a module for interacting with Microsoft SourceSafe?

I'm using Perl to automate our Visual Basic build process and want to automate the check-in/-out of SourceSafe (5.0 and 6.0).

I've hacked together a few pieces to get the stuff going but really want to tidy it up into a module (but no point if it's already been done ... I'm lazy which is a virtue, right? 8-D ...)

Apologies if this has been asked before, but everytime I run a search in PerlMonks I get error 10053 - software caused an abort (IE6). Thanks.

Replies are listed 'Best First'.
Re: SourceSafe
by Albannach (Monsignor) on Sep 18, 2001 at 17:41 UTC
    Well it's certainly been thought about here before, but that's it locally. Dare I mention that there are other places to search for Perl information? Especially when you're talking about Win32 and/or Microsoft questions, try searching ActiveState. While there doesn't appear to be a module anywhere I've seen, a number of people are using Win32::OLE for this purpose (e.g. here and here). Of course you're probably doing that already, or perhaps using the ss command-line interface.

    If you are in the mood to contribute, you might check out VCS and VCP on CPAN.

    --
    I'd like to be able to assign to an luser

      That's great ... just what I was looking for.

      My existing code either takes the return code (0=your operation worked) or examines the console output. I started to look at the OLE interface but got a bit lost in Win32::OLE.

      I'll see if I can contribute to VCS ... haven't written a Perl module or object yet, so some way to go.

      Thanks.
Re: SourceSafe
by mjeaton (Hermit) on Sep 18, 2001 at 17:53 UTC
    A few years ago, I wrote a couple of Perl programs to automate our VB build process. I ended up using makefiles that simply used the commandline ss.exe to check-in, check-out files. I wrote a Perl program that would create the makefiles based on the contents of the VBP.
    Another Perl program actually iterated through all the directories (based on a starting director) and looked for makefiles. When it found one, it would execute nmake.
    The whole thing was very cool, cause it did logging, etc. Since this is my first post here, I'm not sure what I would need to do to post the code.
      Apologies for "restarting" an old thread. I am really interested in the Perl code you mention and would appreciate having a look at it. Wonder if it would be possible for you to dig this up and send it to me. TIA

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://113100]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found