From bb5836ec6196d10ebc5c7e5b17eb18bab0cac0c3 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Thu, 2 May 2019 11:24:12 -0400 Subject: [PATCH] Rename codercom/code-server to cdr/code-server --- .travis.yml | 2 +- README.md | 6 +++--- deployment/aws/deployment.yaml | 4 ++-- doc/admin/install/aws.md | 6 +++--- doc/admin/install/digitalocean.md | 8 ++++---- doc/admin/install/google_cloud.md | 8 ++++---- doc/self-hosted/index.md | 4 ++-- package.json | 2 +- packages/server/src/cli.ts | 4 ++-- packages/vscode/src/fill/product.ts | 2 +- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index 56c5fd24..53086fed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ deploy: - release/*.tar.gz - release/*.zip on: - repo: codercom/code-server + repo: cdr/code-server branch: master cache: yarn: true diff --git a/README.md b/README.md index 0477e9c6..384a6477 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ [!["Open Issues"](https://img.shields.io/github/issues-raw/cdr/code-server.svg)](https://github.com/cdr/code-server/issues) [!["Latest Release"](https://img.shields.io/github/release/cdr/code-server.svg)](https://github.com/cdr/code-server/releases/latest) -[![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/codercom/code-server/blob/master/LICENSE) +[![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/cdr/code-server/blob/master/LICENSE) [![Discord](https://img.shields.io/discord/463752820026376202.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/zxSwN8Z) `code-server` is [VS Code](https://github.com/Microsoft/vscode) running on a remote server, accessible through the browser. Try it out: ```bash -docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth +docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" cdr/code-server --allow-http --no-auth ``` - Code on your Chromebook, tablet, and laptop with a consistent dev environment. @@ -33,7 +33,7 @@ See docker oneliner mentioned above. Dockerfile is at [/Dockerfile](/Dockerfile) ### Binaries -1. [Download a binary](https://github.com/codercom/code-server/releases) (Linux and OS X supported. Windows coming soon) +1. [Download a binary](https://github.com/cdr/code-server/releases) (Linux and OS X supported. Windows coming soon) 2. Start the binary with the project directory as the first argument ``` diff --git a/deployment/aws/deployment.yaml b/deployment/aws/deployment.yaml index 964a9221..6f265634 100644 --- a/deployment/aws/deployment.yaml +++ b/deployment/aws/deployment.yaml @@ -26,7 +26,7 @@ metadata: provisioner: kubernetes.io/aws-ebs parameters: type: gp2 - fsType: ext4 + fsType: ext4 --- kind: PersistentVolumeClaim apiVersion: v1 @@ -71,4 +71,4 @@ spec: - name: code-server-storage persistentVolumeClaim: claimName: code-store - + diff --git a/doc/admin/install/aws.md b/doc/admin/install/aws.md index fbf896e2..d1c93fb0 100644 --- a/doc/admin/install/aws.md +++ b/doc/admin/install/aws.md @@ -35,11 +35,11 @@ If you're just starting out, we recommend [installing code-server locally](../.. - At this point it is time to download the `code-server` binary. We will of course want the linux version. - Find the latest Linux release from this URL: ``` - https://github.com/codercom/code-server/releases/latest + https://github.com/cdr/code-server/releases/latest ``` - Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page): ``` - wget https://github.com/codercom/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz + wget https://github.com/cdr/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz ``` - Extract the downloaded tar.gz file with this command, for example: ``` @@ -66,4 +66,4 @@ If you're just starting out, we recommend [installing code-server locally](../.. > The `-p 80` flag is necessary in order to make the IDE accessible from the public IP of your instance (also available from the description in the instances page. --- -> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). +> NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). diff --git a/doc/admin/install/digitalocean.md b/doc/admin/install/digitalocean.md index 1a1b7dd5..9bc08da2 100644 --- a/doc/admin/install/digitalocean.md +++ b/doc/admin/install/digitalocean.md @@ -15,14 +15,14 @@ If you're just starting out, we recommend [installing code-server locally](../.. - Launch your instance - Open a terminal on your computer and SSH into your instance > example: ssh root@203.0.113.0 -- Once in the SSH session, visit code-server [releases page](https://github.com/codercom/code-server/releases/) and copy the link to the download for the latest linux release +- Once in the SSH session, visit code-server [releases page](https://github.com/cdr/code-server/releases/) and copy the link to the download for the latest linux release - Find the latest Linux release from this URL: ``` - https://github.com/codercom/code-server/releases/latest + https://github.com/cdr/code-server/releases/latest ``` - Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page): ``` - wget https://github.com/codercom/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz + wget https://github.com/cdr/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz ``` - Extract the downloaded tar.gz file with this command, for example: ``` @@ -46,4 +46,4 @@ If you're just starting out, we recommend [installing code-server locally](../.. - Then click **"proceed anyway"** --- -> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). +> NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). diff --git a/doc/admin/install/google_cloud.md b/doc/admin/install/google_cloud.md index 91085910..5f6c98fa 100644 --- a/doc/admin/install/google_cloud.md +++ b/doc/admin/install/google_cloud.md @@ -14,7 +14,7 @@ If you're just starting out, we recommend [installing code-server locally](../.. - Choose Ubuntu 16.04 LTS as your boot disk - Check the boxes for **Allow HTTP traffic** and **Allow HTTPS traffic** in the **Firewall** section - Create your VM, and **take note** of its public IP address. -- Copy the link to download the latest Linux binary from our [releases page](https://github.com/codercom/code-server/releases) +- Copy the link to download the latest Linux binary from our [releases page](https://github.com/cdr/code-server/releases) --- @@ -27,12 +27,12 @@ gcloud compute ssh --zone [region] [instance name] - Find the latest Linux release from this URL: ``` -https://github.com/codercom/code-server/releases/latest +https://github.com/cdr/code-server/releases/latest ``` - Replace {version} in the following command with the version found on the releases page and run it (or just copy the download URL from the releases page): ``` -wget https://github.com/codercom/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz +wget https://github.com/cdr/code-server/releases/download/{version}/code-server-{version}-linux-x64.tar.gz ``` - Extract the downloaded tar.gz file with this command, for example: @@ -68,4 +68,4 @@ sudo ./code-server -p 80 --- -> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). +> NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). diff --git a/doc/self-hosted/index.md b/doc/self-hosted/index.md index 9f73cd47..45dab39f 100644 --- a/doc/self-hosted/index.md +++ b/doc/self-hosted/index.md @@ -4,7 +4,7 @@ ## Quickstart Guide -> NOTE: If you get stuck or need help, [file an issue](https://github.com/codercom/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). +> NOTE: If you get stuck or need help, [file an issue](https://github.com/cdr/code-server/issues/new?&title=Improve+self-hosted+quickstart+guide), [tweet (@coderhq)](https://twitter.com/coderhq) or [email](mailto:support@coder.com?subject=Self-hosted%20quickstart%20guide). This document pertains to Coder specific implementations of VS Code. For documentation on how to use VS Code itself, please refer to the official [documentation for VS Code](https://code.visualstudio.com/docs) @@ -17,7 +17,7 @@ It takes just a few minutes to get your own self-hosted server running. If you'v --> -1. Visit [the releases](https://github.com/codercom/code-server/releases) page and download the latest cli for your operating system +1. Visit [the releases](https://github.com/cdr/code-server/releases) page and download the latest cli for your operating system 2. Double click the executable to run in the current directory 3. Copy the password that appears in the cli 4. In your browser navigate to `localhost:8443` diff --git a/package.json b/package.json index 8ef3c956..194da70a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coder/code-server", - "repository": "https://github.com/codercom/code-server", + "repository": "https://github.com/cdr/code-server", "author": "Coder", "license": "MIT", "description": "Run VS Code remotely.", diff --git a/packages/server/src/cli.ts b/packages/server/src/cli.ts index 54a98b96..41ca803c 100644 --- a/packages/server/src/cli.ts +++ b/packages/server/src/cli.ts @@ -190,7 +190,7 @@ const bold = (text: string | number): string | number => { } // TODO: fill in appropriate doc url - logger.info("Additional documentation: http://github.com/codercom/code-server"); + logger.info("Additional documentation: http://github.com/cdr/code-server"); logger.info("Initializing", field("data-dir", dataDir), field("extensions-dir", extensionsDir), field("working-dir", workingDir), field("log-dir", logDir)); const sharedProcess = new SharedProcess(dataDir, extensionsDir, builtInExtensionsDir); const sendSharedProcessReady = (socket: WebSocket): void => { @@ -298,7 +298,7 @@ const bold = (text: string | number): string | number => { if (!options.certKey && !options.cert) { logger.warn("No certificate specified. \u001B[1mThis could be insecure."); // TODO: fill in appropriate doc url - logger.warn("Documentation on securing your setup: https://github.com/codercom/code-server/blob/master/doc/security/ssl.md"); + logger.warn("Documentation on securing your setup: https://github.com/cdr/code-server/blob/master/doc/security/ssl.md"); } if (!options.noAuth && !usingCustomPassword) { diff --git a/packages/vscode/src/fill/product.ts b/packages/vscode/src/fill/product.ts index 0350b917..e58f8dc5 100644 --- a/packages/vscode/src/fill/product.ts +++ b/packages/vscode/src/fill/product.ts @@ -11,7 +11,7 @@ class Product implements IProductConfiguration { public introductoryVideosUrl = "https://code.visualstudio.com/docs/getstarted/introvideos"; public tipsAndTricksUrl = "https://code.visualstudio.com/docs/getstarted/tips-and-tricks"; public twitterUrl = "https://twitter.com/code"; - public licenseUrl = "https://github.com/codercom/code-server/blob/master/LICENSE"; + public licenseUrl = "https://github.com/cdr/code-server/blob/master/LICENSE"; public aiConfig = process.env.DISABLE_TELEMETRY ? undefined! : { // Only needed so vscode can see that content exists for this value. // We override the application insights module.