Cotya / magento-composer-installer

Composer installer for Magento modules
212 stars 77 forks source link

magento-deploy-ignore not ignoring folders/files #67

Open proxium opened 9 years ago

proxium commented 9 years ago

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.

cs-digitalpatrioten commented 7 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" ] }

proxium commented 7 years ago

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/"]
        }
    }
AydinHassan commented 7 years ago

@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.

proxium commented 7 years ago

@AydinHassan should I report this issue here ? https://github.com/AydinHassan/magento-core-composer-installer/issues

krombox commented 6 years ago

Same problem. "magento-hackathon/magento-composer-installer": "3.1.2". "magento-deploy-ignore": { "*": ["/.htaccess"], "magento/core": ["/.htacces"] }

File still overrides

Flyingmana commented 6 years ago

@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.