Open proxium opened 9 years ago
Works:
"magento-deploy-ignore": { "test/module": [ "/app/locale/de_DE/Test_Module.csv", "/app/locale/es_ES/Test_Module.csv" ], "test/module2": [ "/app/locale/de_DE/Test_Module2.csv", "/app/locale/de_AT/Test_Module2.csv" ] }
Now I'm using "magento-hakathon/magento-composer-installer":"3.0.7" and I'm still not able to ignore those two resources (favicon.ico and /downloader/ folder)
Here is the used syntax:
"extra": {
"magento-root-dir": "src/",
"with-bootstrap-patch": false,
"skip-suggest-repositories": true,
"auto-append-gitignore": true,
"magento-deploystrategy": "copy",
"magento-force": true,
"magento-deploy-sort-priority": {
"firegento/magento": "100"
},
"magento-deploy-ignore": {
"firegento/magento": ["/skin/frontend/base/default/favicon.ico"],
"firegento/magento": ["/downloader/"]
}
}
@proxium firegento/magento
is not a magento module - this plugin does not touch that package at all as it's type is magento-core
not magento-module
.
@AydinHassan should I report this issue here ? https://github.com/AydinHassan/magento-core-composer-installer/issues
Same problem. "magento-hackathon/magento-composer-installer": "3.1.2".
"magento-deploy-ignore": { "*": ["/.htaccess"], "magento/core": ["/.htacces"] }
File still overrides
@krombox the installer can sadly only ignore files, which come from magento modules. if its source is a magento core project, then it is not handling the deploy, and therefore cant ignore it.
As @AydinHassan suggested, this is an update:
I'm using "magento-hackathon/magento-composer-installer": "3.0.5" and none of these solved the problem.
Using package name
Using asterisk
Removing leading slash