diff --git a/openvscode-staging/CHANGELOG.md b/openvscode-staging/CHANGELOG.md new file mode 100644 index 0000000..cbb38ea --- /dev/null +++ b/openvscode-staging/CHANGELOG.md @@ -0,0 +1,5 @@ +## What’s changed + +## ⬆️ Backend bumps + +- ⬆️ Bump to openvscode 1.87.1 diff --git a/openvscode-staging/DOCS.md b/openvscode-staging/DOCS.md new file mode 100644 index 0000000..d1b85e5 --- /dev/null +++ b/openvscode-staging/DOCS.md @@ -0,0 +1,33 @@ +# Home Assistant Slowtech Add-on: Open Visual Studio Code (staging) + +This is an Home Assistant add-on that packages [_Open Visual Studio Code_][openvscode], a fully-featured IDE. + +## Installation + +1. Add the _addons_ repository to your Home Assistant instance's repositories list. (See README.md file in the parent directory.) +1. Follow [Home Assistant's instructions][hassio-install-addon] to install the add-on. + +## Configuration + +The port on which the web interface is exposed can be changed in the _Configuration_ tab, under _Network_. + +Note that this parameter is independent from the _Ingress_ integration. Providing `null` as a port will make the add-on only exposed through the _Ingress_ integration. + +## Changelog & Releases + +The add-on versioning follows the [docker container's versioning][dockerhub-releases]. + +## Support + +This repository does not accept inquiries for the moment. + +## Authors & contributors + +The original setup of this repository and packaging work is by Pierre Guillod. + +The backend software is developped by [Gitpod][github-gitpod]. + +[openvscode]: https://www.gitpod.io/blog/openvscode-server-launch +[hassio-install-addon]: https://www.home-assistant.io/addons/ +[github-gitpod]: https://github.com/gitpod-io +[dockerhub-releases]: https://hub.docker.com/r/gitpod/openvscode-server diff --git a/openvscode-staging/Dockerfile b/openvscode-staging/Dockerfile new file mode 100644 index 0000000..869c271 --- /dev/null +++ b/openvscode-staging/Dockerfile @@ -0,0 +1,5 @@ +FROM gitpod/openvscode-server + +# Matches Home Assistant's persistent directory. +RUN rm -rf /home/workspace +RUN ln -s /home/workspace /data \ No newline at end of file diff --git a/openvscode-staging/LICENSE b/openvscode-staging/LICENSE new file mode 100644 index 0000000..293c59e --- /dev/null +++ b/openvscode-staging/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2015 - present Microsoft Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/openvscode-staging/config.yaml b/openvscode-staging/config.yaml new file mode 100644 index 0000000..9f8e01c --- /dev/null +++ b/openvscode-staging/config.yaml @@ -0,0 +1,19 @@ +name: "Open Visual Studio Code (staging)" +description: "Fully open source version of Visual Studio Code Server" +version: "0.0.1" +slug: "openvscode-staging" +startup: services +ingress: true +ingress_port: 3000 +ingress_stream: true +panel_icon: mdi-code-array +panel_admin: false +init: false +arch: + - aarch64 + - amd64 +startup: before +ports: + 3000/tcp: 3000 +ports_description: + 3000/tcp: Web interface (Set to `null` for Ingress-only operation.) \ No newline at end of file diff --git a/openvscode-staging/icon.png b/openvscode-staging/icon.png new file mode 100644 index 0000000..d54110c Binary files /dev/null and b/openvscode-staging/icon.png differ diff --git a/openvscode-staging/logo.png b/openvscode-staging/logo.png new file mode 100644 index 0000000..d54110c Binary files /dev/null and b/openvscode-staging/logo.png differ