CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #10015

Overwriting of existing files should be configurable

Added by Nico de Haen over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2010-10-01
Priority:Could have Due date:
Assignee:Sebastian Michaelsen % Done:

0%

Category:Code Creation
Target version:-
Votes: 0

Description

This is part of the roundtrip concept but could be useful also for current trunk: It should be possible to configure overwrite settings via Typoscript.
Simple example: If you added an ext_icon.gif it will be overriden each time you save in the kickstarter.

I attached a patch which adds a Typoscript setup:

### overwrite settings only apply if this flag is set to true
enableRoundtrip = 0

### an array representing the file structure of the extension, where each file can be configured separately.
# 0 always overwrite
# 1 merge (if possible)
# 2 never overwrite
#######################################
settings.roundtrip.overWriteSettings{
        ext_icon.gif = 2
    Resources {
        Private {
            Language {
                locallang_db.xml = 0
                locallang.xml = 2
            }
        }
    }
    etc.
}                

overwriteConfiguration.diff (11.6 kB) Nico de Haen, 2010-10-01 17:58

History

Updated by Nico de Haen over 2 years ago

  • File deleted (overwriteConfiguration.diff)

Updated by Nico de Haen over 2 years ago

Old patch was incomplete...

Updated by Nico de Haen over 2 years ago

  • Status changed from New to Resolved

This feature is implemented with the YAML settings file.

Also available in: Atom PDF