This extension provides a solution for private extensions repositories. With it, you can access and install extensions in your own extensions repository. In order to publish extensions to your private extensions repository, you can use dbem
which is a fork of vsce
.
- Light weight, no special repository server needed.
- Common cloud storage backends supported: Aliyun OSS, AWS S3 and Dropbox.
- Admin Webview, it will help you:
- to config repository connection details.
- to browse extensions in a repository.
- to download and install extensions.
- Tracking status of extensions installed by DBox-Repo: enabled, disabled and uninstalled.
- Integration with existing VS Code "Extensions" view:
- DBox-Repo provides commands to show those extensions tracked by it, and all those extensions will be shown in "Extensions" view.
- You can uninstall the extensions installed by DBox-Repo in "Extensions" view, just like what you did to normal extensions.
- i18n supported.
- dark theme and light theme.
As with normal VS Code extensions, there are two steps to use your private extensions with DBox-Repo:
- Publish extensions to a private repository: with
dbem
, which is a fork ofvsce
, developers can publish extensions to those backends supported by DBox-Repo. - Browse and install: with DBox-Repo, users can visit a private extensions respository, select and install extensions needed.
The whole workflow is shown below:
VS Code >= 1.42.0
To make DBox-Repo running:
- input
dbox home
command: it will bring you to admin GUI which could guide you to set repository connection details. - With the same admin GUI, you can browse extensions in repository and install the extension you select.
Here is an example of Repositories Setting:
[
{
"name": "oss-repo",
"options": {
"accessKeyId": "...",
"accessKeySecret": "...",
"bucket": "dbox-repo",
"region": "..."
},
"type": "oss"
},
{
"name": "dropbox-repo",
"options": {
"accessToken": "...",
"root": "dbox-repo"
},
"type": "dropbox"
},
{
"name": "s3-repo",
"options": {
"bucket": "dbox-repo",
"credentials": {
"accessKeyId": "...",
"secretAccessKey": "..."
},
"region": "..."
},
"type": "s3"
}
]
DBox: Show Extensions
, show all extensions installed by DBox-Repo.DBox: Show Enabled Extensions
, show all enabled extensions installed by DBox-Repo.DBox: Show Disabled Extensions
, show all disabled extensions installed by DBox-Repo.DBox: Home
, enter admin GUI.
All results will be shown in "Extensions" view to achive the same user experience about extensions.
To uninstall an extension installed by DBox-Repo, in "Extensions" view:
- Find the extension you want uninstall.
- Click "uninstall".
- After restarting VS Code, the uninstalled extension will not be shown in "Installed Extensions" section in admin GUI.
Please visit issues page to submit new issues or check known issues.
First release.