What is a content bundle?
Content published to Posit Connect is encapsulated in a "bundle" that contains the source code and data necessary to execute the content. A content item (application, document, API, etc.) is updated by uploading a new bundle. Old bundles are retained on disk until you reach the limit imposed by Applications.BundleRetentionLimit
at which point older bundles will be deleted.
Content owners and collaborators can manage their own bundles in the Connect dashboard.
How to access content bundles in Connect
To access the content bundle management tools, first open your content item from the Connect dashboard. With your content item open, click the More menu button, then select Source Versions from the dropdown.
This opens the Source Versions window, which displays a list of all available content bundles. Content owners and collaborators can delete, download, activate, and view activation logs for their applications' bundles. Activating a different bundle is a way of "rolling back" or "rolling forward" to an older or newer version of your application, respectively.
What happens when you change the active bundle?
- For interactive applications: Activating an alternate bundle causes new incoming users to be directed to the new version of the application. Existing users of the application who are viewing the previously activated bundle will not be interrupted.
- For APIs: Activating an alternate bundle causes new requests to be serviced by new processes running the new code. Existing requests are serviced by processes already launched running the old code.
- For documents: Activating an alternate bundle immediately renders the newly activated bundle and promotes it to be the authoritative version of that document. For parameterized documents, only the default variant is re-rendered. Other instances of the report are not automatically regenerated, but the next manual or scheduled update will be performed on the newly selected bundle.
Comments