Skip to content

commit-checker v0.4.2 - Enhanced Update System

Choose a tag to compare

@AmariahAK AmariahAK released this 18 Jul 15:36
· 48 commits to main since this release

πŸ”„ commit-checker v0.4.2 - Enhanced Update System
πŸš€ Major New Update Features
πŸ”„ Intelligent Update Scheduling
Three-Option Update Flow: Choose to install now, schedule for next terminal restart, or skip
Automatic Pending Updates: System automatically installs scheduled updates on startup
Non-Intrusive Workflow: No more interruptions during important work sessions
πŸ“‹ Enhanced Update Experience
Release Notes Preview: See what's new before deciding to update
Better Update Feedback: Clear progress indicators and success messages
Robust Installation: Multiple fallback methods for maximum compatibility
Smart Error Handling: Graceful fallbacks when primary update methods fail
πŸ“Š New Update Flow

Manual update check

commit-checker --update

Example output:

πŸ”” New version available: v0.4.3 (you have v0.4.2)
πŸ“‹ What's new:
πŸ”₯ Major New Features
πŸ› οΈ Bug fixes and improvements
πŸ“Š Performance optimizations
...

πŸ“¦ Update options:

  1. Install now
  2. Install on next terminal restart
  3. Skip this update
    ❓ Choose option (1/2/3) [1]:
    Option 2 - Deferred Installation
    When you choose "Install on next terminal restart":

Update is scheduled and marked for installation
Next time you open terminal, update automatically installs
Perfect for when you're in the middle of important work
πŸ› οΈ Technical Improvements
Update System Architecture
Persistent Update Markers: Uses ~/.commit-checker/pending_update for tracking
Cross-Platform Compatibility: Works seamlessly on macOS, Linux, and Windows
Multiple Installation Methods: Tries different pip flags for maximum success rate
Atomic Updates: Clean rollback if update fails
Enhanced Error Handling
Better network error detection and recovery
Graceful handling of GitHub API rate limits
Fallback methods for different Python environment setups
Clear error messages with actionable solutions
πŸ”§ User Experience Enhancements
Before v0.4.2:
πŸ”” New version available: v0.4.3 (you have v0.4.2)
❓ Update now? [Y/n]:
After v0.4.2:
πŸ”” New version available: v0.4.3 (you have v0.4.2)
πŸ“‹ What's new:
πŸ”₯ Major New Features
πŸ› οΈ Bug fixes and improvements
...

πŸ“¦ Update options:

  1. Install now
  2. Install on next terminal restart
  3. Skip this update
    ❓ Choose option (1/2/3) [1]:
    πŸ“¦ Installation & Upgrade
    For New Users

Quick install (recommended)

curl -s https://raw.githubusercontent.com/AmariahAK/commit-checker/main/scripts/install-safe.sh | bash

Traditional pip install

pip install git+https://github.com/AmariahAK/commit-checker.git@v0.4.2
For Existing Users

Manual update check

commit-checker --update

Or automatic update on next startup

(if you previously chose "Install on next terminal restart")

🌍 Cross-Platform Update Support
The enhanced update system works reliably on:

βœ… macOS (Intel & Apple Silicon) - Handles Homebrew Python environments
βœ… Linux (All distributions) - Works with system and user Python installations
βœ… Windows (10/11 + WSL) - Supports Windows Python and WSL environments
πŸ”„ Update Methods Tried (in order)
pip install --upgrade git+https://github.com/AmariahAK/commit-checker.git@vX.X.X
pip install --upgrade ... --break-system-packages (for externally managed environments)
pip install --upgrade ... --user (for user-only installations)
πŸ› Fixes & Improvements
Fixed: Update interruption issues during work sessions
Fixed: Inconsistent update success rates across different environments
Improved: Update progress feedback and error messages
Enhanced: Compatibility with various Python installation methods
πŸ”§ Under the Hood
New Files & Functions
check_pending_update_on_startup() - Handles deferred updates
mark_pending_update() - Tracks scheduled updates
perform_update() - Robust update execution with fallbacks
~/.commit-checker/pending_update - Update marker file
Backward Compatibility
All existing functionality preserved
Existing configurations automatically work with new update system
No breaking changes to CLI interface
πŸ“‹ What's Unchanged
All your favorite v0.4.1 features remain:

Repository scanning with --scan
Complete repo summaries with --repos-summary
Most active repository detection with --most-active
Configurable emoji/plain output modes
Enhanced uninstall with --force option
Full Changelog: https://github.com/AmariahAK/commit-checker/blob/main/CHANGELOG.md