Convert shell scripts to Python with Joomla/Dolibarr platform support #32

Merged
Copilot merged 8 commits from copilot/convert-scripts-to-python into main 2026-01-04 08:29:37 +00:00
2 changed files with 10 additions and 2 deletions
Showing only changes of commit a90461f503 - Show all commits

View File

@@ -152,7 +152,7 @@ make quality
make package
# Install Git hooks (optional but recommended)
./scripts/git/install-hooks.sh
python3 ./scripts/git/install-hooks.py
```
copilot-pull-request-reviewer[bot] commented 2026-01-04 08:35:24 +00:00 (Migrated from github.com)
Review

The code references scripts/git/install-hooks.py but this file is shown as deleted (.sh version) without a Python replacement being added in the PR. This will break the installation process.

./scripts/git/install-hooks.sh
The code references `scripts/git/install-hooks.py` but this file is shown as deleted (.sh version) without a Python replacement being added in the PR. This will break the installation process. ```suggestion ./scripts/git/install-hooks.sh ```
**New to the project?** See [Quick Start Guide](./docs/QUICK_START.md) for a 5-minute walkthrough.
@@ -168,15 +168,23 @@ make package
### Available Tools
- **Makefile**: Run `make help` to see all available commands
- **Python Scripts**: All automation scripts are now Python-based for cross-platform compatibility
- **Pre-commit Hooks**: Automatic validation before commits
- **VS Code Tasks**: Pre-configured development tasks
- **GitHub Actions**: Automated CI/CD pipelines
### Cross-Platform Support
All scripts are now written in Python for maximum cross-platform compatibility:
- **Joomla Extension Support**: Full support for Joomla 4.x and 5.x templates, components, modules, and plugins
- **Dolibarr Module Support**: Automatic detection and packaging of Dolibarr modules
- **Platform Detection**: Scripts automatically detect whether you're working with Joomla or Dolibarr extensions
### Joomla Development Workflows
Comprehensive Joomla-aware development tools and workflows are available:
- **Extension Packaging** - Create distributable ZIP packages
- **Extension Packaging** - Create distributable ZIP packages for Joomla or Dolibarr
- **PHP Quality Checks** - PHPStan and PHP_CodeSniffer with Joomla standards
- **Automated Testing** - Codeception framework with multiple Joomla versions
- **CI/CD Pipelines** - GitHub Actions with caching for faster builds