Skip to content

Conversation

@mattagohni
Copy link
Contributor

@mattagohni mattagohni commented Dec 13, 2018

This PR should result in scripts that can handle multiple shopware-versions and fixes #17 . At the moment the scripts are tied to shopware 5.4.

At the moment, the current solution in this PR results in rather ugly calls to the scripts like:

$  vendor/bin/sdPlugin.sh 70 52 add

where the parts are:

$  vendor/bin/sdPlugin.sh 70                      52                add
    __________|________  __|__                  __|__               __|__
         script    php-version                Shopware-Version  subcommand

What do you think would be a nice way to get rid of this amount of parameters, which are not very self-explanatory.

One possibility could be to run the scripts for all versions and give the user the abiltiy to exclude php-/shopware-versions.

Copy link
Contributor

@sd-lueckel sd-lueckel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is ok for now but for the future we should think about a more flexible way

README.md Outdated

For all following commands you must pass a php version, e.g. 71 for PHP 7.1 container:


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this newline is not necessary

@sd-lueckel sd-lueckel changed the title [RFC|WIP]Add support for different shopware versions Add support for different shopware versions Jan 28, 2019
sd-lueckel
sd-lueckel previously approved these changes Jan 28, 2019
michz
michz previously approved these changes Feb 4, 2019
Jnoack331
Jnoack331 previously approved these changes Feb 4, 2019
@sd-lueckel sd-lueckel dismissed stale reviews from Jnoack331, michz, and themself via aa790c2 February 6, 2019 09:06
@sd-lueckel sd-lueckel force-pushed the add-support-for-different-shopware-versions branch from 2010f10 to aa790c2 Compare February 6, 2019 09:06
@michz michz merged commit e0320f1 into master Feb 6, 2019
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.

scripts are tied to shopware 5.4

5 participants