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
define package conflicts #55
Conversation
//cc @gharlan |
👍 Nur noch mal zur Klarstellung: Folge ist, sobald irgendeines der Addons in Version 3 erscheint, können die Leute, die Cache Warmup installiert haben, das jeweilige Addon nicht updaten. Kann also auch nerven, vor allem, wenn Cache Warmup eigentlich doch mit der Version 3 kompatibel wäre. Aber da wir das ja jetzt nicht wissen können, finde ich das alles so richtig. Wie Markus ja sagte, offene Grenzen nach oben sind ein Antipattern. |
package.yml
Outdated
php: '>=5.5' | ||
|
||
conflicts: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vllt solltest du hier nen kommentar reinmachen was diese regel bewirkt... conflict rules sind bisher in FOR nicht üblich
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, danke.
@gharlan haben wir eine ordentliche message beim installieren wenn es wg einem conflikt nicht klappt? (Damit die leute wissen was das problem ist und die ursache erkennen kann)? |
Dies sind die Meldungen, die auftreten können, je nach Konstellation: Da drüber steht dann noch sowas wie "Addon X konnte aus folgendem Grund nicht aktualisiert werden:". |
php: '>=5.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gharlan brauchts auch ne conflict rule für php >7 (da wir hier noch kein || können?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bei der PHP-Version scheint es üblicher zu sein, die Grenze doch nach oben offen zu lassen. Zumindest sehe ich das meist so in den composer.json's.
Ein Beispiel, Symfony: https://github.com/symfony/symfony/blob/master/composer.json#L19
Danke euch! Wollen wir dann mergen? |
fixes #51