Commit Graph

80 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
a14418e838 Add dev tools and make build/release platform-aware (Joomla/Dolibarr)
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 21:14:45 +00:00
copilot-swe-agent[bot]
f8568ffff5 Convert shell scripts to Python with Joomla/Dolibarr platform support
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:26:12 +00:00
copilot-swe-agent[bot]
22bf6894c9 Fix scripts README.md
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:23:38 +00:00
copilot-swe-agent[bot]
a90461f503 Update documentation for Python scripts and Dolibarr support
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:23:16 +00:00
copilot-swe-agent[bot]
09989a386c Delete all shell script files, keeping only Python versions
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:21:25 +00:00
copilot-swe-agent[bot]
c471225a93 Add validate_all.py and update package_extension.py for Dolibarr support
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:20:19 +00:00
copilot-swe-agent[bot]
ef9bf28444 Update workflows and Makefile to use Python scripts instead of shell scripts
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:18:51 +00:00
copilot-swe-agent[bot]
4ad79f27d2 Add Dolibarr support and convert tabs/no_secrets validation to Python
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 08:16:35 +00:00
copilot-swe-agent[bot]
d1818ec859 feat: add Python packaging script for extensions
- Add scripts/release/package_extension.py for creating distribution ZIPs
- Auto-detects extension type, version, and manifest
- Configurable exclusion patterns
- Support for including/excluding docs and tests
- Progress indicators during packaging
- JSON output for automation
- Tested and working (175 files, 477KB package)

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 05:19:06 +00:00
copilot-swe-agent[bot]
404987a59d feat: convert validation scripts to Python
- Add scripts/validate/manifest.py for manifest validation
- Add scripts/validate/php_syntax.py for PHP syntax checking
- Add scripts/validate/xml_wellformed.py for XML validation
- All Python validators maintain CLI compatibility with bash versions
- Support both JSON output and verbose human-readable output
- Update .gitignore to exclude Python cache files
- Update Makefile with scaffolding commands

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 05:17:28 +00:00
copilot-swe-agent[bot]
64f4b959f8 Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 04:41:54 +00:00
copilot-swe-agent[bot]
4d8963fd27 feat: add Python library infrastructure and extension scaffolding
- Add scripts/lib/common.py with core utilities (logging, validation, JSON, file ops, git)
- Add scripts/lib/joomla_manifest.py for manifest parsing and validation
- Add scripts/run/scaffold_extension.py to create extension scaffolding
- Support all Joomla extension types (component, module, plugin, template, package)
- Maintain CLI compatibility with existing bash scripts
- Foundation for converting remaining scripts to Python

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 04:40:29 +00:00
copilot-swe-agent[bot]
15205433c9 fix: address code review feedback
- Fix command injection vulnerabilities in pre-commit script
- Use proper file path quoting for YAML validation
- Use xargs -0 for safe filename handling
- Fix incorrect date (2026 -> 2025) in documentation
- Add scripts/git to allowed directories in repo_health workflow

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 04:29:20 +00:00
copilot-swe-agent[bot]
e1c7f54fec feat: add development workflow improvements
- Add comprehensive workflow documentation (WORKFLOW_GUIDE.md)
- Add quick start guide (QUICK_START.md)
- Add caching to GitHub Actions workflows for faster CI/CD
- Create Makefile with common development tasks
- Add pre-commit hook script for local validation
- Add VS Code tasks configuration
- Add git hooks installation script
- Update .gitignore to allow VS Code config files

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 04:27:23 +00:00
Jonathan Miller
9d38c4d5d7 Merge pull request #30 from mokoconsulting-tech/copilot/add-joomla-development-scripts
Add Joomla-aware development workflows and scripts
2026-01-03 22:17:26 -06:00
copilot-swe-agent[bot]
d9b4147e8b Update documentation and fix repository URL
- Add package_extension.sh documentation to scripts README
- Add Development section to main README with Joomla workflows
- Fix repository URL typo (moko-cassiopeoa -> moko-cassiopeia)
- Remove extra space in repository URL

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 04:12:31 +00:00
copilot-swe-agent[bot]
9d7651d349 Add Joomla-aware development workflows and scripts
- Created extension packaging script
- Added PHPStan configuration for static analysis
- Added PHP_CodeSniffer configuration with Joomla standards
- Created Codeception testing framework setup
- Added PHP quality check workflow
- Added Joomla testing workflow with multiple versions
- Added staging deployment workflow
- Created comprehensive documentation
- Set up test directory structure with sample tests

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 03:03:20 +00:00
copilot-swe-agent[bot]
dab2477f55 Fix newline handling in migrate_unreleased.sh Python code
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 02:05:54 +00:00
copilot-swe-agent[bot]
a0babe26e4 Add migrate_unreleased.sh script to automate changelog migrations
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 02:03:47 +00:00
copilot-swe-agent[bot]
c286e98212 Remove mandatory Unreleased section requirement from changelog validation
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 01:36:00 +00:00
copilot-swe-agent[bot]
2534fd3cae Address code review feedback - improve error handling and use bash built-ins
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 01:26:21 +00:00
copilot-swe-agent[bot]
d89744df28 Add CI improvements and version management scripts
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-04 01:24:38 +00:00
copilot-swe-agent[bot]
aaa6560d74 Implement verbose error feedback across all scripts
- Enhanced die() function with environment context and stack trace
- Added detailed error output with line numbers and file paths
- Improved check_dependencies with installation guides
- Enhanced PHP syntax validation with full error details
- Added verbose error messages to manifest, tabs, and paths validations
- Updated validate_all to show error summaries (full output in verbose mode)
- Updated smoke_test with detailed PHP error reporting
- Updated ENTERPRISE.md with verbose error examples
- All error messages now provide actionable troubleshooting steps

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 23:16:45 +00:00
copilot-swe-agent[bot]
0341131f18 Add enterprise features: timeout handling, duration tracking, and health checking
- Add timeout handling to PHP syntax validation
- Add execution duration tracking to smoke_test and validate_all
- Create script_health.sh to validate enterprise standards compliance
- Enhance error messages with better context and actionable guidance
- Add log_duration helper function to common.sh
- Update ENTERPRISE.md and README.md with new features
- All scripts now follow complete enterprise standards

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 23:12:40 +00:00
copilot-swe-agent[bot]
f2b8bc9003 Add enterprise-grade standards to scripts
- Add copyright headers to all validation scripts
- Add usage/help functions to user-facing scripts
- Enhance common.sh with dependency checking and timestamps
- Add ENTERPRISE.md with comprehensive standards documentation
- Update scripts/README.md with enterprise features section
- Improve error messages and exit code handling

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 23:08:55 +00:00
Jonathan Miller
d85973e2d0 Merge pull request #14 from mokoconsulting-tech/copilot/update-ci-workflow-validation
Restrict tabs validation to YAML files only
2026-01-03 15:46:55 -06:00
copilot-swe-agent[bot]
62f5325338 Address code review feedback
- Add version component validation in versions.sh
- Add verbose mode to validate_all.sh for debugging
- Update documentation with verbose mode usage
- Improve error messages with hints to use verbose mode

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 21:39:22 +00:00
copilot-swe-agent[bot]
4bff6c4ad7 Add validate_all.sh script for comprehensive testing
- Create validate_all.sh to run all validation checks
- Provide clear summary with pass/fail counts
- Update scripts/README.md with validate_all documentation
- Fix logging.sh path resolution for sourcing

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 21:36:49 +00:00
copilot-swe-agent[bot]
e8d91a717c Add comprehensive scripts documentation
- Create scripts/README.md with detailed documentation
- Document all script categories and their usage
- Add examples and best practices
- Include CI integration information

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 21:35:11 +00:00
copilot-swe-agent[bot]
ef039cf91f Implement core script improvements
- Add joomla_manifest.sh library with manifest parsing functions
- Add smoke_test.sh for repository validation
- Add versions.sh for version management
- Add JSON utilities to common.sh
- Fix logging.sh with proper enhanced logging functions
- Make all scripts executable

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 21:33:31 +00:00
copilot-swe-agent[bot]
835632460e Update tabs validation to only check YAML files where tabs are not allowed
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-03 21:31:52 +00:00
Jonathan Miller
443f15d722 Clean up header in xml_wellformed.sh
Removed copyright and license information from the script.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:19:13 -06:00
Jonathan Miller
beba380972 Clean up php_syntax.sh header comments
Removed copyright and licensing information from the script.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:18:57 -06:00
Jonathan Miller
4567237650 Add shebang to no_secrets.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:18:40 -06:00
Jonathan Miller
598d8743f7 Update manifest.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:18:30 -06:00
Jonathan Miller
b17e2d5d59 Add shebang to license_headers.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:18:16 -06:00
Jonathan Miller
931d2693e4 Update language_structure.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:18:07 -06:00
Jonathan Miller
cbee921f97 Add shebang to changelog.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:17:58 -06:00
Jonathan Miller
a918a844c6 Remove copyright notice from no_secrets.sh
Removed copyright and licensing information from the script.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:17:34 -06:00
Jonathan Miller
8753de4847 Update manifest.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:17:24 -06:00
Jonathan Miller
15b8448184 Update license_headers.sh
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:17:11 -06:00
Jonathan Miller
53a2205204 Remove copyright notice from language_structure.sh
Removed copyright and licensing information from the script.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:16:55 -06:00
Jonathan Miller
d57bf419d5 Remove copyright comments from changelog.sh
Removed copyright and licensing information from the changelog script.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:16:36 -06:00
Jonathan Miller
70e3951377 Refactor paths.sh to improve readability and logic
Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:16:21 -06:00
Jonathan Miller
1a667920ab Refactor tabs.sh to use bash for tab detection
Removed copyright notice and unnecessary comments. Updated script to detect tab characters in source files using bash instead of Python.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:16:04 -06:00
Jonathan Miller
d643874de7 Refactor version alignment script for better checks
Updated the version alignment script to improve functionality and error handling.

Signed-off-by: Jonathan Miller <jmiller2979@gmail.com>
2026-01-03 15:15:46 -06:00
66e5204cc3 Update xml_wellformed.sh 2026-01-03 13:21:09 -06:00
c9ac58d342 Scripts/Validation Update 2026-01-03 12:50:10 -06:00
8401568fc0 Update paths.sh 2026-01-03 12:00:29 -06:00
e37e6ed080 Naming Cleanup 2026-01-03 12:00:04 -06:00