case 4690 - build-release.bat: copy all output to build-output.txt; UTF-8 for MkDocs when piped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 11:37:29 -07:00
parent cc2ccec9b1
commit a223a2bc65
3 changed files with 13 additions and 2 deletions

1
.gitignore vendored
View File

@@ -23,3 +23,4 @@ Desktop.ini
/dist/subscription-build-linux-x64
/server/AyaNova/wwwroot
/logfile
build-output.txt

View File

@@ -1,3 +1,13 @@
@rem Runs itself again with --logged so all output also goes to build-output.txt beside this script (overwritten each build, not in git)
@if /i "%~1"=="--logged" goto LOGGED
@powershell -NoProfile -ExecutionPolicy Bypass -Command "[Console]::OutputEncoding = [Text.Encoding]::UTF8; cmd /c '%~f0' --logged '2>&1' | Tee-Object -FilePath '%~dp0build-output.txt'"
@pause
@exit /b
:LOGGED
@chcp 65001 >nul
rem mkdocs-material prints a warning banner MkDocs cannot write to a pipe without UTF-8
set PYTHONUTF8=1
set m=Unknown error
@echo ****************** CLEAN ALL OUTPUT FOLDERS **********
@@ -158,7 +168,7 @@ echo.
echo.
echo Error:
echo %m%
pause
rem the outer run pauses once the log is complete
goto DONE
::------------------------
@@ -169,7 +179,6 @@ echo.
echo.
echo.
@echo Completed without error
pause
:DONE

View File

@@ -225,3 +225,4 @@ Found during the port, out of scope. One line each.
| 2026-10-23 | Section 4 on the 26.04 droplet (licensed and sample data by John) | 22/22 reports (0.9–2.7 s); only `ChromeHeadlessShell` downloaded; `ldd` no missing libraries; cancelled render: browser processes gone within about 25 s (cleanup slower than on 24.04, nothing orphaned). On-demand backup 818 entries. Suite excluding the SuperUser-delete test (SuperUser again had no related records): 95 passed, 2 known failures, 5 skipped = baseline. Restricted role `"AyaNova"` (no superuser, no CREATEDB, password `p @:/?#% x`), database restored with `--role`: boot, backup 818 entries, 22/22 reports, suite = baseline; `config.json` stays 640 `root:www-data` |
| 2026-10-23 | `lan.iss` Hosting Bundle prompt → .NET 10 | Message says 10.x, link opens `dotnet/10.0`. `standalone.iss` has no runtime prompt (launcher and server are self-contained). Not yet built into an installer |
| 2026-10-23 | `lan.iss` and `standalone.iss`: no more `{app}\Chrome` / `{app}\ChromeHeadlessShell` folders | The report browser downloads to `<data>\report-browser` (`%ProgramData%\ayanova`, users-modify in both installers), so the program-folder browser folders were created empty and unused. Uninstall now deletes those folders themselves (was only their contents), clearing what 8.2.x left behind and letting the program folder be removed. Check in the section 4 installer test: fresh install has no `Chrome` folders; upgrade from 8.2.4 then uninstall removes them |
| 2026-10-23 | Build tooling: `build-release.bat` logs all output to `build-output.txt` (UTF-16, overwritten each build, git-ignored) as well as the console; sets `PYTHONUTF8=1` (mkdocs-material 9.7 banner otherwise crashes MkDocs when output is piped). `raven-client` `vue.config.js`: Sass `quietDeps` | Wrapper tested on a dummy script: live console output, stderr captured, Unicode intact. Client build: Sass deprecation warnings 475 → 33 (the rest are Vuetify component styles compiled as the entry stylesheet, which `quietDeps` cannot tell apart); CSS output byte-identical to the 8.3.0 release build |