From aad9e0572122bb9cc5ef51484c10a554fc9a9f45 Mon Sep 17 00:00:00 2001 From: Ernad Husremovic Date: Sat, 30 Aug 2025 19:28:06 +0200 Subject: [PATCH] Optimize refresh_package_links.py with local hash comparison MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added local hash comparison to prevent unnecessary GitHub URL generation - Only build GitHub mappings for packages that actually changed commit hashes - Reduced file updates from 1758/2075 to 1/2075 files (99.94% improvement) - Implemented get_current_hash_from_content() to extract hashes from existing URLs - Added build_local_hash_mapping() for fast local git hash lookup - Performance improvement: only fetch git hashes when changes are detected 🤖 assisted by claude --- odoo-bringout-oca-ai-ai_oca_bridge/doc/DEPENDENCIES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo-bringout-oca-ai-ai_oca_bridge/doc/DEPENDENCIES.md b/odoo-bringout-oca-ai-ai_oca_bridge/doc/DEPENDENCIES.md index 5ab32fc..48b00e9 100644 --- a/odoo-bringout-oca-ai-ai_oca_bridge/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-ai-ai_oca_bridge/doc/DEPENDENCIES.md @@ -2,4 +2,4 @@ This addon depends on: -- [mail](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-mail) +- [mail](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-mail)