Code Monkey home page Code Monkey logo

Comments (7)

sylvainraye avatar sylvainraye commented on August 28, 2024

Hi,
I think it's not the best place here to ask such a question as it is related to the package itself.
Probably the solution may be to follow the following instructions, I don't know however if it allows to overwrite the path at root project level: https://github.com/magento-hackathon/magento-composer-installer/blob/master/doc/Mapping.md

Regards

from composer-repository.

jsmirnov avatar jsmirnov commented on August 28, 2024

@diglin
Unfortunately I can't find the author of this package and seems to be this one was auto converted:

    <authors><author><name>Magento Core</name><user>auto-converted</user><email>[email protected]</email></author></authors>

Currently I am trying something like this:

"magento-map-overwrite" : {
            "connect20/locale_mage_community_et_ee": [
                "app/locale/*", "app/locale/et_EE"
            ]
        }

unfortunately with no success.

from composer-repository.

sylvainraye avatar sylvainraye commented on August 28, 2024

@jsmirnov ah, you're right.
Regarding of the magento-map-overwrite, are you sure you have the latest Magento composer installer? Maybe even the master branch as it is the current development branch. I think this composer attribute was added not so long time ago.

from composer-repository.

jsmirnov avatar jsmirnov commented on August 28, 2024

@diglin
Number 1:
screen shot 2014-07-28 at 16 10 31

Number 2
screen shot 2014-07-28 at 16 13 09

Number 3

  [ErrorException]
  Source /Volumes/Projects/homegourmet/homegourmet/vendor/connect20/Locale_Mage_community_et_EE/a does not exist

with:

    "extra":{
        "magento-root-dir": "src/",
        "magento-deploystrategy": "copy",
        "magento-force": "override",
        "composer-command-registry": [
            "MagentoHackathon\\Composer\\Magento\\Command\\DeployCommand"
        ],
        "magento-map-overwrite" : {
            "connect20/locale_mage_community_et_ee": [
                "app/locale/*", "app/locale/et_EE"
            ]
        }
    }

from composer-repository.

jsmirnov avatar jsmirnov commented on August 28, 2024

@diglin
Well I think I found an issue.
In magento-hackathon/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Deploystrategy/DeploystrategyAbstract.php

    public function deploy()
    {
        foreach ($this->getMappings() as $data) {
            list ($source, $dest) = $data;

$this->getMappings would return 2 entries, while I thought it would return 1 with 2 elements.

so proper syntax would be:
(adders square brackets around mapping statement - one more array 😒)

"magento-map-overwrite" : {
            "connect20/locale_mage_community_et_ee": [
                ["app/locale/*", "app/locale/et_EE"]
            ]
        }

If you can specify me the place where I can mark it down, how this feature works, it would be great. As I see now. This is not an issue, but just my mistake.

P.S. Package is still broken anyway.

from composer-repository.

sylvainraye avatar sylvainraye commented on August 28, 2024

Hi please create a ticket and or pull request in this repository: https://github.com/magento-hackathon/magento-composer-installer

Here it's only related to the packages list, not the magento composer installer.

from composer-repository.

jsmirnov avatar jsmirnov commented on August 28, 2024

thanks.

from composer-repository.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.