From ab7797e4a29fac9ecc1de9ff043e710c2081a0dc Mon Sep 17 00:00:00 2001 From: Ernad Husremovic Date: Sat, 30 Aug 2025 19:28:04 +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 --- .../doc/DEPENDENCIES.md | 2 +- .../doc/DEPENDENCIES.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/odoo-bringout-akretion-account_invoice_margin/doc/DEPENDENCIES.md b/odoo-bringout-akretion-account_invoice_margin/doc/DEPENDENCIES.md index bbfa912..20334f3 100644 --- a/odoo-bringout-akretion-account_invoice_margin/doc/DEPENDENCIES.md +++ b/odoo-bringout-akretion-account_invoice_margin/doc/DEPENDENCIES.md @@ -2,4 +2,4 @@ This addon depends on: -- [account](https://github.com/bringout/oca-ocb-accounting/tree/6e99f2e941ecad12aceb9b1f887fbe526940de95/odoo-bringout-oca-ocb-account) +- [account](https://github.com/bringout/oca-ocb-accounting/tree/3bdbee2033c3989f108204c90af9cf1db37bf0a0/odoo-bringout-oca-ocb-account) diff --git a/odoo-bringout-akretion-product_print_zpl_barcode/doc/DEPENDENCIES.md b/odoo-bringout-akretion-product_print_zpl_barcode/doc/DEPENDENCIES.md index 6b3b694..c46f3b0 100644 --- a/odoo-bringout-akretion-product_print_zpl_barcode/doc/DEPENDENCIES.md +++ b/odoo-bringout-akretion-product_print_zpl_barcode/doc/DEPENDENCIES.md @@ -2,6 +2,6 @@ This addon depends on: -- [product](https://github.com/bringout/oca-ocb-sale/tree/cfc4dbeb59ab3594bd1aa8f3bb16a1ee00557b4d/odoo-bringout-oca-ocb-product) -- [barcodes](https://github.com/bringout/oca-ocb-technical/tree/b2a91e3b975dae4980028dc64efeda7a6a77a647/odoo-bringout-oca-ocb-barcodes) -- [stock](https://github.com/bringout/oca-ocb-warehouse/tree/ffbc26923f1cbb52ea57b79a3bc1781623af2ae9/odoo-bringout-oca-ocb-stock) +- [product](https://github.com/bringout/oca-ocb-sale/tree/5d9b47ce90463a1c61e6fb80db86d42fb811e501/odoo-bringout-oca-ocb-product) +- [barcodes](https://github.com/bringout/oca-ocb-technical/tree/800a8ab35febbc905f0bbd27ff013f5d4f07acf5/odoo-bringout-oca-ocb-barcodes) +- [stock](https://github.com/bringout/oca-ocb-warehouse/tree/1135de9279731def9c756b5192f8860b5a0e7e59/odoo-bringout-oca-ocb-stock)