From 85f3e8d41235158f52a697a4e9a035f5e4aa8412 Mon Sep 17 00:00:00 2001 From: Ernad Husremovic Date: Sun, 16 Nov 2025 17:34:41 +0100 Subject: [PATCH] Enhance validate_fix_submodules.py to detect and auto-fix orphaned worktrees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- odoo-bringout-ventor-outgoing_routing/doc/DEPENDENCIES.md | 6 +++--- .../doc/DEPENDENCIES.md | 8 ++++---- odoo-bringout-ventor-ventor_base/doc/DEPENDENCIES.md | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/odoo-bringout-ventor-outgoing_routing/doc/DEPENDENCIES.md b/odoo-bringout-ventor-outgoing_routing/doc/DEPENDENCIES.md index 66f014e..930e6b0 100644 --- a/odoo-bringout-ventor-outgoing_routing/doc/DEPENDENCIES.md +++ b/odoo-bringout-ventor-outgoing_routing/doc/DEPENDENCIES.md @@ -2,6 +2,6 @@ This addon depends on: -- [sale_management](https://github.com/bringout/oca-ocb-sale/tree/180760d29eed276994d9dc061dc7089d5bfe0014/odoo-bringout-oca-ocb-sale_management) -- [stock_picking_batch](https://github.com/bringout/oca-ocb-warehouse/tree/81e6496fce389797413505803016d3ac487ede13/odoo-bringout-oca-ocb-stock_picking_batch) -- [ventor_base](https://github.com/bringout/ventor/tree/79fa6f262ba26295df0ce98d063a3522b3084a8c/odoo-bringout-ventor-ventor_base) +- [sale_management](https://github.com/bringout/oca-ocb-sale/tree/671ef3554c94fdec41d5dc2b4451bdcfb9abf66e/odoo-bringout-oca-ocb-sale_management) +- [stock_picking_batch](https://github.com/bringout/oca-ocb-warehouse/tree/c945b84263caf64889385d3735546b1fd94a8271/odoo-bringout-oca-ocb-stock_picking_batch) +- [ventor_base](https://github.com/bringout/ventor/tree/42bfdad5e9a8a4ee8217c619f56c12054bae53ab/odoo-bringout-ventor-ventor_base) diff --git a/odoo-bringout-ventor-product_multiple_barcodes/doc/DEPENDENCIES.md b/odoo-bringout-ventor-product_multiple_barcodes/doc/DEPENDENCIES.md index 214433c..91d942d 100644 --- a/odoo-bringout-ventor-product_multiple_barcodes/doc/DEPENDENCIES.md +++ b/odoo-bringout-ventor-product_multiple_barcodes/doc/DEPENDENCIES.md @@ -2,7 +2,7 @@ This addon depends on: -- [product](https://github.com/bringout/oca-ocb-sale/tree/180760d29eed276994d9dc061dc7089d5bfe0014/odoo-bringout-oca-ocb-product) -- [sale](https://github.com/bringout/oca-ocb-sale/tree/180760d29eed276994d9dc061dc7089d5bfe0014/odoo-bringout-oca-ocb-sale) -- [purchase](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-purchase) -- [stock](https://github.com/bringout/oca-ocb-warehouse/tree/81e6496fce389797413505803016d3ac487ede13/odoo-bringout-oca-ocb-stock) +- [product](https://github.com/bringout/oca-ocb-sale/tree/671ef3554c94fdec41d5dc2b4451bdcfb9abf66e/odoo-bringout-oca-ocb-product) +- [sale](https://github.com/bringout/oca-ocb-sale/tree/671ef3554c94fdec41d5dc2b4451bdcfb9abf66e/odoo-bringout-oca-ocb-sale) +- [purchase](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-purchase) +- [stock](https://github.com/bringout/oca-ocb-warehouse/tree/c945b84263caf64889385d3735546b1fd94a8271/odoo-bringout-oca-ocb-stock) diff --git a/odoo-bringout-ventor-ventor_base/doc/DEPENDENCIES.md b/odoo-bringout-ventor-ventor_base/doc/DEPENDENCIES.md index 2f41960..1e6b2cc 100644 --- a/odoo-bringout-ventor-ventor_base/doc/DEPENDENCIES.md +++ b/odoo-bringout-ventor-ventor_base/doc/DEPENDENCIES.md @@ -2,6 +2,6 @@ This addon depends on: -- [base](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-base) -- [stock](https://github.com/bringout/oca-ocb-warehouse/tree/81e6496fce389797413505803016d3ac487ede13/odoo-bringout-oca-ocb-stock) -- [stock_picking_batch](https://github.com/bringout/oca-ocb-warehouse/tree/81e6496fce389797413505803016d3ac487ede13/odoo-bringout-oca-ocb-stock_picking_batch) +- [base](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-base) +- [stock](https://github.com/bringout/oca-ocb-warehouse/tree/c945b84263caf64889385d3735546b1fd94a8271/odoo-bringout-oca-ocb-stock) +- [stock_picking_batch](https://github.com/bringout/oca-ocb-warehouse/tree/c945b84263caf64889385d3735546b1fd94a8271/odoo-bringout-oca-ocb-stock_picking_batch)