Platform Team/Guide/Sweets Packaging: Difference between revisions
| Line 124: | Line 124: | ||
== Versioning scheme == | == Versioning scheme == | ||
There could be two different versioning scheme for services. | |||
=== Upstream versions === | |||
If service is just a wrapper around existed project with its own versioning scheme then there is even no need in any mentioning of versions in service.info file. Particular version will be chosen on every ''0sugar dist*'' command invoking or will be fetched from native packaging systems(if service doesn't provide binaries and [[Documentation Team/Services/Native packages usage|only]] contains information about already well packaged in various GNU/Linux distributions). | |||
=== Native versions === | |||
The rest of services will use scheme: | |||
''' | <version>-<revision> | ||
* <version> is a ''version'' field from service.info file | |||
* <revision> is an auto incremented number which is beeing changed by ''0sugar push'' command (like Subversion revision) | |||
Commands ''dist'' and ''dist_bin'' rewrite releases with the same ''version'' versions and don't remove other releases. | |||
[[#Library_section|Libraries]] have also ''age'' parameter which is [http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html#Libtool-versioning libtool] like age version part. ''age'' won't be exposed in version string but will be present in feed files and 0sugar will check it while deciding what dependency version should be chosen. | |||
== Stability status == | == Stability status == | ||