Code Monkey home page Code Monkey logo

codeready-workspaces-vscode-extensions's Introduction

codeready-workspaces-vscode-extensions

This repository builds and publishes VS Code extensions used in CodeReady Workspaces.

Every extension in this repository builds inside a ubi8 based Dockerfile. The resulting .vsix files and sources tarballs are then copied out of the container and published as GitHub release assets. Every PR merged in this repository will trigger a GitHub release, where the extensions built from that PR will be the release assets in the corresponding GitHub release.

Contributing

Repository Structure

Every folder in this repository belongs to a VS Code extension. For example, the Dockerfile that builds the vscode-python extension would live in the /vscode-python folder. Please note that the name of the folder must match the repository name for the VS Code extension. For example, the folder name for the extension hosted at https://github.com/microsoft/vscode-eslint must be named vscode-eslint.

Every extension folder must have an extension.json file at its root. The schema of this JSON file is as follows:

{
  // Repository URL of the extension's git repository
  "repository": "https://github.com/microsoft/vscode-python",
  // The tag/SHA1-ID of the extension's repository which you would like to build
  "revision": "2020.11.358366026"
}

Optionally, a Dockerfile that builds the extension can be provided inside the extension's folder. Note, this is only needed if the extension requires "special" dependencies to build. If no Dockerfile is found in the extensions's folder, then the "generic" Dockerfile (found at the root of this repository) will be used. In this case, the only thing needed is the folder matching the extension's name, and the extension.json file as outlined above.

Dockerfile Structure

Should you choose to contribute a Dockerfile, the following things are required

  • The Dockerfile must take the following build-time arguments (i.e. ARG name):
    • extension_repository
    • extension_revision
    • extension_name
  • The vsix file resulting from the build (inside the container) must be located at the root of the container, named /name-revision.vsix (where name and revision are the values of the build arg specified above)
  • A tarball of the extension's source code (prior to build) must be located at the root of the container, named /name-revision-sources.tar.gz (again, where name and revision are the values of the build arg specified above)

codeready-workspaces-vscode-extensions's People

Contributors

ericwill avatar vitaliy-guliy avatar benoitf avatar vinokurig avatar tsmaeder avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.