Document plugin getInformation() and the version number policy #1222

Closed
anonymous-piwik-user opened this Issue Mar 20, 2010 · 2 comments

2 participants

@anonymous-piwik-user

Most of the core plugins are using Piwik_Version::VERSION for their version number, but not so for the example plugins.

The version number policy is:

  • core plugins (distributed in the Piwik release, with the exception of examples) use Piwik_Version::VERSION, so that they always reflect/match the base version
  • example plugins use a hard-coded version number as an example for 3rd party developers (e.g., '0.1')
  • 3rd party plugins use a hard-coded version number that must be incremented with each plugin release

A policy for transitioning 3rd party plugins to core will be formalized after #1116.

@robocoder

(In [1964]) fixes #1222 - document the version number policy; point developers (who read the code) to Piwik_Plugin (core/Plugin.php)

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.6 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment