mirror of
https://github.com/frappe/frappe.git
synced 2026-04-24 01:14:06 -06:00
Page:
Pull Request Review Guidelines
Pages
(Client Side Scripting)Fetch values from another document
(Client Side Scripting)Fetching child tables
App Development using GitHub
Client Side Scripting Index
Client side scripting(Archive)
Client side scripting
Deprecations
Developer Cheatsheet
Frappe Framework Front End Routing and Document Creation
Frappe Push Notification Client Reference
Frappe Test Record Loading: Startup Sequence
Generating Test Records in Frappe
Home
Installing Frappe ERPNext on MacOS
Migrating to Version 13
Migrating to Version 14
Migrating to nightly version
Migrating to version 15
Migrating to version 16
Pull Request Review Guidelines
Setup MariaDB Server
Setup NFS Server
The Hitchhiker's Guide to Installing Frappe on Linux
The Hitchhiker's Guide to Installing Frappe on Mac OS X
Tree view for custom DocType
Using Desk Modules, Calendar and List View in Frappe Framework
Using Frappe with Amazon RDS (or any other DBaaS)
Using the VSCode Debugger with Frappe
Writing an IntegrationTestCase in Frappe: A Step‐by‐Step Guide
query builder migration
No results
4
Pull Request Review Guidelines
Suraj Shetty edited this page 2021-10-21 14:02:08 +05:30
Pull Request Review Guidelines
Guidelines for anyone trying to review pull requests for Frappe Framework.
Pull Request information
It is very important for a reviewer & author to make sure that the submitted pull request has enough information about the change they are trying to make via the pull request while they have the complete context of the change. This information can be used by other reviewers, contributors, and the QA team. It is also useful when someone wants to know why a specific change was done. A pull request should have the following information so that it can be useful for others.
- Detailed rationale of why the change is required.
- In case of a bug fix
- Error traceback in textual format (instead of an image) so that it can be searched by other users facing the same problem
- Link of the pull request that might have introduced the bug
- In case of UI related issue
- An animated GIF or before/after screenshots so that others can quickly get the context for the change.
Coding Standards
For a pull request to be accepted a reviewer should validate whether coding standards mentioned here are followed by the PR author.
Checklist for a Pull Request Review
- All CI checks are passed.
- Pull request has enough information about the changes
- If it is a fix, check if the link to the PR which caused the issue is added.
- Proper traceback of the issue in textual format and not image so that it can be searched.
- Check if coding standards are met.
- Tests are added to avoid possible failures in the future mostly during other code changes and refactors
- Documentation added or updated accordingly based on the change made (if applicable)
- Once the PR has been reviewed and approved, ensure it is backported to older versions (if applicable)
- Make sure to merge any auto-generated backport PR once it has been validated for any compatibility issues