Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Hotfox and source control View modes: 
User avatar
Member
Member
mvcftw-gmail - 7/23/2013 11:47:47 AM
   
Hotfox and source control
How do I apply the hotfixes if the entire wwwroot is under source control? I don't know what files the hotfixes will need to modify, so I can't check them out? There must be some obvious solution I'm missing here...

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 7/24/2013 12:59:19 AM
   
RE:Hotfox and source control
Hello,

Could you please be more specific what do you mean by "source control"? Hotfixes could affect anyfile in the system except your custom modifications/custom files which were modified according to the Kentico directory rules.

Best Regards,
Martin Danko

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 7/24/2013 7:21:40 AM
   
RE:Hotfox and source control
If your entire website root is under source control (and assuming the root of the website is a Kentico site) I'm guessing you already have that directory setup to "track changes" so if you install the hotfix, when you go to your source control tool, you should see that files A, B, C...etc have changed. You then go and commit them to your repository as "hotfix XX".

What I do is have a local copy I work with that is connected to source control and is the same copy of files located on our test and live servers. I install the hotfix locally, compile it and run it and ensure everything works as expected. I then check that hotfix version into source control. Then by looking back at the logs I can see what files need to be updated, so I copy and past those files to test and production (after testing test of course).