Files
doona/docs/install.zh-TW.md
Zakk 4e6027dac4 chore(release): prepare 0.1.0-rc.8 (#708)
## Problem

main carries four merged changelog fragments and still declares
0.1.0-rc.7 in the manifest, the READMEs, the install recipes and the
packaging scripts, so the next tag would build and document the previous
version. The Alpine, Gentoo, Nix and OpenWrt recipes also treat the
pinned archive as GPL-3.0-only, which holds only for rc.7; the rc.8
archive is AGPL-3.0-only.

## How I fixed it

Ran `pnpm changelog:release 0.1.0-rc.8 2026-11-27`, which wrote the
dated section with PR numbers and removed the consumed fragments. Bumped
the declared version everywhere it is spelled: package.json, the three
READMEs, CONTRIBUTING, the three install guides, install/README, the
Alpine, Gentoo, Nix and OpenWrt recipes (including the ebuild filename
and its Manifest line) and the two packaging scripts. Updated the README
release summary to this version's 12 entries. The recipes now declare
AGPL-3.0-only unconditionally, so the rc.7 version guards and the
install/README paragraph about them are removed, and the ebuild's
Manifest entry carries its new size and digests. Published archive
checksums stay as they are until the release builds exist.

## Verified

`pnpm check` passes. Net lines: src +0/-0, unit 0, e2e 0, css 0. Not
verified: package builds on Alpine, Gentoo, OpenWrt and Nix.

---

- [x] I understand this change and answer for every line
- [x] This branch is based on the current main
- [x] I ran the repository's gates and recorded the results in Verified
- [x] Each commit is one coherent change
- [x] If behaviour changed, I updated the documentation
- [ ] If interface text changed, I updated `en.json` and every complete
language's catalogue
- [ ] If interface appearance changed, I attached light and dark
screenshots
- [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm
check:gen`
- [ ] I checked the boxes above without reading them
- [ ] I am an AI agent, and this content was submitted without human
review
2026-11-27 22:59:46 +11:00

6.3 KiB
Raw Permalink Blame History

安裝與套件

English / 简体中文 / 繁體中文

doona 以靜態網頁檔案發布。目前版本為 v0.1.0-rc.8;doona lite 是測試中的預覽版。

安裝請參閱文件站的系統需求、安裝指南與 doona lite 指南。這些頁面說明後端設定、各發行版的安裝步驟與首次登入。本頁說明本倉庫建置的檔案。honk 建置的下載位置見配套 honk 建置。

Debian、Ubuntu、Fedora 與 openSUSE 優先使用 daeuniverse 套件來源:Debian 與 Ubuntu 用 doona-web(可選 doona-web-fonts 與 doona-web-precompressed),Fedora 與 openSUSE 用 doona(可選 doona-fonts 與 doona-precompressed)。套件來源的設定見 Debian、Fedora 與 openSUSE 指南。下列發布封存檔與套件作為替代方式。

發布封存檔

tools/package.sh 在 release/ 下產生以下封存檔。<version> 是去掉標籤開頭 v 的版本號。

封存檔 內容
doona-<version>.tar.gz dist/ 中的標準版,排除 fonts/ 與 .vite/,加入授權與聲明檔案
doona-lite-<version>.tar.gz apps/lite/dist/ 中的 lite 版,加入授權與聲明檔案;使用系統字型
doona-fonts-<version>.tar.gz 選用的 fonts/ 目錄,包含 Noto Sans TC 與 SC 子集、OFL.txt 和 README
doona-precompressed-<version>.tar.gz 標準版文字資源的選用 .br 與 .gz 副本,保留原資源的相對路徑

兩個程式封存檔都將 index.html 放在根目錄,並包含 LICENSE、LICENSES/、NOTICE、README.md、README.en.md 與 THIRD-PARTY-NOTICES.txt。tools/notices.mjs 收集打包依賴的授權條款。程式封存檔不包含 CHANGELOG.md。

預壓縮封存檔包含指定類型中至少 1 KiB 的文字資源副本。打包使用 brotli -q 11 與 gzip -9 -n,僅保留比原檔案小的副本。字型單獨打包,詳見字型。

配套 honk 建置

內嵌 doona 的建置由 honk 自己的 release 提供:完整建置以 ui: embedded 提供本介面,ui: embedded-lite 則提供 doona lite。doona 發布說明的 Pairing with honk 一節列出配套的 honk 版本,請到該 honk release 下載;doona 的 release 不附 honk 建置。

完整建置的檔名為 honk-core-v<version>-<target>[-stock]-full.tar.gz。八種建置涵蓋 x86_64 與 aarch64、musl 與 GNU,並分別使用 mimalloc 或系統記憶體配置器(-stock)。不確定時選擇 musl。每個 honk release 也附有 doona-source-<version>.tar.gz,即內嵌介面的對應原始碼。

套件布局

套件或建置配方 介面目錄
Debian doona-web /usr/share/doona-web
RPM、Arch 與 OpenWrt 的 doona;Alpine 與 Gentoo 配方 /usr/share/doona
Nix 配方 $out/share/doona
手動解壓的封存檔 解壓時選擇的目錄

Debian 附加套件名為 doona-web-fonts 與 doona-web-precompressed,其他發行版的套件使用 doona-fonts 與 doona-precompressed。字型放在介面目錄的 fonts/ 下,預壓縮檔案與原資源並列。Alpine 與 OpenWrt 的 apk 套件分別建置,並使用各自的簽章流程。

套件檔名與中繼資料採用不同的預發布版本寫法。詳見打包參考中的版本寫法與 apk 簽章及安裝。

Alpine 還提供 doona-doc-<version>-r0.alpine.apk,其中包含 NOTICE 檔案。

建置與打包原始碼

原始碼 職責
tools/package.sh 暫存兩個版本的檔案,拆分選用封存檔,產生這些封存檔的 SHA256SUMS
.github/workflows/release.yml 建置發行版套件,彙整發布檔案,重新產生 SHA256SUMS
install/nfpm/ Debian、RPM、Arch 與 ipk 套件定義
install/alpine/APKBUILD Alpine 套件與子套件
install/openwrt/doona/Makefile OpenWrt 套件與附加套件
install/gentoo/net-proxy/doona/ 與 install/nix/package.nix Gentoo 與 Nix 配方

打包前必須先建置兩個版本,即使只需要標準版封存檔。依賴安裝與建置命令見開發指南,套件維護見 install/README.md。