mirror of
https://github.com/bringout/oca-ocb-security.git
synced 2026-04-18 03:52:00 +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
91f433a47b
commit
d486db3dff
15 changed files with 29 additions and 29 deletions
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [base](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base_setup)
|
||||
- [base](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base_setup)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [base](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-web)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base_setup)
|
||||
- [auth_signup](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_signup)
|
||||
- [base](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-web)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base_setup)
|
||||
- [auth_signup](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_signup)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base_setup)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-web)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base_setup)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-web)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [auth_password_policy](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_password_policy)
|
||||
- [portal](https://github.com/bringout/oca-ocb-website/tree/bd6600a1205eb4c26e7f290fe92240c883985125/odoo-bringout-oca-ocb-portal)
|
||||
- [auth_password_policy](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_password_policy)
|
||||
- [portal](https://github.com/bringout/oca-ocb-website/tree/03e03d5574c9d9e357b09fadc1b8eea46aeb8fc8/odoo-bringout-oca-ocb-portal)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [auth_password_policy](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_password_policy)
|
||||
- [auth_signup](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_signup)
|
||||
- [auth_password_policy](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_password_policy)
|
||||
- [auth_signup](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_signup)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base_setup)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-mail)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-web)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base_setup)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-mail)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-web)
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-web)
|
||||
- [web](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-web)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [auth_totp](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_totp)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-mail)
|
||||
- [auth_totp](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_totp)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-mail)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [auth_totp](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_totp)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-mail)
|
||||
- [auth_totp](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_totp)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-mail)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [portal](https://github.com/bringout/oca-ocb-website/tree/bd6600a1205eb4c26e7f290fe92240c883985125/odoo-bringout-oca-ocb-portal)
|
||||
- [auth_totp](https://github.com/bringout/oca-ocb-security/tree/04eb178cd56ee1917e52a417efa0c0bc26578372/odoo-bringout-oca-ocb-auth_totp)
|
||||
- [portal](https://github.com/bringout/oca-ocb-website/tree/03e03d5574c9d9e357b09fadc1b8eea46aeb8fc8/odoo-bringout-oca-ocb-portal)
|
||||
- [auth_totp](https://github.com/bringout/oca-ocb-security/tree/91f433a47b5dc8d99adf130ce8c6d0cb54a17359/odoo-bringout-oca-ocb-auth_totp)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [google_account](https://github.com/bringout/oca-ocb-accounting/tree/6e99f2e941ecad12aceb9b1f887fbe526940de95/odoo-bringout-oca-ocb-google_account)
|
||||
- [calendar](https://github.com/bringout/oca-ocb-technical/tree/b2a91e3b975dae4980028dc64efeda7a6a77a647/odoo-bringout-oca-ocb-calendar)
|
||||
- [google_account](https://github.com/bringout/oca-ocb-accounting/tree/3bdbee2033c3989f108204c90af9cf1db37bf0a0/odoo-bringout-oca-ocb-google_account)
|
||||
- [calendar](https://github.com/bringout/oca-ocb-technical/tree/800a8ab35febbc905f0bbd27ff013f5d4f07acf5/odoo-bringout-oca-ocb-calendar)
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-mail)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-mail)
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-base_setup)
|
||||
- [base_setup](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-base_setup)
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [microsoft_account](https://github.com/bringout/oca-ocb-accounting/tree/6e99f2e941ecad12aceb9b1f887fbe526940de95/odoo-bringout-oca-ocb-microsoft_account)
|
||||
- [calendar](https://github.com/bringout/oca-ocb-technical/tree/b2a91e3b975dae4980028dc64efeda7a6a77a647/odoo-bringout-oca-ocb-calendar)
|
||||
- [microsoft_account](https://github.com/bringout/oca-ocb-accounting/tree/3bdbee2033c3989f108204c90af9cf1db37bf0a0/odoo-bringout-oca-ocb-microsoft_account)
|
||||
- [calendar](https://github.com/bringout/oca-ocb-technical/tree/800a8ab35febbc905f0bbd27ff013f5d4f07acf5/odoo-bringout-oca-ocb-calendar)
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
This addon depends on:
|
||||
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/156bd325ef4782b980ca23175711c453db07528e/odoo-bringout-oca-ocb-mail)
|
||||
- [mail](https://github.com/bringout/oca-ocb-core/tree/9d67cf00c06114fd0d5a87a06a485b3dabf57e2b/odoo-bringout-oca-ocb-mail)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue