tags:

views:

50

answers:

2

I am looking to clean up the file that we store in source control (SVN) for the Magento projects we are working on.

Which files/folder are have no purpose being in SVN, ie the ones are not necessary for the site to function, or are only transient?

So far I have identified

 var\cache  

 var\session

 media\temp

 var\locks

downloader\pearlib\download

 downloader\pearlib\cache

There are some I am unsure about:

    var\report

    downloader\pearlib\docs

    media\catalog\product\cache\

Can anyone provide a definitive list?

+1  A: 

See the answer to this question for more items: http://stackoverflow.com/questions/2058617/

Joseph Mastey
A: 

http://activecodeline.com/git-ignore-gitignore-file-for-magento-project answers a larger question, but could be helpful none-the-less.

There's a whole bunch of stuff in Magento that doesn't need to be in source control, as it will remain constant (as long as you follow some sane development practices.) The above link goes through all the directories that need not be tracked by source control.

Laizer
Dont quite agree with that approach, there is plenty of stuff listed there that belongs in source control.
Dan
Yeah? I find that my changes stay in /app/code/local, app/code/community, app/etc, app/locale, and my template.
Laizer