Developer forum

Forum » Development » Ignore Files in Version Control

Ignore Files in Version Control

Alec Stubbs
Reply

Hi Guys,

 

Does anyone know what files that DW creates I can tell version control to ignore?

 

So for example the parsed files and cache which DW will create on it's own don't need to be in version control.

 

I'm using DW 8.3 and wondered if anyone can share a list of files that can safely be ignored?

One example I'm not sure about is WebsiteLayouts_1.xml in the files\system\items directory.

 

 

Cheers,

Alec


Replies

 
Mikkel Ricky
Reply

You can safely ignore the parsed template files inside the _parsed folder in your design. Just ignore the entire _parsed folder.

 

WebsiteLayouts_1.xml holds information on which item page and paragraph template are the defaults for items in the website with id 1. You should include everything inside the Files/System/Items/ folder, i.e. item type definitions and WebsiteLayouts in version control.

 

Note, however, that you may run into some issues with the shared database and local xml item type definitions. If changes to an item type definition are made on one solution and written to the local xml file and shared database, then the changes in the database may be overwritten when another developer having an older version of the xml file accesses the database. We're working on fixing this issue.

 

Best regards,
Mikkel

 

   

 

You must be logged in to post in the forum