From c024b7342a35983af56a45bdb87d34566f658299 Mon Sep 17 00:00:00 2001 From: Ernad Husremovic Date: Sun, 16 Nov 2025 17:33: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-oca-ocb-crm/doc/DEPENDENCIES.md | 22 +++++++++---------- .../doc/DEPENDENCIES.md | 4 ++-- .../doc/DEPENDENCIES.md | 4 ++-- .../doc/DEPENDENCIES.md | 4 ++-- .../doc/DEPENDENCIES.md | 4 ++-- .../doc/DEPENDENCIES.md | 4 ++-- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/odoo-bringout-oca-ocb-crm/doc/DEPENDENCIES.md b/odoo-bringout-oca-ocb-crm/doc/DEPENDENCIES.md index 679fc0b..12f3ac0 100644 --- a/odoo-bringout-oca-ocb-crm/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ocb-crm/doc/DEPENDENCIES.md @@ -2,14 +2,14 @@ This addon depends on: -- [base_setup](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-base_setup) -- [sales_team](https://github.com/bringout/oca-ocb-sale/tree/180760d29eed276994d9dc061dc7089d5bfe0014/odoo-bringout-oca-ocb-sales_team) -- [mail](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-mail) -- [calendar](https://github.com/bringout/oca-ocb-technical/tree/4694b2a7718eea6743646f61d172cd8cd8c0896b/odoo-bringout-oca-ocb-calendar) -- [resource](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-resource) -- [utm](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-utm) -- [web_tour](https://github.com/bringout/oca-ocb-web/tree/b02abf5667ee77c7bb75f0fc96a520d6c1f80ec6/odoo-bringout-oca-ocb-web_tour) -- [web_kanban_gauge](https://github.com/bringout/oca-ocb-web/tree/b02abf5667ee77c7bb75f0fc96a520d6c1f80ec6/odoo-bringout-oca-ocb-web_kanban_gauge) -- [contacts](https://github.com/bringout/oca-ocb-technical/tree/4694b2a7718eea6743646f61d172cd8cd8c0896b/odoo-bringout-oca-ocb-contacts) -- [digest](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-digest) -- [phone_validation](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-phone_validation) +- [base_setup](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-base_setup) +- [sales_team](https://github.com/bringout/oca-ocb-sale/tree/671ef3554c94fdec41d5dc2b4451bdcfb9abf66e/odoo-bringout-oca-ocb-sales_team) +- [mail](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-mail) +- [calendar](https://github.com/bringout/oca-ocb-technical/tree/13ecab7d7d80c5fa25d92dfcf1596b4dfc9b310e/odoo-bringout-oca-ocb-calendar) +- [resource](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-resource) +- [utm](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-utm) +- [web_tour](https://github.com/bringout/oca-ocb-web/tree/719f92b140a2b8619d30657c4a80d7fcdb8ec1b9/odoo-bringout-oca-ocb-web_tour) +- [web_kanban_gauge](https://github.com/bringout/oca-ocb-web/tree/719f92b140a2b8619d30657c4a80d7fcdb8ec1b9/odoo-bringout-oca-ocb-web_kanban_gauge) +- [contacts](https://github.com/bringout/oca-ocb-technical/tree/13ecab7d7d80c5fa25d92dfcf1596b4dfc9b310e/odoo-bringout-oca-ocb-contacts) +- [digest](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-digest) +- [phone_validation](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-phone_validation) diff --git a/odoo-bringout-oca-ocb-crm_iap_enrich/doc/DEPENDENCIES.md b/odoo-bringout-oca-ocb-crm_iap_enrich/doc/DEPENDENCIES.md index 31027c9..dd0e81a 100644 --- a/odoo-bringout-oca-ocb-crm_iap_enrich/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ocb-crm_iap_enrich/doc/DEPENDENCIES.md @@ -2,5 +2,5 @@ This addon depends on: -- [iap_crm](https://github.com/bringout/oca-ocb-technical/tree/4694b2a7718eea6743646f61d172cd8cd8c0896b/odoo-bringout-oca-ocb-iap_crm) -- [iap_mail](https://github.com/bringout/oca-ocb-technical/tree/4694b2a7718eea6743646f61d172cd8cd8c0896b/odoo-bringout-oca-ocb-iap_mail) +- [iap_crm](https://github.com/bringout/oca-ocb-technical/tree/13ecab7d7d80c5fa25d92dfcf1596b4dfc9b310e/odoo-bringout-oca-ocb-iap_crm) +- [iap_mail](https://github.com/bringout/oca-ocb-technical/tree/13ecab7d7d80c5fa25d92dfcf1596b4dfc9b310e/odoo-bringout-oca-ocb-iap_mail) diff --git a/odoo-bringout-oca-ocb-crm_iap_mine/doc/DEPENDENCIES.md b/odoo-bringout-oca-ocb-crm_iap_mine/doc/DEPENDENCIES.md index 31027c9..dd0e81a 100644 --- a/odoo-bringout-oca-ocb-crm_iap_mine/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ocb-crm_iap_mine/doc/DEPENDENCIES.md @@ -2,5 +2,5 @@ This addon depends on: -- [iap_crm](https://github.com/bringout/oca-ocb-technical/tree/4694b2a7718eea6743646f61d172cd8cd8c0896b/odoo-bringout-oca-ocb-iap_crm) -- [iap_mail](https://github.com/bringout/oca-ocb-technical/tree/4694b2a7718eea6743646f61d172cd8cd8c0896b/odoo-bringout-oca-ocb-iap_mail) +- [iap_crm](https://github.com/bringout/oca-ocb-technical/tree/13ecab7d7d80c5fa25d92dfcf1596b4dfc9b310e/odoo-bringout-oca-ocb-iap_crm) +- [iap_mail](https://github.com/bringout/oca-ocb-technical/tree/13ecab7d7d80c5fa25d92dfcf1596b4dfc9b310e/odoo-bringout-oca-ocb-iap_mail) diff --git a/odoo-bringout-oca-ocb-crm_livechat/doc/DEPENDENCIES.md b/odoo-bringout-oca-ocb-crm_livechat/doc/DEPENDENCIES.md index 7baaf30..18f0b1c 100644 --- a/odoo-bringout-oca-ocb-crm_livechat/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ocb-crm_livechat/doc/DEPENDENCIES.md @@ -2,5 +2,5 @@ This addon depends on: -- [crm](https://github.com/bringout/oca-ocb-crm/tree/cadac273935b3b48b861e87519679b7e8f8a1403/odoo-bringout-oca-ocb-crm) -- [im_livechat](https://github.com/bringout/oca-ocb-mail/tree/d3df84d6ee90679ea68ea2f315eb8c8fdb7224da/odoo-bringout-oca-ocb-im_livechat) +- [crm](https://github.com/bringout/oca-ocb-crm/tree/b0e7ae9893fb9b2215ac71dbca2938ae8660ab63/odoo-bringout-oca-ocb-crm) +- [im_livechat](https://github.com/bringout/oca-ocb-mail/tree/73bca97800f93e6def3723de72b3a1d6fb3db6d6/odoo-bringout-oca-ocb-im_livechat) diff --git a/odoo-bringout-oca-ocb-crm_mail_plugin/doc/DEPENDENCIES.md b/odoo-bringout-oca-ocb-crm_mail_plugin/doc/DEPENDENCIES.md index c370a8f..7293b96 100644 --- a/odoo-bringout-oca-ocb-crm_mail_plugin/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ocb-crm_mail_plugin/doc/DEPENDENCIES.md @@ -2,5 +2,5 @@ This addon depends on: -- [crm](https://github.com/bringout/oca-ocb-crm/tree/cadac273935b3b48b861e87519679b7e8f8a1403/odoo-bringout-oca-ocb-crm) -- [mail_plugin](https://github.com/bringout/oca-ocb-core/tree/5d1ce43101a4d83b4ac660942e4a7a462823262f/odoo-bringout-oca-ocb-mail_plugin) +- [crm](https://github.com/bringout/oca-ocb-crm/tree/b0e7ae9893fb9b2215ac71dbca2938ae8660ab63/odoo-bringout-oca-ocb-crm) +- [mail_plugin](https://github.com/bringout/oca-ocb-core/tree/81050e9b17d26ece0e41494a9f310351df1bddfc/odoo-bringout-oca-ocb-mail_plugin) diff --git a/odoo-bringout-oca-ocb-crm_sms/doc/DEPENDENCIES.md b/odoo-bringout-oca-ocb-crm_sms/doc/DEPENDENCIES.md index 26cddbb..c994e61 100644 --- a/odoo-bringout-oca-ocb-crm_sms/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ocb-crm_sms/doc/DEPENDENCIES.md @@ -2,5 +2,5 @@ This addon depends on: -- [crm](https://github.com/bringout/oca-ocb-crm/tree/cadac273935b3b48b861e87519679b7e8f8a1403/odoo-bringout-oca-ocb-crm) -- [sms](https://github.com/bringout/oca-ocb-mail/tree/d3df84d6ee90679ea68ea2f315eb8c8fdb7224da/odoo-bringout-oca-ocb-sms) +- [crm](https://github.com/bringout/oca-ocb-crm/tree/b0e7ae9893fb9b2215ac71dbca2938ae8660ab63/odoo-bringout-oca-ocb-crm) +- [sms](https://github.com/bringout/oca-ocb-mail/tree/73bca97800f93e6def3723de72b3a1d6fb3db6d6/odoo-bringout-oca-ocb-sms)