- Pass --ignore-inode for sources below /mnt/user and /mnt/user0. shfs hands out new inode numbers after every reboot, which made Restic re-read all data on the first run after a restart. - Add a per-job lowPriority option that starts Restic and Rsync through ionice (idle) and nice 19 via the new internal/procprio package. - Run restic forget with --group-by host,tags. Grouping by paths split a job into a new group whenever its sources changed, and keep-within never expired the old group's snapshots. - Verify the Unraid CSRF token in webgui/api.php for POST, PUT and DELETE and reject other methods; Unraid's own check only covers form posts. - Set $urbmVersion in URBM.page during the package build and fail the build if it does not match, so the page always loads the packaged JS asset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
281 B
Bash
Executable File
13 lines
281 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
|
cd "$ROOT"
|
|
|
|
go test ./...
|
|
go vet ./...
|
|
node --check webgui/assets/urbm.js
|
|
bash -n plugin/rc.urbm packaging/build-package.sh scripts/check.sh tests/api_csrf_test.sh
|
|
tests/migration_test.sh
|
|
tests/api_csrf_test.sh
|