From e7a5b7992bb6bb27873367c59d72ecc96d07fc6f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 24 Apr 2019 16:08:34 -0700 Subject: [PATCH] [meta] update repo links to point to org --- README.md | 36 +++++++++---------- ROADMAP.md | 10 +++--- install.sh | 8 ++--- nvm.sh | 2 +- package.json | 6 ++-- test/fast/Unit tests/nvm_change_path | 2 +- ...nvm uninstall 0.12.6\" uninstalls v0.12.6" | 2 +- test/slow/nvm_get_latest/nvm_get_latest | 4 +-- 8 files changed, 35 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 2226a57..769db8b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Node Version Manager [![Build Status](https://travis-ci.org/creationix/nvm.svg?branch=master)][3] [![nvm version](https://img.shields.io/badge/version-v0.34.0-yellow.svg)][4] [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/684/badge)](https://bestpractices.coreinfrastructure.org/projects/684) +# Node Version Manager [![Build Status](https://travis-ci.org/nvm-sh/nvm.svg?branch=master)][3] [![nvm version](https://img.shields.io/badge/version-v0.34.0-yellow.svg)][4] [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/684/badge)](https://bestpractices.coreinfrastructure.org/projects/684) @@ -47,13 +47,13 @@ To **install** or **update** nvm, you can use the [install script][2] using cURL: ```sh -curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash ``` or Wget: ```sh -wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash +wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash ``` The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`). @@ -80,7 +80,7 @@ command -v nvm simply close your current terminal, open a new terminal, and try verifying again. -**Note:** Since OS X 10.9, `/usr/bin/git` has been preset by Xcode command line tools, which means we can't properly detect if Git is installed or not. You need to manually install the Xcode command line tools before running the install script, otherwise, it'll fail. (see [#1782](https://github.com/creationix/nvm/issues/1782)) +**Note:** Since OS X 10.9, `/usr/bin/git` has been preset by Xcode command line tools, which means we can't properly detect if Git is installed or not. You need to manually install the Xcode command line tools before running the install script, otherwise, it'll fail. (see [#1782](https://github.com/nvm-sh/nvm/issues/1782)) **Note:** On OS X, if you get `nvm: command not found` after running the install script, one of the following might be the reason:- @@ -91,7 +91,7 @@ If the above doesn't fix the problem, open your `.bash_profile` and add the foll `source ~/.bashrc` -- For more information about this issue and possible workarounds, please [refer here](https://github.com/creationix/nvm/issues/576) +- For more information about this issue and possible workarounds, please [refer here](https://github.com/nvm-sh/nvm/issues/576) #### Ansible You can use a task: @@ -99,7 +99,7 @@ If the above doesn't fix the problem, open your `.bash_profile` and add the foll ``` - name: nvm shell: > - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash args: creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh" ``` @@ -118,12 +118,12 @@ which should output 'nvm' if the installation was successful. Please note that ` If you're running a system without prepackaged binary available, which means you're going to install nodejs or io.js from its source code, you need to make sure your system has a C++ compiler. For OS X, Xcode will work, for Debian/Ubuntu based GNU/Linux, the `build-essential` and `libssl-dev` packages work. -**Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us: +**Note:** `nvm` does not support Windows (see [#284](https://github.com/nvm-sh/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us: - [nvm-windows](https://github.com/coreybutler/nvm-windows) - [nodist](https://github.com/marcelklehr/nodist) -**Note:** `nvm` does not support [Fish] either (see [#303](https://github.com/creationix/nvm/issues/303)). Alternatives exist, which are neither supported nor developed by us: +**Note:** `nvm` does not support [Fish] either (see [#303](https://github.com/nvm-sh/nvm/issues/303)). Alternatives exist, which are neither supported nor developed by us: - [bass](https://github.com/edc/bass) allows you to use utilities written for Bash in fish shell - [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup @@ -133,7 +133,7 @@ If you're running a system without prepackaged binary available, which means you **Note:** We still have some problems with FreeBSD, because there is no official pre-built binary for FreeBSD, and building from source may need [patches](https://www.freshports.org/www/node/files/patch-deps_v8_src_base_platform_platform-posix.cc); see the issue ticket: - - [[#900] [Bug] nodejs on FreeBSD may need to be patched](https://github.com/creationix/nvm/issues/900) + - [[#900] [Bug] nodejs on FreeBSD may need to be patched](https://github.com/nvm-sh/nvm/issues/900) - [nodejs/node#3716](https://github.com/nodejs/node/issues/3716) **Note:** On OS X, if you do not have Xcode installed and you do not wish to download the ~4.3GB file, you can install the `Command Line Tools`. You can check out this blog post on how to just that: @@ -157,7 +157,7 @@ Homebrew installation is not supported. If you have issues with homebrew-install If you have `git` installed (requires git v1.7.10+): 1. clone this repo in the root of your user profile - - `cd ~/` from anywhere then `git clone https://github.com/creationix/nvm.git .nvm` + - `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm` 1. `cd ~/.nvm` and check out the latest version with `git checkout v0.34.0` 1. activate nvm by sourcing it from your shell: `. nvm.sh` @@ -176,7 +176,7 @@ For a fully manual install, execute the following lines to first clone the nvm r ```sh export NVM_DIR="$HOME/.nvm" && ( - git clone https://github.com/creationix/nvm.git "$NVM_DIR" + git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR" cd "$NVM_DIR" git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` ) && \. "$NVM_DIR/nvm.sh" @@ -629,7 +629,7 @@ If installing nvm on Alpine Linux *is* still what you want or need to do, you sh ```sh apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils -curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash ``` The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries. @@ -692,7 +692,7 @@ For more information and documentation about docker, please refer to its officia curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. - - Where's my `sudo node`? Check out [#43](https://github.com/creationix/nvm/issues/43) + - Where's my `sudo node`? Check out [#43](https://github.com/nvm-sh/nvm/issues/43) - After the v0.8.6 release of node, nvm tries to install from binary packages. But in some systems, the official binary packages don't work due to incompatibility of shared libs. In such cases, use `-s` option to force install from source: @@ -700,7 +700,7 @@ For more information and documentation about docker, please refer to its officia nvm install -s 0.8.6 ``` - - If setting the `default` alias does not establish the node version in new shells (i.e. `nvm current` yields `system`), ensure that the system's node `PATH` is set before the `nvm.sh` source line in your shell profile (see [#658](https://github.com/creationix/nvm/issues/658)) + - If setting the `default` alias does not establish the node version in new shells (i.e. `nvm current` yields `system`), ensure that the system's node `PATH` is set before the `nvm.sh` source line in your shell profile (see [#658](https://github.com/nvm-sh/nvm/issues/658)) ## Mac OS "troubleshooting" @@ -714,9 +714,9 @@ sudo chmod ugo-x /usr/libexec/path_helper More on this issue in [dotphiles/dotzsh](https://github.com/dotphiles/dotzsh#mac-os-x). -[1]: https://github.com/creationix/nvm.git -[2]: https://github.com/creationix/nvm/blob/v0.34.0/install.sh -[3]: https://travis-ci.org/creationix/nvm -[4]: https://github.com/creationix/nvm/releases/tag/v0.34.0 +[1]: https://github.com/nvm-sh/nvm.git +[2]: https://github.com/nvm-sh/nvm/blob/v0.34.0/install.sh +[3]: https://travis-ci.org/nvm-sh/nvm +[4]: https://github.com/nvm-sh/nvm/releases/tag/v0.34.0 [Urchin]: https://github.com/scraperwiki/urchin [Fish]: http://fishshell.com diff --git a/ROADMAP.md b/ROADMAP.md index 80e89b8..28d4b49 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -2,8 +2,8 @@ This is a list of the primary features planned for `nvm`: -- [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/creationix/nvm/issues/1188). - - This will include [reusing previously downloaded tarballs](https://github.com/creationix/nvm/issues/1193) that match checksums, which is a nice performance and bandwidth bonus. -- [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/creationix/nvm/issues/779), and [nightly builds](https://github.com/creationix/nvm/issues/1053). -- [ ] [`nvm update`](https://github.com/creationix/nvm/issues/400): the ability to autoupdate `nvm` itself -- [ ] [v1.0.0](https://github.com/creationix/nvm/milestone/1), including updating the [nvm on npm](https://github.com/creationix/nvm/issues/304) to auto-install nvm properly +- [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/nvm-sh/nvm/issues/1188). + - This will include [reusing previously downloaded tarballs](https://github.com/nvm-sh/nvm/issues/1193) that match checksums, which is a nice performance and bandwidth bonus. +- [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/nvm-sh/nvm/issues/779), and [nightly builds](https://github.com/nvm-sh/nvm/issues/1053). +- [ ] [`nvm update`](https://github.com/nvm-sh/nvm/issues/400): the ability to autoupdate `nvm` itself +- [ ] [v1.0.0](https://github.com/nvm-sh/nvm/milestone/1), including updating the [nvm on npm](https://github.com/nvm-sh/nvm/issues/304) to auto-install nvm properly diff --git a/install.sh b/install.sh index 8dd6f07..c794623 100755 --- a/install.sh +++ b/install.sh @@ -51,14 +51,14 @@ nvm_source() { local NVM_SOURCE_URL NVM_SOURCE_URL="$NVM_SOURCE" if [ "_$NVM_METHOD" = "_script-nvm-exec" ]; then - NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm-exec" + NVM_SOURCE_URL="https://raw.githubusercontent.com/nvm-sh/nvm/$(nvm_latest_version)/nvm-exec" elif [ "_$NVM_METHOD" = "_script-nvm-bash-completion" ]; then - NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/bash_completion" + NVM_SOURCE_URL="https://raw.githubusercontent.com/nvm-sh/nvm/$(nvm_latest_version)/bash_completion" elif [ -z "$NVM_SOURCE_URL" ]; then if [ "_$NVM_METHOD" = "_script" ]; then - NVM_SOURCE_URL="https://raw.githubusercontent.com/creationix/nvm/$(nvm_latest_version)/nvm.sh" + NVM_SOURCE_URL="https://raw.githubusercontent.com/nvm-sh/nvm/$(nvm_latest_version)/nvm.sh" elif [ "_$NVM_METHOD" = "_git" ] || [ -z "$NVM_METHOD" ]; then - NVM_SOURCE_URL="https://github.com/creationix/nvm.git" + NVM_SOURCE_URL="https://github.com/nvm-sh/nvm.git" else echo >&2 "Unexpected value \"$NVM_METHOD\" for \$NVM_METHOD" return 1 diff --git a/nvm.sh b/nvm.sh index 6bc0082..c68db1e 100644 --- a/nvm.sh +++ b/nvm.sh @@ -646,7 +646,7 @@ nvm_change_path() { # if the initial path contains BOTH an nvm path (checked for above) and # that nvm path is preceded by a system binary path, just prepend the # supplementary path instead of replacing it. - # https://github.com/creationix/nvm/issues/1652#issuecomment-342571223 + # https://github.com/nvm-sh/nvm/issues/1652#issuecomment-342571223 elif nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/[^/]*${2-}" \ || nvm_echo "${1-}" | nvm_grep -Eq "(^|:)(/usr(/local)?)?${2-}:.*${NVM_DIR}/versions/[^/]*/[^/]*${2-}"; then nvm_echo "${3-}${2-}:${1-}" diff --git a/package.json b/package.json index 52f49f2..fbb2cdc 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/creationix/nvm.git" + "url": "git://github.com/nvm-sh/nvm.git" }, "keywords": [ "nvm", @@ -32,9 +32,9 @@ "author": "Tim Caswell ", "license": "MIT", "bugs": { - "url": "https://github.com/creationix/nvm/issues" + "url": "https://github.com/nvm-sh/nvm/issues" }, - "homepage": "https://github.com/creationix/nvm", + "homepage": "https://github.com/nvm-sh/nvm", "devDependencies": { "dockerfile_lint": "^0.3.2", "eclint": "^2.6.0", diff --git a/test/fast/Unit tests/nvm_change_path b/test/fast/Unit tests/nvm_change_path index 8c0f937..f434981 100755 --- a/test/fast/Unit tests/nvm_change_path +++ b/test/fast/Unit tests/nvm_change_path @@ -43,7 +43,7 @@ NEW_PATH=`nvm_change_path "$EMPTY_PATH" "/bin" "$NVM_DIR/v0.1.2"` [ "$NEW_PATH" = "$NVM_DIR/v0.1.2/bin" ] || die "Not correctly prepended: $NEW_PATH " -# https://github.com/creationix/nvm/issues/1652#issuecomment-342571223 +# https://github.com/nvm-sh/nvm/issues/1652#issuecomment-342571223 MAC_OS_NESTED_SESSION_PATH=/usr/bin:/usr/local/bin:$NVM_DIR/versions/node/v4.5.0/bin # New version dir diff --git "a/test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" "b/test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" index 7e62c2f..ec6a658 100755 --- "a/test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" +++ "b/test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" @@ -20,7 +20,7 @@ nvm ls | grep "$NVM_TEST_VERSION" || die "Failed to install node" # Switch to another version so we can uninstall nvm use 0.12.7 -# if zsh, set "nomatch" opt to reproduce failure from https://github.com/creationix/nvm/issues/1228 +# if zsh, set "nomatch" opt to reproduce failure from https://github.com/nvm-sh/nvm/issues/1228 if nvm_has "setopt"; then setopt nomatch fi diff --git a/test/slow/nvm_get_latest/nvm_get_latest b/test/slow/nvm_get_latest/nvm_get_latest index 77ef8d0..5311360 100755 --- a/test/slow/nvm_get_latest/nvm_get_latest +++ b/test/slow/nvm_get_latest/nvm_get_latest @@ -9,7 +9,7 @@ cleanup() { \. ../../../nvm.sh EXPECTED_VERSION="v12.3.456" -URL="https://github.com/creationix/nvm/releases/tag/$EXPECTED_VERSION" +URL="https://github.com/nvm-sh/nvm/releases/tag/$EXPECTED_VERSION" EXPECTED_CURL_ARGS="--compressed -q -w %{url_effective}\n -L -s -S http://latest.nvm.sh -o /dev/null" EXPECTED_WGET_ARGS="-q http://latest.nvm.sh --server-response -O /dev/null" @@ -34,7 +34,7 @@ wget() { local WGET_CONTENTS WGET_CONTENTS=" HTTP/1.1 301 Moved Permanently - Location: https://github.com/creationix/nvm/releases/latest + Location: https://github.com/nvm-sh/nvm/releases/latest Content-Type: text/html; charset=utf-8 Content-Length: 84 Date: Mon, 22 Dec 2014 02:11:15 GMT