docs: changelog and dev log for QA-13..QA-19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0aace09917
commit
8c4b70370e
2 changed files with 39 additions and 6 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
|
@ -20,10 +20,13 @@ Data-loss and crash fixes for v0.2.7 while the larger rework is in progress.
|
|||
`ssh://` host list as target, files went to `./ssh:/…` in the process directory. Both are now refused.
|
||||
- **Delete moves to the trash by default.** Permanent deletion is chosen explicitly with `D`/`d` in the dialog.
|
||||
`behavior.confirm_delete = false` now works and skips the question only for the trash. If an item cannot be moved
|
||||
to the trash (e.g. it is on another filesystem than the home trash, or the trash is broken), vcom asks whether to
|
||||
delete the remaining items permanently instead; nothing is deleted without that confirmation.
|
||||
to the trash (e.g. it is on another filesystem than the home trash, or the trash is broken), the other items are
|
||||
still trashed and vcom asks whether to delete only the refused ones permanently; nothing is deleted without that
|
||||
confirmation.
|
||||
- **Mirror (`p`) is refused inside an archive.** It used to give the other pane the archive's temporary directory as
|
||||
a normal writable directory; changes there were lost when the archive was closed.
|
||||
a normal writable directory; changes there were lost when the archive was closed. Mirroring *into* a pane that is
|
||||
inside an archive now leaves the archive properly (it used to keep treating the real directory as a read-only
|
||||
archive).
|
||||
|
||||
### SSH
|
||||
- **One unsupported line in `~/.ssh/known_hosts` no longer breaks every connection.** Lines with key types vcom
|
||||
|
|
@ -57,11 +60,16 @@ Data-loss and crash fixes for v0.2.7 while the larger rework is in progress.
|
|||
overwrite an existing trashed item.
|
||||
|
||||
### Config, session and logs
|
||||
- Choosing a theme changes only the `theme = ...` line; comments and other keys in `vcom.toml` are preserved.
|
||||
- A broken config no longer prevents startup: vcom starts with defaults and shows the error in the status line.
|
||||
- Choosing a theme changes only the `theme = ...` line; comments and other keys in `vcom.toml` are preserved. This
|
||||
also works when the section is written as `ui.theme = ...` or `ui = { theme = ... }`. A read-only (`chmod a-w`)
|
||||
config is not changed (as in v0.2.7). With `-config` / `$VCOM_CONFIG` naming a file that does not exist yet, the
|
||||
theme is saved to that file. If saving the theme fails, the error stays visible in the status line.
|
||||
- A broken config no longer prevents startup: vcom starts with defaults and shows the error (in red) in the status
|
||||
line.
|
||||
- `./vcom.toml` in the current directory is no longer picked up implicitly.
|
||||
- Config and session are written atomically. The session moved to `$XDG_STATE_HOME/vcom/session.toml` (migrated
|
||||
once from the old location) and is also saved on SIGTERM/SIGHUP.
|
||||
once from the old location; if the state directory is not writable, the old session is still restored and the
|
||||
error is shown) and is also saved on SIGTERM/SIGHUP.
|
||||
- A single rotating log at `$XDG_STATE_HOME/vcom/vcom.log` replaces a new file in `/tmp/vcom-logs` per run;
|
||||
secrets are never logged.
|
||||
|
||||
|
|
|
|||
|
|
@ -266,3 +266,28 @@
|
|||
- **Чужие изменения в рабочем дереве.** Во время 5C в основном дереве появились незакоммиченные правки
|
||||
`.gitignore`, `cmd/vcom/main.go`, `cmd/vcom/qa_signal_test.go` (не мои, похоже, параллельный мерж QA). Я их не
|
||||
трогал и в свои коммиты не включал.
|
||||
|
||||
## Разработчик A, QA v0.2.8 RC2 (QA-13…QA-19)
|
||||
|
||||
- **QA-13.** `atomicfile.Write` проверяет `access(W_OK)` у существующей цели и возвращает EACCES, как обычная запись.
|
||||
Это касается всех пользователей atomicfile: конфига, сессии, hosts.dat, known_hosts. Root проходит проверку, как и
|
||||
при обычной записи.
|
||||
- **QA-14.** `SetKey` правит секцию, заданную в корне: точечными ключами (`ui.theme = …`; недостающий ключ
|
||||
добавляется той же формой после последнего `ui.*`) или однострочной inline-таблицей (`ui = { … }`; недостающий ключ
|
||||
дописывается внутрь). Многострочная inline-таблица (в TOML 1.0 она невалидна) и вложенные значения внутри
|
||||
inline-таблицы — отказ без изменения файла.
|
||||
- **QA-15.** Исправлено с двух сторон:
|
||||
- `main` передаёт UI путь `info.Path`, если `-config`/`$VCOM_CONFIG` заданы, даже когда файла ещё нет;
|
||||
- `paths.DefaultConfigFile` возвращает `$VCOM_CONFIG`, если он задан.
|
||||
Тестовый помощник тестировщика `newModelLikeMain` по-прежнему копирует старую логику main («только если файл
|
||||
найден»). Для `$VCOM_CONFIG` тест проходит за счёт второго исправления. Случай `-config` в UI-тестах не
|
||||
воспроизводится (флаг есть только в main) — помощник стоит обновить.
|
||||
- **QA-19.** Тема: `finalizeTheme` сам пишет итоговый статус, селектор его не перетирает. Сообщение о битом конфиге в
|
||||
main начинается с «Config error:», поэтому статус-строка (уровень определяется по словам) красит его как ошибку.
|
||||
- **QA-16.** `applySession` применяет сессию, которую вернул `state.Load`, даже вместе с ошибкой миграции; ошибка —
|
||||
в статус («Session error: …»).
|
||||
- **QA-17.** Задача корзины не останавливается на первом отказе: остальные элементы уходят в корзину, а предложение
|
||||
безвозвратного удаления касается только отказавших. Безвозвратное удаление по-прежнему останавливается на первой
|
||||
ошибке.
|
||||
- **QA-18.** Сделано (дёшево): mirror в панель внутри архива (локальная и remote-ветка) снимает её archive-mount-ы и
|
||||
удаляет их temp-каталоги. В Known issues не понадобилось.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue