[TYPO3-dev] ExtManager: ignoring files in CVS and .svn subdirectories of an extension

Stefan Geith typo3dev2006 at geithware.de
Wed Jul 12 17:30:41 CEST 2006


Dimitri Tarassenko schrieb:
> Hello all,
> 
> Is there a way to tell the extension manager not to track changes and
> not to pack CVS/.svn subdirectories of an extension? Am I missing
> something?

Just my 2 cent ...:

I changed in class.t3lib_div.php in the function
    function getAllFilesAndFoldersInPath(...)
the line
    if ((string)$subdirs!='') {
to
    if ((string)$subdirs!='' && (string)$subdirs!='.svn') {

That does the job.

May be the right way would be to use a
$TYPO3_CONF_VARS[...]-Value for all
Directory names to be suppresed.
Preset could be '.svn,.cvs'.

I would like to see this in 4.01 ... ;)

-

Stefan











More information about the TYPO3-dev mailing list