CI: notices check, browser interop job, daily advisories; ship notices
- notices: scripts/notices.sh --check with the pinned cargo-about fails when THIRD_PARTY_NOTICES.md does not match Cargo.lock. - browser-interop: TSC_INTEROP=1 tsc-stream browser_interop test against headless Chromium (Playwright 1.56.1); continue-on-error, since it depends on a browser download. - smoke: timeout, and the logs in dev/.state are uploaded on failure. - audit.yml: cargo-deny advisories every day, not only on pushes. - Release artifacts, the Flatpak and the NSIS installer include THIRD_PARTY_NOTICES.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
68012eafc2
commit
087bb8e866
5 files changed
+100
-2
No files matched your search
@@ -10,6 +10,11 @@ The product name is not decided yet: `TS Client` and the app id
|
||||
| `flatpak/io.github.faumaray.TsClient.yml` | Flatpak manifest |
|
||||
| `windows/` | NSIS installer and how to build and sign on Windows ([README](windows/README.md)) |
|
||||
|
||||
Every package also carries `THIRD_PARTY_NOTICES.md` (generated by
|
||||
`scripts/notices.sh`, see [docs/release.md](../docs/release.md)): Flatpak in
|
||||
`/app/share/licenses/<app id>/`, the Windows installer next to the executable,
|
||||
the CI artifacts in the archive. The app shows the same text in its About page.
|
||||
|
||||
## Flatpak
|
||||
|
||||
flatpak-builder builds offline, so the crates from `Cargo.lock` are listed as
|
||||
|
||||
@@ -44,6 +44,8 @@ modules:
|
||||
- install -Dm644 packaging/linux/io.github.faumaray.TsClient.desktop -t /app/share/applications/
|
||||
- install -Dm644 packaging/linux/io.github.faumaray.TsClient.metainfo.xml -t /app/share/metainfo/
|
||||
- install -Dm644 packaging/linux/io.github.faumaray.TsClient.svg -t /app/share/icons/hicolor/scalable/apps/
|
||||
# Also shown in the app's About page.
|
||||
- install -Dm644 THIRD_PARTY_NOTICES.md -t /app/share/licenses/io.github.faumaray.TsClient/
|
||||
sources:
|
||||
- type: dir
|
||||
path: ../..
|
||||
|
||||
@@ -61,6 +61,8 @@ VIAddVersionKey "LegalCopyright" "MIT OR Apache-2.0"
|
||||
Section "Install"
|
||||
SetOutPath "$INSTDIR"
|
||||
File "/oname=${EXE}" "${BINARY}"
|
||||
; Also shown in the app's About page.
|
||||
File "/oname=THIRD_PARTY_NOTICES.md" "..\..\THIRD_PARTY_NOTICES.md"
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
|
||||
CreateShortcut "$SMPROGRAMS\${APP_NAME}.lnk" "$INSTDIR\${EXE}"
|
||||
@@ -79,6 +81,7 @@ SectionEnd
|
||||
Section "Uninstall"
|
||||
; User data in %APPDATA%\tsc (identities, bookmarks, history) is kept.
|
||||
Delete "$INSTDIR\${EXE}"
|
||||
Delete "$INSTDIR\THIRD_PARTY_NOTICES.md"
|
||||
Delete "$INSTDIR\uninstall.exe"
|
||||
RMDir "$INSTDIR"
|
||||
Delete "$SMPROGRAMS\${APP_NAME}.lnk"
|
||||
|
||||
Reference in new issue
Block a user