diff --git a/web/content/releases/6.1.0.pandoc b/web/content/releases/6.1.0.pandoc new file mode 100644 index 0000000000000000000000000000000000000000..e5d6adccf78ae28cd398233100dff894c7135fff --- /dev/null +++ b/web/content/releases/6.1.0.pandoc @@ -0,0 +1,95 @@ ++++ +date = "2018-03-13T11:00:13+01:00" +title = "6.1.0" +author = "Lars Bilke" +release_date = "2019-03-20" + ++++ + +The following notable changes and new features were implemented between OpenGeoSys 6.0.8 and 6.1.0: + +### Features: + +#### New processes: +- ComponentTransport https://github.com/ufz/ogs/pull/1758 +- PhaseField https://github.com/ufz/ogs/pull/1813 and https://github.com/ufz/ogs/pull/1895 +- RichardsComponentTransport https://github.com/ufz/ogs/pull/1929 +- ThermoMechanics https://github.com/ufz/ogs/pull/1800 +- TwoPhaseFlow p-rho https://github.com/ufz/ogs/pull/1613 + +#### Other process' changes: +- New equation assembly approach for the staggered scheme. With that, the + coupling assembly computations are changed from performing assembly across + the different Process classes for a coupling to a single Process class for + coupled processes, which was assumed only for the monolithic before. With the + changes, the original Process class that for monolithic scheme originally can + now handle both of the monolithic and staggered schemes. So far, HT classes + get the staggered scheme based on this new framework of assembly. + https://github.com/ufz/ogs/pull/1970 +- Heterogeneous liquid flow properties (https://github.com/ufz/ogs/pull/1979, + https://github.com/ufz/ogs/pull/2017) +- New boundary conditions added: Nonuniform Dirichlet + (https://github.com/ufz/ogs/pull/1952) and Neumann + (https://github.com/ufz/ogs/pull/1891), and normal traction + (https://github.com/ufz/ogs/pull/1896) +- Framework for time stepping and a first application of adaptive time stepping, + EvolutionaryPIDcontroller, and automatic time step control + (https://github.com/ufz/ogs/pull/1803). +- Nodal source terms (https://github.com/ufz/ogs/pull/1977) +- Fix deformation processes to work correctly with PETSc parallelization + (https://github.com/ufz/ogs/pull/1838). +- Fix the access to local data of PETScVector (https://github.com/ufz/ogs/pull/1797). +- Add damping factor to global Newton. https://github.com/ufz/ogs/pull/2004 +- Extend extrapolator to vectorial quantities and replace the component-wise + output of Darcy velocity and the stress/strain in mechanical processes with + single vectorial output. + +#### Material model changes +- Separate FractureModels in LIE https://github.com/ufz/ogs/pull/1971 +- Add material forces as published in + http://www.sciencedirect.com/science/article/pii/S0093641317303865 + https://github.com/ufz/ogs/pull/1936 + +#### Testing and documentation: +- Insitu visualization with ParaView Catalyst. See + [presentation](https://github.com/ufz/ogs/files/867280/Insitu-Department.pdf). + [#1744](https://github.com/ufz/ogs/pull/1744), [#1732](https://github.com/ufz/ogs/pull/1732). As a consequence VTK 7.1 is now required. +- Benchmark docs are now part of the code (in `web/content`) and can contain + [interactive 3D + visualizations](https://dev.opengeosys.org/docs/benchmarks/elliptic/groundwater-flow-neumann/#results-and-evaluation) + via [vtk.js](https://kitware.github.io/vtk-js/). [#1706](https://github.com/ufz/ogs/pull/1706), [#1714](https://github.com/ufz/ogs/pull/1714), [#1723](https://github.com/ufz/ogs/pull/1723), [#1729](https://github.com/ufz/ogs/pull/1729). +- Migrated handling of test data files from *git-submodule* to *git-lfs*, see + [docs](https://docs.opengeosys.org/docs/devguide/testing/test-data). [#1964](https://github.com/ufz/ogs/pull/1964), + [#1982](https://github.com/ufz/ogs/pull/1982), [#1984](https://github.com/ufz/ogs/pull/1984), [#2010](https://github.com/ufz/ogs/pull/2010), [#2012](https://github.com/ufz/ogs/pull/2012). Now [git-lfs](https://git-lfs.github.com/) is + required. Check the + [installation](https://docs.opengeosys.org/docs/devguide/getting-started/prerequisites) + instructions. + +### Infrastructure: +- Fully moved to Conan for automatic third-party library handling. Can be + enabled with `OGS_USE_CONAN=ON`, see + [docs](https://docs.opengeosys.org/docs/devguide/advanced/conan-package-manager). + [#1907](https://github.com/ufz/ogs/pull/1907) +- Conan version 1.0 is now required. +- Dropped travis CI environment and added few new tests on Jenkins because of + simpler maintenance. + +#### CMake options changes: +- `OGS_EIGEN_DYNAMIC_SHAPE_MATRICES` defaults to OFF on Release + config, ON otherwise. Can be overridden by explicitly setting the option. [#1673](https://github.com/ufz/ogs/pull/1673) +- New `OGS_EIGEN_INITIALIZE_MATRICES_BY_NAN` defaults to ON for easier spotting + of non-initialized matrices. When OFF, the Eigen's default initialization to 0 + is skipped resulting in slightly faster execution. + https://github.com/ufz/ogs/pull/1917 +- Set default Eigen's cmake flag disabling vectorization since this lead to + several problems in different environments. + https://github.com/ufz/ogs/pull/1919 and the issue linked there + https://github.com/ufz/ogs/issues/1881 + +#### Other +- PETSc config is tested on Jenkins (envinf1) +- OGS binaries are provided as eve / envinf1 modules. See + [docs](https://docs.opengeosys.org/docs/quickstart/basics/envinf1) for + details. [#1753](https://github.com/ufz/ogs/pull/1753) +- Migrated Data Explorer to Qt5. [#1622](https://github.com/ufz/ogs/pull/1622), [#1625](https://github.com/ufz/ogs/pull/1625) +- Windows builds are tested on MSVC 2017 on own hardware and on MS diff --git a/web/content/releases/6.2.0.pandoc b/web/content/releases/6.2.0.pandoc new file mode 100644 index 0000000000000000000000000000000000000000..0778830906f8241e607bef24ca628a6d237513bd --- /dev/null +++ b/web/content/releases/6.2.0.pandoc @@ -0,0 +1,223 @@ ++++ +date = "2019-03-13T11:00:13+01:00" +title = "6.2.0-rc1" +author = "Lars Bilke" +release_date = "2019-03-20" + +[downloads] +win = [ + "Windows-10.0.14393-x64-de-utils.zip", + "Windows-10.0.14393-x64-python-3.7.2-de-utils.zip" +] +linux = [ + "Linux-3.10.0-957.1.3.el7.x86_64-x64-utils.tar.gz", + "Linux-4.20.8-arch1-1-ARCH-x64-de-utils.tar.gz", + "Linux-3.10.0-957.1.3.el7.x86_64-x64-python-3.6.3-utils.tar.gz", + "Linux-4.20.8-arch1-1-ARCH-x64-python-3.6.3-de-utils.tar.gz" +] +osx = [ "OSX-10.14-x64-de-utils.tar.gz" ] +container = [ + "serial.sif", + "openmpi-2.1.2.sif", + "openmpi-3.1.2.sif" +] +note = """ +**Note:** When using Python bindings make sure to have Python installed on your system: + +- Windows: [Python 3.7.2](https://www.python.org/ftp/python/3.7.2/python-3.7.2-amd64-webinstall.exe) +- Linux: Python 3.6.3 +""" ++++ + +The following notable changes and new features were implemented between OpenGeoSys 6.1.0 and 6.2.0: + +### Features + +#### New processes + +- HeatTransportBHE process supporting 1U, CXA, and CXC BHE types. [#2221](https://github.com/ufz/ogs/pull/2221), [#2332](https://github.com/ufz/ogs/pull/2332), + [#2271](https://github.com/ufz/ogs/pull/2271), [#2275](https://github.com/ufz/ogs/pull/2275) +- Staggered implementation of a thermo-mechanical with phasefield process. [#2102](https://github.com/ufz/ogs/pull/2102) +- Richards mechanics process. [#2189](https://github.com/ufz/ogs/pull/2189) +- Small deformation process with non-local integration of damage. [#2294](https://github.com/ufz/ogs/pull/2294) +- Staggered implementation of phasefield process. [#2052](https://github.com/ufz/ogs/pull/2052) +- ComponentTransport process in revised formulation. [#2200](https://github.com/ufz/ogs/pull/2200) +- Multi-component transport process. [#2304](https://github.com/ufz/ogs/pull/2304) + +#### Other process' changes + +- A Jacobian tester: a process's Jacobian assembly can be compared to a + numerical Jacobian (mostly for development. [#2238](https://github.com/ufz/ogs/pull/2238) +- Add `setInitialConditions()` call to processes and local assemblers. [#2334](https://github.com/ufz/ogs/pull/2334) +- Several bug fixes for LIE/HM process including "fracture into matrix + leak-off", Darcy velocity output in the fracture. [#2129](https://github.com/ufz/ogs/pull/2129) +- Support for intersecting fractures (x-crossing and t-junction) in LIE/SD + process. [#2235](https://github.com/ufz/ogs/pull/2235), [#2293](https://github.com/ufz/ogs/pull/2293) +- Fixed the calculation of the Darcy velocity in staggered TH. [#2127](https://github.com/ufz/ogs/pull/2127) + +#### Numerics + +- Staggered scheme for coupled processes with different orders of elements. + [#2016](https://github.com/ufz/ogs/pull/2016) +- Subdomain deactivation within time intervals. [#2297](https://github.com/ufz/ogs/pull/2297) +- Add a driver for an iteration based time stepping algorithm. [#2318](https://github.com/ufz/ogs/pull/2318) + +#### Boundary condition + +- Implementation of Python boundary conditions. [#2170](https://github.com/ufz/ogs/pull/2170) +- Implementation of constraint boundary conditions. [#2145](https://github.com/ufz/ogs/pull/2145) +- Dirichlet boundary condition within a time interval. [#2272](https://github.com/ufz/ogs/pull/2272) +- BoundaryElementSearch: Return bulk element id and bulk element face id. [#2125](https://github.com/ufz/ogs/pull/2125) +- Removed Neumann boundary condition for displacement jumps in LIE processes. + [#2153](https://github.com/ufz/ogs/pull/2153) + +#### Source term + +- Use parameter for source terms. [#2061](https://github.com/ufz/ogs/pull/2061) +- Volumetric source terms implementation. [#2220](https://github.com/ufz/ogs/pull/2220), [#2234](https://github.com/ufz/ogs/pull/2234), [#2241](https://github.com/ufz/ogs/pull/2241), [#2261](https://github.com/ufz/ogs/pull/2261) + +#### Input and output + +- Writing and reading of integration point data. Implemented sigma and epsilon + output for some processes. [#2071](https://github.com/ufz/ogs/pull/2071), [#2203](https://github.com/ufz/ogs/pull/2203), [#2324](https://github.com/ufz/ogs/pull/2324) +- Add input of vtu-meshes for boundary conditions additionally to the gml input. + This is later used by the heterogeneous parameters and source terms. [#2140](https://github.com/ufz/ogs/pull/2140), + [#2141](https://github.com/ufz/ogs/pull/2141), [#2156](https://github.com/ufz/ogs/pull/2156) +- Parameters may now be explicitly defined on arbitrary subdomains. This merges + the Heterogeneous Dirichlet and Neumann boundary conditions with their, + previously only homogeneous, counterparts. [#2376](https://github.com/ufz/ogs/pull/2376) +- Parameters now support space-dependent function input via exprtk library. + [#2325](https://github.com/ufz/ogs/pull/2325), [#2339](https://github.com/ufz/ogs/pull/2339) +- Output of primary variables on arbitrary subdomains. [#2372](https://github.com/ufz/ogs/pull/2372), [#2299](https://github.com/ufz/ogs/pull/2299) +- Output is possible at specific times for adaptive time stepping and + evolutionaryPIDController. [#2079](https://github.com/ufz/ogs/pull/2079) +- Calculate and output specific flux. [#2411](https://github.com/ufz/ogs/pull/2411) +- Enable surface flux calculation for component transport process. [#2168](https://github.com/ufz/ogs/pull/2168) +- Interpolated pressure (on higher order elements' nodes) output for + Richards-mechanics and hydro-mechanics processes. [#2228](https://github.com/ufz/ogs/pull/2228) +- Improve output of nodal aperture and aperture vector in LIE/HM. [#2050](https://github.com/ufz/ogs/pull/2050) +- Add output of nodal forces and hydraulic flow in mechanics and coupled + mechanics processes, SD, HM, LIE/SD, LIE/HM. [#2118](https://github.com/ufz/ogs/pull/2118) +- Enable surface flux calculation for HT process. [#2132](https://github.com/ufz/ogs/pull/2132) +- Fixed pvd output. [#2036](https://github.com/ufz/ogs/pull/2036) + +### Material models + +- BGRa creep model. [#2167](https://github.com/ufz/ogs/pull/2167) +- New cohesive zone mode I fracture model for LIE processes. [#2142](https://github.com/ufz/ogs/pull/2142), [#2157](https://github.com/ufz/ogs/pull/2157) +- Add MFront/TFEL solid constitutive relation support via. + MFrontGenericInterfaceSupport library. CMake option `OGS_USE_MFRONT`. [#2259](https://github.com/ufz/ogs/pull/2259) +- Infrastructure for multi-phase, multi-component material properties library. + [#2303](https://github.com/ufz/ogs/pull/2303) +- Anisotropic tensors may now be given in given local coordinate system. [#2370](https://github.com/ufz/ogs/pull/2370) +- Non-constant density model implementation in HC process. [#2200](https://github.com/ufz/ogs/pull/2200) +- Add second derivatives of permeability functions in Richards flow. [#2188](https://github.com/ufz/ogs/pull/2188) +- Different solid material models can now be defined on different materialIDs. + [#2216](https://github.com/ufz/ogs/pull/2216), [#2262](https://github.com/ufz/ogs/pull/2262), [#2270](https://github.com/ufz/ogs/pull/2270) +- Move solid constitutive relation creation in single place. [#2160](https://github.com/ufz/ogs/pull/2160) + +### Testing and documentation + +- Migrated Appveyor tests to [Azure + Pipelines](https://dev.azure.com/ogsci/ogs/_build). [#2342](https://github.com/ufz/ogs/pull/2342) +- Added cppcheck, clang-tidy and include-what-you-use. [#2078](https://github.com/ufz/ogs/pull/2078), [#2328](https://github.com/ufz/ogs/pull/2328), [#2377](https://github.com/ufz/ogs/pull/2377) +- Added check for header standalone compilation, can be enabled with + `OGS_CHECK_HEADER_COMPILATION=ON`. [#2043](https://github.com/ufz/ogs/pull/2043) +- Jenkins shows nice summaries of compiler warnings. [#2206](https://github.com/ufz/ogs/pull/2206) +- Large tests are fixed and run on Jenkins upon master merge. [#2056](https://github.com/ufz/ogs/pull/2056), [#2155](https://github.com/ufz/ogs/pull/2155) +- Re-enabled code coverage reports (for the testrunner only) with + [Codecov](http://codecov.io/gh/ufz/ogs). [#2333](https://github.com/ufz/ogs/pull/2333), [#2336](https://github.com/ufz/ogs/pull/2336) +- Commits containing `[ci skip]` in the commit message do not trigger a Jenkins + build. +- Add `vtkdiff` test configuration to project files, s.t. the vtkdiff tests are + performed after successful run comparing output to reference files. This + possibility is also reflected in a new CMake function `OgsTest` as an + alternative to the `AddTest`. [#2255](https://github.com/ufz/ogs/pull/2255), [#2257](https://github.com/ufz/ogs/pull/2257) + +### New tools + +- `TecPlotTools`: splitting files containing multiple zones into seperate + TecPlot files. [#2114](https://github.com/ufz/ogs/pull/2114) +- `TecPlot-Reader`: converting TecPlot rasters into OGS meshes (one file per + zone, containing all variables as scalar arrays). [#2114](https://github.com/ufz/ogs/pull/2114) +- [`constructMeshesFromGeometry`](https://www.opengeosys.org/docs/tools/model-preparation/constructmeshesfromgeometry/): + Construction of boundary meshes from bulk mesh and gml files. [#2144](https://github.com/ufz/ogs/pull/2144) +- [`identifySubdomains`](https://www.opengeosys.org/docs/tools/model-preparation/identifysubdomains/): + Identification of boundary meshes (or any subdomains in general) in the bulk + mesh. Performs geometrical tests and creates and verifies necessary + `bulk_node_ids` and `bulk_element_ids` maps. [#2227](https://github.com/ufz/ogs/pull/2227), [#2252](https://github.com/ufz/ogs/pull/2252) +- `Mesh2Raster`: converts 2D OGS meshes into raster files of arbitrary pixel + size, where node elevation is represented by pixel value. [#2367](https://github.com/ufz/ogs/pull/2367) +- `GocadSGridReader` tool reading the Gocad/SKUA stratigraphic grid format and + writing the data in the vtu format. [#2316](https://github.com/ufz/ogs/pull/2316) + +### New tools and CLI usage + +- `ogs --help` shows the given CMake options. [#2210](https://github.com/ufz/ogs/pull/2210) +- Unify command line version info output. [#2194](https://github.com/ufz/ogs/pull/2194) +- Rewrite `partmesh` tool and add partitioning of boundary meshes (or subdomains + in general) according to the partition of the bulk mesh. [#2159](https://github.com/ufz/ogs/pull/2159), [#2178](https://github.com/ufz/ogs/pull/2178), [#2195](https://github.com/ufz/ogs/pull/2195) +- Add new features to `ExtractSurface` tool. [#2387](https://github.com/ufz/ogs/pull/2387), [#2401](https://github.com/ufz/ogs/pull/2401) +- updated utility `moveMeshNodes`: algorithm for mesh on mesh mapping now + calculates exact node elevation instead of using interpolation. [#2390](https://github.com/ufz/ogs/pull/2390) + +### Data Explorer + +- Listing of source terms and boundary conditions in Data Explorer DataView (no + visualisation yet). [#2110](https://github.com/ufz/ogs/pull/2110) +- Mesh element removal can now remove elements based on value ranges of + arbitrary scalar arrays (currently only int- and double arrays are supported). + [#2115](https://github.com/ufz/ogs/pull/2115) +- added custom VTK filter to represent raster data as point clouds. [#2121](https://github.com/ufz/ogs/pull/2121) +- geometrical points can now be converted into station points. [#2369](https://github.com/ufz/ogs/pull/2369) +- fixed issue with geometrical surfaces not being loaded correctly. [#2388](https://github.com/ufz/ogs/pull/2388) + +### Other notable code changes + +- C++17 standard is enabled and is allowed in the production code (given the + compiler support). [#2298](https://github.com/ufz/ogs/pull/2298) +- Separate monolithic ProcessLib into individual processes. Now it is possible + to build ogs with selected processes only. This also improves linking times. + [#2017](https://github.com/ufz/ogs/pull/2017) +- Parameters are extracted in own library. [#2413](https://github.com/ufz/ogs/pull/2413) +- Port secondary variable extrapolation and output for PETSc builds. [#2082](https://github.com/ufz/ogs/pull/2082) +- Extend Kelvin mapping functions and move implementation to MathLib. [#2060](https://github.com/ufz/ogs/pull/2060), + [#2075](https://github.com/ufz/ogs/pull/2075), [#2044](https://github.com/ufz/ogs/pull/2044) +- Collect generic algorithms in single header file. [#2161](https://github.com/ufz/ogs/pull/2161) +- Remove unused MeshSubsets class. [#2135](https://github.com/ufz/ogs/pull/2135) +- Removed writing of xsd header in XML files, [#2198](https://github.com/ufz/ogs/pull/2198) + +### Infrastructure + +- Migrated LFS storage from GitLab to [Artifactory](https://ogs.jfrog.io/ogs). + [#2359](https://github.com/ufz/ogs/pull/2359) +- Optimized ctest runtime by starting long-running benchmarks first. [#2310](https://github.com/ufz/ogs/pull/2310) +- Proper RPATH handling for shared library installations. [#2208](https://github.com/ufz/ogs/pull/2208) +- [Package OGS inside + container](https://www.opengeosys.org/docs/userguide/basics/container/) with + [Singularity](https://www.sylabs.io/singularity/); [more + docs](https://www.opengeosys.org/docs/devguide/advanced/singularity/). [#2193](https://github.com/ufz/ogs/pull/2193), + [#2356](https://github.com/ufz/ogs/pull/2356) +- Migrated opengeosys.org to a static site generator ([Hugo](https://gohugo.io)) + unifying documentation and general OGS info. [#2088](https://github.com/ufz/ogs/pull/2088), [#2095](https://github.com/ufz/ogs/pull/2095), [#2123](https://github.com/ufz/ogs/pull/2123) +- Speed-up CMake run time. [#2072](https://github.com/ufz/ogs/pull/2072), [#2392](https://github.com/ufz/ogs/pull/2392) + +#### CMake options changes + +- `OGS_USE_PYTHON` enables Python BCs. [#2170](https://github.com/ufz/ogs/pull/2170) +- `OGS_BUILD_TESTS` was renamed to `BUILD_TESTING`. [#2350](https://github.com/ufz/ogs/pull/2350) +- Added `OGS_USE_CVODE`. [#2344](https://github.com/ufz/ogs/pull/2344) +- Added `OGS_BUILD_PROCESSES` for `;`-separated list of processes to build. + [#2233](https://github.com/ufz/ogs/pull/2233) +- `OGS_USE_CONAN=ON` is now the default when `conan` was found. [#2207](https://github.com/ufz/ogs/pull/2207) + +#### Version info + +- CMake minimum version 3.10 +- Visual Studio minimum (and tested) version 2017 +- GCC minimum version 6.2 (tested: 6.4) +- Clang minimum version 3.5 (tested: 7.0) +- Boost minimum version 1.66.0 +- VTK minimum version 8.1. [#2158](https://github.com/ufz/ogs/pull/2158) +- Qt tested version 5.11.2 +- Python tested version 3.7.2 diff --git a/web/layouts/partials/releases-single.html b/web/layouts/partials/releases-single.html new file mode 100644 index 0000000000000000000000000000000000000000..2acbf42322db8d998638602496263673cba672af --- /dev/null +++ b/web/layouts/partials/releases-single.html @@ -0,0 +1,97 @@ +{{ $gh_release := print "https://github.com/ufz/ogs/releases/tag/" .Title }} +{{ $gh_download := print "https://github.com/ufz/ogs/releases/download/" .Title }} +{{ $file_prefix := print "ogs-" .Title }} +<p>Released on {{ dateFormat "Monday, Jan 2, 2006" .Params.release_date }}, <a href="{{ $gh_release }}"><i class="fab fa-github"></i> GitHub release</a></p> +{{ if .Params.downloads }} + <div class="note"> + <h3><i class="fal fa-download"></i> Downloads</h3> + <div class="flex"> + {{ if .Params.downloads.win }} + <div class="w-1/2"> + <h4><i class="fab fa-windows"></i> Windows</h4> + <ul class="text-sm"> + {{ range .Params.downloads.win }} + <li> + <a href="{{$gh_download}}/{{$file_prefix}}-{{.}}"> + OpenGeoSys + {{ if in . "python" }} + ( with Python bindings <i class="fab fa-python"></i>) + {{ end }} + {{ if in . "de" }} + + DataExplorer + {{ end }} + {{ if in . "utils" }} + + Utilities + {{ end }} + </a> + </li> + {{ end }} + </ul> + </div> + {{ end}} + {{ if .Params.downloads.osx }} + <div class="w-1/2"> + <h4><i class="fab fa-apple"></i> macOS</h4> + <ul class="text-sm"> + {{ range .Params.downloads.osx }} + <li> + <a href="{{$gh_download}}/{{$file_prefix}}-{{.}}"> + OpenGeoSys + {{ if in . "python" }} + ( with Python bindings <i class="fab fa-python"></i>) + {{ end }} + {{ if in . "de" }} + + DataExplorer + {{ end }} + {{ if in . "utils" }} + + Utilities + {{ end }} + </a> + </li> + {{ end }} + </ul> + </div> + {{ end}} + </div> + <div class="flex"> + {{ if .Params.downloads.linux }} + <div class="w-1/2"> + <h4><i class="fab fa-linux"></i> Linux</h4> + <ul class="text-sm"> + {{ range .Params.downloads.linux }} + <li> + <a href="{{$gh_download}}/{{$file_prefix}}-{{.}}"> + OpenGeoSys + {{ if in . "python" }} + ( with Python bindings <i class="fab fa-python"></i>) + {{ end }} + {{ if in . "de" }} + + DataExplorer + {{ end }} + {{ if in . "utils" }} + + Utilities + {{ end }} + </a> + </li> + {{ end }} + </ul> + </div> + {{ end}} + {{ if .Params.downloads.container }} + <div class="w-1/2"> + <h4><i class="far fa-container-storage"></i> Singularity container</h4> + <ul class="text-sm"> + {{ range .Params.downloads.container }} + <li><a href="{{$gh_download}}/{{$file_prefix}}-{{.}}">{{$file_prefix}}-{{.}}</a></li> + {{ end }} + </ul> + </div> + {{ end}} + </div> + {{ if .Params.downloads.note }} + <div class="text-sm">{{ .Params.downloads.note | markdownify }}</div> + {{ end }} + </div> +{{ end }} + +{{ .Content }} diff --git a/web/layouts/releases/single.html b/web/layouts/releases/single.html new file mode 100644 index 0000000000000000000000000000000000000000..5563bfbd3e4dcad09d2cfd58135343e95bc5cbe2 --- /dev/null +++ b/web/layouts/releases/single.html @@ -0,0 +1,6 @@ +{{ define "main" }} + <div class="container"> + <h1>OpenGeoSys {{ .Title }} </h1> + {{ partial "releases-single.html" . }} + </div> +{{ end }} diff --git a/web/layouts/section/releases.html b/web/layouts/section/releases.html index 6bfcb76e4ca474502ac3e700a7574f14ffcee518..26e53f4db9564f071472d012393648089b2aa0e6 100644 --- a/web/layouts/section/releases.html +++ b/web/layouts/section/releases.html @@ -1,89 +1,52 @@ {{ define "main" }} <div class="container"> - <!-- <h1>{{ .Title }}</h1> --> {{ .Content }} - {{ $urlPre := "https://api.github.com" }} - {{ $releases := getJSON $urlPre "/repos/ufz/ogs/releases" }} - {{ $latest := getJSON $urlPre "/repos/ufz/ogs/releases/latest" }} - {{ $statuses := getJSON $urlPre "/repos/ufz/ogs/commits/" $latest.tag_name "/statuses" }} - <h2 id="latest"><i class="far fa-wrench"></i> Latest development version</h2> - {{ $head := getJSON $urlPre "/repos/ufz/ogs/git/refs/heads/master" }} - {{ $head_commit := getJSON $urlPre "/repos/ufz/ogs/commits/" $head.object.sha }} - {{ $head_statuses := getJSON $urlPre "/repos/ufz/ogs/commits/" $head.object.sha "/statuses" }} - <p> Here you can find the latest version of OpenGeoSys. But be warned: although this version was successfully tested by the continuous integration system it may be unstable or incomplete... </p> - <div class="note"> - <h3><i class="far fa-download"></i> Download</h3> - <!-- <p>{{ dateFormat "Monday, Jan 2, 2006" $head_commit.commit.author.date }} by --> - <!-- <a href="{{$head_commit.author.html_url }}">{{ $head_commit.commit.author.name }}</a>: --> - <!-- </p> --> - <!-- <p class="max-w-md"><i>{{ $head_commit.commit.message }}</i> <a href="{{ $head_commit.html_url }}"><i class="fab fa-github"></i> GitHub Commit Link</a></p> --> + <h3><i class="fal fa-download"></i> Download</h3> <p> - <!-- {{ range first 1 (where $head_statuses ".context" "continuous-integration/jenkins/branch") }} --> - Downloads for the current version of OpenGeoSys can be found on our continuous integration system: + Downloads for the current development version of OpenGeoSys can be found on our continuous integration system: </p> <p> <a href="https://jenkins.opengeosys.org/job/ufz/job/ogs/job/master/lastSuccessfulBuild/artifact/build"><i class="fas fa-arrow-right"></i> Latest successful Jenkins Build with Downloads</a> <span class="text-sm text-grey-dark"></span> - <!-- {{ end }} --> </p> </div> - <div class="note float-right border-r-4 border-l-0 ml-2"> - <h3>Content</h3> - <ul class="list-reset text-sm"> - <li><a href="#current">Current Release: {{ $latest.tag_name }}</a></li> - <li><a href="#old">Older releases & OpenGeoSys-5</a></li> - </ul> - <h3 class="border-b"><i class="far fa-download"></i> Downloads</h3> - <ul class="list-reset text-sm"> - {{ range $latest.assets }} - <li><a href="{{ .browser_download_url }}"><i class="far fa-archive"></i> - {{ strings.TrimLeft (print "ogs-" $latest.tag_name) .name }}</a></li> - {{ end }} - <li> - <a href="https://github.com/ufz/ogs-data/archive/{{ $latest.tag_name }}.zip"> - <i class="far fa-file"></i> Benchmark Input Files - </a> - </li> - </ul> - <h3 class="border-b">Links</h3> - <ul class="list-reset text-sm"> - {{ range first 1 (where (where $statuses ".state" "success") ".context" "continuous-integration/jenkins/branch") }} - <li><a href="{{ .target_url }}"><i class="fab fa-jenkins"></i> Jenkins Build</a></li> - {{ end }} - - <li><a href="{{ $latest.html_url }}"><i class="fab fa-github"></i> GitHub Release</a></li> - </ul> - </div> + {{ range first 1 .Data.Pages }} + <h2 class="mt-0" id="current"><i class="far fa-stars"></i> Current Release: OpenGeoSys {{ .Title }} <a class="text-lg" href="{{ .Permalink }}"><i class="far fa-link"></i></a></h2> + <div> + {{ partial "releases-single.html" . }} + </div> + {{ end }} - <h2 class="mt-0" id="current">Current Release: {{ $latest.tag_name }}</h2> - <div> - {{ if not (eq $latest.tag_name $latest.name)}}<i>{{ $latest.name }}</i>{{ end }} - <p>Released on {{ dateFormat "Monday, Jan 2, 2006" $latest.published_at }}</p> - {{ $latest.body | markdownify }} - </div> - - <h2 id="old">Older releases</h2> + <h2 id="old"><i class="far fa-archive"></i> Older releases</h2> <ul> + {{ range $index, $element := .Data.Pages }} + {{ if (ne $index 0) }} + <li><a href="{{ .Permalink }}">OpenGeoSys {{ .Title }}</a>, {{.Params.release_date}}</li> + {{ end }} + {{ end }} + {{ $urlPre := "https://api.github.com" }} + {{ $releases := getJSON $urlPre "/repos/ufz/ogs/releases" }} {{ range $index, $element := $releases }} {{ if not (eq $index 0) }} {{ if and (not .draft) (not .prerelease) }} <li> <a href="{{ .html_url }}" target="_blank"> - <i class="fab fa-github"></i> {{ .tag_name }} + OpenGeoSys {{ .tag_name }} </a> - {{ if not (eq .tag_name .name)}}: {{ .name }}{{ end }} </li> {{ end }} {{ end }} {{ end }} </ul> - <p>We also provide binaries for <a href="/ogs-5/"><i class="fab fa-exclamation-triangle"></i>OpenGeoSys-5</a>!</p> + <div class="note"> + <p>We also provide binaries for <a href="/ogs-5/"><i class="fab fa-exclamation-triangle"></i>OpenGeoSys-5</a>!</p> + </div> </div> {{ end }}