]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - releng/doc/release.md
Added release schedule and produced artifact documentation
[simantics/platform.git] / releng / doc / release.md
index 23badbcf447fc9d7b7bc96143f60708816d4b038..4fdad593edda04cafa2904a83998b592d4367ffe 100644 (file)
@@ -4,7 +4,9 @@
 2. [A change log entry](https://www.simantics.org/redmine/projects/simantics-platform/wiki/ChangeLog) is compiled from the issues in this release and made available to the general public separately for the platform and for the open products included in the release train.\r
 3. [Roadmap](http://dev.simantics.org/index.php/Roadmap) is up-to-date.\r
 4. [Tutorials](http://dev.simantics.org/index.php/Tutorials) are up-to-date and coherent with the platform.\r
-5. For all new major/minor releases, Wiki documentation is backed up (cloned). This is not necessary for service releases of old release branches.\r
+5. For all new major/minor releases, Wiki documentation is backed up (cloned).\r
+\r
+----\r
 \r
 # Simantics Platform Release Process\r
 \r
 * Repeat until stable:\r
   * Develop, test and document components and test products\r
 * Tag the release in repository\r
-* Tag documentation\r
-  * [https://www.simantics.org/wiki](https://www.simantics.org/wiki) &rArr; [http://www.simantics.org/&lt;version&gt;/wiki](http://www.simantics.org/<version>/wiki)\r
+* Backup documentation wiki databases\r
 * Build and publish SDK package with and without sources\r
+  * Does not really require any work\r
 * Build Simantics open source products and plug-in components which are a part of the release train\r
-  * Simantics Sysdyn\r
-  * Simantics R\r
-  * Simupedia\r
-  * FMI Studio\r
 * Update websites to reflect the new release\r
-  * [dev.simantics.org](http://dev.simantics.org)\r
-  * [www.simantics.org/end_user_wiki/](https://www.simantics.org/end_user_wiki/)\r
-  * [www.simantics.org/members/](https://www.simantics.org/members/)\r
-  * [www.simantics.org](https://www.simantics.org)\r
 \r
-In the following sections each task is described step by step.\r
+----\r
+\r
+# Released Plug-in Components and Products  \r
+\r
+There are both plug-in components and products that are part of the "Simantics release train" that shall be released simultaneously to a major or minor Simantics release.\r
+\r
+Plug-in components are installable features that are deployed online as P2 repositories for general availability. Products are deployed as ZIP files and made available online in designated locations on simantics.org. \r
+\r
+Products that are part of the release train: \r
+* Simantics Desktop\r
+* Simantics System Dynamics Tool - [simantics/sysdyn.git](https://www.simantics.org:8088/r/gitweb?p=simantics/sysdyn.git;a=summary)\r
+\r
+Plug-in components that are part of the release train:\r
+* Simantics R - [simantics/r.git](https://www.simantics.org:8088/r/gitweb?p=simantics/r.git;a=summary)\r
+* FMIL - [simantics/fmil.git](https://www.simantics.org:8088/r/gitweb?p=simantics/fmil.git;a=summary)\r
+* FMI Studio - [members/fmi.git](https://www.simantics.org:8088/r/gitweb?p=members/fmi.git;a=summary)\r
+* Simupedia - [Members SVN](https://www.simantics.org/svn/members/simupedia)\r
+\r
+For simplicity, each of these components are versioned accoring to platform versioning, i.e. for Platform SDK 1.26.0 there will be Simantics Desktop 1.26.0, Sysdyn 1.26.0, and so on.  \r
+\r
+----\r
+\r
+# Release Schedule\r
+\r
+* Releases are branched 4 weeks before the set release date.\r
+* During this time no more new features are allowed in the release branch and the existing work shall be stabilized. Work must be focused on bug fixes and documentation.\r
+* Source code changes to release branches are forbidden in the last 2 weeks. Documentation-only changes are still allowed. However, if critical show-stopper problems surface during that time, the changes must be done. After that the release engineering team must decide whether to stick to the original release schedule or whether to delay the release.   \r
+\r
+----\r
 \r
 # Simantics Platform Release - Step by Step\r
 \r
@@ -61,16 +83,15 @@ With service releases, branch from an existing `release/*` branch instead.
 2. Edit all target platform files in  `releng/org.simantics.sdk.build.targetdefinition/`, i.e.\r
    * `simantics.target`\r
    * `org.simantics.sdk.build.targetdefinition.target`\r
-   * `org.simantics.sdk.build.targetdefinition-semantum.target`\r
 \r
-   At the beginning of each .target file, increment `sequenceNumber` by 1\r
+   At the beginning of simantics.target file, increment `sequenceNumber` by 1\r
    ~~~\r
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
    <?pde version="3.8"?>\r
    <target name="Simantics x.y.z[.w]" sequenceNumber="11">\r
    ~~~\r
 \r
-   Next, replace the following rows in those files:   \r
+   Next, replace the following rows in both mentioned files:   \r
 \r
    ~~~\r
    <repository location="http://www.simantics.org/download/master/sdk"/>\r
@@ -95,12 +116,18 @@ With service releases, branch from an existing `release/*` branch instead.
   * **GERRIT_REFNAME:** `release/x.y.z[.w]`\r
   * **PUBLISH_ARTIFACTS:** `true`\r
 \r
+Running these two builds will ensure that both the external components required to build the SDK and the Simantics SDK for the new release branch are published online at `http://www.simantics.org/download/release/x.y.z[.w]/`.\r
+\r
+After this, whenever changes are pushed/merged to `release/x.y.z[.w]` branch in Gerrit, new **SDK/Simantics SDK** builds are triggered automatically and they will publish the results at the same location online.\r
+\r
+This means that one does not have to do any tricks after this to build and publish the SDK as a P2 repository online. It is an automated process that is performed by the [SDK/Simantics SDK](https://www.simantics.org/jenkins/job/SDK/job/Simantics%20SDK/) Jenkins job.\r
+\r
 ## Review documentation\r
 \r
 Documentation to review:\r
 * [Developer wiki](http://dev.simantics.org/)\r
-* [End-user wiki](http://www.simantics.org/end_user_wiki)\r
-* [Member wiki](http://www.simantics.org/members)\r
+* [End-user wiki](https://www.simantics.org/end_user_wiki)\r
+* [Member wiki](https://www.simantics.org/members)\r
 \r
 For each wiki page:\r
 * Read through and get authors to fix found problems, such as TODOs or invalid information.\r
@@ -132,13 +159,20 @@ When the release branches are ready for the release, tag them with the tag `vx.y
 > Note The -m argument must be supplied to create an [annotated tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging).\r
 > Only annotated or signed tags can be pushed to Gerrit.\r
 \r
-## Dump documentation wikis\r
+## Backup documentation wiki databases \r
+\r
+This step is only necessary for major/minor releases, not for service releases.\r
 \r
-Dump documentation wiki using [dump-wikis.sh](./dump-wikis.sh) script.\r
+The wiki databases to be backed up are:\r
+* [Developer wiki](http://dev.simantics.org/)\r
+* [End-user wiki](https://www.simantics.org/end_user_wiki)\r
+\r
+These are MediaWiki installations. The only sane way to "tag" the documentation\r
+is to back up the mysql database backing the wiki. Should the wiki be required\r
+at a later time for some reason, we'll put the documentation up then in a\r
+separate Mediawiki installation. \r
 \r
-The wiki documentation is mainly in MediaWiki installations. The only\r
-sane way to tag the documentation is to back up the mysql database\r
-backing the wiki.\r
+Dump documentation wiki databases using [dump-wikis.sh](./dump-wikis.sh) script.\r
 \r
 ## Compile change log entry\r
 \r
@@ -170,12 +204,13 @@ backing the wiki.
 \r
 ## Disseminate information about the release\r
 \r
+* [Developer Wiki](http://dev.simantics.org): Update roadmap at http://dev.simantics.org/index.php/Roadmap\r
 * [Redmine](https://www.simantics.org/redmine/): Post news on the developer/user-visible changes here.\r
 * [simantics.org](https://www.simantics.org): Post news on the release and a link to the redmine post\r
-* [dev wiki](http://dev.simantics.org): Update roadmap at http://dev.simantics.org/index.php/Roadmap\r
-* [simantics-developers@simantics.org](mailto:simantics-developers@simantics.org) Send mail to simantics-developers:\r
+* [Members Wiki](https://www.simantics.org/members/): Update frame plan to reflect the realized dates and link to Redmine news\r
+* [mailto:simantics-developers@simantics.org](mailto:simantics-developers@simantics.org) Send "newsletter" to `simantics-developers@simantics.org:\r
 \r
-**Mail template:**\r
+**Newsletter template:**\r
 ~~~\r
 Hello everyone,\r
    \r
@@ -187,10 +222,12 @@ Best regards,
 Simantics Release Engineering Team\r
 ~~~\r
 \r
-**News entry template:**\r
+**Redmine news template:**\r
 ~~~\r
-On <date> Simantics x.y.z[.w] was tagged in SVN. Please find change log at:\r
-* [[simantics-platform:Simantics_xyzw|Simantics x.y.z.w]]\r
+Title: Simantics x.y.z[.w] released\r
+\r
+Simantics x.y.z[.w] was released on <date>.\r
+Please find change log at: [[simantics-platform:Simantics_xyzw|Simantics x.y.z[.w]]]\r
 \r
 Insert some general thoughts on the release...\r
 ~~~\r
@@ -199,6 +236,11 @@ Insert some general thoughts on the release...
 \r
 # TODO\r
 \r
+* Create a parametrized release train pipeline build in Jenkins that creates all artifacts of a simantics release\r
+  * Desktop, Sysdyn, R, Simupedia, FMIL, FMI Studio\r
+\r
+\r
 * Incorporate tutorial code in the platform repository as a separate folder to allow platform builds to directly ensure that the tutorial code still builds OK\r
-* Create a parametrized release train pipeline build in Jenkins that creates all artifacts of a simantics release in one go\r
\r
 * Start using https://github.com/mbarbero/fr.obeo.releng.targetplatform to generate `.target` files. `.tpd` files allow specifying version ranges instead of specific versions.\r
+\r