chore: prepare v0.2.8 (changelog, version bump)
Version in model.go, README, PKGBUILD and flake.nix (which was still at 0.2.6). Tagging/publishing is left to the maintainer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
dc3d1b77fe
commit
0a98a75212
5 changed files with 56 additions and 13 deletions
43
CHANGELOG.md
Normal file
43
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
## v0.2.8 — stability hotfixes
|
||||||
|
|
||||||
|
Data-loss and crash fixes for v0.2.7 while the larger rework is in progress.
|
||||||
|
|
||||||
|
### Data loss
|
||||||
|
- **Archiving no longer destroys the source.** Archiving `data.tar` as tar (or `report.zip` as zip) into the same
|
||||||
|
directory used to truncate the source; archiving a directory into a pane inside it made the archive include
|
||||||
|
itself. Both are now refused. Archives are written to a temporary file and renamed into place only on success,
|
||||||
|
so a failed or cancelled run leaves no partial file and keeps an existing archive intact; replacing an existing
|
||||||
|
archive asks first.
|
||||||
|
- **Deleting a remote symlink to a directory no longer wipes the target directory.** The link itself is removed.
|
||||||
|
- **SSH panes no longer act on local files.** Rename, Enter (edit / run / open / enter archive), archive and unpack
|
||||||
|
in an SSH pane used to operate on the *local* file with the same path (e.g. running a local
|
||||||
|
`/usr/local/bin/deploy.sh`). They are now refused with a message until remote support lands.
|
||||||
|
- **No more writes into an archive pane or the SSH host list.** Copy/move/unpack/archive into a pane showing an
|
||||||
|
archive used to put files into a temporary directory that is deleted when the archive is closed; with the
|
||||||
|
`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.
|
||||||
|
|
||||||
|
### Crashes and races
|
||||||
|
- Caret mode (`i` in the info pane) no longer panics without colors (`NO_COLOR`, dumb terminals).
|
||||||
|
- Closing an SSH connection while it is in use (background transfer, mirrored pane, preview) no longer races or
|
||||||
|
panics. Mirrored panes and background jobs share a reference-counted connection: leaving a host in one pane no
|
||||||
|
longer disconnects the other pane or a running transfer.
|
||||||
|
|
||||||
|
### Usability
|
||||||
|
- Status and error messages are shown in a line above the footer (they were never displayed before).
|
||||||
|
- Cyrillic (and other non-Latin) text can be typed in mkdir, rename, the filter and the SSH form; Russian-layout
|
||||||
|
keys still work as commands in the browser.
|
||||||
|
- `PgDn` works.
|
||||||
|
- `q` closes the info pane, the filter or the selection first, and quits only from the plain browser; `q` no longer
|
||||||
|
closes the SSH add-host form while typing.
|
||||||
|
- `n` cancels yes/no dialogs, as their hints say.
|
||||||
|
- Creating a directory that already exists reports an error instead of silent success.
|
||||||
|
|
||||||
|
### Development
|
||||||
|
- In-process SSH/SFTP test server with a fault-injecting proxy (`internal/testutil/sshtest`), tree helpers
|
||||||
|
(`fstree`), a Bubble Tea test driver (`teadriver`) and behavioural smoke tests for the UI.
|
||||||
|
- CI: `make ci` runs gofmt, vet, a vendor consistency check, build and race-enabled tests; releases run the same
|
||||||
|
workflow.
|
||||||
2
PKGBUILD
2
PKGBUILD
|
|
@ -1,5 +1,5 @@
|
||||||
pkgname=vcom
|
pkgname=vcom
|
||||||
pkgver=0.2.7
|
pkgver=0.2.8
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Terminal file manager inspired by Midnight Commander"
|
pkgdesc="Terminal file manager inspired by Midnight Commander"
|
||||||
arch=("x86_64" "aarch64")
|
arch=("x86_64" "aarch64")
|
||||||
|
|
|
||||||
20
README.md
20
README.md
|
|
@ -44,13 +44,13 @@ go build -o vcom ./cmd/vcom
|
||||||
Run directly from the flake:
|
Run directly from the flake:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix run github:vrubelroman/vcom?ref=v0.2.7
|
nix run github:vrubelroman/vcom?ref=v0.2.8
|
||||||
```
|
```
|
||||||
|
|
||||||
Install into user profile:
|
Install into user profile:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix profile add github:vrubelroman/vcom?ref=v0.2.7
|
nix profile add github:vrubelroman/vcom?ref=v0.2.8
|
||||||
```
|
```
|
||||||
|
|
||||||
The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works in non-`kitty` terminals out of the box.
|
The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works in non-`kitty` terminals out of the box.
|
||||||
|
|
@ -60,8 +60,8 @@ The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works
|
||||||
Download and install the latest release:
|
Download and install the latest release:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sL https://github.com/vrubelroman/vcom/releases/download/v0.2.7/vcom_0.2.7_amd64.deb -o /tmp/vcom_0.2.7_amd64.deb
|
curl -sL https://github.com/vrubelroman/vcom/releases/download/v0.2.8/vcom_0.2.8_amd64.deb -o /tmp/vcom_0.2.8_amd64.deb
|
||||||
sudo apt install /tmp/vcom_0.2.7_amd64.deb
|
sudo apt install /tmp/vcom_0.2.8_amd64.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
The Debian package recommends `ueberzugpp` for image preview outside `kitty` (optional). To install it:
|
The Debian package recommends `ueberzugpp` for image preview outside `kitty` (optional). To install it:
|
||||||
|
|
@ -85,7 +85,7 @@ The Arch package depends on `ueberzugpp`, so non-`kitty` image preview is instal
|
||||||
Download and install the latest RPM:
|
Download and install the latest RPM:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sL https://github.com/vrubelroman/vcom/releases/download/v0.2.7/vcom-0.2.7-1.x86_64.rpm -o /tmp/vcom.rpm
|
curl -sL https://github.com/vrubelroman/vcom/releases/download/v0.2.8/vcom-0.2.8-1.x86_64.rpm -o /tmp/vcom.rpm
|
||||||
sudo dnf install /tmp/vcom.rpm
|
sudo dnf install /tmp/vcom.rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -216,7 +216,7 @@ Built-in themes (press `t` to open theme selector or set `ui.theme` in config):
|
||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
|
||||||
Pushing a tag like `v0.2.7` triggers GitHub Actions release workflow (`.github/workflows/release.yml`) which:
|
Pushing a tag like `v0.2.8` triggers GitHub Actions release workflow (`.github/workflows/release.yml`) which:
|
||||||
|
|
||||||
- runs tests
|
- runs tests
|
||||||
- vendors Go modules
|
- vendors Go modules
|
||||||
|
|
@ -227,10 +227,10 @@ Pushing a tag like `v0.2.7` triggers GitHub Actions release workflow (`.github/w
|
||||||
|
|
||||||
Release artifacts:
|
Release artifacts:
|
||||||
|
|
||||||
- `vcom-v0.2.7-x86_64-unknown-linux-gnu.tar.gz`
|
- `vcom-v0.2.8-x86_64-unknown-linux-gnu.tar.gz`
|
||||||
- `vcom_0.2.7_amd64.deb`
|
- `vcom_0.2.8_amd64.deb`
|
||||||
- `vcom-0.2.7-1.x86_64.rpm`
|
- `vcom-0.2.8-1.x86_64.rpm`
|
||||||
- `vcom-v0.2.7-checksums.txt`
|
- `vcom-v0.2.8-checksums.txt`
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
packageBase = pkgs.buildGoModule {
|
packageBase = pkgs.buildGoModule {
|
||||||
pname = "vcom";
|
pname = "vcom";
|
||||||
version = "0.2.6";
|
version = "0.2.8";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import (
|
||||||
"vcom/internal/theme"
|
"vcom/internal/theme"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "v0.2.7"
|
const version = "v0.2.8"
|
||||||
|
|
||||||
type modalKind int
|
type modalKind int
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue