docs: write CREATE_MODULE.md — bootstrap module, update checker, and version management #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tier 2 — Component Guide
File:
docs/CREATE_MODULE.mdWhat this document should cover
Purpose —
src/Mod/Create/is the Kindred bootstrap module. It contains no feature code — its sole job is to wire ztools and Silo into FreeCAD at startup and manage versioning.File inventory (small module — document every file):
Init.py— console-phase bootstrapsetup_kindred_addons()— addsmods/ztools/ztoolsandmods/silo/freecadtosys.pathInit.py, logs success/failureInitGui.py— GUI-phase bootstrapsetup_kindred_workbenches()— runs addonInitGui.pyfiles to register workbenches_register_silo_origin()— Silo becomes available in origin selector_setup_silo_auth_panel()— Database Auth dock widget_check_silo_first_start()— Settings prompt on first use_setup_silo_activity_panel()— Database Activity dock widget (SSE)_check_for_updates()— Gitea API version checkupdate_checker.py— checks Gitea releases API for newer versionsversion.py.in— CMake template;configure_file()injects version at build timeCMakeLists.txt— build rules, install targetsVersion management:
version.py.intemplate variablesKINDRED_CREATE_VERSION,FREECAD_VERSIONCMakeLists.txt→version.py→ update checker → UIUpdate checker details:
Why the QTimer cascade exists — FreeCAD's startup is not fully synchronous; Silo registration must wait for GUI framework readiness. Explain the ordering constraints.
Key source files
src/Mod/Create/Init.pysrc/Mod/Create/InitGui.pysrc/Mod/Create/update_checker.pysrc/Mod/Create/version.py.insrc/Mod/Create/CMakeLists.txtCMakeLists.txt(root) — version constantsAcceptance criteria
src/Mod/Create/is documentedSuperseded by the mdBook documentation structure set up in PR #105. The content scope of this issue is now covered by the pages in
docs/src/. Remaining content work is tracked in #104.