Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@eclipse-che/che-devworkspace-generator
Advanced tools
Generates DevWorkspaces by transforming existing devfiles
The library is used by Devfile registry component to generate the DevWorkspace components and DevWorkspace templates. It requires editor definitions from the che-plugin-registry.
The library can be used as a standalone library.
USAGE
$ node lib/entrypoint.js [OPTIONS]
OPTIONS
--devfile-url: URL to the git repository that contains devfile.yaml
or
--devfile-path: path to the devfile.yaml file
--plugin-registry-url: URL to the plugin registry that contains editor definitions (devfile.yaml)
--editor-entry: editor ID, found on the <plugin-registry-url>, to resolve the devfile.yaml
or
--editor-path: local file path of the editor devfile.yaml
--output-file: local file path for the generated devworkspace yaml
--project.<project-name> local file path for the sample project zip (for airgapped/offline registry builds)
EXAMPLES
# online example, using editor definition from https://che-plugin-registry-main.surge.sh/
$ node lib/entrypoint.js \
--devfile-url:https://github.com/che-samples/java-spring-petclinic/tree/main \
--plugin-registry-url:https://che-plugin-registry-main.surge.sh/v3/ \
--editor-entry:che-incubator/che-code/latest \
--output-file:/tmp/devworkspace-che-code-latest.yaml`
# offline example with devfile.yaml files and zipped project available locally
$ node lib/entrypoint.js \
--devfile-path:/remote-source/python-hello-world/app/devfile.yaml \
--editor-path:/build/plugins/che-incubator/che-code/latest/devfile.yaml \
--output-file:./devfiles/python__python-hello-world/devworkspace-che-code-latest.yaml \
--project.python-hello-world='{{_INTERNAL_URL_}}/resources/v2/python-hello-world.zip'
The output file devworkspace-che-code-latest.yaml
contains a DevWorkspace based on the repository devfile and a Che-Code DevWorkspaceTemplate.
If the DevWorkspace engine is installed on the cluster, the following command will create a DevWorkspace:
$ kubectl apply -f /tmp/devworkspace-che-code-latest.yaml
FAQs
Generates DevWorkspaces by transforming existing devfiles
The npm package @eclipse-che/che-devworkspace-generator receives a total of 427 weekly downloads. As such, @eclipse-che/che-devworkspace-generator popularity was classified as not popular.
We found that @eclipse-che/che-devworkspace-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.