Mozilla Firefox和SpiderMonkey的自动平分实用程序
autobisect的Python项目详细描述
自残
Autobisect是一个python模块,它自动分割Mozilla Firefox和SpiderMonkey bug。在
安装
git clone git@github.com:MozillaSecurity/autobisect.git
cd autobisect
poetry install
使用
Firefox bug平分支持以下参数:
^{pr2}$简单平分
python -m autobisect firefox trigger.html --prefs prefs.js --asan --end 2017-11-14
默认情况下,Autobisect将缓存下载的版本(最多30GB),以减少对分时间。可以通过以下格式提供自定义配置文件来修改此行为:
[autobisect]
storage-path: /home/ubuntu/cached
persist: true
; size in MBs
persist-limit: 30000
发展
Autobisect包含black和flake8的预提交钩子。要安装预提交钩子,请运行以下命令。在
pre-commit install
此外,所有的测试都应该通过tox进行。在
poetry run tox
- 项目
标签: