S039: package script, install scripts, README, release notes 0.1.0, test file; builds smoke-tested, nothing in releases/

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-26 03:17:40 -06:00
commit 95658dfd8d
5 changed files with 122 additions and 5 deletions

View file

@ -257,3 +257,8 @@ Seen: boxes were ticked together after the tests, against rule 3.
- Clipboard Ask works in hidden run C (release build); S037's KNOWN BUG is gone. Workspace suite green.
- Video wired: Add dialog shows the yt-dlp page for web pages, tasks with `video` run yt-dlp (pause, resume, error kinds); stub tests and `add-video` shots pass. Frame with 50 active 3-4 ms (95 %, release).
- Not done: hidden UI journeys (engine tests only, S037 box open); cookies and global limit not passed to yt-dlp. S024 14 used Nacre's body replayed.
## S039 package (steps up to checksums; publishing waits for the user)
- Suite green after S044 (one flaky connector test fixed: waits for the arrival). `tools/package.sh`, `packaging/install.sh`, `uninstall.sh`; `dist/` has tar.gz, AppImage, `SHA256SUMS-0.1.0` (not in releases/).
- Smoke of both builds, hidden, no yt-dlp/ffmpeg on PATH: first run, port POST, download, hash equal, idle CPU 0 %; tar.gz portable mode makes `medlar-data/`.
- Needs glibc 2.44 (libm symbols 2.43/2.44), not older. README and docs/releases/0.1.0.md written. Not done: the user's yes, releases/, hub-release.

BIN
docs/img/add.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
docs/img/main.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

19
docs/releases/0.1.0.md Normal file
View file

@ -0,0 +1,19 @@
# Medlar 0.1.0
First release. Linux x86_64, glibc 2.44 or newer.
## Files
- `Medlar-0.1.0-x86_64.AppImage`
- `Medlar-0.1.0-Linux-x86_64.tar.gz` (install.sh and uninstall.sh for your home folder)
- `SHA256SUMS-0.1.0`
## What is in it
Segmented downloads with resume and recovery (HTTP, HTTPS, FTP, FTPS, SFTP, HLS, DASH, Metalink), limits, priorities,
queues, schedule, "when done" actions, a local browser port on 127.0.0.1:17616, clipboard watcher, rules, tray, video
sites through yt-dlp when it is installed, portable mode.
## Known gaps
- Needs glibc 2.44 or newer; not tested on other systems.
- Window journeys were tested at engine level only; many screen and motion checks were not run.
- yt-dlp was tested against a stub only; cookies and the global limit are not passed to it.
- yt-dlp and ffmpeg are not bundled.

View file

@ -0,0 +1,20 @@
# S039 — Package and release: test file
Risk: HIGH = data loss, security, crash, wrong result · MED = feature broken · LOW = looks or comfort.
| # | Risk | Do this | Expect | Result |
|---|---|---|---|---|
| 1 | HIGH | `tools/package.sh`, then `sha256sum -c dist/SHA256SUMS-0.1.0` | tar.gz, AppImage, sums made; sums match | pass |
| 2 | HIGH | Run the AppImage hidden (`tools/hidden.sh`, `MEDLAR_BIN`), yt-dlp and ffmpeg off PATH; skip first run, POST a 300 kB link to port 17616, click Download | File done, sha256 equals the server's, no crash | pass |
| 3 | HIGH | Same with the binary from the tar.gz | Same | pass |
| 4 | MED | tar.gz with a `portable` file beside `bin/medlar` | `bin/medlar-data/` holds config, data, state, cache | pass |
| 5 | MED | `PREFIX=<tmp> ./install.sh`, then `./uninstall.sh` | Files appear, Exec points to the binary, all removed again | pass |
| 6 | MED | Idle CPU 3 s after the download | 0 % | pass |
| 7 | MED | AppImage next to a file `portable` | Data in `medlar-data/` beside the AppImage | not run: only the AppRun logic was written |
| 8 | MED | Run on an older distribution | Starts if glibc >= 2.44; refuses below | not run: no older system here |
| 9 | LOW | Install from the tar.gz on a desktop and open the launcher entry | Icon and entry show | not run |
| 10 | LOW | README: every link and file name exists | No placeholder | pass by reading |
## Doubts
- The binary needs glibc 2.44 (libm symbols). Build on an older host to support older distributions.
- The AppImage was only started directly, not through FUSE mounting or `--appimage-extract-and-run`.