build(app): the editor from its hosted fork

The app took the editor from our fork of AppFlowy Editor in a folder next to the
repository, which nobody else had, and which CI can't reach either. The fork now lives at
https://code.halkyon.app/project-halkyon/appflowy-editor (public; dual-licensed AGPL-3.0
or MPL-2.0 like upstream), on its branch halkyon/win32-v6, and the app depends on it by
git URL, pinned to the signed commit 0dac8a0. That commit adds `publish_to: none` to the
fork: it is a git dependency only, and the package name belongs to AppFlowy on pub.dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-09-30 21:49:04 +02:00
commit 8369304ccd
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
3 changed files with 12 additions and 7 deletions

View file

@ -28,8 +28,9 @@ Targets: Linux, Windows, macOS, Android and iOS. There is no web build.
You need Flutter (Dart v3.13 or later) and the Serverpod CLI v4.0.3
(`dart install serverpod_cli@4.0.3`). Linux builds also need `libwebkit2gtk-4.1-dev` and
`libsecret-1-dev`. The rich-text editor comes from a fork that is expected at
`../appflowy-editor`, next to this repository, until the fork is hosted.
`libsecret-1-dev`. The rich-text editor comes from our fork of AppFlowy Editor
([project-halkyon/appflowy-editor](https://code.halkyon.app/project-halkyon/appflowy-editor)),
which `flutter pub get` fetches by itself.
The server's secrets live in `halkyon_learn_server/config/passwords.yaml`, which is never
committed. In a fresh clone, create it with a `development` and a `test` section, each

View file

@ -25,9 +25,11 @@ resolution: workspace
dependencies:
# Our fork of the editor's main branch, moved to win32 v6 so the app can stay in the pub
# workspace. A local path until the fork is hosted; then a git URL pinned to a commit.
# workspace, pinned to a signed commit of its branch halkyon/win32-v6.
appflowy_editor:
path: ../../appflowy-editor
git:
url: https://code.halkyon.app/project-halkyon/appflowy-editor.git
ref: 0dac8a046e91ac89c0ffa13e2d603ebf50873332
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
clock: ^1.1.3

View file

@ -52,9 +52,11 @@ packages:
appflowy_editor:
dependency: transitive
description:
path: "../appflowy-editor"
relative: true
source: path
path: "."
ref: "0dac8a046e91ac89c0ffa13e2d603ebf50873332"
resolved-ref: "0dac8a046e91ac89c0ffa13e2d603ebf50873332"
url: "https://code.halkyon.app/project-halkyon/appflowy-editor.git"
source: git
version: "6.1.0"
archive:
dependency: transitive