Repository navigation
UNFUCK v0.1.1 — Hardened Release & Installation Experience
UNFUCK v0.1.1: Release Hardening & Clean-Room Verification
This release hardens the public distribution, installation, and error-handling pipeline of UNFUCK.
Key Improvements & Fixes
- Hardened One-Line Installer (
install.sh):- Atomic installation using temporary swap files (
.unfuck.tmp.27757) to eliminateETXTBSY(text file busy) on Linux. - Automatic prerequisite validation for
tar,gzip,curl/wget, and SHA256 checksum utilities. - Dynamic latest release lookup with resilient pinned fallback.
- Write permission checks on target directory (
$HOME/.local/binor custom override).
- Atomic installation using temporary swap files (
- Standardized CLI Exit Codes:
0: Environment compatible / all invariants hold / clean run.1: Predicted failures or environment constraint violations detected.2: Invalid invocation, nonexistent target path, or runtime error.
- Robust Path & Syntax Validation:
- Validates repository path existence and directory type, returning clear diagnostics instead of silent fallbacks.
- Detects syntax errors in
package.jsonandpyproject.tomlwith line-number evidence rather than ignoring malformed files.
- Pure JSON Contract:
- Guaranteed valid JSON on stdout for
unfuck [PATH] --jsonon both successful runs and failure/error conditions. - Zero terminal formatting or ANSI codes mixed into JSON output.
- Guaranteed valid JSON on stdout for
- Automated Clean-Room Smoke Test:
- Added
scripts/test-install.shfor verifying installation across isolated sandboxes.
- Added
Installation
curl -fsSL https://raw.githubusercontent.com/axonel/unfuck/main/install.sh | shFull Changelog: v0.1.0...v0.1.1