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

When generating a new plugin component, make sure to generate correct piwik version require #10457

Merged
merged 1 commit into from Aug 31, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Aug 31, 2016

In plugin.json we used to generate piwik require only ">=3.0.0-b1" but now we require eg ">=3.0.0-b1,<4.0.0-b1" when generating a plugin. Meaning we make sure to specify an upper limit.

When generating any plugin component we update the required piwik version in plugin.json automatically and set it to the current used Piwik version as users likely don't test it with older Piwik versions. We now generate a version constraint like ">=3.0.0-b1,<4.0.0-b1" as well and we only update it, if the developer is actually using that version format and not if a developer has defined a custom version constraint.

@tsteur tsteur added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Aug 31, 2016
@tsteur tsteur added this to the 3.0.0-b1 milestone Aug 31, 2016
@tsteur tsteur merged commit 954175e into 3.x-dev Aug 31, 2016
@tsteur tsteur deleted the update_piwik_require_version branch August 31, 2016 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant