mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-18 04:42: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
dabf6adc4f
commit
24ef6419c3
51 changed files with 59 additions and 59 deletions
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [project](https://github.com/bringout/oca-ocb-project/tree/7a956d96b89e1461e088e858c00a4cf1d573f5fb/odoo-bringout-oca-ocb-project)
|
||||
- [project](https://github.com/bringout/oca-ocb-project/tree/0112fcb0c9766c2d5bf735c19a409b3524c53336/odoo-bringout-oca-ocb-project)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue