-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle the Publisher extension #5315
Comments
Putting this into 2025.02 -- we'll likely want to have "included" but not really bundled extensions feature. Namely we'll want to have Publisher be easily updated by the user. |
Let's wait until bundled extension investigation given that is happening this milestone |
We have gotten a fair amount of internal feedback that people don't even know this extension exists. Folks have said they reopen their project in RStudio to publish it to Connect. |
Addresses #6302, #6301, #6305, #5315 Introduces the concept of "bootstrapped extensions". Bundles the following extensions as VSIX files with Positron: - Black - Posit Publisher - Shiny(Workbench only) - Quarto - ms-toolsai.jupyter-keymap - ms-toolsai.vscode-jupyter-cell-tags - ms-toolsai.vscode-jupyter-slideshow - ms-toolsai.jupyter - ms-pyright.pyright - ms-python.debugpy When a user starts up Positron after first installing it or a version change (upgrade or downgrade), Positron will install the bootstrapped extensions for the users. Users will then be able to manage the extensions (upgrade, downgrade, uninstall, disable) themselves. Positron will always prefer whichever version of the extension in newer (bundled or user). When a user downgrades the extension, Positron will attempt to upgrade to the latest packaged version on the next upgrade, but not next Positron launch. I changed the approach slightly from my initial spec. The initial spec built on top of the existing [defaultExtensionInitializer](https://github.com/posit-dev/positron/blob/main/src/vs/code/electron-utility/sharedProcess/contrib/defaultExtensionsInitializer.ts). This approach is heavily inspired by that class but provides the server and desktop logic in src/vs/platform/extensionManagement/node/positronBootstrapExtensionsInitializer.ts. ### Release Notes #### New Features - Packages several extensions that were previously shipped a built-in extensions as user managed extensions that are installed on first launch. ### QA Notes @:web
Addresses #6302, #6301, #6305, #5315 Introduces the concept of "bootstrapped extensions". Bundles the following extensions as VSIX files with Positron: - Black - Posit Publisher - Shiny(Workbench only) - Quarto - ms-toolsai.jupyter-keymap - ms-toolsai.vscode-jupyter-cell-tags - ms-toolsai.vscode-jupyter-slideshow - ms-toolsai.jupyter - ms-pyright.pyright - ms-python.debugpy When a user starts up Positron after first installing it or a version change (upgrade or downgrade), Positron will install the bootstrapped extensions for the users. Users will then be able to manage the extensions (upgrade, downgrade, uninstall, disable) themselves. Positron will always prefer whichever version of the extension in newer (bundled or user). When a user downgrades the extension, Positron will attempt to upgrade to the latest packaged version on the next upgrade, but not next Positron launch. I changed the approach slightly from my initial spec. The initial spec built on top of the existing [defaultExtensionInitializer](https://github.com/posit-dev/positron/blob/main/src/vs/code/electron-utility/sharedProcess/contrib/defaultExtensionsInitializer.ts). This approach is heavily inspired by that class but provides the server and desktop logic in src/vs/platform/extensionManagement/node/positronBootstrapExtensionsInitializer.ts. ### Release Notes #### New Features - Packages several extensions that were previously shipped a built-in extensions as user managed extensions that are installed on first launch. ### QA Notes @:web
Verified FixedPositron Version(s) : 2025.03.0-116 Test scenario(s)Confirmed that Posit Publisher was bundled and installed as expected with build... Also noted it was mentioned on the Welcome screen as well. Note: I cleared out extensions Link(s) to test cases run or created:n/a |
Now that the Posit Publisher is out of preview, we should bundle the extension in Positron.
The text was updated successfully, but these errors were encountered: