Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This project provides a complete automation framework for setting up an Apple Si
- **Central home server** with minimal maintenance requirements
- **Stable, secure, and recoverable system**

## Recent Improvements (v3.0 - Major Overhaul)
## Recent Improvements

### Transmission Setup Complete (2025-09-08)

Expand Down Expand Up @@ -81,7 +81,7 @@ This project provides a complete automation framework for setting up an Apple Si
- Migration size estimation and progress reporting
- **Production-Ready Reliability**: Robust error handling and fallback mechanisms

### Previous Improvements (v2.0)
### Previous Improvements

- **Keychain-Based Credential Management**: Secure credential storage and transfer via macOS Keychain Services (see [Credential Management](docs/keychain-credential-management.md))
- **1Password Integration**: Automated credential retrieval from 1Password during setup preparation
Expand Down
3 changes: 1 addition & 2 deletions app-setup/catch-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
# Usage: ./catch-setup.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-09

# Exit on error
Expand Down
3 changes: 1 addition & 2 deletions app-setup/filebot-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
# --license-file: Override license file path (default: from config)
# --password: Administrator password for system configuration
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-08

# Exit on error
Expand Down
3 changes: 1 addition & 2 deletions app-setup/plex-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
# ├── Plex Media Server/ # Main config directory from old server
# └── com.plexapp.plexmediaserver.plist # macOS preferences file
#
# Author: Claude
# Version: 3.0 (Native)
# Author: Andrew Rich <[email protected]>
# Created: 2025-08-17

# Exit on error
Expand Down
3 changes: 1 addition & 2 deletions app-setup/rclone-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# rclone.conf # rclone configuration with OAuth tokens (copied to app-setup dir by first-boot.sh)
# dropbox_sync.conf # Dropbox sync configuration (copied to app-setup dir by first-boot.sh)
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-08-22

# Exit on error
Expand Down
3 changes: 1 addition & 2 deletions app-setup/run-app-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
# 1: Configuration or environment error
# 2: One or more app setup scripts failed
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-05

# Exit on error (but can be overridden with --continue-on-error)
Expand Down
3 changes: 1 addition & 2 deletions app-setup/templates/start-plex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
# This script simply launches Plex Media Server. Library path updates
# are handled during the migration process in plex-setup.sh.
#
# Author: Claude
# Version: 5.0 (Simplified launcher)
# Author: Andrew Rich <[email protected]>
# Created: 2025-08-21

set -euo pipefail
Expand Down
3 changes: 1 addition & 2 deletions app-setup/templates/start-rclone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# - __RCLONE_REMOTE_NAME__: rclone remote name for Dropbox
# - __DROPBOX_SYNC_INTERVAL__: Sync interval in minutes
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-08-22

# Exit on error
Expand Down
3 changes: 1 addition & 2 deletions app-setup/transmission-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
# --force: Skip all confirmation prompts
# --rpc-password: Override RPC web interface password (default: auto-generated from hostname)
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-08

# Exit on error
Expand Down
6 changes: 3 additions & 3 deletions docs/code-review-plex-setup-v1.1.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Code Review: plex-setup.sh (v1.1 Improvement Plan)
# Code Review: plex-setup.sh (Post-1.0 Improvement Plan)

**Date:** 2025-09-12
**Script:** `app-setup/plex-setup.sh`
**Lines of Code:** 1,654
**Review Type:** Post-v1.0 Maintenance & Improvement Assessment
**Review Type:** Post-1.0 Maintenance & Improvement Assessment

## Executive Summary

Expand Down Expand Up @@ -385,7 +385,7 @@ Given the complexity, create focused test scripts before refactoring:
- Shellcheck Issues: 0 ✅
- Cyclomatic Complexity: High

**Target State (v1.1):**
**Target State (Post-1.0):**

- Lines of Code: <1,200 (25% reduction through deduplication)
- Longest Function: <75 lines
Expand Down
3 changes: 1 addition & 2 deletions prep-airdrop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
# - Encrypted credential keychain for secure transfer
# - Configuration files with environment-specific substitutions
#
# Author: Claude
# Version: 1.3
# Author: Andrew Rich <[email protected]>
# Created: 2025-05-13

# Exit on error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/first-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
# - Section-based logging for easy troubleshooting
# - Password masking in all log output for security
#
# Author: Claude
# Version: 2.2
# Author: Andrew Rich <[email protected]>
# Created: 2025-05-18

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/operator-first-login.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
#
# Usage: ./operator-first-login.sh
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-08-20

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-apple-id.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
# Usage: ./setup-apple-id.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-05

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-application-preparation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# Usage: ./setup-application-preparation.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-05

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-bash-configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-bash-configuration.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-02

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-dock-configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-dock-configuration.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Usage: ./setup-firewall.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-hostname-volume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-hostname-volume.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-log-rotation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-log-rotation.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-package-installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
# --skip-homebrew: Skip Homebrew installation/update
# --skip-packages: Skip package installation
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-05

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-power-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-power-management.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-shell-configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-shell-configuration.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-ssh-access.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-ssh-access.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-system-preferences.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
# --force: Skip all confirmation prompts
# --skip-update: Skip software updates
#
# Author: Claude
# Version: 1.0
# Author: Andrew Rich <[email protected]>
# Created: 2025-09-05

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-terminal-profiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
# Usage: ./setup-terminal-profiles.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from terminal setup research)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from terminal setup research)
# Created: 2025-09-09

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-timemachine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-timemachine.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-02

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-touchid-sudo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-touchid-sudo.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down
3 changes: 1 addition & 2 deletions scripts/server/setup-wifi-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# Usage: ./setup-wifi-network.sh [--force]
# --force: Skip all confirmation prompts
#
# Author: Claude (modularized from first-boot.sh)
# Version: 1.0
# Author: Andrew Rich <[email protected]> (modularized from first-boot.sh)
# Created: 2025-09-04

# Exit on any error
Expand Down