Faster Build Uploads with CLI
Oculus Developer Blog
Posted by Boone Calhoun
November 15, 2016

We're excited to announce a command line utility to help Rift developers more easily upload builds to Oculus.

The Oculus Platform Command Line Utility (CLI) can save you considerable time over using the Oculus Dashboard when it comes to uploading Oculus Rift app builds to your release channels. The command line utility analyzes your build folder and only uploads the bits that have changed since your last build. This approach reduces the amount of data that must be uploaded and eliminates the need to compress your build into a ZIP file.

If you want to get technical, here's what's happening behind the scenes:

  1. Each of the files in your build folder is split into contiguous segments of roughly 10MB.

  2. Each file segment is then inspected to determine if it already exists on the Oculus servers.

  3. The segments that have not been previously uploaded get individually compressed and uploaded.

  4. The upload is committed to finalize the operation and make your build available on the platform.

You can learn more about the command line utility by visiting the Tools page.

We'd love to hear your feedback on how we can make this tool even better. Send us a note by submitting a feature request in the Dashboard by using the “Give Feedback” button at the bottom left of the page. We look forward to making this available for our Gear VR developers in the coming months!