JAL-4004 locations for markdown to go into whatsnew.html, releases.html and Version...
authorBen Soares <bsoares@dundee.ac.uk>
Wed, 4 May 2022 00:18:03 +0000 (01:18 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Wed, 4 May 2022 00:18:03 +0000 (01:18 +0100)
17 files changed:
build.gradle
gradle.properties
help/markdown/whatsnew/whatsnew-2_10_2b2.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_10_3.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_10_5.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_0.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_0.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_1.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_2.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_3.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_4.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_5.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_6.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_1_7.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_2_0.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_2_1.md [new file with mode: 0644]
help/markdown/whatsnew/whatsnew-2_11_2_2.md [new file with mode: 0644]

index a6d0e77..d89f3ed 100644 (file)
@@ -2593,8 +2593,14 @@ task hugoTemplates {
 
       def newFile = file("${outPathName}/${newFileName}".toString())
       def content = newFile.text
-      // summary in version archive release pages only appears from 2.10.5 onwards
-      if (oldDate.format("yyyy") as Integer >= 2019 || JALVIEW_VERSION == "2.10.5") {
+      // summary in version archive release pages only appears from 2.10.2b2 onwards
+      if (oldDate.format("yyyy") as Integer >= 2019 || JALVIEW_VERSION.startsWith("2.10")) {
+        def summaryFile = file("${jalviewDir}/${whatsnew_dir}/whatsnew-${JALVIEW_VERSION_UNDERSCORES}.md")
+        if (summaryFile.exists()) {
+          summary = summaryFile.text
+        } else {
+          summary = ""
+        }
         content = content.replaceAll("__SUMMARY__", summary)
       } else {
         content = content.replaceAll("__SUMMARY__", "")
index 983eb4a..dace58e 100644 (file)
@@ -63,6 +63,8 @@ hugo_data_installers_dir = data/installers
 hugo_version_archive_dir = content/development/archive
 hugo_templates_dir = utils/hugo/templates
 releases_html = html/releases.html
+whatsnew_dir = help/markdown/whatsnew
+releases_dir = help/markdown/releases
 # these are going to be used in the future to gather website release files together
 getdown_website_dir = build/website/docroot/getdown
 getdown_archive_dir = build/website/docroot/old
diff --git a/help/markdown/whatsnew/whatsnew-2_10_2b2.md b/help/markdown/whatsnew/whatsnew-2_10_2b2.md
new file mode 100644 (file)
index 0000000..1f2e908
--- /dev/null
@@ -0,0 +1 @@
+This is a patch release that fixes stability problems with Jalview's ability to retrieve Uniprot sequences and access other data hosted at the EMBL-EBI.
diff --git a/help/markdown/whatsnew/whatsnew-2_10_3.md b/help/markdown/whatsnew/whatsnew-2_10_3.md
new file mode 100644 (file)
index 0000000..a5bfb48
--- /dev/null
@@ -0,0 +1 @@
+More efficienct data structures for handing sequence features and improved rendering performance when working with large alignments.
diff --git a/help/markdown/whatsnew/whatsnew-2_10_5.md b/help/markdown/whatsnew/whatsnew-2_10_5.md
new file mode 100644 (file)
index 0000000..1fabe72
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.10.5 is a minor release that includes critical patches for users working with Ensembl, RNA secondary structure annotation, and those running Jalview on OSX with Java 10.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_0.md b/help/markdown/whatsnew/whatsnew-2_11_0.md
new file mode 100644 (file)
index 0000000..36c931f
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.0 introduces support for loading VCF files, and new filters and shading models for sequence features. Under the hood, we've addressed many bugs, and also made some important changes in the way the Jalview desktop is installed and launched.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_0.md b/help/markdown/whatsnew/whatsnew-2_11_1_0.md
new file mode 100644 (file)
index 0000000..1ac71f9
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.0 is the first minor release in the 2.11 series, and introduces a new 'point release' versioning model. The release includes a range of improvements including 'virtual features', which provide a more flexible way of mapping sequence features between protein products and their coding regions. This release also features an updated Jalview installer which adds improved memory management on OSX and Windows for large memory systems, and for linux users - a bundled Java installation and file associations for common filetypes handled by the Jalview application.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_1.md b/help/markdown/whatsnew/whatsnew-2_11_1_1.md
new file mode 100644 (file)
index 0000000..9936abf
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.1 is the first patch release in the 2.11.1 series. It includes fixes for critical bugs, and brings some new features suggested by the Jalview community.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_2.md b/help/markdown/whatsnew/whatsnew-2_11_1_2.md
new file mode 100644 (file)
index 0000000..9fee16f
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.2 is the second patch release, fixing a bug introduced in the previous patch release (2.11.1.1) affecting display of Jalview's example project for some users.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_3.md b/help/markdown/whatsnew/whatsnew-2_11_1_3.md
new file mode 100644 (file)
index 0000000..207150b
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.3 provides patches for critical bugs affecting the Find function, and analysis of linked CDS and Protein alignments.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_4.md b/help/markdown/whatsnew/whatsnew-2_11_1_4.md
new file mode 100644 (file)
index 0000000..73c54da
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.4 is the fourth patch release in the 2.11.1 series. One critical bug was fixed in this release - when Jalview would occasionally hang when viewing structures in Jmol. This release also introduces a number of new configuration options for disabling web service connections used by the Jalview Debian package.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_5.md b/help/markdown/whatsnew/whatsnew-2_11_1_5.md
new file mode 100644 (file)
index 0000000..e448764
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.5 is the fifth patch release in the 2.11.1 series.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_6.md b/help/markdown/whatsnew/whatsnew-2_11_1_6.md
new file mode 100644 (file)
index 0000000..41ca267
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.6 is the sixth patch release in the 2.11.1 series.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_1_7.md b/help/markdown/whatsnew/whatsnew-2_11_1_7.md
new file mode 100644 (file)
index 0000000..e1a448b
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.1.7 is the seventh patch release in the 2.11.1 series.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_2_0.md b/help/markdown/whatsnew/whatsnew-2_11_2_0.md
new file mode 100644 (file)
index 0000000..9ef4889
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.2.0 is the first release in the 2.11.2 series.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_2_1.md b/help/markdown/whatsnew/whatsnew-2_11_2_1.md
new file mode 100644 (file)
index 0000000..faa1051
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.2.1 is the first patch release in the 2.11.2 series.
diff --git a/help/markdown/whatsnew/whatsnew-2_11_2_2.md b/help/markdown/whatsnew/whatsnew-2_11_2_2.md
new file mode 100644 (file)
index 0000000..1f6a564
--- /dev/null
@@ -0,0 +1 @@
+Jalview 2.11.2.2 is the second patch release in the 2.11.2 series.