github Dicklesworthstone/repo_updater v1.7.1
ru v1.7.1

31 minutes ago

Highlights

ru v1.7.1 is a reliability and portability patch release fixing commit-sweep on Ubuntu 22.04 (jq 1.6), restoring structured JSON workflows on minimal Linux environments without jq or python3, fixing piped installer self-refresh on Bash 5 and root /usr/local/bin installs without sudo, and preventing terminal credential hangs under --non-interactive.

Fixed

  • ru commit-sweep on Ubuntu 22.04 (jq 1.6): Replaced jq -Rs 'split("\u0000")[:-1]' with jq -Rsc 'split("\u0000") | map(select(length > 0))' so jq 1.6 no longer slices off the last path or refuses single-file plans with "Commit 1 has no files".
  • Structured workflows & ru robot-docs without jq or python3: Added a zero-module perl-base RFC 8259 JSON object validator, top-level-only field extractor, and _meta.exit_code injector so minimal Linux hosts and containers work out of the box without jq, python3, or JSON::PP.
  • --non-interactive Git prompts: Exporting GIT_TERMINAL_PROMPT=0 when --non-interactive is passed prevents git fetch from blocking on /dev/tty credential prompts.
  • Installer (install.sh):
    • Fixed maybe_self_refresh_installer to detect piped stdin across Bash 3.2/4.x, Bash 5.0–5.2 (BASH_SOURCE[0]="main"), and Bash 5.3+ (BASH_SOURCE[0]="$0") while still skipping direct file invocations.
    • Allowed root (EUID=0) RU_SYSTEM=1 / /usr/local/bin installations to proceed directly without requiring sudo, while keeping non-root installs fail-closed when sudo is unavailable.
  • Test suite hardening: Isolated subshell failure counters (reset_subshell_counters), drained --body-file - stdin in the lifecycle gh mock, increased non-timeout session-driver fixture timeouts to 30s, made test_e2e_status.sh fetch strictly offline, and added a clear cached prerequisite message for python3 jsonschema / rfc3339-validator in test_e2e_robot_docs.sh.

Verification

  • Full verification on macOS, Linux, and Ubuntu 22.04 (jq 1.6 / git 2.34.1 / bash 5.1 / bare container without jq, python3, JSON::PP, or sudo).
  • shellcheck -s bash -S warning ru install.sh clean with 0 warnings; zero performance regressions vs v1.7.0.

Install / Upgrade

curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/repo_updater/main/install.sh?ru_cb=$(date +%s)" | bash

Or via Homebrew:

brew upgrade dicklesworthstone/tap/ru

Full Changelog: v1.7.0...v1.7.1

Don't miss a new repo_updater release

NewReleases is sending notifications on new releases.