From 535f73512082a4ec2dc4c1f68397bd608dd3bdc2 Mon Sep 17 00:00:00 2001 From: Ernad Husremovic Date: Sat, 30 Aug 2025 19:28:24 +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-iot-iot_oca/doc/DEPENDENCIES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo-bringout-oca-iot-iot_oca/doc/DEPENDENCIES.md b/odoo-bringout-oca-iot-iot_oca/doc/DEPENDENCIES.md index b5eae4d..f4dc904 100644 --- a/odoo-bringout-oca-iot-iot_oca/doc/DEPENDENCIES.md +++ b/odoo-bringout-oca-iot-iot_oca/doc/DEPENDENCIES.md @@ -2,4 +2,4 @@ This addon depends on: -- [base](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base) +- [base](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base)