-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Problem
Currently GitHubAbilities reads github_pat and github_default_repo from Data Machine core's PluginSettings. Once the code is extracted, the extension needs to manage its own settings — either with its own options or by providing a settings registration hook.
Options
- Own wp_options —
datamachine_code_github_pat,datamachine_code_github_default_repo - Settings API hook — Register settings via
datamachine_settingsfilter so they appear in core's settings UI - Hybrid — Read from own options, fall back to core's settings for migration
Acceptance Criteria
- GitHub PAT stored in extension-owned option
- Default repo stored in extension-owned option
- Migration path: if extension options are empty, read from core settings
- CLI:
wp datamachine-code github set-pat <token> - CLI:
wp datamachine-code github set-repo <owner/repo>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels