Enhance validate_fix_submodules.py to detect and auto-fix orphaned worktrees

- Add detection of orphaned worktree directories (empty dirs or worktrees/ paths without .git)
- Implement automatic removal of orphaned worktrees with --fix option
- Remove orphaned worktrees oca-ocb-accounting-16.1 and oca-ocb-core-16.1
- Update script documentation to explain worktree handling

🤖 assisted by claude

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2025-11-16 17:34:40 +01:00
parent b9712bbceb
commit 5d2a6e1391
12 changed files with 21 additions and 21 deletions

View file

@ -2,7 +2,7 @@
This addon depends on:
- [accounting_pdf_reports](https://github.com/bringout/odoomates/tree/2a8609fdffc047d157edae083c70978224eb7153/odoo-bringout-odoomates-accounting_pdf_reports)
- [om_account_budget](https://github.com/bringout/odoomates/tree/2a8609fdffc047d157edae083c70978224eb7153/odoo-bringout-odoomates-om_account_budget)
- [om_recurring_payments](https://github.com/bringout/odoomates/tree/2a8609fdffc047d157edae083c70978224eb7153/odoo-bringout-odoomates-om_recurring_payments)
- [om_account_daily_reports](https://github.com/bringout/odoomates/tree/2a8609fdffc047d157edae083c70978224eb7153/odoo-bringout-odoomates-om_account_daily_reports)
- [accounting_pdf_reports](https://github.com/bringout/odoomates/tree/b9712bbceb773cd362a6c18561b1a9e945712857/odoo-bringout-odoomates-accounting_pdf_reports)
- [om_account_budget](https://github.com/bringout/odoomates/tree/b9712bbceb773cd362a6c18561b1a9e945712857/odoo-bringout-odoomates-om_account_budget)
- [om_recurring_payments](https://github.com/bringout/odoomates/tree/b9712bbceb773cd362a6c18561b1a9e945712857/odoo-bringout-odoomates-om_recurring_payments)
- [om_account_daily_reports](https://github.com/bringout/odoomates/tree/b9712bbceb773cd362a6c18561b1a9e945712857/odoo-bringout-odoomates-om_account_daily_reports)