Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ words:
- setlocal
- snupkg
- sonarmark
- templatetool
- SysML2
- SysML2Tools
- sysml2tools
- venv
- versionmark
- Weasyprint
Expand Down
22 changes: 11 additions & 11 deletions .fileassert.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# FileAssert document validation tests for TemplateDotNetTool.
# FileAssert document validation tests for SysML2Tools.
# Tests are tagged by document group to allow per-group execution during the build pipeline.
# Tags: build-notes, code-quality, code-review, design, verification, user-guide, requirements.
#
Expand Down Expand Up @@ -27,12 +27,12 @@ tests:
description: "Build Notes PDF was generated by WeasyPrint"
tags: [build-notes]
files:
- pattern: "docs/generated/TemplateDotNetTool Build Notes.pdf"
- pattern: "docs/generated/SysML2Tools Build Notes.pdf"
count: 1
pdf:
metadata:
- field: "Title"
contains: "Template DotNet Tool"
contains: "SysML2 Tools"
- field: "Author"
contains: "DEMA Consulting"
- field: "Subject"
Expand Down Expand Up @@ -60,7 +60,7 @@ tests:
description: "Code Quality PDF was generated by WeasyPrint"
tags: [code-quality]
files:
- pattern: "docs/generated/TemplateDotNetTool Code Quality.pdf"
- pattern: "docs/generated/SysML2Tools Code Quality.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -93,7 +93,7 @@ tests:
description: "Code Review Plan PDF was generated by WeasyPrint"
tags: [code-review]
files:
- pattern: "docs/generated/TemplateDotNetTool Review Plan.pdf"
- pattern: "docs/generated/SysML2Tools Review Plan.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -126,7 +126,7 @@ tests:
description: "Code Review Report PDF was generated by WeasyPrint"
tags: [code-review]
files:
- pattern: "docs/generated/TemplateDotNetTool Review Report.pdf"
- pattern: "docs/generated/SysML2Tools Review Report.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -159,7 +159,7 @@ tests:
description: "Design PDF was generated by WeasyPrint"
tags: [design]
files:
- pattern: "docs/generated/TemplateDotNetTool Software Design.pdf"
- pattern: "docs/generated/SysML2Tools Software Design.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -192,7 +192,7 @@ tests:
description: "Verification PDF was generated by WeasyPrint"
tags: [verification]
files:
- pattern: "docs/generated/TemplateDotNetTool Software Verification Design.pdf"
- pattern: "docs/generated/SysML2Tools Software Verification Design.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -225,7 +225,7 @@ tests:
description: "User Guide PDF was generated by WeasyPrint"
tags: [user-guide]
files:
- pattern: "docs/generated/TemplateDotNetTool User Guide.pdf"
- pattern: "docs/generated/SysML2Tools User Guide.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -259,7 +259,7 @@ tests:
description: "Requirements PDF was generated by WeasyPrint"
tags: [requirements]
files:
- pattern: "docs/generated/TemplateDotNetTool Requirements.pdf"
- pattern: "docs/generated/SysML2Tools Requirements.pdf"
count: 1
pdf:
metadata:
Expand Down Expand Up @@ -293,7 +293,7 @@ tests:
description: "Trace Matrix PDF was generated by WeasyPrint"
tags: [requirements]
files:
- pattern: "docs/generated/TemplateDotNetTool Trace Matrix.pdf"
- pattern: "docs/generated/SysML2Tools Trace Matrix.pdf"
count: 1
pdf:
metadata:
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: 🐛 Bug Report
description: Report a bug or issue with the TemplateDotNetTool
description: Report a bug or issue with the SysML2Tools
title: "[Bug]: "
labels: ["bug"]
assignees: []
Expand All @@ -26,7 +26,7 @@ body:
label: Steps to Reproduce
description: Detailed steps to reproduce the behavior
placeholder: |
1. Run TemplateDotNetTool with command '...'
1. Run SysML2Tools with command '...'
2. Provide input file '...'
3. Observe error...
value: |
Expand Down Expand Up @@ -69,7 +69,7 @@ body:
id: version
attributes:
label: Tool Version
description: What version of the TemplateDotNetTool are you using?
description: What version of the SysML2Tools are you using?
placeholder: e.g., 1.0.0
validations:
required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
blank_issues_enabled: false
contact_links:
- name: 📚 Documentation
url: https://github.com/demaconsulting/TemplateDotNetTool
about: Read the documentation for TemplateDotNetTool
url: https://github.com/demaconsulting/SysML2Tools
about: Read the documentation for SysML2Tools
- name: 💬 Discussions
url: https://github.com/demaconsulting/TemplateDotNetTool/discussions
url: https://github.com/demaconsulting/SysML2Tools/discussions
about: Ask questions and discuss with the community
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: ✨ Feature Request
description: Suggest a new feature or enhancement for the TemplateDotNetTool
description: Suggest a new feature or enhancement for the SysML2Tools
title: "[Feature]: "
labels: ["enhancement"]
assignees: []
Expand Down Expand Up @@ -43,15 +43,15 @@ body:
placeholder: |
```csharp
// Example usage
templatetool --input report.json --output report.md --feature-flag
sysml2tools --input report.json --output report.md --feature-flag
```
render: csharp

- type: textarea
id: benefits
attributes:
label: Benefits
description: Explain why this enhancement would be useful to TemplateDotNetTool users
description: Explain why this enhancement would be useful to SysML2Tools users
placeholder: This would be useful because...
validations:
required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: ❓ Question / Help
description: Ask a usage question or get help with the TemplateDotNetTool
description: Ask a usage question or get help with the SysML2Tools
title: "[Question]: "
labels: ["question"]
assignees: []
Expand All @@ -10,7 +10,7 @@ body:
value: |
Thanks for reaching out! Please fill out the sections below so we can help you as quickly as possible.
For general discussion, you can also use
[GitHub Discussions](https://github.com/demaconsulting/TemplateDotNetTool/discussions).
[GitHub Discussions](https://github.com/demaconsulting/SysML2Tools/discussions).

- type: textarea
id: question
Expand Down Expand Up @@ -45,7 +45,7 @@ body:
id: version
attributes:
label: Tool Version
description: What version of the TemplateDotNetTool are you using?
description: What version of the SysML2Tools are you using?
placeholder: e.g., 1.0.0
validations:
required: true
Expand Down
10 changes: 5 additions & 5 deletions .github/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
# CodeQL configuration for Template DotNet Tool
# CodeQL configuration for SysML2 Tools
# Suppresses intentional generic catch clauses

name: "Template DotNet Tool CodeQL Config"
name: "SysML2 Tools CodeQL Config"

# Query filters to disable specific queries for certain paths
query-filters:
- exclude:
id: cs/catch-of-all-exceptions
paths:
- src/DemaConsulting.TemplateDotNetTool/Context.cs
- src/DemaConsulting.TemplateDotNetTool/Validation.cs
- src/DemaConsulting.SysML2Tools/Context.cs
- src/DemaConsulting.SysML2Tools/Validation.cs
# Exclude path-combine warnings in PathHelpers (validated safe usage)
- exclude:
id: cs/path-combine
paths:
- src/DemaConsulting.TemplateDotNetTool/PathHelpers.cs
- src/DemaConsulting.SysML2Tools/PathHelpers.cs
40 changes: 20 additions & 20 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
run: >
dotnet dotnet-sonarscanner
begin
/k:"demaconsulting_TemplateDotNetTool"
/k:"demaconsulting_SysML2Tools"
/o:"demaconsulting"
/d:sonar.token="${{ secrets.SONAR_TOKEN }}"
/d:sonar.host.url="https://sonarcloud.io"
Expand Down Expand Up @@ -223,8 +223,8 @@ jobs:
with:
name: packages-${{ matrix.os }}
path: |
src/DemaConsulting.TemplateDotNetTool/bin/Release/*.nupkg
src/DemaConsulting.TemplateDotNetTool/bin/Release/*.snupkg
src/DemaConsulting.SysML2Tools/bin/Release/*.nupkg
src/DemaConsulting.SysML2Tools/bin/Release/*.snupkg

# Runs CodeQL security and quality analysis, gathering results to include
# in the code quality report.
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
dotnet tool install --global \
--add-source packages \
--version ${{ inputs.version }} \
DemaConsulting.TemplateDotNetTool
DemaConsulting.SysML2Tools

# === CAPTURE TOOL VERSIONS ===
# This section captures the versions of all tools used in the integration tests.
Expand All @@ -375,22 +375,22 @@ jobs:
- name: Test version display
shell: bash
run: |
echo "Testing templatetool --version..."
templatetool --version || { echo "✗ Version command failed"; exit 1; }
echo "Testing sysml2tools --version..."
sysml2tools --version || { echo "✗ Version command failed"; exit 1; }
echo "✓ Version command succeeded"

- name: Test help display
shell: bash
run: |
echo "Testing templatetool --help..."
templatetool --help || { echo "✗ Help command failed"; exit 1; }
echo "Testing sysml2tools --help..."
sysml2tools --help || { echo "✗ Help command failed"; exit 1; }
echo "✓ Help command succeeded"

- name: Run self-validation
shell: bash
run: |
echo "Running self-validation..."
templatetool --validate \
sysml2tools --validate \
--results artifacts/validation-${{ matrix.os }}-dotnet${{ matrix.dotnet-version }}.trx \
|| { echo "✗ Self-validation failed"; exit 1; }
echo "✓ Self-validation succeeded"
Expand Down Expand Up @@ -560,7 +560,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/build_notes/generated/build_notes.html
"docs/generated/TemplateDotNetTool Build Notes.pdf"
"docs/generated/SysML2Tools Build Notes.pdf"

- name: Assert Build Notes Documents with FileAssert
run: >
Expand Down Expand Up @@ -600,7 +600,7 @@ jobs:
dotnet sarifmark
--sarif artifacts/csharp.sarif
--report docs/code_quality/generated/codeql-quality.md
--heading "Template DotNet Tool CodeQL Analysis"
--heading "SysML2 Tools CodeQL Analysis"
--report-depth 1

- name: Display CodeQL Quality Report
Expand All @@ -616,7 +616,7 @@ jobs:
run: >
dotnet sonarmark
--server https://sonarcloud.io
--project-key demaconsulting_TemplateDotNetTool
--project-key demaconsulting_SysML2Tools
--branch ${{ github.ref_name }}
--token "$SONAR_TOKEN"
--report docs/code_quality/generated/sonar-quality.md
Expand All @@ -643,7 +643,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/code_quality/generated/quality.html
"docs/generated/TemplateDotNetTool Code Quality.pdf"
"docs/generated/SysML2Tools Code Quality.pdf"

- name: Assert Code Quality Documents with FileAssert
run: >
Expand Down Expand Up @@ -705,7 +705,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/code_review_plan/generated/plan.html
"docs/generated/TemplateDotNetTool Review Plan.pdf"
"docs/generated/SysML2Tools Review Plan.pdf"

- name: Generate Review Report HTML with Pandoc
shell: bash
Expand All @@ -722,7 +722,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/code_review_report/generated/report.html
"docs/generated/TemplateDotNetTool Review Report.pdf"
"docs/generated/SysML2Tools Review Report.pdf"

- name: Assert Code Review Documents with FileAssert
run: >
Expand Down Expand Up @@ -754,7 +754,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/design/generated/design.html
"docs/generated/TemplateDotNetTool Software Design.pdf"
"docs/generated/SysML2Tools Software Design.pdf"

- name: Assert Design Documents with FileAssert
run: >
Expand Down Expand Up @@ -786,7 +786,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/verification/generated/verification.html
"docs/generated/TemplateDotNetTool Software Verification Design.pdf"
"docs/generated/SysML2Tools Software Verification Design.pdf"

- name: Assert Verification Documents with FileAssert
run: >
Expand Down Expand Up @@ -818,7 +818,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/user_guide/generated/user_guide.html
"docs/generated/TemplateDotNetTool User Guide.pdf"
"docs/generated/SysML2Tools User Guide.pdf"

- name: Assert User Guide Documents with FileAssert
run: >
Expand Down Expand Up @@ -883,7 +883,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/requirements_doc/generated/requirements.html
"docs/generated/TemplateDotNetTool Requirements.pdf"
"docs/generated/SysML2Tools Requirements.pdf"

- name: Generate Trace Matrix HTML with Pandoc
shell: bash
Expand All @@ -900,7 +900,7 @@ jobs:
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/requirements_report/generated/trace_matrix.html
"docs/generated/TemplateDotNetTool Trace Matrix.pdf"
"docs/generated/SysML2Tools Trace Matrix.pdf"

- name: Assert Requirements Documents with FileAssert
run: >
Expand Down
Loading
Loading