fix(studio): chain config dir + spawn path + doc URLs
Some checks failed
Security / Security check (push) Failing after 2s
Some checks failed
Security / Security check (push) Failing after 2s
Track the platform rename: the hub spawn path is now ~/.chain/bin/chain (was ~/.fai/bin/fai.exe on Windows — both dir and binary were stale, so Studio could not launch the hub after the config-dir rename), the ~/.fai/* help strings become ~/.chain/*, FAI_REGISTRY_TOKEN -> CHAIN_REGISTRY_TOKEN, and the two in-app doc URLs point at the public fai/chain repo (fai/platform was renamed to the private fai/chain-private). The .fai module bundle extension is left unchanged (format phase). flutter analyze: no issues. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
7ff4fda2a3
commit
0f93d90963
18 changed files with 121 additions and 121 deletions
|
|
@ -54,12 +54,12 @@ class _FaiSettingsDialogState extends State<FaiSettingsDialog> {
|
|||
_Category _category = _Category.general;
|
||||
|
||||
/// Length of the configured registry token, or null when the
|
||||
/// `~/.fai/registry-token` file is missing / empty. Reloaded
|
||||
/// `~/.chain/registry-token` file is missing / empty. Reloaded
|
||||
/// after save / clear.
|
||||
int? _registryTokenChars;
|
||||
|
||||
/// Length of the configured hub gRPC bearer token, or null
|
||||
/// when `~/.fai/hub-auth-token` is missing / empty. Reloaded
|
||||
/// when `~/.chain/hub-auth-token` is missing / empty. Reloaded
|
||||
/// after save / clear; UI only ever sees the trimmed length.
|
||||
int? _hubAuthTokenChars;
|
||||
|
||||
|
|
@ -1822,8 +1822,8 @@ class _MaintenancePanelState extends State<_MaintenancePanel> {
|
|||
}
|
||||
|
||||
/// Credentials panel for the operator's registry auth token.
|
||||
/// The hub reads the same token via `~/.fai/registry-token`
|
||||
/// (or the `FAI_REGISTRY_TOKEN` env var, which still wins)
|
||||
/// The hub reads the same token via `~/.chain/registry-token`
|
||||
/// (or the `CHAIN_REGISTRY_TOKEN` env var, which still wins)
|
||||
/// when downloading `.fai` bundles from a registry behind a
|
||||
/// signin wall — Forgejo with REQUIRE_SIGNIN_VIEW=true,
|
||||
/// GitHub-private releases, etc.
|
||||
|
|
@ -1976,7 +1976,7 @@ class _RegistryCredentialsPanelState extends State<_RegistryCredentialsPanel> {
|
|||
/// Operator panel for the hub's gRPC bearer token. When the
|
||||
/// hub has `auth.tokens:` configured, Studio must present
|
||||
/// `Authorization: Bearer <token>` on every call. The token
|
||||
/// is stored at `~/.fai/hub-auth-token` (mode 0600) and read
|
||||
/// is stored at `~/.chain/hub-auth-token` (mode 0600) and read
|
||||
/// at startup by [HubService]; this panel just lets the
|
||||
/// operator paste / clear without leaving the GUI.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue