Reference in New Issue
Block a user
Delete Branch "feat/update-checker"
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?
Summary
Implements issues #28 and #29 from the auto-update system plan.
Issue #28: Expose Kindred Create version to Python at build time
version.py.inCMake template that substitutesKINDRED_CREATE_VERSIONat build timeversion.pyis installed toMod/Create/alongside Init.pyfrom version import VERSION— returns e.g."0.1.0"Issue #29: Update checker — query Gitea API for latest release
update_checker.pywithcheck_for_update()function/api/v1/repos/kindred/create/releases, filters out prereleases, drafts, and the rollinglatesttagurllib.requestonly (no new dependencies)Files changed
src/Mod/Create/version.py.insrc/Mod/Create/update_checker.pysrc/Mod/Create/CMakeLists.txtsrc/Mod/Create/InitGui.pyCloses #28
Closes #29