Browse Source

Fix hook priority conflicts and standardize on_Binary naming

on_Snapshot priority fixes:
- redirects.bg.js stays at 31, staticfile.bg.js → 32
- headers.js stays at 55, readability.py → 56
- mercury.py → 57, htmltotext.py → 58

on_Binary hooks now have numeric priorities:
- 10: npm_install.py
- 11: pip_install.py
- 12: brew_install.py
- 13: apt_install.py
- 14: custom_install.py
- 15: env_install.py
Claude 1 month ago
parent
commit
09a1ca3134

+ 0 - 0
archivebox/plugins/apt/on_Binary__install_using_apt_provider.py → archivebox/plugins/apt/on_Binary__13_apt_install.py


+ 0 - 0
archivebox/plugins/brew/on_Binary__install_using_brew_provider.py → archivebox/plugins/brew/on_Binary__12_brew_install.py


+ 0 - 0
archivebox/plugins/custom/on_Binary__install_using_custom_bash.py → archivebox/plugins/custom/on_Binary__14_custom_install.py


+ 0 - 0
archivebox/plugins/env/on_Binary__install_using_env_provider.py → archivebox/plugins/env/on_Binary__15_env_install.py


+ 0 - 0
archivebox/plugins/htmltotext/on_Snapshot__57_htmltotext.py → archivebox/plugins/htmltotext/on_Snapshot__58_htmltotext.py


+ 0 - 0
archivebox/plugins/mercury/on_Snapshot__56_mercury.py → archivebox/plugins/mercury/on_Snapshot__57_mercury.py


+ 0 - 0
archivebox/plugins/npm/on_Binary__install_using_npm_provider.py → archivebox/plugins/npm/on_Binary__10_npm_install.py


+ 0 - 0
archivebox/plugins/pip/on_Binary__install_using_pip_provider.py → archivebox/plugins/pip/on_Binary__11_pip_install.py


+ 0 - 0
archivebox/plugins/readability/on_Snapshot__55_readability.py → archivebox/plugins/readability/on_Snapshot__56_readability.py


+ 0 - 0
archivebox/plugins/staticfile/on_Snapshot__31_staticfile.bg.js → archivebox/plugins/staticfile/on_Snapshot__32_staticfile.bg.js