production icon indicating copy to clipboard operation
production copied to clipboard

Avoid custom/plugins dir is ignored during new project initialization

Open amansilla opened this issue 3 years ago • 2 comments

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 [email protected]: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 <file>..." 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.

amansilla avatar Apr 20 '22 14:04 amansilla

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 20 '22 14:04 CLAassistant

@keulinho @shyim What do you think about this?

amansilla avatar Apr 26 '22 09:04 amansilla

Hey,

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

shyim avatar Aug 16 '23 11:08 shyim