mirror of https://github.com/raandree/NTFSSecurity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
| status | date | last-verified | owner | source |
|---|---|---|---|---|
| accepted | 2026-10-02 | 2026-10-04 | shared | maintainer choice in work package 2 (option A) |
Decision 8: Commit the generated help file and check it in CI
- Choice:
NTFSSecurity\en-US\NTFSSecurity.dll-Help.xmlis generated fromDocs/CmdletswithNew-ExternalHelp(platyPS 0.14.2, Windows PowerShell 5.1) and committed.NTFSSecurity.csprojcopies it to the output asContent, the manifestFileListlists it, and the CI workflow (.github/workflows/ci.yml) regenerates it and fails ongit status --porcelain -- NTFSSecurity/en-US. - Rationale: Releases are built locally in Visual Studio (Debug, written to
C:\Program Files\WindowsPowerShell\Modules\NTFSSecurity) and published by hand withPublish-Module. A committed file ships with every build and needs no tool on the build machine. Generating it in an MSBuild step would need platyPS on every build machine, or would silently ship without help when platyPS is missing. - Consequence: every change to
Docs/Cmdletsmust be followed byNew-ExternalHelp -Path .\Docs\Cmdlets -OutputPath .\NTFSSecurity\en-US -Force. The output is deterministic (byte-identical between runs), so the CI check is exact. - Rejected: an MSBuild
AfterBuildtarget that runs platyPS.