From e327a4e6257d2f435499c905a2613d3b3bf62b49 Mon Sep 17 00:00:00 2001 From: David Ogden <12831266+dav-og@users.noreply.github.com> Date: Fri, 4 Dec 2026 11:13:48 +0000 Subject: [PATCH 1/2] Add a citation file, issue and pull request templates and a security policy. CITATION.cff gives GitHub's "Cite this repository" its metadata, with the two copyright holders as authors; the release checklist now lists it among the version strings to update. Issue templates for bug reports and feature requests ask for what the contributing guide requests, and the pull request template asks how the change was tested and whether results change. SECURITY.md points to GitHub's private vulnerability reporting. The README shows the status of continuous integration on main and says how to cite the software. Two damaged multiplication signs in a comment of vsg_water_surface.cpp are written as "x". --- .github/ISSUE_TEMPLATE/bug_report.md | 24 ++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 ++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 19 +++++++++++++ CITATION.cff | 26 +++++++++++++++++ README.md | 6 ++++ SECURITY.md | 34 +++++++++++++++++++++++ apps/seastack/gui/vsg_water_surface.cpp | 4 +-- docs/build/RELEASE_CHECKLIST.md | 1 + 9 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 CITATION.cff create mode 100644 SECURITY.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..a2d9a82 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,24 @@ +--- +name: Bug report +about: Report a problem with SEA-Stack +labels: bug +--- + +## Description + + + +## Steps to reproduce + + + +## Expected and actual behaviour + + + +## Environment + +- SEA-Stack version or commit: +- Release package or built from source: +- Platform and compiler (for example Windows 11, MSVC 2022): +- Project Chrono version, if built from source: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..c08a5a2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Questions and discussion + url: https://github.com/Project-SEA-Stack/SEA-Stack/discussions + about: Ask how to use SEA-Stack, or discuss an idea before opening an issue. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..5eea060 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest a new capability or an improvement +labels: enhancement +--- + +## Use case + + + +## What is missing today + + + +## Possible approach + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..ac53d48 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +## Summary + + + +## How it was tested + + + +## Effect on results + + + +## Checklist + +- [ ] The pull request targets `dev`. +- [ ] New behaviour has a test, or the summary explains why it does not. +- [ ] No reference data was regenerated and no tolerance was widened to make a test pass. +- [ ] Documentation is updated where behaviour, options or outputs changed. +- [ ] The label `full-tests` is set if the change can affect verification or comparison results. diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..3b23708 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,26 @@ +# Citation metadata for SEA-Stack (Citation File Format, https://citation-file-format.github.io). +# Update "version" and "date-released" with every release (docs/build/RELEASE_CHECKLIST.md). +cff-version: 1.2.0 +message: "If you use SEA-Stack in your work, please cite it using the metadata in this file." +type: software +title: "SEA-Stack" +abstract: >- + Open-source time-domain simulation software for wave energy converters and + other offshore and marine energy systems: linear potential-flow + hydrodynamics, multibody dynamics through Project Chrono, moorings, power + take-off and control. +authors: + - name: "Simocean Ltd." + - name: "The National Laboratory of the Rockies (NLR)" +version: "1.2.0" +date-released: "2026-11-30" +license: MIT +repository-code: "https://github.com/Project-SEA-Stack/SEA-Stack" +url: "https://github.com/Project-SEA-Stack/SEA-Stack" +keywords: + - wave energy + - marine energy + - offshore engineering + - hydrodynamics + - multibody dynamics + - time-domain simulation diff --git a/README.md b/README.md index 9852e65..80eb4aa 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@
+
@@ -166,6 +167,11 @@ Detailed walkthroughs (toolchains, optional modules, packaging, troubleshooting,
SEA-Stack is under active development. The current release is v1.2.0, with packages for Windows, macOS and Linux. It provides the modular core, the workflows and demos described above, and the test suites that check them. Multi-fidelity capabilities and coupling to higher-fidelity methods are planned as the platform evolves.
+## Citing SEA-Stack
+
+To cite SEA-Stack, use **Cite this repository** on the GitHub page, or the metadata in
+[`CITATION.cff`](CITATION.cff). Please give the version you used.
+
## License
Licensed under the MIT License. See [LICENSE](LICENSE).
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000..e0bb2be
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,34 @@
+# Security policy
+
+## Supported versions
+
+Security fixes are made on the `dev` branch and included in the next release.
+Earlier releases are not patched.
+
+## Reporting a vulnerability
+
+Please do not report security problems in public issues or discussions.
+
+Use GitHub's private reporting instead: on the repository's
+[Security tab](https://github.com/Project-SEA-Stack/SEA-Stack/security), choose
+**Report a vulnerability**. The report is visible only to the maintainers.
+
+Include, as far as you can:
+
+- the SEA-Stack version or commit, and the platform;
+- what an attacker could do, and under which conditions;
+- steps or input files that reproduce the problem.
+
+The maintainers will acknowledge the report and keep you informed while it is
+assessed and fixed.
+
+## Scope
+
+SEA-Stack is simulation software that runs locally on input files chosen by its
+user. Reports of particular interest concern input files (YAML, HDF5, mesh and
+wave-elevation files) that make `run_seastack` or the bundled Python tools
+execute code or write outside the case directory, and problems in the release
+packages or the build and release scripts.
+
+Wrong numerical results are not security problems; please report them as
+ordinary [issues](https://github.com/Project-SEA-Stack/SEA-Stack/issues).
diff --git a/apps/seastack/gui/vsg_water_surface.cpp b/apps/seastack/gui/vsg_water_surface.cpp
index 1dafe87..9a12fd1 100644
--- a/apps/seastack/gui/vsg_water_surface.cpp
+++ b/apps/seastack/gui/vsg_water_surface.cpp
@@ -749,8 +749,8 @@ void AnimatedWaterSurface::Update(const std::shared_ptr