diff options
| author | Craig Jennings <c@cjennings.net> | 2025-12-01 06:15:51 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-12-01 06:15:51 -0600 |
| commit | 75b0a17576f2722611db3ce710e673e0445848cf (patch) | |
| tree | 90c42acf5493e07702a601a79794f40e1907091a /TODO.org | |
| parent | 03145a135d854f9aceb82ad65ce47a6a39235094 (diff) | |
feat(archsetup): add pre-flight checks before installation
Validates system requirements before starting:
- Disk space (minimum 20GB free on /)
- Network connectivity (ping archlinux.org)
- pacman available
- Running on Arch Linux (/etc/arch-release)
Provides clear error messages with recovery hints if checks fail.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'TODO.org')
| -rw-r--r-- | TODO.org | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -159,8 +159,14 @@ Could destroy user's uncommitted changes in repos during dotfile setup RESOLVED: Already fixed - git_install and yay installer use safe rm + fresh clone approach. No git pull --force in current script. -*** TODO [#A] Add pre-flight checks before installation starts -Validate system requirements: disk space, network connectivity, Arch version, tool dependencies (curl, stow, git, make) +*** DONE [#A] Add pre-flight checks before installation starts +CLOSED: [2025-12-01 Sun] +Validate system requirements: disk space, network connectivity, Arch version, tool dependencies +RESOLVED: Added preflight_checks() function that verifies: +- Disk space (minimum 20GB free) +- Network connectivity (ping archlinux.org) +- pacman available +- Running on Arch Linux (/etc/arch-release exists) *** TODO [#A] Implement state tracking for install progress Track what completed vs failed mid-run to enable targeted recovery and resume capability |
