Skip to content

Migrate to roku-deploy v4 and Roku Cloud Emulator support- #399 - #398

Merged
chrisdp merged 6 commits into
masterfrom
feature/roku-deploy-v4
Aug 7, 2026
Merged

Migrate to roku-deploy v4 and Roku Cloud Emulator support- #399#398
chrisdp merged 6 commits into
masterfrom
feature/roku-deploy-v4

Conversation

@chrisdp

@chrisdp chrisdp commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Moves every roku-deploy call to the v4 named-options API and the unified device option (roku-deploy PR rokucommunity/roku-deploy#323, plus the defaults/resolvers from rokucommunity/roku-deploy#330).

  • publish -> sideload, passing explicit close: false and deleteDevChannel: false since v4 enables both by default and roku-debug handles them itself
  • pressHomeButton -> keyPress with the home key
  • deleteInstalledChannel -> deleteDevChannel
  • prepublishToStaging -> stage, zipFolder -> zip, getFilePaths named options (dest paths are now staging-relative, so ProjectManager absolutizes them)
  • getOptions/getOutputZipFilePath are gone in v4; replaced with RokuDeploy.defaults and the getStagingDir/getOutputZipPath resolvers
  • every host/remotePort call site now builds a device option; the private BrightScriptDebugSession.device getter is the single place the launch configuration becomes a roku-deploy device config, so future addressing schemes (like the Roku Cloud Emulator) only need to be handled there

Draft: builds against a local roku-deploy checkout of the unified-device-option work; the package.json bump will follow separately once a v4 alpha containing it is published.

Move every roku-deploy call to the v4 named-options API and the unified device option:
- publish -> sideload (explicit close: false and deleteDevChannel: false to preserve existing behavior)
- pressHomeButton -> keyPress with the home key
- deleteInstalledChannel -> deleteDevChannel
- prepublishToStaging -> stage, zipFolder -> zip
- getFilePaths named options (dest is staging-relative; ProjectManager absolutizes)
- getOptions/getOutputZipFilePath replaced with RokuDeploy.defaults and the getStagingDir/getOutputZipPath resolvers
- host/remotePort call sites now build a device option; the private BrightScriptDebugSession.device getter is the single place the launch configuration becomes a roku-deploy device config
Comment thread src/debugSession/BrightScriptDebugSession.ts
@chrisdp chrisdp self-assigned this Jul 24, 2026
@chrisdp chrisdp mentioned this pull request Jul 24, 2026
13 tasks
@chrisdp
chrisdp force-pushed the feature/roku-deploy-v4 branch from cb04ee2 to 1b1e3ac Compare August 5, 2026 16:49
Comment thread src/managers/ProjectManager.spec.ts
@TwitchBronBron
TwitchBronBron marked this pull request as ready for review August 7, 2026 17:39
chrisdp and others added 2 commits August 7, 2026 15:25
Co-authored-by: Bronley Plumb <bronley@gmail.com>
@chrisdp chrisdp changed the title Migrate to roku-deploy v4 Migrate to roku-deploy v4 and Roku Cloud Emulator support- #399 Aug 7, 2026
@chrisdp
chrisdp enabled auto-merge (squash) August 7, 2026 18:42
@chrisdp
chrisdp merged commit b697860 into master Aug 7, 2026
9 of 10 checks passed
@chrisdp
chrisdp deleted the feature/roku-deploy-v4 branch August 7, 2026 18:44
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