Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.73 KB

File metadata and controls

62 lines (45 loc) · 1.73 KB

WhisperJAV Test Stub Repository

This is a minimal test stub for testing WhisperJAV's upgrade system.

DO NOT USE THIS FOR ACTUAL WHISPERJAV FUNCTIONALITY.

Purpose

This repository provides:

  • Multiple version tags for upgrade path testing
  • Minimal pip-installable package structure
  • Test release notes for notification level testing
  • Checksum manifest for security testing

Available Versions

Tag Version Use Case
v1.6.0 1.6.0 Old baseline (major upgrade test)
v1.7.0 1.7.0 Minor version baseline
v1.7.4 1.7.4 Current stable simulation
v1.7.5 1.7.5 Patch upgrade test
v1.7.5-security 1.7.5 Critical/security update test
v1.8.0 1.8.0 Minor upgrade test
v2.0.0 2.0.0 Major upgrade test

Usage

Point WhisperJAV at this stub

set WHISPERJAV_UPDATE_API_URL=https://api.github.com/repos/meizhong986/whisperjav-test/releases/latest
set WHISPERJAV_RELEASES_URL=https://github.com/meizhong986/whisperjav-test/releases
set WHISPERJAV_UPGRADE_REPO=git+https://github.com/meizhong986/whisperjav-test.git@v1.7.5
set WHISPERJAV_CACHE_HOURS=0

Install specific version

pip install git+https://github.com/meizhong986/whisperjav-test.git@v1.6.0

Test upgrade

# Install old version
pip install git+https://github.com/meizhong986/whisperjav-test.git@v1.6.0

# Run upgrade (will upgrade to whatever WHISPERJAV_UPGRADE_REPO points to)
python -m whisperjav.upgrade --yes

Maintenance

To add a new test version:

  1. Update whisperjav/__version__.py
  2. Update setup.py version
  3. Commit changes
  4. Create and push tag: git tag vX.Y.Z && git push origin vX.Y.Z
  5. Create GitHub release with appropriate release notes