mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-18 04:12:08 +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
7fb3fb6283
commit
8ba7c48b94
23 changed files with 53 additions and 53 deletions
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [hr_skills](https://github.com/bringout/oca-ocb-hr/tree/7056a6865f6bd273a5c4cfc973b3c7a819ee6af0/odoo-bringout-oca-ocb-hr_skills)
|
||||
- [website_slides](https://github.com/bringout/oca-ocb-website/tree/bd6600a1205eb4c26e7f290fe92240c883985125/odoo-bringout-oca-ocb-website_slides)
|
||||
- [hr_skills](https://github.com/bringout/oca-ocb-hr/tree/7fb3fb6283239c624dcbacc56df725f7a52d28aa/odoo-bringout-oca-ocb-hr_skills)
|
||||
- [website_slides](https://github.com/bringout/oca-ocb-website/tree/03e03d5574c9d9e357b09fadc1b8eea46aeb8fc8/odoo-bringout-oca-ocb-website_slides)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue