Skip to content

feat(paas): add GitHub operations for Node.js Hosting CLI command group - #135

Merged
jhenderson1-godaddy merged 5 commits into
rust-portfrom
feat/nodejs-hosting-github-operations
Jul 23, 2026
Merged

feat(paas): add GitHub operations for Node.js Hosting CLI command group#135
jhenderson1-godaddy merged 5 commits into
rust-portfrom
feat/nodejs-hosting-github-operations

Conversation

@jhenderson1-godaddy

@jhenderson1-godaddy jhenderson1-godaddy commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add GitHub operations to the Node.js Hosting CLI command group:

gddy hosting nodejs github status    --app-id <id>
gddy hosting nodejs github repos     --app-id <id>
gddy hosting nodejs github branches  --app-id <id> --owner <owner> --repo <repo>

gddy hosting nodejs source git        --app-id <id> --owner <owner> --repo <repo> --branch <branch>
gddy hosting nodejs source git-status --app-id <id> --job-id <id>

The github commands let you check a Node.js Hosting app's GitHub connection and browse repositories/branches. The source git commands kick off and poll a GitHub import job (parallel feature to zip import).

Screenshots

Get Status

Screenshot 2026-07-22 at 17 55 18

List Repos

Screenshot 2026-07-22 at 17 56 08

List Branches

Screenshot 2026-07-22 at 17 57 37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds GitHub-related operations to the Node.js Hosting (hosting nodejs) command group, enabling users to inspect GitHub connection status, browse repos/branches, and kick off/poll a GitHub-based source import job (parallel to zip upload), with accompanying scope and schema/catalog updates.

Changes:

  • Add hosting nodejs github {status,repos,branches} commands and wire a new github subgroup under hosting nodejs.
  • Add hosting nodejs source {git,git-status} commands plus corresponding REST client methods and tests.
  • Extend OAuth scope registry and refresh Node.js Hosting OpenAPI + generated API catalog artifacts.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
rust/src/scopes.rs Adds new hosting scopes (code read, GitHub execute) and scope registry entries.
rust/src/hosting/nodejs/mod.rs Registers new github group and adds source git / source git-status commands plus GitHub browsing commands.
rust/src/hosting/nodejs/client.rs Adds client calls for GitHub status/repos/branches and git import start/status, with tests.
rust/schemas/openapi/hosting-nodejs-public-v1.yaml Updates Node.js Hosting OpenAPI with GitHub + git import endpoints and tags/429 responses.
rust/schemas/api/transactions.json Regenerated API catalog content for Transactions domain (schema updates/version bump).
rust/schemas/api/manifest.json Updates generated manifest timestamp and endpoint counts (hosting-nodejs now 20).
rust/schemas/api/hosting-nodejs.json Regenerated Node.js Hosting API catalog JSON to include GitHub + git import endpoints and schemas.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread rust/src/scopes.rs
Comment thread rust/src/hosting/nodejs/mod.rs
Comment thread rust/src/hosting/nodejs/mod.rs Outdated
@jhenderson1-godaddy
jhenderson1-godaddy merged commit 1de4b88 into rust-port Jul 23, 2026
1 check passed
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.

3 participants