mirror of
https://github.com/danog/code-server.git
synced 2024-11-26 20:34:56 +01:00
docs: Update some more links (#4806)
* Update links in package.json I will try checking the docs too * docs: Update links in triage.md * docs: Update links in npm.md * docs: Update links in whatever files that have `cdr` * Replace globally, thanks @bpmct! * fix: coderer instead of coder I should've used all three toggles in the Search/Replace tab in the GItHub.dev editor. * Code Formatting
This commit is contained in:
parent
439f27c568
commit
10f57bac65
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -34,7 +34,7 @@ jobs:
|
|||||||
# NOTE@jsjoeio
|
# NOTE@jsjoeio
|
||||||
# disabling this until we can audit the build process
|
# disabling this until we can audit the build process
|
||||||
# and the usefulness of this step
|
# and the usefulness of this step
|
||||||
# See: https://github.com/cdr/code-server/issues/4287
|
# See: https://github.com/coder/code-server/issues/4287
|
||||||
# - name: Fetch dependencies from cache
|
# - name: Fetch dependencies from cache
|
||||||
# id: cache-yarn
|
# id: cache-yarn
|
||||||
# uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
{
|
{
|
||||||
"file": "src/node/heart.ts",
|
"file": "src/node/heart.ts",
|
||||||
"line": 7,
|
"line": 7,
|
||||||
"description": "code-server's heart beats to indicate recent activity.\n\nAlso documented here: [https://github.com/cdr/code-server/blob/master/docs/FAQ.md#heartbeat-file](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#heartbeat-file)"
|
"description": "code-server's heart beats to indicate recent activity.\n\nAlso documented here: [https://github.com/coder/code-server/blob/master/docs/FAQ.md#heartbeat-file](https://github.com/coder/code-server/blob/master/docs/FAQ.md#heartbeat-file)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "src/node/socket.ts",
|
"file": "src/node/socket.ts",
|
||||||
@ -80,12 +80,12 @@
|
|||||||
{
|
{
|
||||||
"file": "src/node/routes/domainProxy.ts",
|
"file": "src/node/routes/domainProxy.ts",
|
||||||
"line": 18,
|
"line": 18,
|
||||||
"description": "code-server provides a built-in proxy to help in developing web-based applications. This is the code for the domain-based proxy.\n\nAlso documented here: [https://github.com/cdr/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services)"
|
"description": "code-server provides a built-in proxy to help in developing web-based applications. This is the code for the domain-based proxy.\n\nAlso documented here: [https://github.com/coder/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services](https://github.com/coder/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "src/node/routes/pathProxy.ts",
|
"file": "src/node/routes/pathProxy.ts",
|
||||||
"line": 19,
|
"line": 19,
|
||||||
"description": "Here is the path-based version of the proxy.\n\nAlso documented here: [https://github.com/cdr/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services)"
|
"description": "Here is the path-based version of the proxy.\n\nAlso documented here: [https://github.com/coder/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services](https://github.com/coder/code-server/blob/master/docs/FAQ.md#how-do-i-securely-access-web-services)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "src/node/proxy.ts",
|
"file": "src/node/proxy.ts",
|
||||||
@ -95,7 +95,7 @@
|
|||||||
{
|
{
|
||||||
"file": "src/node/routes/health.ts",
|
"file": "src/node/routes/health.ts",
|
||||||
"line": 5,
|
"line": 5,
|
||||||
"description": "A simple endpoint that lets you see if code-server is up.\n\nAlso documented here: [https://github.com/cdr/code-server/blob/master/docs/FAQ.md#healthz-endpoint](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#healthz-endpoint)"
|
"description": "A simple endpoint that lets you see if code-server is up.\n\nAlso documented here: [https://github.com/coder/code-server/blob/master/docs/FAQ.md#healthz-endpoint](https://github.com/coder/code-server/blob/master/docs/FAQ.md#healthz-endpoint)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "src/node/routes/login.ts",
|
"file": "src/node/routes/login.ts",
|
||||||
@ -145,7 +145,7 @@
|
|||||||
{
|
{
|
||||||
"directory": "vendor/modules/code-oss-dev",
|
"directory": "vendor/modules/code-oss-dev",
|
||||||
"line": 1,
|
"line": 1,
|
||||||
"description": "code-server makes use of VS Code's frontend web/remote support. Most of the modifications implement the remote server since that portion of the code is closed source and not released with VS Code.\n\nWe also have a few bug fixes and have added some features (like client-side extensions). See [https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code](https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code) for a list.\n\nWe make an effort to keep the modifications as few as possible."
|
"description": "code-server makes use of VS Code's frontend web/remote support. Most of the modifications implement the remote server since that portion of the code is closed source and not released with VS Code.\n\nWe also have a few bug fixes and have added some features (like client-side extensions). See [https://github.com/coder/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code](https://github.com/coder/code-server/blob/master/docs/CONTRIBUTING.md#modifications-to-vs-code) for a list.\n\nWe make an effort to keep the modifications as few as possible."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
{
|
{
|
||||||
"file": "src/node/app.ts",
|
"file": "src/node/app.ts",
|
||||||
"line": 62,
|
"line": 62,
|
||||||
"description": "## That's it!\n\n\nThat's all there is to it! When this tour ends, your terminal session may stop, but just use `yarn watch` to start developing from here on out!\n\n\nIf you haven't already, be sure to check out these resources:\n- [Tour: Contributing](command:codetour.startTourByTitle?[\"Contributing\")\n- [Docs: FAQ.md](https://github.com/cdr/code-server/blob/master/docs/FAQ.md)\n- [Docs: CONTRIBUTING.md](https://github.com/cdr/code-server/blob/master/docs/CONTRIBUTING.md)\n- [Community: GitHub Discussions](https://github.com/cdr/code-server/discussions)\n- [Community: Slack](https://community.coder.com)"
|
"description": "## That's it!\n\n\nThat's all there is to it! When this tour ends, your terminal session may stop, but just use `yarn watch` to start developing from here on out!\n\n\nIf you haven't already, be sure to check out these resources:\n- [Tour: Contributing](command:codetour.startTourByTitle?[\"Contributing\")\n- [Docs: FAQ.md](https://github.com/coder/code-server/blob/master/docs/FAQ.md)\n- [Docs: CONTRIBUTING.md](https://github.com/coder/code-server/blob/master/docs/CONTRIBUTING.md)\n- [Community: GitHub Discussions](https://github.com/coder/code-server/discussions)\n- [Community: Slack](https://community.coder.com)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
20
CHANGELOG.md
20
CHANGELOG.md
@ -20,7 +20,7 @@ VS Code v99.99.999
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## [Unreleased](https://github.com/cdr/code-server/releases)
|
## [Unreleased](https://github.com/coder/code-server/releases)
|
||||||
|
|
||||||
VS Code v0.00.0
|
VS Code v0.00.0
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ VS Code v0.00.0
|
|||||||
|
|
||||||
- Add here
|
- Add here
|
||||||
|
|
||||||
## [4.0.2](https://github.com/cdr/code-server/releases/tag/v4.0.2) - 2022-01-27
|
## [4.0.2](https://github.com/coder/code-server/releases/tag/v4.0.2) - 2022-01-27
|
||||||
|
|
||||||
VS Code v1.63.0
|
VS Code v1.63.0
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ VS Code v1.63.0
|
|||||||
file is missing. While we do include the script now we are leaving the
|
file is missing. While we do include the script now we are leaving the
|
||||||
variable omitted because the script does not work yet.
|
variable omitted because the script does not work yet.
|
||||||
|
|
||||||
## [4.0.1](https://github.com/cdr/code-server/releases/tag/v4.0.1) - 2022-01-04
|
## [4.0.1](https://github.com/coder/code-server/releases/tag/v4.0.1) - 2022-01-04
|
||||||
|
|
||||||
VS Code v1.63.0
|
VS Code v1.63.0
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ implementation (#4414).
|
|||||||
|
|
||||||
- We fixed a XSS vulnerability by escaping HTML from messages in the error page (#4430).
|
- We fixed a XSS vulnerability by escaping HTML from messages in the error page (#4430).
|
||||||
|
|
||||||
## [3.12.0](https://github.com/cdr/code-server/releases/tag/v3.12.0) - 2021-09-15
|
## [3.12.0](https://github.com/coder/code-server/releases/tag/v3.12.0) - 2021-09-15
|
||||||
|
|
||||||
VS Code v1.60.0
|
VS Code v1.60.0
|
||||||
|
|
||||||
@ -89,15 +89,15 @@ VS Code v1.60.0
|
|||||||
|
|
||||||
- Fix logout when using a base path (#3608).
|
- Fix logout when using a base path (#3608).
|
||||||
|
|
||||||
## [3.11.1](https://github.com/cdr/code-server/releases/tag/v3.11.1) - 2021-08-06
|
## [3.11.1](https://github.com/coder/code-server/releases/tag/v3.11.1) - 2021-08-06
|
||||||
|
|
||||||
Undocumented (see releases page).
|
Undocumented (see releases page).
|
||||||
|
|
||||||
## [3.11.0](https://github.com/cdr/code-server/releases/tag/v3.11.0) - 2021-06-14
|
## [3.11.0](https://github.com/coder/code-server/releases/tag/v3.11.0) - 2021-06-14
|
||||||
|
|
||||||
Undocumented (see releases page).
|
Undocumented (see releases page).
|
||||||
|
|
||||||
## [3.10.2](https://github.com/cdr/code-server/releases/tag/v3.10.2) - 2021-05-21
|
## [3.10.2](https://github.com/coder/code-server/releases/tag/v3.10.2) - 2021-05-21
|
||||||
|
|
||||||
VS Code v1.56.1
|
VS Code v1.56.1
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ VS Code v1.56.1
|
|||||||
|
|
||||||
- Fix "Open Folder" on welcome page (#3437).
|
- Fix "Open Folder" on welcome page (#3437).
|
||||||
|
|
||||||
## [3.10.1](https://github.com/cdr/code-server/releases/tag/v3.10.1) - 2021-05-17
|
## [3.10.1](https://github.com/coder/code-server/releases/tag/v3.10.1) - 2021-05-17
|
||||||
|
|
||||||
VS Code v1.56.1
|
VS Code v1.56.1
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ VS Code v1.56.1
|
|||||||
|
|
||||||
- Use xdgBasedir.runtime instead of tmp (#3304).
|
- Use xdgBasedir.runtime instead of tmp (#3304).
|
||||||
|
|
||||||
## [3.10.0](https://github.com/cdr/code-server/releases/tag/v3.10.0) - 2021-05-10
|
## [3.10.0](https://github.com/coder/code-server/releases/tag/v3.10.0) - 2021-05-10
|
||||||
|
|
||||||
VS Code v1.56.0
|
VS Code v1.56.0
|
||||||
|
|
||||||
@ -158,4 +158,4 @@ VS Code v1.56.0
|
|||||||
This was added with `3.10.0`, which means any previous versions are not
|
This was added with `3.10.0`, which means any previous versions are not
|
||||||
documented in the changelog.
|
documented in the changelog.
|
||||||
|
|
||||||
To see those, please visit the [Releases page](https://github.com/cdr/code-server/releases).
|
To see those, please visit the [Releases page](https://github.com/coder/code-server/releases).
|
||||||
|
@ -26,7 +26,7 @@ main() {
|
|||||||
echo "Downloading the cloud agent..."
|
echo "Downloading the cloud agent..."
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent
|
curl -fsSL "https://github.com/coder/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent
|
||||||
chmod +x ./lib/coder-cloud-agent
|
chmod +x ./lib/coder-cloud-agent
|
||||||
set -e
|
set -e
|
||||||
fi
|
fi
|
||||||
|
@ -5,7 +5,7 @@ set -eu
|
|||||||
# Runs code-server with the bundled node binary.
|
# Runs code-server with the bundled node binary.
|
||||||
|
|
||||||
_realpath() {
|
_realpath() {
|
||||||
# See https://github.com/cdr/code-server/issues/1537 on why no realpath or readlink -f.
|
# See https://github.com/coder/code-server/issues/1537 on why no realpath or readlink -f.
|
||||||
|
|
||||||
script="$1"
|
script="$1"
|
||||||
cd "$(dirname "$script")"
|
cd "$(dirname "$script")"
|
||||||
@ -16,7 +16,7 @@ _realpath() {
|
|||||||
&& cat package.json | grep -q '^ "name": "code-server",$'; then
|
&& cat package.json | grep -q '^ "name": "code-server",$'; then
|
||||||
echo "***** Please use the script in bin/code-server instead!" >&2
|
echo "***** Please use the script in bin/code-server instead!" >&2
|
||||||
echo "***** This script will soon be removed!" >&2
|
echo "***** This script will soon be removed!" >&2
|
||||||
echo "***** See the release notes at https://github.com/cdr/code-server/releases/tag/v3.4.0" >&2
|
echo "***** See the release notes at https://github.com/coder/code-server/releases/tag/v3.4.0" >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script="$(readlink "$(basename "$script")")"
|
script="$(readlink "$(basename "$script")")"
|
||||||
|
@ -8,7 +8,7 @@ maintainer: "Anmol Sethi <hi@nhooyr.io>"
|
|||||||
description: |
|
description: |
|
||||||
Run VS Code in the browser.
|
Run VS Code in the browser.
|
||||||
vendor: "Coder"
|
vendor: "Coder"
|
||||||
homepage: "https://github.com/cdr/code-server"
|
homepage: "https://github.com/coder/code-server"
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
|
|
||||||
contents:
|
contents:
|
||||||
|
@ -57,7 +57,7 @@ main() {
|
|||||||
|
|
||||||
mkdir -p ./lib
|
mkdir -p ./lib
|
||||||
|
|
||||||
if curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
|
if curl -fsSL "https://github.com/coder/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
|
||||||
chmod +x ./lib/coder-cloud-agent
|
chmod +x ./lib/coder-cloud-agent
|
||||||
else
|
else
|
||||||
echo "Failed to download cloud agent; --link will not work"
|
echo "Failed to download cloud agent; --link will not work"
|
||||||
@ -65,7 +65,7 @@ main() {
|
|||||||
|
|
||||||
if ! vscode_yarn; then
|
if ! vscode_yarn; then
|
||||||
echo "You may not have the required dependencies to build the native modules."
|
echo "You may not have the required dependencies to build the native modules."
|
||||||
echo "Please see https://github.com/cdr/code-server/blob/master/docs/npm.md"
|
echo "Please see https://github.com/coder/code-server/blob/master/docs/npm.md"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ main() {
|
|||||||
|
|
||||||
echo -e "\nOpening a draft PR on GitHub"
|
echo -e "\nOpening a draft PR on GitHub"
|
||||||
# To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create
|
# To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create
|
||||||
$CMD gh pr create --base main --title "release: $CODE_SERVER_VERSION_TO_UPDATE" --body "$RELEASE_TEMPLATE_STRING" --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft --assignee "@me"
|
$CMD gh pr create --base main --title "release: $CODE_SERVER_VERSION_TO_UPDATE" --body "$RELEASE_TEMPLATE_STRING" --reviewer @coder/code-server-reviewers --repo coder/code-server --draft --assignee "@me"
|
||||||
|
|
||||||
# Open PR in browser
|
# Open PR in browser
|
||||||
$CMD gh pr view --web
|
$CMD gh pr view --web
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: code-server
|
name: code-server
|
||||||
description: A Helm chart for cdr/code-server
|
description: A Helm chart for coder/code-server
|
||||||
|
|
||||||
# A chart can be either an 'application' or a 'library' chart.
|
# A chart can be either an 'application' or a 'library' chart.
|
||||||
#
|
#
|
||||||
|
@ -21,12 +21,12 @@ main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# NOTE: we need to make sure cdrci/homebrew-core
|
# NOTE: we need to make sure coderci/homebrew-core
|
||||||
# is up-to-date
|
# is up-to-date
|
||||||
# otherwise, brew bump-formula-pr will use an
|
# otherwise, brew bump-formula-pr will use an
|
||||||
# outdated base
|
# outdated base
|
||||||
echo "Cloning cdrci/homebrew-core"
|
echo "Cloning coderci/homebrew-core"
|
||||||
git clone https://github.com/cdrci/homebrew-core.git
|
git clone https://github.com/coderci/homebrew-core.git
|
||||||
|
|
||||||
# Make sure the git clone step is successful
|
# Make sure the git clone step is successful
|
||||||
if directory_exists "homebrew-core"; then
|
if directory_exists "homebrew-core"; then
|
||||||
@ -57,7 +57,7 @@ main() {
|
|||||||
echo "Merging in latest Homebrew/homebrew-core changes"
|
echo "Merging in latest Homebrew/homebrew-core changes"
|
||||||
git merge upstream/master
|
git merge upstream/master
|
||||||
|
|
||||||
echo "Pushing changes to cdrci/homebrew-core fork on GitHub"
|
echo "Pushing changes to coderci/homebrew-core fork on GitHub"
|
||||||
|
|
||||||
# GIT_ASKPASS lets us use the password when pushing without revealing it in the process list
|
# GIT_ASKPASS lets us use the password when pushing without revealing it in the process list
|
||||||
# See: https://serverfault.com/a/912788
|
# See: https://serverfault.com/a/912788
|
||||||
@ -86,7 +86,7 @@ main() {
|
|||||||
# Export the variables so git sees them
|
# Export the variables so git sees them
|
||||||
export HOMEBREW_GITHUB_API_TOKEN="$HOMEBREW_GITHUB_API_TOKEN"
|
export HOMEBREW_GITHUB_API_TOKEN="$HOMEBREW_GITHUB_API_TOKEN"
|
||||||
export GIT_ASKPASS="$PATH_TO_ASKPASS"
|
export GIT_ASKPASS="$PATH_TO_ASKPASS"
|
||||||
git push https://cdr-oss@github.com/cdr-oss/homebrew-core.git --all
|
git push https://coder-oss@github.com/coder-oss/homebrew-core.git --all
|
||||||
|
|
||||||
# Find the docs for bump-formula-pr here
|
# Find the docs for bump-formula-pr here
|
||||||
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
||||||
|
@ -67,7 +67,7 @@ main() {
|
|||||||
tar -xzf release-npm-package/package.tar.gz
|
tar -xzf release-npm-package/package.tar.gz
|
||||||
|
|
||||||
# Ignore symlink when publishing npm package
|
# Ignore symlink when publishing npm package
|
||||||
# See: https://github.com/cdr/code-server/pull/3935
|
# See: https://github.com/coder/code-server/pull/3935
|
||||||
echo "node_modules.asar" > release/.npmignore
|
echo "node_modules.asar" > release/.npmignore
|
||||||
|
|
||||||
# NOTES:@jsjoeio
|
# NOTES:@jsjoeio
|
||||||
|
@ -61,7 +61,7 @@ These are required by VS Code. See [their Wiki](https://github.com/microsoft/vsc
|
|||||||
|
|
||||||
## Creating pull requests
|
## Creating pull requests
|
||||||
|
|
||||||
Please create a [GitHub Issue](https://github.com/cdr/code-server/issues) that
|
Please create a [GitHub Issue](https://github.com/coder/code-server/issues) that
|
||||||
includes context for issues that you see. You can skip this if the proposed fix
|
includes context for issues that you see. You can skip this if the proposed fix
|
||||||
is minor.
|
is minor.
|
||||||
|
|
||||||
@ -78,12 +78,12 @@ we'll guide you.
|
|||||||
|
|
||||||
## Development workflow
|
## Development workflow
|
||||||
|
|
||||||
The current development workflow is a bit tricky because we have this repo and we use our `cdr/vscode` fork inside it with [`yarn link`](https://classic.yarnpkg.com/lang/en/docs/cli/link/).
|
The current development workflow is a bit tricky because we have this repo and we use our `coder/vscode` fork inside it with [`yarn link`](https://classic.yarnpkg.com/lang/en/docs/cli/link/).
|
||||||
|
|
||||||
Here are these steps you should follow to get your dev environment setup:
|
Here are these steps you should follow to get your dev environment setup:
|
||||||
|
|
||||||
1. `git clone https://github.com/cdr/code-server.git` - Clone `code-server`
|
1. `git clone https://github.com/coder/code-server.git` - Clone `code-server`
|
||||||
2. `git clone https://github.com/cdr/vscode.git` - Clone `vscode`
|
2. `git clone https://github.com/coder/vscode.git` - Clone `vscode`
|
||||||
3. `cd vscode && yarn install` - install the dependencies in the `vscode` repo
|
3. `cd vscode && yarn install` - install the dependencies in the `vscode` repo
|
||||||
4. `cd code-server && yarn install` - install the dependencies in the `code-server` repo
|
4. `cd code-server && yarn install` - install the dependencies in the `code-server` repo
|
||||||
5. `cd vscode && yarn link` - use `yarn` to create a symlink to the `vscode` repo (`code-oss-dev` package)
|
5. `cd vscode && yarn link` - use `yarn` to create a symlink to the `vscode` repo (`code-oss-dev` package)
|
||||||
@ -92,14 +92,14 @@ Here are these steps you should follow to get your dev environment setup:
|
|||||||
|
|
||||||
### Updates to VS Code
|
### Updates to VS Code
|
||||||
|
|
||||||
If changes are made and merged into `main` in the [`cdr/vscode`](https://github.com/cdr/vscode) repo, then you'll need to update the version in the `code-server` repo by following these steps:
|
If changes are made and merged into `main` in the [`coder/vscode`](https://github.com/coder/vscode) repo, then you'll need to update the version in the `code-server` repo by following these steps:
|
||||||
|
|
||||||
1. Update the package tag listed in `vendor/package.json`:
|
1. Update the package tag listed in `vendor/package.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vscode": "cdr/vscode#<latest-commit-sha>"
|
"vscode": "coder/vscode#<latest-commit-sha>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -148,7 +148,7 @@ yarn package
|
|||||||
|
|
||||||
### Help
|
### Help
|
||||||
|
|
||||||
If you get stuck or need help, you can always start a new GitHub Discussion [here](https://github.com/cdr/code-server/discussions). One of the maintainers will respond and help you out.
|
If you get stuck or need help, you can always start a new GitHub Discussion [here](https://github.com/coder/code-server/discussions). One of the maintainers will respond and help you out.
|
||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
|
16
docs/FAQ.md
16
docs/FAQ.md
@ -37,7 +37,7 @@
|
|||||||
## Questions?
|
## Questions?
|
||||||
|
|
||||||
Please file all questions and support requests at
|
Please file all questions and support requests at
|
||||||
<https://github.com/cdr/code-server/discussions>.
|
<https://github.com/coder/code-server/discussions>.
|
||||||
|
|
||||||
## How should I expose code-server to the internet?
|
## How should I expose code-server to the internet?
|
||||||
|
|
||||||
@ -111,11 +111,11 @@ These are the closed-source extensions that are presently unavailable:
|
|||||||
|
|
||||||
1. [Live Share](https://visualstudio.microsoft.com/services/live-share). We may
|
1. [Live Share](https://visualstudio.microsoft.com/services/live-share). We may
|
||||||
implement something similar (see
|
implement something similar (see
|
||||||
[#33](https://github.com/cdr/code-server/issues/33))
|
[#33](https://github.com/coder/code-server/issues/33))
|
||||||
1. [Remote Extensions (SSH, Containers,
|
1. [Remote Extensions (SSH, Containers,
|
||||||
WSL)](https://github.com/microsoft/vscode-remote-release). We may implement
|
WSL)](https://github.com/microsoft/vscode-remote-release). We may implement
|
||||||
these again at some point, see
|
these again at some point, see
|
||||||
([#1315](https://github.com/cdr/code-server/issues/1315)).
|
([#1315](https://github.com/coder/code-server/issues/1315)).
|
||||||
|
|
||||||
For more about the closed source portions of VS Code, see [vscodium/vscodium](https://github.com/VSCodium/vscodium#why-does-this-exist).
|
For more about the closed source portions of VS Code, see [vscodium/vscodium](https://github.com/VSCodium/vscodium#why-does-this-exist).
|
||||||
|
|
||||||
@ -222,7 +222,7 @@ You may have to give Node.js full disk access, since it doesn't implement any of
|
|||||||
Privacy** > **Privacy** > **Full Disk Access**. Then, click the 🔒 to unlock,
|
Privacy** > **Privacy** > **Full Disk Access**. Then, click the 🔒 to unlock,
|
||||||
click **+**, and select the Node.js binary you located in the previous step.
|
click **+**, and select the Node.js binary you located in the previous step.
|
||||||
|
|
||||||
See [#2794](https://github.com/cdr/code-server/issues/2794) for additional context.
|
See [#2794](https://github.com/coder/code-server/issues/2794) for additional context.
|
||||||
|
|
||||||
## How do I direct server-side requests through a proxy?
|
## How do I direct server-side requests through a proxy?
|
||||||
|
|
||||||
@ -302,7 +302,7 @@ after a predetermined amount of time, you can do so by checking continuously for
|
|||||||
the last modified time on the heartbeat file. If it is older than X minutes (or
|
the last modified time on the heartbeat file. If it is older than X minutes (or
|
||||||
whatever amount of time you'd like), you can kill code-server.
|
whatever amount of time you'd like), you can kill code-server.
|
||||||
|
|
||||||
Eventually, [#1636](https://github.com/cdr/code-server/issues/1636) will make
|
Eventually, [#1636](https://github.com/coder/code-server/issues/1636) will make
|
||||||
this process better.
|
this process better.
|
||||||
|
|
||||||
## How do I change the password?
|
## How do I change the password?
|
||||||
@ -376,7 +376,7 @@ Theia doesn't allow you to reuse your existing VS Code config.
|
|||||||
## What's the difference between code-server and OpenVSCode-Server?
|
## What's the difference between code-server and OpenVSCode-Server?
|
||||||
|
|
||||||
code-server and OpenVSCode-Server both allow you to access VS Code via a
|
code-server and OpenVSCode-Server both allow you to access VS Code via a
|
||||||
browser. The two projects also use their own [forks of VS Code](https://github.com/cdr/vscode) to
|
browser. The two projects also use their own [forks of VS Code](https://github.com/coder/vscode) to
|
||||||
leverage modern VS Code APIs and stay up to date with the upsteam version.
|
leverage modern VS Code APIs and stay up to date with the upsteam version.
|
||||||
|
|
||||||
However, OpenVSCode-Server is scoped at only making VS Code available in the web browser.
|
However, OpenVSCode-Server is scoped at only making VS Code available in the web browser.
|
||||||
@ -388,7 +388,7 @@ code-server includes some other features:
|
|||||||
- plugin API
|
- plugin API
|
||||||
- settings sync (coming soon)
|
- settings sync (coming soon)
|
||||||
|
|
||||||
For more details, see [this discussion post](https://github.com/cdr/code-server/discussions/4267#discussioncomment-1411583).
|
For more details, see [this discussion post](https://github.com/coder/code-server/discussions/4267#discussioncomment-1411583).
|
||||||
|
|
||||||
## What's the difference between code-server and GitHub Codespaces?
|
## What's the difference between code-server and GitHub Codespaces?
|
||||||
|
|
||||||
@ -406,7 +406,7 @@ minute plus an additional twelve per hour.
|
|||||||
|
|
||||||
## Are there community projects involving code-server?
|
## Are there community projects involving code-server?
|
||||||
|
|
||||||
Visit the [awesome-code-server](https://github.com/cdr/awesome-code-server)
|
Visit the [awesome-code-server](https://github.com/coder/awesome-code-server)
|
||||||
repository to view community projects and guides with code-server! Feel free to
|
repository to view community projects and guides with code-server! Feel free to
|
||||||
add your own!
|
add your own!
|
||||||
|
|
||||||
|
@ -185,12 +185,12 @@ If you're the current release manager, follow these steps:
|
|||||||
artifacts, publish the NPM package from `npm-package`, and publish the Docker
|
artifacts, publish the NPM package from `npm-package`, and publish the Docker
|
||||||
Hub image from `release-images`.
|
Hub image from `release-images`.
|
||||||
1. Update the AUR package. Instructions for updating the AUR package are at
|
1. Update the AUR package. Instructions for updating the AUR package are at
|
||||||
[cdr/code-server-aur](https://github.com/cdr/code-server-aur).
|
[coder/code-server-aur](https://github.com/coder/code-server-aur).
|
||||||
1. Wait for the npm package to be published.
|
1. Wait for the npm package to be published.
|
||||||
|
|
||||||
#### AUR
|
#### AUR
|
||||||
|
|
||||||
We publish to AUR as a package [here](https://aur.archlinux.org/packages/code-server/). This process is manual and can be done by following the steps in [this repo](https://github.com/cdr/code-server-aur).
|
We publish to AUR as a package [here](https://aur.archlinux.org/packages/code-server/). This process is manual and can be done by following the steps in [this repo](https://github.com/coder/code-server-aur).
|
||||||
|
|
||||||
#### Docker
|
#### Docker
|
||||||
|
|
||||||
@ -217,7 +217,7 @@ This is currently automated with the release process.
|
|||||||
|
|
||||||
## Syncing with Upstream VS Code
|
## Syncing with Upstream VS Code
|
||||||
|
|
||||||
The VS Code portion of code-server lives under [`cdr/vscode`](https://github.com/cdr/vscode). To update VS Code for code-server, follow these steps:
|
The VS Code portion of code-server lives under [`coder/vscode`](https://github.com/coder/vscode). To update VS Code for code-server, follow these steps:
|
||||||
|
|
||||||
1. `git checkout -b vscode-update` - Create a new branch locally based off `main`
|
1. `git checkout -b vscode-update` - Create a new branch locally based off `main`
|
||||||
2. `git fetch upstream` - Fetch upstream (VS Code)'s latest `main` branch
|
2. `git fetch upstream` - Fetch upstream (VS Code)'s latest `main` branch
|
||||||
@ -225,7 +225,7 @@ The VS Code portion of code-server lives under [`cdr/vscode`](https://github.com
|
|||||||
1. If there are merge conflicts, fix them locally
|
1. If there are merge conflicts, fix them locally
|
||||||
4. Open a PR merging your branch (`vscode-update`) into `main` and add the code-server review team
|
4. Open a PR merging your branch (`vscode-update`) into `main` and add the code-server review team
|
||||||
|
|
||||||
Ideally, our fork stays as close to upstream as possible. See the differences between our fork and upstream [here](https://github.com/microsoft/vscode/compare/main...cdr:main).
|
Ideally, our fork stays as close to upstream as possible. See the differences between our fork and upstream [here](https://github.com/microsoft/vscode/compare/main...coder:main).
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ Otherwise, talk to a current maintainer and ask which part of the codebase is la
|
|||||||
|
|
||||||
Our docs are hosted on [Vercel](https://vercel.com/). Vercel only shows logs in realtime, which means you need to have the logs open in one tab and reproduce your error in another tab. Since our logs are private to Coder the organization, you can only follow these steps if you're a Coder employee. Ask a maintainer for help if you need it.
|
Our docs are hosted on [Vercel](https://vercel.com/). Vercel only shows logs in realtime, which means you need to have the logs open in one tab and reproduce your error in another tab. Since our logs are private to Coder the organization, you can only follow these steps if you're a Coder employee. Ask a maintainer for help if you need it.
|
||||||
|
|
||||||
Taking a real scenario, let's say you wanted to troubleshoot [this docs change](https://github.com/cdr/code-server/pull/4042). Here is how you would do it:
|
Taking a real scenario, let's say you wanted to troubleshoot [this docs change](https://github.com/coder/code-server/pull/4042). Here is how you would do it:
|
||||||
|
|
||||||
1. Go to https://vercel.com/codercom/codercom
|
1. Go to https://vercel.com/codercom/codercom
|
||||||
2. Click "View Function Logs"
|
2. Click "View Function Logs"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# code-server
|
# code-server
|
||||||
|
|
||||||
[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://cdr.co/join-community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![codecov](https://codecov.io/gh/coder/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/coder/code-server) [![See v4.0.2 docs](https://img.shields.io/static/v1?label=Docs&message=see%20v4.0.2%20&color=blue)](https://github.com/coder/code-server/tree/v4.0.2/docs)
|
[!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/coder/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://coder.co/join-community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![codecov](https://codecov.io/gh/coder/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/coder/code-server) [![See v4.0.2 docs](https://img.shields.io/static/v1?label=Docs&message=see%20v4.0.2%20&color=blue)](https://github.com/coder/code-server/tree/v4.0.2/docs)
|
||||||
|
|
||||||
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and
|
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and
|
||||||
access it in the browser.
|
access it in the browser.
|
||||||
|
@ -26,9 +26,9 @@ We use the following tools to help us stay on top of vulnerability mitigation.
|
|||||||
|
|
||||||
Coder sponsors the development and maintenance of the code-server project. We will fix security issues within 90 days of receiving a report and publish the fix in a subsequent release. The code-server project does not provide backports or patch releases for security issues at this time.
|
Coder sponsors the development and maintenance of the code-server project. We will fix security issues within 90 days of receiving a report and publish the fix in a subsequent release. The code-server project does not provide backports or patch releases for security issues at this time.
|
||||||
|
|
||||||
| Version | Supported |
|
| Version | Supported |
|
||||||
| ----------------------------------------------------- | ------------------ |
|
| ------------------------------------------------------- | ------------------ |
|
||||||
| [Latest](https://github.com/cdr/code-server/releases) | :white_check_mark: |
|
| [Latest](https://github.com/coder/code-server/releases) | :white_check_mark: |
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
@ -345,8 +345,8 @@ instead and the path will be passed as is (e.g., `/absproxy/3000/my-app-path`).
|
|||||||
### Proxying to create a React app
|
### Proxying to create a React app
|
||||||
|
|
||||||
You must use `/absproxy/<port>` with `create-react-app` (see
|
You must use `/absproxy/<port>` with `create-react-app` (see
|
||||||
[#2565](https://github.com/cdr/code-server/issues/2565) and
|
[#2565](https://github.com/coder/code-server/issues/2565) and
|
||||||
[#2222](https://github.com/cdr/code-server/issues/2222) for more information).
|
[#2222](https://github.com/coder/code-server/issues/2222) for more information).
|
||||||
You will need to inform `create-react-app` of the path at which you are serving
|
You will need to inform `create-react-app` of the path at which you are serving
|
||||||
via `$PUBLIC_URL` and webpack via `$WDS_SOCKET_PATH`:
|
via `$PUBLIC_URL` and webpack via `$WDS_SOCKET_PATH`:
|
||||||
|
|
||||||
@ -396,7 +396,7 @@ sudo apt update
|
|||||||
sudo apt install wget unzip openssh-server
|
sudo apt install wget unzip openssh-server
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Start the SSH server and set the password for your user, if you haven't already. If you use [deploy-code-server](https://github.com/cdr/deploy-code-server),
|
2. Start the SSH server and set the password for your user, if you haven't already. If you use [deploy-code-server](https://github.com/coder/deploy-code-server),
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo service ssh start
|
sudo service ssh start
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square)](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) [![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![AppVersion: 4.0.2](https://img.shields.io/badge/AppVersion-4.0.2-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.0.2-informational?style=flat-square)
|
[![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square)](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) [![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![AppVersion: 4.0.2](https://img.shields.io/badge/AppVersion-4.0.2-informational?style=flat-square)](https://img.shields.io/badge/AppVersion-4.0.2-informational?style=flat-square)
|
||||||
|
|
||||||
[code-server](https://github.com/cdr/code-server) code-server is VS Code running
|
[code-server](https://github.com/coder/code-server) code-server is VS Code running
|
||||||
on a remote server, accessible through the browser.
|
on a remote server, accessible through the browser.
|
||||||
|
|
||||||
This chart is community maintained by [@Matthew-Beckett](https://github.com/Matthew-Beckett) and [@alexgorbatchev](https://github.com/alexgorbatchev)
|
This chart is community maintained by [@Matthew-Beckett](https://github.com/Matthew-Beckett) and [@alexgorbatchev](https://github.com/alexgorbatchev)
|
||||||
@ -10,7 +10,7 @@ This chart is community maintained by [@Matthew-Beckett](https://github.com/Matt
|
|||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ git clone https://github.com/cdr/code-server
|
$ git clone https://github.com/coder/code-server
|
||||||
$ cd code-server
|
$ cd code-server
|
||||||
$ helm upgrade --install code-server ci/helm-chart
|
$ helm upgrade --install code-server ci/helm-chart
|
||||||
```
|
```
|
||||||
@ -30,7 +30,7 @@ package manager.
|
|||||||
To install the chart with the release name `code-server`:
|
To install the chart with the release name `code-server`:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ git clone https://github.com/cdr/code-server
|
$ git clone https://github.com/coder/code-server
|
||||||
$ cd code-server
|
$ cd code-server
|
||||||
$ helm upgrade --install code-server ci/helm-chart
|
$ helm upgrade --install code-server ci/helm-chart
|
||||||
```
|
```
|
||||||
|
@ -30,7 +30,7 @@ operating systems.
|
|||||||
## install.sh
|
## install.sh
|
||||||
|
|
||||||
The easiest way to install code-server is to use our [install
|
The easiest way to install code-server is to use our [install
|
||||||
script](https://github.com/cdr/code-server/blob/main/install.sh) for Linux, macOS and FreeBSD. The install script
|
script](https://github.com/coder/code-server/blob/main/install.sh) for Linux, macOS and FreeBSD. The install script
|
||||||
[attempts to use the system package manager](#detection-reference) if possible.
|
[attempts to use the system package manager](#detection-reference) if possible.
|
||||||
|
|
||||||
You can preview what occurs during the install process:
|
You can preview what occurs during the install process:
|
||||||
@ -67,7 +67,7 @@ code-server.
|
|||||||
|
|
||||||
If you prefer to install code-server manually, despite the [detection
|
If you prefer to install code-server manually, despite the [detection
|
||||||
references](#detection-reference) and `--dry-run` feature, then continue on for
|
references](#detection-reference) and `--dry-run` feature, then continue on for
|
||||||
information on how to do this. The [`install.sh`](https://github.com/cdr/code-server/blob/main/install.sh) script runs the
|
information on how to do this. The [`install.sh`](https://github.com/coder/code-server/blob/main/install.sh) script runs the
|
||||||
_exact_ same commands presented in the rest of this document.
|
_exact_ same commands presented in the rest of this document.
|
||||||
|
|
||||||
### Detection reference
|
### Detection reference
|
||||||
@ -104,7 +104,7 @@ We recommend installing with `yarn` or `npm` when:
|
|||||||
1. You're on Linux with `glibc` < v2.17, `glibcxx` < v3.4.18 on `amd64`, `glibc`
|
1. You're on Linux with `glibc` < v2.17, `glibcxx` < v3.4.18 on `amd64`, `glibc`
|
||||||
< v2.23, or `glibcxx` < v3.4.21 on `arm64`.
|
< v2.23, or `glibcxx` < v3.4.21 on `arm64`.
|
||||||
1. You're running Alpine Linux or are using a non-glibc libc. See
|
1. You're running Alpine Linux or are using a non-glibc libc. See
|
||||||
[#1430](https://github.com/cdr/code-server/issues/1430#issuecomment-629883198)
|
[#1430](https://github.com/coder/code-server/issues/1430#issuecomment-629883198)
|
||||||
for more information.
|
for more information.
|
||||||
|
|
||||||
Installing code-server with `yarn` or `npm` builds native modules on install.
|
Installing code-server with `yarn` or `npm` builds native modules on install.
|
||||||
@ -114,7 +114,7 @@ This process requires C dependencies; see our guide on [installing with yarn and
|
|||||||
## Standalone releases
|
## Standalone releases
|
||||||
|
|
||||||
We publish self-contained `.tar.gz` archives for every release on
|
We publish self-contained `.tar.gz` archives for every release on
|
||||||
[GitHub](https://github.com/cdr/code-server/releases). The archives bundle the
|
[GitHub](https://github.com/coder/code-server/releases). The archives bundle the
|
||||||
node binary and node modules.
|
node binary and node modules.
|
||||||
|
|
||||||
We create the standalone releases using the [npm package](#yarn-npm), and we
|
We create the standalone releases using the [npm package](#yarn-npm), and we
|
||||||
@ -127,7 +127,7 @@ requirement).
|
|||||||
To use a standalone release:
|
To use a standalone release:
|
||||||
|
|
||||||
1. Download the latest release archive for your system from
|
1. Download the latest release archive for your system from
|
||||||
[GitHub](https://github.com/cdr/code-server/releases).
|
[GitHub](https://github.com/coder/code-server/releases).
|
||||||
2. Unpack the release.
|
2. Unpack the release.
|
||||||
3. Run code-server by executing `./bin/code-server`.
|
3. Run code-server by executing `./bin/code-server`.
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ release on Linux:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p ~/.local/lib ~/.local/bin
|
mkdir -p ~/.local/lib ~/.local/bin
|
||||||
curl -fL https://github.com/cdr/code-server/releases/download/v$VERSION/code-server-$VERSION-linux-amd64.tar.gz \
|
curl -fL https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-linux-amd64.tar.gz \
|
||||||
| tar -C ~/.local/lib -xz
|
| tar -C ~/.local/lib -xz
|
||||||
mv ~/.local/lib/code-server-$VERSION-linux-amd64 ~/.local/lib/code-server-$VERSION
|
mv ~/.local/lib/code-server-$VERSION-linux-amd64 ~/.local/lib/code-server-$VERSION
|
||||||
ln -s ~/.local/lib/code-server-$VERSION/bin/code-server ~/.local/bin/code-server
|
ln -s ~/.local/lib/code-server-$VERSION/bin/code-server ~/.local/bin/code-server
|
||||||
@ -154,7 +154,7 @@ code-server
|
|||||||
> upgrade or [build with yarn](#yarn-npm).
|
> upgrade or [build with yarn](#yarn-npm).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fOL https://github.com/cdr/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb
|
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb
|
||||||
sudo dpkg -i code-server_$VERSION_amd64.deb
|
sudo dpkg -i code-server_$VERSION_amd64.deb
|
||||||
sudo systemctl enable --now code-server@$USER
|
sudo systemctl enable --now code-server@$USER
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
@ -166,7 +166,7 @@ sudo systemctl enable --now code-server@$USER
|
|||||||
> with yarn](#yarn-npm).
|
> with yarn](#yarn-npm).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fOL https://github.com/cdr/code-server/releases/download/v$VERSION/code-server-$VERSION-amd64.rpm
|
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-amd64.rpm
|
||||||
sudo rpm -i code-server-$VERSION-amd64.rpm
|
sudo rpm -i code-server-$VERSION-amd64.rpm
|
||||||
sudo systemctl enable --now code-server@$USER
|
sudo systemctl enable --now code-server@$USER
|
||||||
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
|
||||||
@ -228,9 +228,9 @@ You can install code-server using the [Helm package manager](https://coder.com/d
|
|||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
We currently [do not publish Windows releases](https://github.com/cdr/code-server/issues/1397). We recommend installing code-server onto Windows with [`yarn` or `npm`](#yarn-npm).
|
We currently [do not publish Windows releases](https://github.com/coder/code-server/issues/1397). We recommend installing code-server onto Windows with [`yarn` or `npm`](#yarn-npm).
|
||||||
|
|
||||||
> Note: You will also need to [build cdr/cloud-agent manually](https://github.com/cdr/cloud-agent/issues/17) if you would like to use `code-server --link` on Windows.
|
> Note: You will also need to [build coder/cloud-agent manually](https://github.com/coder/cloud-agent/issues/17) if you would like to use `code-server --link` on Windows.
|
||||||
|
|
||||||
## Raspberry Pi
|
## Raspberry Pi
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ information.
|
|||||||
## Cloud providers
|
## Cloud providers
|
||||||
|
|
||||||
We maintain [one-click apps and install scripts for cloud
|
We maintain [one-click apps and install scripts for cloud
|
||||||
providers](https://github.com/cdr/deploy-code-server) such as DigitalOcean,
|
providers](https://github.com/coder/deploy-code-server) such as DigitalOcean,
|
||||||
Railway, Heroku, and Azure.
|
Railway, Heroku, and Azure.
|
||||||
|
|
||||||
## Uninstall
|
## Uninstall
|
||||||
|
12
docs/ipad.md
12
docs/ipad.md
@ -104,7 +104,7 @@ and tricks helpful:
|
|||||||
process](#access-code-server-with-a-self-signed-certificate-on-an-ipad)
|
process](#access-code-server-with-a-self-signed-certificate-on-an-ipad)
|
||||||
- Keyboard issues:
|
- Keyboard issues:
|
||||||
- The keyboard disappear sometimes
|
- The keyboard disappear sometimes
|
||||||
[#979](https://github.com/cdr/code-server/issues/979)
|
[#979](https://github.com/coder/code-server/issues/979)
|
||||||
- Some expectations regarding shortcuts may not be met:
|
- Some expectations regarding shortcuts may not be met:
|
||||||
- `cmd + n` opens new browser window instead of new file, and it's difficult
|
- `cmd + n` opens new browser window instead of new file, and it's difficult
|
||||||
to set alternative as a workaround
|
to set alternative as a workaround
|
||||||
@ -112,18 +112,18 @@ and tricks helpful:
|
|||||||
- There's no escape key by default on the Magic Keyboard, so most users set
|
- There's no escape key by default on the Magic Keyboard, so most users set
|
||||||
the globe key to be an escape key
|
the globe key to be an escape key
|
||||||
- Trackpad scrolling does not work on iPadOS < 14.5
|
- Trackpad scrolling does not work on iPadOS < 14.5
|
||||||
([#1455](https://github.com/cdr/code-server/issues/1455))
|
([#1455](https://github.com/coder/code-server/issues/1455))
|
||||||
- [WebKit fix](https://bugs.webkit.org/show_bug.cgi?id=210071#c13)
|
- [WebKit fix](https://bugs.webkit.org/show_bug.cgi?id=210071#c13)
|
||||||
- Keyboard may lose focus in Safari / split view [#4182](https://github.com/cdr/code-server/issues/4182)
|
- Keyboard may lose focus in Safari / split view [#4182](https://github.com/coder/code-server/issues/4182)
|
||||||
- Terminal text does not appear by default [#3824](https://github.com/cdr/code-server/issues/3824)
|
- Terminal text does not appear by default [#3824](https://github.com/coder/code-server/issues/3824)
|
||||||
- Copy & paste in terminal does not work well with keyboard shortcuts [#3491](https://github.com/cdr/code-server/issues/3491)
|
- Copy & paste in terminal does not work well with keyboard shortcuts [#3491](https://github.com/coder/code-server/issues/3491)
|
||||||
- `ctrl+c` does not stop a long-running process in the browser
|
- `ctrl+c` does not stop a long-running process in the browser
|
||||||
- Tracking upstream issue here:
|
- Tracking upstream issue here:
|
||||||
[#114009](https://github.com/microsoft/vscode/issues/114009)
|
[#114009](https://github.com/microsoft/vscode/issues/114009)
|
||||||
- See [workaround](#ctrl-c-workaround)
|
- See [workaround](#ctrl-c-workaround)
|
||||||
|
|
||||||
Additionally, see [issues in the code-server repo that are tagged with the `os-ios`
|
Additionally, see [issues in the code-server repo that are tagged with the `os-ios`
|
||||||
label](https://github.com/cdr/code-server/issues?q=is%3Aopen+is%3Aissue+label%3Aos-ios)
|
label](https://github.com/coder/code-server/issues?q=is%3Aopen+is%3Aissue+label%3Aos-ios)
|
||||||
for more information.
|
for more information.
|
||||||
|
|
||||||
### Workaround for issue with `ctrl+c` not stopping a running process in the terminal
|
### Workaround for issue with `ctrl+c` not stopping a running process in the terminal
|
||||||
|
@ -7,5 +7,5 @@ for accessing your IDE out of the box.
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
$ code-server --link
|
$ code-server --link
|
||||||
Proxying code-server, you can access your IDE at https://example.cdr.co
|
Proxying code-server, you can access your IDE at https://example.coder.co
|
||||||
```
|
```
|
||||||
|
@ -27,7 +27,7 @@ which is currently `14.x`. VS Code also [lists Node.js
|
|||||||
requirements](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites).
|
requirements](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites).
|
||||||
|
|
||||||
Using other versions of Node.js [may lead to unexpected
|
Using other versions of Node.js [may lead to unexpected
|
||||||
behavior](https://github.com/cdr/code-server/issues/1633).
|
behavior](https://github.com/coder/code-server/issues/1633).
|
||||||
|
|
||||||
## Ubuntu, Debian
|
## Ubuntu, Debian
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ yarn global bin
|
|||||||
# Or: npm config get prefix
|
# Or: npm config get prefix
|
||||||
```
|
```
|
||||||
|
|
||||||
For help and additional troubleshooting, see [#1397](https://github.com/cdr/code-server/issues/1397).
|
For help and additional troubleshooting, see [#1397](https://github.com/coder/code-server/issues/1397).
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ code-server
|
|||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
If you need further assistance, post on our [GitHub Discussions
|
If you need further assistance, post on our [GitHub Discussions
|
||||||
page](https://github.com/cdr/code-server/discussions).
|
page](https://github.com/coder/code-server/discussions).
|
||||||
|
|
||||||
### Issues with Node.js after version upgrades
|
### Issues with Node.js after version upgrades
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@ This will show issues that:
|
|||||||
1. If more information is required, please ask the submitter and tag as
|
1. If more information is required, please ask the submitter and tag as
|
||||||
`waiting-for-info` and wait.
|
`waiting-for-info` and wait.
|
||||||
1. Finally, the issue should be moved into the
|
1. Finally, the issue should be moved into the
|
||||||
[code-server](https://github.com/cdr/code-server/projects/1) project where we
|
[code-server](https://github.com/coder/code-server/projects/1) project where we
|
||||||
pick out issues to fix and track their progress.
|
pick out issues to fix and track their progress.
|
||||||
|
|
||||||
We also use [milestones](https://github.com/cdr/code-server/milestones) to track
|
We also use [milestones](https://github.com/coder/code-server/milestones) to track
|
||||||
what issues are planned/or were closed for what release.
|
what issues are planned/or were closed for what release.
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "4.0.2",
|
"version": "4.0.2",
|
||||||
"description": "Run VS Code on a remote server.",
|
"description": "Run VS Code on a remote server.",
|
||||||
"homepage": "https://github.com/cdr/code-server",
|
"homepage": "https://github.com/coder/code-server",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/cdr/code-server/issues"
|
"url": "https://github.com/coder/code-server/issues"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/cdr/code-server",
|
"repository": "https://github.com/coder/code-server",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "./ci/build/clean.sh",
|
"clean": "./ci/build/clean.sh",
|
||||||
"build": "./ci/build/build-code-server.sh",
|
"build": "./ci/build/build-code-server.sh",
|
||||||
|
@ -229,7 +229,7 @@ const options: Options<Required<UserProvidedArgs>> = {
|
|||||||
type: OptionalString,
|
type: OptionalString,
|
||||||
description: `
|
description: `
|
||||||
Securely bind code-server via our cloud service with the passed name. You'll get a URL like
|
Securely bind code-server via our cloud service with the passed name. You'll get a URL like
|
||||||
https://hostname-username.cdr.co at which you can easily access your code-server instance.
|
https://hostname-username.coder.co at which you can easily access your code-server instance.
|
||||||
Authorization is done via GitHub.
|
Authorization is done via GitHub.
|
||||||
`,
|
`,
|
||||||
deprecated: true,
|
deprecated: true,
|
||||||
|
@ -3,7 +3,7 @@ import { spawn } from "child_process"
|
|||||||
import path from "path"
|
import path from "path"
|
||||||
import split2 from "split2"
|
import split2 from "split2"
|
||||||
|
|
||||||
// https://github.com/cdr/coder-cloud
|
// https://github.com/coder/coder-cloud
|
||||||
const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")
|
const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")
|
||||||
|
|
||||||
function runAgent(...args: string[]): Promise<void> {
|
function runAgent(...args: string[]): Promise<void> {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "code-server-extension",
|
"name": "code-server-extension",
|
||||||
"description": "code-server test extension",
|
"description": "code-server test extension",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"publisher": "cdr",
|
"publisher": "coder",
|
||||||
"activationEvents": [
|
"activationEvents": [
|
||||||
"onCommand:codeServerTest.proxyUri"
|
"onCommand:codeServerTest.proxyUri"
|
||||||
],
|
],
|
||||||
|
@ -8,7 +8,7 @@ describe("constants", () => {
|
|||||||
const mockPackageJson = {
|
const mockPackageJson = {
|
||||||
name: "mock-code-server",
|
name: "mock-code-server",
|
||||||
description: "Run VS Code on a remote server.",
|
description: "Run VS Code on a remote server.",
|
||||||
repository: "https://github.com/cdr/code-server",
|
repository: "https://github.com/coder/code-server",
|
||||||
version: "1.0.0",
|
version: "1.0.0",
|
||||||
commit: "f6b2be2838f4afb217c2fd8f03eafedd8d55ef9b",
|
commit: "f6b2be2838f4afb217c2fd8f03eafedd8d55ef9b",
|
||||||
}
|
}
|
||||||
|
2
typings/pluginapi.d.ts
vendored
2
typings/pluginapi.d.ts
vendored
@ -72,7 +72,7 @@ import Websocket from "ws"
|
|||||||
* "plugin": {
|
* "plugin": {
|
||||||
* "name": "test-plugin",
|
* "name": "test-plugin",
|
||||||
* "version": "1.0.0",
|
* "version": "1.0.0",
|
||||||
* "modulePath": "/Users/nhooyr/src/cdr/code-server/test/test-plugin",
|
* "modulePath": "/Users/nhooyr/src/coder/code-server/test/test-plugin",
|
||||||
* "displayName": "Test Plugin",
|
* "displayName": "Test Plugin",
|
||||||
* "description": "Plugin used in code-server tests.",
|
* "description": "Plugin used in code-server tests.",
|
||||||
* "routerPath": "/test-plugin",
|
* "routerPath": "/test-plugin",
|
||||||
|
2
vendor/package.json
vendored
2
vendor/package.json
vendored
@ -7,6 +7,6 @@
|
|||||||
"postinstall": "./postinstall.sh"
|
"postinstall": "./postinstall.sh"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"code-oss-dev": "cdr/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892"
|
"code-oss-dev": "coder/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
vendor/yarn.lock
vendored
4
vendor/yarn.lock
vendored
@ -274,9 +274,9 @@ clone-response@^1.0.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
mimic-response "^1.0.0"
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
code-oss-dev@cdr/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892:
|
code-oss-dev@coder/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892:
|
||||||
version "1.63.0"
|
version "1.63.0"
|
||||||
resolved "https://codeload.github.com/cdr/vscode/tar.gz/d4f09b4df0d23ead4389b4a69c6fad86ac358892"
|
resolved "https://codeload.github.com/coder/vscode/tar.gz/d4f09b4df0d23ead4389b4a69c6fad86ac358892"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@microsoft/applicationinsights-web" "^2.6.4"
|
"@microsoft/applicationinsights-web" "^2.6.4"
|
||||||
"@parcel/watcher" "2.0.3"
|
"@parcel/watcher" "2.0.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user