mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-25 18:12:03 +02:00
Optimize refresh_package_links.py with local hash comparison
- 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
This commit is contained in:
parent
3216ae97bd
commit
a5fdd4dbc1
19 changed files with 43 additions and 43 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [contacts](https://github.com/bringout/oca-ocb-technical/tree/b2a91e3b975dae4980028dc64efeda7a6a77a647/odoo-bringout-oca-ocb-contacts)
|
||||
- [base_vat](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base_vat)
|
||||
- [l10n_latam_base](https://github.com/bringout/oca-ocb-l10n_europe/tree/df4e9c04063f84cdc1ffe56f3b52d86963add46e/odoo-bringout-oca-ocb-l10n_latam_base)
|
||||
- [l10n_latam_invoice_document](https://github.com/bringout/oca-ocb-l10n_europe/tree/df4e9c04063f84cdc1ffe56f3b52d86963add46e/odoo-bringout-oca-ocb-l10n_latam_invoice_document)
|
||||
- [uom](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-uom)
|
||||
- [contacts](https://github.com/bringout/oca-ocb-technical/tree/800a8ab35febbc905f0bbd27ff013f5d4f07acf5/odoo-bringout-oca-ocb-contacts)
|
||||
- [base_vat](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base_vat)
|
||||
- [l10n_latam_base](https://github.com/bringout/oca-ocb-l10n_europe/tree/d13d52acaf033ed99ee03c2c2a094b66fa3a343e/odoo-bringout-oca-ocb-l10n_latam_base)
|
||||
- [l10n_latam_invoice_document](https://github.com/bringout/oca-ocb-l10n_europe/tree/d13d52acaf033ed99ee03c2c2a094b66fa3a343e/odoo-bringout-oca-ocb-l10n_latam_invoice_document)
|
||||
- [uom](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-uom)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue