Skip to content

magento/core is mapped as folders not as files #174

Open
@flancer64

Description

@flancer64

Hello, guys.

I have created project with the following composer.json:

{
  ...
  "require": {
    "magento-hackathon/magento-composer-installer": "*",
    "magento-hackathon/composer-command-integrator": "*@dev",
    "composer/composer": "*@alpha",
    "magento/core": "1.9.1.0",
    "connect20/nmmlm_log": "*"
  },
  "repositories": [
    {
      "type": "composer",
      "url": "http://packages.firegento.com"
    }
  ],
  "extra": {
    "magento-root-dir": "mage",
    "magento-deploystrategy": "symlink",
    "auto-append-gitignore": true
  }
}

when I run composer:

composer install

I have folder mapping for magento/core module in ./mage/.gitignore file:

#magento/core
/app
/downloader
/errors
/includes
/js
/lib
/media
/pkginfo
/shell
/skin
/var
/.htaccess
/api.php
/cron.php
/cron.sh
/favicon.ico
/get.php
/index.php
/install.php
/mage
#connect20/nmmlm_log
/app/code/community/Nmmlm/Log/Logger.php
/app/code/community/Nmmlm/Log/Util.php
/app/code/community/Nmmlm/Log/etc/config.xml
...

I need file level mapping in ./mage/.gitignore for my project to get git available for theme and non-composer Magento modules. What configure parameter I should use to get file level mapping instead of folder level mapping for magento/core?

Thanks,

Alex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions