shopware / production

Shopware 6 production template
https://shopware.com
175 stars 152 forks source link

Avoid custom/plugins dir is ignored during new project initialization #149

Closed amansilla closed 1 year ago

amansilla commented 2 years ago

This fix solved the following issue: as a developer, I start new shopware based projects with the following behavior:

How to reproduce:

  1. git clone git@github.com:shopware/production.git my-new-shopware-project
  2. cd my-new-shopware-project && rm -rf .git # because I don't want to keep the whole shopware git history, branches, and so on
  3. git init
  4. git add custom
  5. git status
    
    On branch main

No commits yet

Changes to be committed: (use "git rm --cached ..." to unstage) new file: custom/static-plugins/.gitkeep


The issue here is that the dir `custom/plugins` and his `.gitkeep` are ignored. As consequence other tasks e.g. installing new plugins from the admin panel will fail.
CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

amansilla commented 2 years ago

@keulinho @shyim What do you think about this?

shyim commented 1 year ago

Hey,

I am closing this as we migrated to Symfony Flex with recipes. So this repository is now empty