Patch System - nijil/erpnext GitHub Wiki
Objective:
To maintain and run patches in the current/all databases.
Design:
- Patches will be maintained in erpnext/patches directory
- Each patch will be separate *.py file and can be submitted with any name
- There will be a patch_handler.py file in lib/py/webnotes/modules which will run patch file (single / multiple / all pending patches)
- Applied patch will be maintained in a table
tabPatch Log
in the corresponding database - While running patches, the logged-in users will get a message to wait until the patch is applied in that account
- Patch will be applied through push patch only, no more issues in login time.
- There will a push_patch.py file to run patches in all accounts