Preflight

Pre-upgrade API scanner for Frappe sites

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:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=kaulith%2Fpreflight)](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

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.