Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,131 @@
|
||||
# TikZRefinery snapshot for the DevOps demonstration
|
||||
|
||||
Prepared November 25, 2026 for Vincent's SSW 590 workflow demonstration.
|
||||
The application and architectural baseline remain **0.1.4-alpha**.
|
||||
Use the full Git commit ID supplied with this checkpoint as the frozen upstream
|
||||
identity. This is an input to the DevOps project, not a new pipeline or release.
|
||||
|
||||
## What the snapshot provides
|
||||
|
||||
- C++17/Qt Widgets editor, separate rectangle provider module, constrained
|
||||
move/resize, collapsible sidebar shell and exact-source session undo/redo.
|
||||
- Eight CTest suites, including actual module loading and negative compatibility
|
||||
cases. Offscreen GUI tests do not establish interactive or full product acceptance.
|
||||
- Authored LaTeX, editable UML/TikZ, report build script, diagram manifest/index
|
||||
and the two reviewed report PDFs.
|
||||
- Existing project attribution, course-material notices and dependency information.
|
||||
No project-wide licence has been selected; this checkpoint does not grant one.
|
||||
|
||||
Creation, folder browsing, generic transactions, plugin updating and integrated
|
||||
LaTeX/PDF viewing remain planned. Do not present the sidebar shell as creation.
|
||||
|
||||
## Transfer and provenance
|
||||
|
||||
Keep TikZRefinery's main development here. Import the exact checkpoint into the
|
||||
existing DevOps repository, retaining the upstream repository URL, full commit
|
||||
ID, baseline version and attribution in that repository's import record.
|
||||
|
||||
The other local chat can fetch from
|
||||
`C:/Users/vince/Documents/Projects/TikZRefinery` without a GitHub push. A Git
|
||||
fetch transfers objects and refs; an unrelated DevOps history should consume a
|
||||
documented snapshot rather than merging TikZRefinery's main branch blindly.
|
||||
GitHub remote: `https://github.com/Generic-Sun/TikZRefinery.git`.
|
||||
|
||||
The old runnable packages and their build metadata are historical evidence.
|
||||
They still identify their original parent commit and modified working tree;
|
||||
creating this checkpoint does not relabel or rebuild those binaries. Build the
|
||||
new demonstration artifact from the frozen source. If importing into another
|
||||
repository, retain this upstream identity separately from that pipeline's commit.
|
||||
|
||||
## Verified Windows build
|
||||
|
||||
Run from the TikZRefinery checkout root in PowerShell with the installed matching
|
||||
Qt/MinGW kit. These are the existing workstation paths, not portable defaults:
|
||||
|
||||
```powershell
|
||||
$env:Path = 'C:\Qt\6.12.0\mingw_64\bin;C:\Qt\Tools\mingw1310_64\bin;C:\Qt\Tools\Ninja;' + $env:Path
|
||||
& C:\Qt\Tools\CMake_64\bin\cmake.exe -S code -B work/devops-build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=C:/Qt/6.12.0/mingw_64 -DCMAKE_CXX_COMPILER=C:/Qt/Tools/mingw1310_64/bin/g++.exe -DCMAKE_MAKE_PROGRAM=C:/Qt/Tools/Ninja/ninja.exe
|
||||
& C:\Qt\Tools\CMake_64\bin\cmake.exe --build work/devops-build --parallel 4
|
||||
& C:\Qt\Tools\CMake_64\bin\ctest.exe --test-dir work/devops-build --output-on-failure
|
||||
```
|
||||
|
||||
Stop on any failed command. The verified kit is Qt 6.12.0, GCC 13.1.0,
|
||||
CMake 3.30.5 and Ninja 1.12.1. Project minima are CMake 3.21, C++17 and Qt 6.2
|
||||
Core/Widgets. A Linux/cloud application build is **not verified** by this record;
|
||||
the DevOps chat must select and prove its own worker configuration.
|
||||
|
||||
Use the runnable package procedure in [code/README.md](code/README.md): deploy
|
||||
the Qt/compiler runtime and matching `shape-plugins/tkr_rectangle.dll` alongside
|
||||
the application. A standalone development executable is not a portable artifact.
|
||||
Build the host/provider with compatible kit and configuration. Keep fresh
|
||||
`build-info.json` with the artifact and retain pipeline test reports.
|
||||
|
||||
## Report stage
|
||||
|
||||
```powershell
|
||||
./documents/build-report.ps1 -OutputDirectory work/devops-report
|
||||
```
|
||||
|
||||
The script uses shared TinyTeX at
|
||||
`C:/Users/vince/Documents/Projects/Tools/LaTeX/TinyTeX/bin/windows`, PowerShell
|
||||
and standard-library Python. It runs the bibliography/index and final LaTeX
|
||||
passes, builds both editions, generates a versioned report ZIP, and refreshes
|
||||
the diagram index. For a different worker, provide its TinyTeX path using
|
||||
`-TinyTeXBin`; do not assume this workstation's installation exists there.
|
||||
|
||||
## Workflow boundaries and checks
|
||||
|
||||
The DevOps chat's reviewed direction is a frozen input followed by an issue,
|
||||
planned-change comment, meaningful enhancement, commit/push, pipeline, tests and
|
||||
versioned artifact. That enhancement and pipeline integration are separate work;
|
||||
this source checkpoint alone does not demonstrate the complete workflow.
|
||||
|
||||
The pipeline's required `major.minor.changelist` delivery identifier must be
|
||||
recorded separately from the upstream `0.1.4-alpha` baseline, not used to rewrite
|
||||
TikZRefinery's historical version. Authored TikZ diagrams are not evidence of
|
||||
architecture extraction from source; the optional extraction bonus needs its own
|
||||
tool and verified output.
|
||||
|
||||
Keep the requested provider naming correction for the separate demo change:
|
||||
`tkrRectangleShapeProvider` to `tkrShapeProviderRectangle`. Update the class,
|
||||
matching header/implementation names, both CMake target references and affected
|
||||
current documentation together; run the eight suites and verify the actual
|
||||
module still loads. The class name is distinct from the DLL filename, provider
|
||||
ID and interface contract; this proposal does not require changing those public
|
||||
identities. Have the DevOps chat confirm this choice, prepare the issue/comment
|
||||
and rehearse the change after its baseline pipeline works. It is not implemented
|
||||
in this checkpoint. The assignment permits a code or LaTeX change and manual or
|
||||
automatic pipeline triggering; reserve the final commit/push for that workflow.
|
||||
|
||||
November 25 checks: a fresh Windows Release build passed all eight suites;
|
||||
the existing Debug build also passed all eight. Report sources and the canonical
|
||||
PDFs match the November 24 complete TinyTeX/visual/navigation checks (258-page
|
||||
submission, 327-page developer edition, 51 figures). No new report build,
|
||||
native application review, package refresh or cloud build is claimed here.
|
||||
Machine-readable checks and test output are under
|
||||
`code/tests/evidence/devops-snapshot-2026-11-25/`.
|
||||
The audit script there checks this workstation's retained protected files as
|
||||
well as staged build inputs; it is not a portable CI test. Use CTest for the
|
||||
imported application and establish the DevOps pipeline's own artifact checks.
|
||||
|
||||
This commit includes source, reports and compact evidence. Existing local
|
||||
contact sheets, backup patches, submissions, slides and installed packages are
|
||||
preserved outside the snapshot selection. Their omission does not remove the
|
||||
application, report inputs or automated tests required to reproduce builds.
|
||||
|
||||
## Maintenance impact and AI-assistance record
|
||||
|
||||
Vincent authorized a commit usable by his DevOps chat and permitted reading it
|
||||
for context. The relevant chat is **Main**, in `vpn-dns-gateway`; its latest
|
||||
discussion chooses a frozen TikZRefinery input for the existing DevOps repository.
|
||||
It was read without sending a message or changing that project.
|
||||
|
||||
This is a repository checkpoint of previously implemented, documented and logged
|
||||
work, with fresh build checks and transfer guidance. Product requirements,
|
||||
stories, use cases, contracts, class/MVC/behavior diagrams, test definitions and
|
||||
verification/validation statuses were reviewed unchanged. No design or product
|
||||
behavior is added. Report metadata, historical prompt log and canonical PDFs are
|
||||
preserved at their already-reviewed baseline; this maintenance record and the
|
||||
Git commit record the new assistance without regenerating graded artifacts.
|
||||
README and HANDOFF link the checkpoint. No push, external publication, package
|
||||
deletion, pipeline execution or message to the DevOps chat is authorized here.
|
||||
Reference in New Issue
Block a user