From 10f57bac65f9aa5938df4e495da39c608fbf7798 Mon Sep 17 00:00:00 2001 From: LG <76845820+im-coder-lg@users.noreply.github.com> Date: Tue, 1 Feb 2022 22:15:19 +0530 Subject: [PATCH] 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 --- .github/workflows/ci.yaml | 2 +- .tours/contributing.tour | 10 ++++----- .tours/start-development.tour | 2 +- CHANGELOG.md | 20 ++++++++--------- ci/build/build-code-server.sh | 2 +- ci/build/code-server.sh | 4 ++-- ci/build/nfpm.yaml | 2 +- ci/build/npm-postinstall.sh | 4 ++-- ci/build/release-prep.sh | 2 +- ci/helm-chart/Chart.yaml | 2 +- ci/steps/brew-bump.sh | 10 ++++----- ci/steps/publish-npm.sh | 2 +- docs/CONTRIBUTING.md | 14 ++++++------ docs/FAQ.md | 16 +++++++------- docs/MAINTAINING.md | 10 ++++----- docs/README.md | 2 +- docs/SECURITY.md | 6 ++--- docs/guide.md | 6 ++--- docs/helm.md | 6 ++--- docs/install.md | 22 +++++++++---------- docs/ipad.md | 12 +++++----- docs/link.md | 2 +- docs/npm.md | 6 ++--- docs/triage.md | 4 ++-- package.json | 6 ++--- src/node/cli.ts | 2 +- src/node/coder_cloud.ts | 2 +- .../extensions/test-extension/package.json | 2 +- test/unit/node/constants.test.ts | 2 +- typings/pluginapi.d.ts | 2 +- vendor/package.json | 2 +- vendor/yarn.lock | 4 ++-- 32 files changed, 95 insertions(+), 95 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index aed480e3..7d18ada0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,7 +34,7 @@ jobs: # NOTE@jsjoeio # disabling this until we can audit the build process # 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 # id: cache-yarn # uses: actions/cache@v2 diff --git a/.tours/contributing.tour b/.tours/contributing.tour index 53befe20..95799b6a 100644 --- a/.tours/contributing.tour +++ b/.tours/contributing.tour @@ -50,7 +50,7 @@ { "file": "src/node/heart.ts", "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", @@ -80,12 +80,12 @@ { "file": "src/node/routes/domainProxy.ts", "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", "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", @@ -95,7 +95,7 @@ { "file": "src/node/routes/health.ts", "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", @@ -145,7 +145,7 @@ { "directory": "vendor/modules/code-oss-dev", "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." } ] } diff --git a/.tours/start-development.tour b/.tours/start-development.tour index 03f32927..168dce24 100644 --- a/.tours/start-development.tour +++ b/.tours/start-development.tour @@ -20,7 +20,7 @@ { "file": "src/node/app.ts", "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)" } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dfcee07..9c4d25b7 100644 --- a/CHANGELOG.md +++ b/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 @@ -28,7 +28,7 @@ VS Code v0.00.0 - 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 @@ -39,7 +39,7 @@ VS Code v1.63.0 file is missing. While we do include the script now we are leaving the 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 @@ -77,7 +77,7 @@ implementation (#4414). - 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 @@ -89,15 +89,15 @@ VS Code v1.60.0 - 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). -## [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). -## [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 @@ -113,7 +113,7 @@ VS Code v1.56.1 - 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 @@ -127,7 +127,7 @@ VS Code v1.56.1 - 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 @@ -158,4 +158,4 @@ VS Code v1.56.0 This was added with `3.10.0`, which means any previous versions are not 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). diff --git a/ci/build/build-code-server.sh b/ci/build/build-code-server.sh index 99f0df69..01b34885 100755 --- a/ci/build/build-code-server.sh +++ b/ci/build/build-code-server.sh @@ -26,7 +26,7 @@ main() { echo "Downloading the cloud agent..." 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 set -e fi diff --git a/ci/build/code-server.sh b/ci/build/code-server.sh index cb71c182..c2bdfc89 100755 --- a/ci/build/code-server.sh +++ b/ci/build/code-server.sh @@ -5,7 +5,7 @@ set -eu # Runs code-server with the bundled node binary. _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" cd "$(dirname "$script")" @@ -16,7 +16,7 @@ _realpath() { && cat package.json | grep -q '^ "name": "code-server",$'; then echo "***** Please use the script in bin/code-server instead!" >&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 script="$(readlink "$(basename "$script")")" diff --git a/ci/build/nfpm.yaml b/ci/build/nfpm.yaml index 93142d19..ae9d69c3 100644 --- a/ci/build/nfpm.yaml +++ b/ci/build/nfpm.yaml @@ -8,7 +8,7 @@ maintainer: "Anmol Sethi " description: | Run VS Code in the browser. vendor: "Coder" -homepage: "https://github.com/cdr/code-server" +homepage: "https://github.com/coder/code-server" license: "MIT" contents: diff --git a/ci/build/npm-postinstall.sh b/ci/build/npm-postinstall.sh index e84b97ce..2b9b0a68 100755 --- a/ci/build/npm-postinstall.sh +++ b/ci/build/npm-postinstall.sh @@ -57,7 +57,7 @@ main() { 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 else echo "Failed to download cloud agent; --link will not work" @@ -65,7 +65,7 @@ main() { if ! vscode_yarn; then 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 fi diff --git a/ci/build/release-prep.sh b/ci/build/release-prep.sh index 671791e5..a7f9967a 100755 --- a/ci/build/release-prep.sh +++ b/ci/build/release-prep.sh @@ -90,7 +90,7 @@ main() { echo -e "\nOpening a draft PR on GitHub" # 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 $CMD gh pr view --web diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index 29e5dd1d..233e71c5 100644 --- a/ci/helm-chart/Chart.yaml +++ b/ci/helm-chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 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. # diff --git a/ci/steps/brew-bump.sh b/ci/steps/brew-bump.sh index 1e621135..7df17da9 100755 --- a/ci/steps/brew-bump.sh +++ b/ci/steps/brew-bump.sh @@ -21,12 +21,12 @@ main() { exit 1 fi - # NOTE: we need to make sure cdrci/homebrew-core + # NOTE: we need to make sure coderci/homebrew-core # is up-to-date # otherwise, brew bump-formula-pr will use an # outdated base - echo "Cloning cdrci/homebrew-core" - git clone https://github.com/cdrci/homebrew-core.git + echo "Cloning coderci/homebrew-core" + git clone https://github.com/coderci/homebrew-core.git # Make sure the git clone step is successful if directory_exists "homebrew-core"; then @@ -57,7 +57,7 @@ main() { echo "Merging in latest Homebrew/homebrew-core changes" 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 # See: https://serverfault.com/a/912788 @@ -86,7 +86,7 @@ main() { # Export the variables so git sees them export HOMEBREW_GITHUB_API_TOKEN="$HOMEBREW_GITHUB_API_TOKEN" 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 # https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18 diff --git a/ci/steps/publish-npm.sh b/ci/steps/publish-npm.sh index a4636db5..5b494a2f 100755 --- a/ci/steps/publish-npm.sh +++ b/ci/steps/publish-npm.sh @@ -67,7 +67,7 @@ main() { tar -xzf release-npm-package/package.tar.gz # 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 # NOTES:@jsjoeio diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 0920c91c..3e01c6d0 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -61,7 +61,7 @@ These are required by VS Code. See [their Wiki](https://github.com/microsoft/vsc ## 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 is minor. @@ -78,12 +78,12 @@ we'll guide you. ## 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: -1. `git clone https://github.com/cdr/code-server.git` - Clone `code-server` -2. `git clone https://github.com/cdr/vscode.git` - Clone `vscode` +1. `git clone https://github.com/coder/code-server.git` - Clone `code-server` +2. `git clone https://github.com/coder/vscode.git` - Clone `vscode` 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 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 -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`: ```json { "devDependencies": { - "vscode": "cdr/vscode#" + "vscode": "coder/vscode#" } } ``` @@ -148,7 +148,7 @@ yarn package ### 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 diff --git a/docs/FAQ.md b/docs/FAQ.md index 7e615630..ed1c51a0 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -37,7 +37,7 @@ ## Questions? Please file all questions and support requests at -. +. ## 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 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, WSL)](https://github.com/microsoft/vscode-remote-release). We may implement 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). @@ -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, 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? @@ -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 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. ## 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? 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. 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 - 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? @@ -406,7 +406,7 @@ minute plus an additional twelve per hour. ## 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 add your own! diff --git a/docs/MAINTAINING.md b/docs/MAINTAINING.md index fd10de9a..5f02c260 100644 --- a/docs/MAINTAINING.md +++ b/docs/MAINTAINING.md @@ -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 Hub image from `release-images`. 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. #### 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 @@ -217,7 +217,7 @@ This is currently automated with the release process. ## 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` 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 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 @@ -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. -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 2. Click "View Function Logs" diff --git a/docs/README.md b/docs/README.md index f8f5eece..2ee9f42f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # 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 access it in the browser. diff --git a/docs/SECURITY.md b/docs/SECURITY.md index bb7fc717..6857d251 100644 --- a/docs/SECURITY.md +++ b/docs/SECURITY.md @@ -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. -| Version | Supported | -| ----------------------------------------------------- | ------------------ | -| [Latest](https://github.com/cdr/code-server/releases) | :white_check_mark: | +| Version | Supported | +| ------------------------------------------------------- | ------------------ | +| [Latest](https://github.com/coder/code-server/releases) | :white_check_mark: | ## Reporting a Vulnerability diff --git a/docs/guide.md b/docs/guide.md index cf024d1b..81e37d7d 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -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 You must use `/absproxy/` with `create-react-app` (see -[#2565](https://github.com/cdr/code-server/issues/2565) and -[#2222](https://github.com/cdr/code-server/issues/2222) for more information). +[#2565](https://github.com/coder/code-server/issues/2565) and +[#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 via `$PUBLIC_URL` and webpack via `$WDS_SOCKET_PATH`: @@ -396,7 +396,7 @@ sudo apt update 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 sudo service ssh start diff --git a/docs/helm.md b/docs/helm.md index 5f3f26fa..b404919c 100644 --- a/docs/helm.md +++ b/docs/helm.md @@ -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) -[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. 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 ```console -$ git clone https://github.com/cdr/code-server +$ git clone https://github.com/coder/code-server $ cd code-server $ helm upgrade --install code-server ci/helm-chart ``` @@ -30,7 +30,7 @@ package manager. To install the chart with the release name `code-server`: ```console -$ git clone https://github.com/cdr/code-server +$ git clone https://github.com/coder/code-server $ cd code-server $ helm upgrade --install code-server ci/helm-chart ``` diff --git a/docs/install.md b/docs/install.md index 83c0cbb1..64c35ddb 100644 --- a/docs/install.md +++ b/docs/install.md @@ -30,7 +30,7 @@ operating systems. ## install.sh 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. 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 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. ### 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` < v2.23, or `glibcxx` < v3.4.21 on `arm64`. 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. 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 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. We create the standalone releases using the [npm package](#yarn-npm), and we @@ -127,7 +127,7 @@ requirement). To use a standalone release: 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. 3. Run code-server by executing `./bin/code-server`. @@ -139,7 +139,7 @@ release on Linux: ```bash 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 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 @@ -154,7 +154,7 @@ code-server > upgrade or [build with yarn](#yarn-npm). ```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 systemctl enable --now code-server@$USER # 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). ```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 systemctl enable --now code-server@$USER # 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 -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 @@ -245,7 +245,7 @@ information. ## Cloud providers 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. ## Uninstall diff --git a/docs/ipad.md b/docs/ipad.md index 061d8a8f..3d6ac2b8 100644 --- a/docs/ipad.md +++ b/docs/ipad.md @@ -104,7 +104,7 @@ and tricks helpful: process](#access-code-server-with-a-self-signed-certificate-on-an-ipad) - Keyboard issues: - 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: - `cmd + n` opens new browser window instead of new file, and it's difficult 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 the globe key to be an escape key - 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) -- Keyboard may lose focus in Safari / split view [#4182](https://github.com/cdr/code-server/issues/4182) -- Terminal text does not appear by default [#3824](https://github.com/cdr/code-server/issues/3824) -- Copy & paste in terminal does not work well with keyboard shortcuts [#3491](https://github.com/cdr/code-server/issues/3491) +- 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/coder/code-server/issues/3824) +- 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 - Tracking upstream issue here: [#114009](https://github.com/microsoft/vscode/issues/114009) - See [workaround](#ctrl-c-workaround) 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. ### Workaround for issue with `ctrl+c` not stopping a running process in the terminal diff --git a/docs/link.md b/docs/link.md index 8bef6bb6..2ca9b4f6 100644 --- a/docs/link.md +++ b/docs/link.md @@ -7,5 +7,5 @@ for accessing your IDE out of the box. ```console $ 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 ``` diff --git a/docs/npm.md b/docs/npm.md index f02cec56..27ceaf22 100644 --- a/docs/npm.md +++ b/docs/npm.md @@ -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). 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 @@ -100,7 +100,7 @@ yarn global bin # 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 @@ -116,7 +116,7 @@ code-server ## Troubleshooting 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 diff --git a/docs/triage.md b/docs/triage.md index 5717c5eb..6d4120f9 100644 --- a/docs/triage.md +++ b/docs/triage.md @@ -28,8 +28,8 @@ This will show issues that: 1. If more information is required, please ask the submitter and tag as `waiting-for-info` and wait. 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. -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. diff --git a/package.json b/package.json index dca9fc20..a028ab01 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "license": "MIT", "version": "4.0.2", "description": "Run VS Code on a remote server.", - "homepage": "https://github.com/cdr/code-server", + "homepage": "https://github.com/coder/code-server", "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": { "clean": "./ci/build/clean.sh", "build": "./ci/build/build-code-server.sh", diff --git a/src/node/cli.ts b/src/node/cli.ts index 6565fbc9..854ea2fc 100644 --- a/src/node/cli.ts +++ b/src/node/cli.ts @@ -229,7 +229,7 @@ const options: Options> = { type: OptionalString, description: ` 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. `, deprecated: true, diff --git a/src/node/coder_cloud.ts b/src/node/coder_cloud.ts index fe9d30f7..e34b6f31 100644 --- a/src/node/coder_cloud.ts +++ b/src/node/coder_cloud.ts @@ -3,7 +3,7 @@ import { spawn } from "child_process" import path from "path" 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") function runAgent(...args: string[]): Promise { diff --git a/test/e2e/extensions/test-extension/package.json b/test/e2e/extensions/test-extension/package.json index 06e5ae92..5d32de7a 100644 --- a/test/e2e/extensions/test-extension/package.json +++ b/test/e2e/extensions/test-extension/package.json @@ -2,7 +2,7 @@ "name": "code-server-extension", "description": "code-server test extension", "version": "0.0.1", - "publisher": "cdr", + "publisher": "coder", "activationEvents": [ "onCommand:codeServerTest.proxyUri" ], diff --git a/test/unit/node/constants.test.ts b/test/unit/node/constants.test.ts index 8a41583d..34156dc9 100644 --- a/test/unit/node/constants.test.ts +++ b/test/unit/node/constants.test.ts @@ -8,7 +8,7 @@ describe("constants", () => { const mockPackageJson = { name: "mock-code-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", commit: "f6b2be2838f4afb217c2fd8f03eafedd8d55ef9b", } diff --git a/typings/pluginapi.d.ts b/typings/pluginapi.d.ts index 641476fc..2397d668 100644 --- a/typings/pluginapi.d.ts +++ b/typings/pluginapi.d.ts @@ -72,7 +72,7 @@ import Websocket from "ws" * "plugin": { * "name": "test-plugin", * "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", * "description": "Plugin used in code-server tests.", * "routerPath": "/test-plugin", diff --git a/vendor/package.json b/vendor/package.json index 0c5cf1df..fb8d1302 100644 --- a/vendor/package.json +++ b/vendor/package.json @@ -7,6 +7,6 @@ "postinstall": "./postinstall.sh" }, "devDependencies": { - "code-oss-dev": "cdr/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892" + "code-oss-dev": "coder/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892" } } diff --git a/vendor/yarn.lock b/vendor/yarn.lock index f14e5e09..0a5687da 100644 --- a/vendor/yarn.lock +++ b/vendor/yarn.lock @@ -274,9 +274,9 @@ clone-response@^1.0.2: dependencies: mimic-response "^1.0.0" -code-oss-dev@cdr/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892: +code-oss-dev@coder/vscode#d4f09b4df0d23ead4389b4a69c6fad86ac358892: 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: "@microsoft/applicationinsights-web" "^2.6.4" "@parcel/watcher" "2.0.3"