In software development (in an ASP.NET web development in particular) there are always repetitive time consuming tasks, which we would like to automate somehow. One of those things is the permanent need to create deployment/update packages with files which were changed since the last deployment. Until a week ago I have been creating this packages manually, simply by collecting changed files from various folders, organising them and deploying  to the web hosting server. Last week I got very annoyed with that and after some research figured out how to utilize SVN/Subversion to do exactly that for you automatically.

Great. Just look at the next few screenshots how easy this is (just a note – this is demonstrated with the Windows SVN client – TortoiseSVN).
 

Step 1.

Open Repo-Browser and navigate to your website folder.

repo-300x230.jpg

Step 2.

Right click -Show Log, then select all revisions from top to bottom which you want to create a deployment package for

repo1-253x300.jpg

Step 3.

Right click on the selection and select Compare Revisions.

select-300x205.jpg
 

Step 4.

In the Changed Files Screen select all files, right click with your mouse and select Export selection to..

select1-284x300.jpg

And that is it :-) Enjoy your just created deployment package – structure of folders with files which were changed in your selected SVN revisions. Zip it up and deploy!

.package-300x194.jpg

You may also like

Windows SharePoint Services Help Search – SPSearch Starting Error

I was installing SharePoint for the thousandth time last week on our new internal server and could not get the Search Server to start successfully from Central Administration. When i tried to start the service I got an error page with 2 short lines of text.

Keep Reading

Sharepoint Web Part Grouping

It has frustrated me that every web part that I develop is listed under Miscellaneous when we deploy it to production. I know this is a small thing but i believe it is important that these this are done correctly so that the company brand is recognized appropriately. Well i finally found the method to do it and have listed it here.

Keep Reading

Newsletter sign up

Every couple of months we send out an update on what's been happening around our office and the web. Sign up and see what you think. And of course, we never spam.