seitime-frappe/frappe/patches/v16_0/add_module_deprecation_warning.py
Soham Kulkarni 64db88228f
refactor: seperate blogs into a seperate app (#32737)
* fix: remove doctypes,workspace blocks, files

* fix: minor python tests and UI tests

* fix: remove blog post from tests

* fix: remove blogger as role for tests

* fix: add check for if doctype exists

* fix: ui test

* fix: more cleanup

* fix: cleanup comments and fix test_query

* fix: resolve conflicts

* fix: add warning and handle comments
2025-07-28 14:35:02 +05:30

17 lines
603 B
Python

import click
def execute():
module_app_map = {
"Social Module/ Energy Points System": ("eps", "system"),
"Offsite Backup Integrations (Google Drive, S3, Dropbox)": ("offsite_backups", "intergration"),
"Newsletter": ("newsletter", "functionality"),
"Blogs": ("blogs", "functionality"),
}
for module, (app, system_type) in module_app_map.items():
click.secho(
f"{module} is moving to a new app and will removed from the framework in version-16.\n"
f"Please install the app to continue using the {system_type}: https://github.com/frappe/{app}",
fg="yellow",
)
click.secho("\n")