mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-22 07:22:07 +01:00
- Modified cyberpanel.sh to verify the existence of the development branch using the GitHub API, improving accuracy in branch checks. - Updated BRANCH_PREFIX_FIX.md to include confirmation of GitHub API verification for the v2.5.5-dev branch. - Enhanced test_fixes.sh to include a test for the v2.5.5-dev branch via GitHub API, ensuring reliable branch validation.
CyberPanel Installation Tools
This directory contains utility scripts for testing and validating CyberPanel installation fixes.
Files
test_fixes.sh
A comprehensive test script that validates all the installation fixes applied to CyberPanel.
Purpose:
- Validates that all critical installation issues have been resolved
- Tests requirements file fallback logic
- Verifies MariaDB version updates
- Checks GPG fix implementations
- Validates branch/commit existence verification
Usage:
# Run from the cyberpanel root directory
cd /path/to/cyberpanel
bash tools/test_fixes.sh
Requirements:
- Linux/Unix environment with bash
- curl command available
- Internet connectivity for API calls
What it tests:
- Requirements file availability (404/200 responses)
- Commit validation via GitHub API
- Available branches listing
- MariaDB repository accessibility
- File modification verification
- GPG fix implementation
- Requirements fallback logic
- Branch/commit validation
Note: This script is primarily for development and maintenance purposes. It's not required for normal CyberPanel installation.
When to Use
- After modifying installation scripts
- When troubleshooting installation issues
- During development of new fixes
- For quality assurance validation
Output
The script provides clear ✅/❌ indicators for each test, making it easy to identify any issues with the installation fixes.