Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed shopware dependencies removing order, for command plugin:zip:vcs #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

buzyka
Copy link

@buzyka buzyka commented Jun 27, 2023

  1. Why is this change necessary?

Currently, DependencyManager removing shopware packages in that order as the met in composer.json. That is why sometimes depending packages could be removed before the main one. That leads to the composer error in (plugin:zip:vcs, plugin:zip:dir).

  1. What does this change do, exactly?

Added private method DependencyManager::getTheRightRemovingOrder() that provided the correct order of removing shopware packages. Currently, it means that package shopware/core would be removed last.

…s for Shopware6. (This bug led to crushing command for plugins which has not only shopware dependency)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants