Skip to content

feat(runtime): package plugin source and sync to GitHub for Space upload - #165

Open
TyperBody wants to merge 5 commits into
mainfrom
feat/plugin-upload-space
Open

TyperBody wants to merge 5 commits into
mainfrom
feat/plugin-upload-space

Conversation

@TyperBody

Copy link
Copy Markdown
Member
  • utils/packaging.py: reusable in-memory .lbpkg builder with manifest overrides and extra-file (icon) injection
  • utils/git_sync.py: commit+push reusing local git by default with optional repo/token override; git identity fallback so commit never fails on a host without user.name/email
  • actions: BUILD_PLUGIN_PACKAGE / GIT_SYNC_PLUGIN across plugin, runtime and control handlers
  • cli buildplugin delegates to the shared packager (discovery errors still propagate)

没写完

@TyperBody
TyperBody requested review from RockChinQ and huanghuoguoguo and removed request for RockChinQ September 30, 2026 00:56
@TyperBody

Copy link
Copy Markdown
Member Author

完了

dadachann and others added 5 commits October 25, 2026 00:43
- utils/packaging.py: reusable in-memory .lbpkg builder with manifest overrides and extra-file (icon) injection
- utils/git_sync.py: commit+push reusing local git by default with optional repo/token override; git identity fallback so commit never fails on a host without user.name/email
- actions: BUILD_PLUGIN_PACKAGE / GIT_SYNC_PLUGIN across plugin, runtime and control handlers
- cli buildplugin delegates to the shared packager (discovery errors still propagate)

# Conflicts:
#	src/langbot_plugin/cli/run/handler.py
…repo

- pass -c user.name/-c user.email when identity is unset so commit never fails
- create the target GitHub repository via API when a token is provided and it is missing
- resolve the current branch on an unborn HEAD instead of failing git sync
- create auto-created GitHub repositories as public
- persist upload-page manifest/icon edits into the plugin's own files
- drop an unused import and add packaging/git_sync/CLI coverage tests
@RockChinQ
RockChinQ force-pushed the feat/plugin-upload-space branch from 91e2bcf to 9e7c8b2 Compare October 24, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants