Skip to content

Git Ignore Rules Vanished from Project Meta-Package #4358

@davidalger

Description

@davidalger

Composer package magento/project-community-edition@2.0.5 is missing the .gitignore file which is crucial to setting up a project without committing everything to the repository:

dalger:01:31 PM:/server/proj/test$ composer create-project --repository-url https://repo.magento.com/ magento/project-community-edition m2 2.0.4 --no-install
Installing magento/project-community-edition (2.0.4)
  - Installing magento/project-community-edition (2.0.4)
    Downloading: 100%         

Created project in m2
dalger:01:32 PM:/server/proj/test$ ls -lha m2
total 32
drwxr-xr-x  3 dalger  admin   204B Apr 30 13:32 .
drwxr-xr-x  6 dalger  admin   340B Apr 30 13:32 ..
-rw-r--r--  1 dalger  admin   1.0K Mar 31 22:10 .gitignore
-rw-r--r--  1 dalger  admin   4.3K Mar 31 22:10 README.md
-rw-r--r--  1 dalger  admin   1.8K Mar 31 22:10 composer.json
drwxr-xr-x  7 dalger  admin   476B Apr 30 13:32 update
dalger:01:32 PM:/server/proj/test$ composer create-project --repository-url https://repo.magento.com/ magento/project-community-edition m2-205 2.0.5 --no-install
Installing magento/project-community-edition (2.0.5)
  - Installing magento/project-community-edition (2.0.5)
    Loading from cache

Created project in m2-205
dalger:01:32 PM:/server/proj/test$ ls -lha m2-205
total 8
drwxr-xr-x  3 dalger  admin   136B Apr 30 13:32 .
drwxr-xr-x  7 dalger  admin   374B Apr 30 13:32 ..
-rw-r--r--  1 dalger  admin   1.8K Apr 28 02:15 composer.json
drwxr-xr-x  7 dalger  admin   476B Apr 30 13:32 update
dalger:01:33 PM:/server/proj/test$ 

Why has this file gone missing? Can we please bring it back?

Metadata

Metadata

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions