Preflight
Pre-upgrade API scanner for Frappe sites
- Author: kaulith
- Repository: https://github.com/kaulith/preflight
- GitHub stars: 7
- Forks: 3
- License: MIT
- Category: Other
- Maintenance: Actively Maintained
Install Preflight
bench get-app https://github.com/kaulith/preflight
Add the Frappe Gems badge to your README
Maintain Preflight? Paste this into your README:
[](https://frappegems.com/gems/apps/kaulith/preflight)
About Preflight
Preflight
Scans a Frappe site before a major version upgrade and lists what will break: removed and renamed APIs in its apps, site scripts and customisations, and what the bench needs for the new version. It changes nothing on the site.
Install and run
From the bench directory, into the bench's own environment:
./env/bin/pip install prefly
./env/bin/preflight --site mysite.local --target v16
For CI, scan an app's checkout with no site or bench:
pip install prefly
preflight --path . --target v16
A clean report means no known problems were found, not that the upgrade is safe.
Docs
- Overview: what it checks, options, exit codes, limits
- Getting started: install, the first scan, CI, suppressing a finding
- Reading a report
- Rules
- Upgrade checklist
- Writing a rule
- How it was tested
License
MIT
Related Other apps for Frappe & ERPNext
- Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
- Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
- Print Designer — Visual print designer for Frappe / ERPNext
- Ctr — CTR模型代码和学习笔记总结
- Whitelabel — Whitelabel ERPNext
- Fossunited — fossunited.org
- Helm — Helm Chart Repository for Frappe/ERPNext
- Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.