From 514ec66bf2f572e6d07851f49431c133ffbc68e4 Mon Sep 17 00:00:00 2001 From: Jamie Cansdale Date: Fri, 6 Nov 2020 14:54:57 +0000 Subject: [PATCH 1/4] Simplify repository element to use https URL --- .../configuring-npm-for-use-with-github-packages.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md index c20f4464fa..445b70f075 100644 --- a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md +++ b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md @@ -125,11 +125,7 @@ To ensure the repository's URL is correct, replace REPOSITORY with the name of t {% data variables.product.prodname_registry %} will match the repository based on the URL, instead of based on the package name. If you store the *package.json* file outside the root directory of your repository, you can use the `directory` field to specify the location where {% data variables.product.prodname_registry %} can find the *package.json* files. ```shell -"repository" : { - "type" : "git", - "url": "ssh://git@{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/OWNER/REPOSITORY.git", - "directory": "packages/name" - }, +"repository" : "https://{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/OWNER/REPOSITORY", ``` ### Installing a package From c3616f2817f94ced1359a776a71719313b86b597 Mon Sep 17 00:00:00 2001 From: Jamie Cansdale Date: Fri, 6 Nov 2020 17:56:48 +0000 Subject: [PATCH 2/4] Update content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md --- .../configuring-npm-for-use-with-github-packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md index 445b70f075..4acf318506 100644 --- a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md +++ b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md @@ -122,7 +122,7 @@ To publish multiple packages to the same repository, you can include the URL of To ensure the repository's URL is correct, replace REPOSITORY with the name of the repository containing the package you want to publish, and OWNER with the name of the user or organization account on {% data variables.product.prodname_dotcom %} that owns the repository. -{% data variables.product.prodname_registry %} will match the repository based on the URL, instead of based on the package name. If you store the *package.json* file outside the root directory of your repository, you can use the `directory` field to specify the location where {% data variables.product.prodname_registry %} can find the *package.json* files. +{% data variables.product.prodname_registry %} will match the repository based on the URL, instead of based on the package name. ```shell "repository" : "https://{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/OWNER/REPOSITORY", From a73479193b2287ea49fe19ab44546d0895cf0a1f Mon Sep 17 00:00:00 2001 From: Jamie Cansdale Date: Mon, 9 Nov 2020 09:51:06 +0000 Subject: [PATCH 3/4] Make spacing of ":" consistent with "publishConfig" --- .../configuring-npm-for-use-with-github-packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md index 4acf318506..3d3281a921 100644 --- a/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md +++ b/content/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages.md @@ -125,7 +125,7 @@ To ensure the repository's URL is correct, replace REPOSITORY with the name of t {% data variables.product.prodname_registry %} will match the repository based on the URL, instead of based on the package name. ```shell -"repository" : "https://{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/OWNER/REPOSITORY", +"repository":"https://{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}HOSTNAME{% endif %}/OWNER/REPOSITORY", ``` ### Installing a package From 0818014e09e9c1f6fb6efa4dd18f8846d5f3baad Mon Sep 17 00:00:00 2001 From: Benjamin Blazely Date: Wed, 2 Dec 2020 10:54:32 +1100 Subject: [PATCH 4/4] Correcting a small typo in the UUID --- .../initiating-a-failover-to-your-replica-appliance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md b/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md index de93a1dba3..208fe0e10d 100644 --- a/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md +++ b/content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md @@ -37,7 +37,7 @@ The time required to failover depends on how long it takes to manually promote t ``` - On the new primary, remove the UUIDs using `ghe-repl-teardown`. Please replace *`UUID`* with a UUID you retrieved in the previous step. ```shell - $ ghe-repl-teardown -u UUNID + $ ghe-repl-teardown -u UUID ``` ### Further reading