-
Notifications
You must be signed in to change notification settings - Fork 0
Add BuildMark build notes generation #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
11308e6
2de9b19
793235b
3a08d77
dc90c63
f82521a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -389,8 +389,44 @@ jobs: | |
| docs/quality/quality.html | ||
| "docs/SpdxModel Code Quality.pdf" | ||
|
|
||
| - name: Generate Build Notes with BuildMark | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| shell: bash | ||
| run: > | ||
| dotnet buildmark | ||
| --build-version ${{ inputs.version }} | ||
| --report docs/buildnotes.md | ||
| --report-depth 1 | ||
|
|
||
| - name: Display Build Notes Report | ||
| shell: bash | ||
| run: | | ||
| echo "=== Build Notes Report ===" | ||
| cat docs/buildnotes.md | ||
|
|
||
| - name: Generate Build Notes HTML with Pandoc | ||
| shell: bash | ||
| run: > | ||
| dotnet pandoc | ||
| docs/buildnotes/title.txt | ||
| --defaults docs/buildnotes/definition.yaml | ||
| --metadata version="${{ inputs.version }}" | ||
| --metadata date="$(date +'%Y-%m-%d')" | ||
| --filter node_modules/.bin/mermaid-filter.cmd | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where's the metadata lines - take a look at the other pandoc invocations when building documents.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added in commit dc90c63:
Now matches the pattern used in all other Pandoc invocations (User Guide, Requirements, Trace Matrix, Justifications, Quality). |
||
| --output docs/buildnotes/buildnotes.html | ||
|
|
||
| - name: Generate Build Notes PDF with Weasyprint | ||
| run: > | ||
| dotnet weasyprint | ||
| --pdf-variant pdf/a-3u | ||
| docs/buildnotes/buildnotes.html | ||
| "docs/SpdxModel Build Notes.pdf" | ||
|
|
||
| - name: Upload Documentation | ||
| uses: actions/upload-artifact@v6 | ||
| with: | ||
| name: documentation | ||
| path: docs/*.pdf | ||
| path: | | ||
| docs/*.pdf | ||
| docs/buildnotes.md | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,10 +25,16 @@ coverage/ | |
| node_modules/ | ||
|
|
||
| # Generated documentation | ||
| docs/*.html | ||
| docs/guide/*.html | ||
| docs/requirements/*.html | ||
| docs/tracematrix/*.html | ||
| docs/justifications/*.html | ||
| docs/quality/*.html | ||
| docs/buildnotes/*.html | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about the other temporary HTML files?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added in commit f82521a. Now includes gitignore patterns for all generated HTML files:
Matches the pattern used in ReqStream. |
||
| docs/*.pdf | ||
| docs/requirements/requirements.md | ||
| docs/tracematrix/tracematrix.md | ||
| docs/justifications/justifications.md | ||
| docs/buildnotes.md | ||
| *.err | ||
| package-lock.json | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| --- | ||
| resource-path: | ||
| - docs/buildnotes | ||
| - docs/template | ||
|
|
||
| input-files: | ||
| - docs/buildnotes/title.txt | ||
| - docs/buildnotes/introduction.md | ||
| - docs/buildnotes.md | ||
|
|
||
| template: template.html | ||
|
|
||
| table-of-contents: true | ||
|
|
||
| number-sections: true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Introduction | ||
|
|
||
| This document contains the build notes for the SpdxModel project. | ||
|
|
||
| ## Purpose | ||
|
|
||
| This report serves as a comprehensive record of changes and bug fixes for this | ||
| release of SpdxModel. It provides transparency about what has changed since the | ||
| previous version and helps users understand the improvements and fixes included | ||
| in this build. | ||
|
|
||
| ## Scope | ||
|
|
||
| This build notes report covers: | ||
|
|
||
| - Version information and commit details | ||
| - Changes and new features implemented | ||
| - Bugs fixed in this release | ||
|
|
||
| ## Generation Source | ||
|
|
||
| This report is automatically generated by the BuildMark tool, analyzing the | ||
| Git repository history and issue tracking information. It provides evidence of | ||
| changes made to the SpdxModel library for SPDX SBOM manipulation. | ||
|
|
||
| ## Audience | ||
|
|
||
| This document is intended for: | ||
|
|
||
| - Software developers working on SpdxModel | ||
| - Users evaluating what has changed in this release | ||
| - Project stakeholders tracking progress | ||
| - Contributors understanding recent changes |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| title: SpdxModel | ||
| subtitle: Build Notes | ||
| author: DEMA Consulting | ||
| description: Build notes for the SpdxModel library for SPDX SBOM manipulation | ||
| lang: en-US | ||
| keywords: | ||
| - SpdxModel | ||
| - Build Notes | ||
| - Release Notes | ||
| - SPDX | ||
| - SBOM | ||
| - C# | ||
| - .NET | ||
| - Documentation | ||
| --- |
Uh oh!
There was an error while loading. Please reload this page.