Web Deploy... equivalent

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Jamster

Web Deploy... equivalent

Post by Jamster » Fri Feb 27, 2004 5:31 am

Deploying web projects with sourcegear vault is a real hassle, is there an equivalent of the SourceSafe 'Web Deploy' command, that copies updated text files to the web site?

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Fri Feb 27, 2004 9:10 am

Right now Vault doesn't have this feature, but it's often requested, and is planned for a future version. You may want to use Vault's command-line client to automate the process, instead of using the GUI client (if that's what you are currently doing). The command-line client can be used to get a repository folder to a non-working disk folder, which won't include any _sgvault data. Then use a tool like xcopy, FTP, or rsync to copy the files to your web server.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

montek
Posts: 107
Joined: Mon Jan 05, 2004 8:46 am

Re: Web Deploy... equivalent

Post by montek » Mon Mar 01, 2004 6:46 am

I would like to second this request. I have an ASP.NET team as well as an ASP web team. The .NET team is using Vault, but my ASP team is still using SourceSafe only because it's a complete bear to do web farm deployments with the Vault.

A tool that I would find EXTREMELY VALUABLE for Vault is to be able to get a version of a folder/file to a place that is NOT the working directory. That would help tremendously. Then, if you just added the ability to specify multiple targets, the "web deploy" feature is complete.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Re: Web Deploy... equivalent

Post by dan » Mon Mar 01, 2004 8:22 am

montek wrote:A tool that I would find EXTREMELY VALUABLE for Vault is to be able to get a version of a folder/file to a place that is NOT the working directory. That would help tremendously. Then, if you just added the ability to specify multiple targets, the "web deploy" feature is complete.
This is available in Vault. From the GUI client, change the "To" field in the Get Latest dialog, and it will retrieve the folder/files to a non-working directory. In the command line client, use the -destpath parameter with the Get command.

mikep
Posts: 26
Joined: Wed Jan 21, 2004 12:56 pm

web deploy

Post by mikep » Mon Mar 01, 2004 1:05 pm

One possible way around this is to install the Vault Client in your production environment and set the Working Folder to your web root, then get latest, etc.

Jamster

Extra useful feature

Post by Jamster » Thu Mar 04, 2004 11:13 am

Whilst we are talking about this feature request, I would find it very useful to be able to select which file types to deploy, when deploying to the web server I only want to deploy .aspx, .ascx etc files.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Mar 04, 2004 9:10 pm

fwiw, the command line client does a command called GETWILDCARD, which gets files, allowing for regular expressions on the filenames.

eric

Any news?

Post by eric » Tue Jan 04, 2005 12:02 pm

Any word on the priority of this request. It is the only thing keeping me from being able to use the product. Web farms are a hassle to manage without the feature.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Jan 05, 2005 1:58 pm

We haven't yet decided on whether it will be in the next major release.

In the meantime, doing a Get Latest to a non-working folder (from either the GUI or the command line client) can be used a work-around.

And, of course, we'll add your vote to the feature request.

jkewley
Posts: 18
Joined: Wed Jan 05, 2005 4:36 pm

Try UnleashIt

Post by jkewley » Wed Jan 05, 2005 4:40 pm

If you haven't tried the free utility UnleashIt, you should. It has a Vault plugin that will get latest, build, and then deploy via ftp, file share, or to a zip file:

http://www.eworldui.net/UnleashIt/

zumafan
Posts: 23
Joined: Wed Jan 05, 2005 11:03 am

Re: Try UnleashIt

Post by zumafan » Wed Jan 05, 2005 6:04 pm

jkewley wrote:If you haven't tried the free utility UnleashIt, you should. It has a Vault plugin that will get latest, build, and then deploy via ftp, file share, or to a zip file:

http://www.eworldui.net/UnleashIt/
Have you seen the Vault plugin lately? I remember seeing it but I can't find it now. Hopefully it is being updated for the 3.x releases of Vault!

jkewley
Posts: 18
Joined: Wed Jan 05, 2005 4:36 pm

Re: Try UnleashIt

Post by jkewley » Wed Jan 05, 2005 6:13 pm

zumafan wrote:Hopefully it is being updated for the 3.x releases of Vault!
I'm still a 2.0.6 user of Vault (couldn't see a compelling reason to upgrade). The Vault plugin for UnleashIt comes with full source. I don't think upgrading the included plugin to work with 3.0 should be too difficult if you have a good grasp of the Vault APIs. I've written a couple of UnleashIt plugins from scratch, and they're really easy.

Might be a good thing for Jeremy Sheeley to do in his blog ;)

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Thu Jan 06, 2005 9:02 am

Might be a good thing for Jeremy Sheeley to do in his blog
Yes, I need more work to do. :D

I'll put it on the list of things that I will do when I have time. Thanks for pointing this out. In future versions, we want to try really hard to give people who build on Vault more warning as to what will change and how they can update their code to compensate.

jamesmoore
Posts: 1
Joined: Thu Apr 21, 2005 8:13 am
Location: Havelock, NC

Re: Try UnleashIt

Post by jamesmoore » Thu Apr 21, 2005 8:19 am

jkewley wrote:If you haven't tried the free utility UnleashIt, you should. It has a Vault plugin that will get latest, build, and then deploy via ftp, file share, or to a zip file:

http://www.eworldui.net/UnleashIt/

Has anyone wrote a Vault 3.x plug-in for UnleashIt yet? :?

I'm still using the SOS Collab edition.. :cry: ...mainly because the programmers I support use the Web Deploy feature all the time (for ColdFusion based projects). Does the Vault 3.0 version have any new support for the Web Deploy feature?

I've thought about creating a .NET website, that would run the command line utility to "deploy" the websites.. but I'm hoping there is an easier way of doing it. I havn't tested the UnleashIt program.. will this provide similar functionality of the Web Deploy feature? Does anyone have any personal experiences using this program with Vault?
Last edited by jamesmoore on Thu Apr 21, 2005 8:31 am, edited 1 time in total.

montek
Posts: 107
Joined: Mon Jan 05, 2004 8:46 am

Re: Try UnleashIt

Post by montek » Thu Apr 21, 2005 8:28 am

Nope, still no web deploy feature built in as far as I can tell. Until it does, I can't get our public development team to convert from SourceSafe because deployment is such a pain.

Post Reply