Skip to content

What is the difference between /ide/bin/remote-cli/gitpod-code and /ide/bin/helpers/browser.sh #11739

@ghuntley

Description

@ghuntley

Objective

Question:

  1. Do we have tech debt here that should be cleaned up?
  2. Which one should be documented on https://www.gitpod.io/docs/ides-and-editors/vscode-browser 👍
  3. export EDITOR is currently set to /ide/bin/remote-cli/gitpod-code
gitpod /workspace/website (main) $ cat /ide/bin/remote-cli/gitpod-code
#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
ROOT="$(dirname "$(dirname "$(dirname "$(readlink -f "$0")")")")"

APP_NAME="gitpod-code"
VERSION="1.69.2"
COMMIT="412debcdce97027594b55f85871951f0aa87c2fc"
EXEC_NAME="gitpod-code"
CLI_SCRIPT="$ROOT/out/server-cli.js"
"$ROOT/node" "$CLI_SCRIPT" "$APP_NAME" "$VERSION" "$COMMIT" "$EXEC_NAME" "$@"
gitpod /workspace/website (main) $ cat /ide/bin/helpers/browser.sh
#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
ROOT="$(dirname "$(dirname "$(dirname "$(readlink -f "$0")")")")"

APP_NAME="gitpod-code"
VERSION="1.69.2"
COMMIT="412debcdce97027594b55f85871951f0aa87c2fc"
EXEC_NAME="gitpod-code"
CLI_SCRIPT="$ROOT/out/server-cli.js"
"$ROOT/node" "$CLI_SCRIPT" "$APP_NAME" "$VERSION" "$COMMIT" "$EXEC_NAME" "--openExternal" "$@"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions