From 904a4e5216945b58758f0cebada2659900b8463d Mon Sep 17 00:00:00 2001 From: Konstantin Gukov Date: Mon, 15 Mar 2021 10:17:28 +0100 Subject: [PATCH 01/12] Document GitHub serverside limit on URL length [example of a long URL](https://github.com/azure/azure-iot-cli-extension/issues/new?template=Bug_report.md&body=%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A%0A%23%23%23+%2A%2AThis+is+autogenerated.%0A123123213) --- ...on-for-issues-and-pull-requests-with-query-parameters.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md index 39b913c7c21c..f1a5f7bd5c55 100644 --- a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md +++ b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md @@ -19,7 +19,11 @@ Query parameters are optional parts of a URL you can customize to share a specif You must have the proper permissions for any action to use the equivalent query parameter. For example, you must have permission to add a label to an issue to use the `labels` query parameter. -If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a 404 error page. +### Errors + +If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a `404 Not Found` error page. + +If you create an URL longer than 8192 bytes, the URL will return a `414 URI Too Long` error page. ### Supported query parameters From e8cbb6c687dedd04a35d6548fdfe47f99f6e5741 Mon Sep 17 00:00:00 2001 From: Konstantin Gukov Date: Mon, 15 Mar 2021 10:37:01 +0100 Subject: [PATCH 02/12] Correct 2**13 to 2**13 - 1 --- ...mation-for-issues-and-pull-requests-with-query-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md index f1a5f7bd5c55..4761c3b2875d 100644 --- a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md +++ b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md @@ -23,7 +23,7 @@ You must have the proper permissions for any action to use the equivalent query If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a `404 Not Found` error page. -If you create an URL longer than 8192 bytes, the URL will return a `414 URI Too Long` error page. +If you create an URL longer than 8191 bytes, the URL will return a `414 URI Too Long` error page. ### Supported query parameters From fdbbe51ed33a27ea4da8b8f100c9c858fcaa5cfb Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Sun, 4 Apr 2021 10:57:47 -0700 Subject: [PATCH 03/12] Wikis aren't crawled. Suggest GH Pages alternative https://github.com/github/docs/issues/4115 https://github.com/isaacs/github/issues/1683 https://web.archive.org/web/20210403000950/github.com/robots.txt --- .../documenting-your-project-with-wikis/about-wikis.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/communities/documenting-your-project-with-wikis/about-wikis.md b/content/communities/documenting-your-project-with-wikis/about-wikis.md index 2fe6a489b7f7..7b1ee7ac4535 100644 --- a/content/communities/documenting-your-project-with-wikis/about-wikis.md +++ b/content/communities/documenting-your-project-with-wikis/about-wikis.md @@ -22,6 +22,12 @@ With wikis, you can write content just like everywhere else on {% data variables You can edit wikis directly on {% data variables.product.product_name %}, or you can edit wiki files locally. By default, only people with write access to your repository can make changes to wikis, although you can allow everyone on {% data variables.product.product_location %} to contribute to a wiki in {% if currentVersion == "github-ae@latest" %}an internal{% else %}a public{% endif %} repository. For more information, see "[Changing access permissions for wikis](/communities/documenting-your-project-with-wikis/changing-access-permissions-for-wikis)". +{% note %} + +**Note:** Crawlers such as those from search engines will not crawl the contents of wikis as they are excluded by `robots.txt` for anti-abuse reasons. While editing is not as accessible as a wiki, consider using [{% data variables.product.prodname_pages %}](https://pages.github.com/) backed by a public repository for content that can be crawled and accepting of public contributions. + +{% endnote %} + ### Further reading - "[Adding or editing wiki pages](/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages)" From b60122a05cf97f02634adf5c583d077f2ffadee2 Mon Sep 17 00:00:00 2001 From: Matt Pollard Date: Thu, 22 Apr 2021 08:48:33 +0200 Subject: [PATCH 04/12] Mention that hotpatching RCs is unsupported (#18904) --- .../upgrading-github-enterprise-server.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/admin/enterprise-management/upgrading-github-enterprise-server.md b/content/admin/enterprise-management/upgrading-github-enterprise-server.md index a839c0341094..8ca6149d98aa 100644 --- a/content/admin/enterprise-management/upgrading-github-enterprise-server.md +++ b/content/admin/enterprise-management/upgrading-github-enterprise-server.md @@ -89,7 +89,12 @@ There are two types of snapshots: {% note %} -**Note**: Installing a hotpatch using the {% data variables.enterprise.management_console %} is not available in clustered environments. To install a hotpatch in a clustered environment, see "[Upgrading a cluster](/enterprise/{{ currentVersion }}/admin/clustering/upgrading-a-cluster#upgrading-with-a-hotpatch)." +**{% if currentVersion ver_gt "enterprise-server@2.22" %}Notes{% else %}Note{% endif %}**: + +{% if currentVersion ver_gt "enterprise-server@2.22" %} +- If {% data variables.product.product_location %} is running a release candidate build, you can't upgrade with a hotpatch. + +- {% endif %}Installing a hotpatch using the {% data variables.enterprise.management_console %} is not available in clustered environments. To install a hotpatch in a clustered environment, see "[Upgrading a cluster](/enterprise/{{ currentVersion }}/admin/clustering/upgrading-a-cluster#upgrading-with-a-hotpatch)." {% endnote %} From 27d9850548b30d1aac4ab63e5500cd2cb9afd796 Mon Sep 17 00:00:00 2001 From: Matt Pollard Date: Thu, 22 Apr 2021 09:02:41 +0200 Subject: [PATCH 05/12] Hack some versioning for product callout (#18884) --- data/reusables/gated-features/auto-merge.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/gated-features/auto-merge.md b/data/reusables/gated-features/auto-merge.md index 4f05ac43bd64..7ce0001dbe8e 100644 --- a/data/reusables/gated-features/auto-merge.md +++ b/data/reusables/gated-features/auto-merge.md @@ -1 +1 @@ -{% if currentVersion == "github-ae@latest" %}Auto-merge for pull requests is available in internal and private repositories with {% data variables.product.prodname_ghe_managed %}, {% else %}Auto-merge for pull requests is available {% endif %} in public repositories with {% data variables.product.prodname_free_user %} and {% data variables.product.prodname_free_team %} for organizations, and in public and private repositories with {% data variables.product.prodname_pro %}, {% data variables.product.prodname_team %}, {% data variables.product.prodname_ghe_cloud %}, and {% data variables.product.prodname_ghe_server %}. {% if currentVersion == "free-pro-team@latest" %}{% data reusables.gated-features.more-info %}{% endif %} +{% if currentVersion == "github-ae@latest" %}Auto-merge for pull requests is available in internal and private repositories with {% data variables.product.prodname_ghe_managed %}, {% else %}Auto-merge for pull requests is available {% endif %} in public repositories with {% data variables.product.prodname_free_user %} and {% data variables.product.prodname_free_team %} for organizations, and in public and private repositories with {% data variables.product.prodname_pro %}, {% data variables.product.prodname_team %}, {% if enterpriseServerVersions contains "enterprise-server@3.1" %}{% data variables.product.prodname_ghe_cloud %}, and {% data variables.product.prodname_ghe_server %}{% else %}and {% data variables.product.prodname_ghe_cloud %}{% endif %}. {% if currentVersion == "free-pro-team@latest" %}{% data reusables.gated-features.more-info %}{% endif %} From c6347b737004a479fdaf529e8785805979db8591 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Thu, 22 Apr 2021 06:28:35 -0400 Subject: [PATCH 06/12] actions-scheduled-workflow-example: fix cron spec (#5572) The prior cron spec would trigger 4 times a day, at 05:00, 05:30, 17:00, and 17:30. The `*/30` is "any minute divisible by thirty" which is twice per hour. So fix the spec to use `30` in place of `*/30` to match the description. --- .../repositories/actions-scheduled-workflow-example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/repositories/actions-scheduled-workflow-example.md b/data/reusables/repositories/actions-scheduled-workflow-example.md index 40d253284b94..3dae8f356e62 100644 --- a/data/reusables/repositories/actions-scheduled-workflow-example.md +++ b/data/reusables/repositories/actions-scheduled-workflow-example.md @@ -6,6 +6,6 @@ This example triggers the workflow every day at 5:30 and 17:30 UTC: on: schedule: # * is a special character in YAML so you have to quote this string - - cron: '*/30 5,17 * * *' + - cron: '30 5,17 * * *' ``` From 3383ea708bded41f2f4399689ff604429c4a9461 Mon Sep 17 00:00:00 2001 From: Brett Westover Date: Thu, 22 Apr 2021 06:30:52 -0700 Subject: [PATCH 07/12] Add new step to migrate internal repos for 3.0+ (#18927) * On 3.0+ we need to prefix the command with github-env to get into the container. * greater than 2.22 not 3.0 Co-authored-by: hubwriter --- .../user-management/migrating-to-internal-repositories.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/admin/user-management/migrating-to-internal-repositories.md b/content/admin/user-management/migrating-to-internal-repositories.md index c3abc3d40b72..24b7a43c7ca0 100644 --- a/content/admin/user-management/migrating-to-internal-repositories.md +++ b/content/admin/user-management/migrating-to-internal-repositories.md @@ -34,6 +34,12 @@ If you don't have private mode enabled, the migration script will have no effect ### Running the migration 1. Connect to the administrative shell. For more information, see "[Accessing the administrative shell (SSH)](/enterprise/admin/installation/accessing-the-administrative-shell-ssh)." +{% if currentVersion ver_gt "enterprise-server@2.22" or currentVersion == "github-ae@latest" %} +2. Run the migration command. + ```shell + github-env bin/safe-ruby lib/github/transitions/20191210220630_convert_public_ghes_repos_to_internal.rb --verbose -w | tee -a /tmp/convert_public_ghes_repos_to_internal.log + ``` +{% else %} 2. Navigate to the `/data/github/current` directory. ```shell cd /data/github/current @@ -42,6 +48,7 @@ If you don't have private mode enabled, the migration script will have no effect ```shell sudo bin/safe-ruby lib/github/transitions/20191210220630_convert_public_ghes_repos_to_internal.rb --verbose -w | tee -a /tmp/convert_public_ghes_repos_to_internal.log ``` +{% endif %} Log output will appear in the terminal and `/tmp/convert_public_ghes_repos_to_internal.log`. From f7da6e07231ab0ccaf09856338d8ecb94a7ed8b7 Mon Sep 17 00:00:00 2001 From: Janice Date: Thu, 22 Apr 2021 07:35:05 -0700 Subject: [PATCH 08/12] Update content/communities/documenting-your-project-with-wikis/about-wikis.md --- .../documenting-your-project-with-wikis/about-wikis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/communities/documenting-your-project-with-wikis/about-wikis.md b/content/communities/documenting-your-project-with-wikis/about-wikis.md index 7b1ee7ac4535..f814ef736aab 100644 --- a/content/communities/documenting-your-project-with-wikis/about-wikis.md +++ b/content/communities/documenting-your-project-with-wikis/about-wikis.md @@ -24,7 +24,7 @@ You can edit wikis directly on {% data variables.product.product_name %}, or you {% note %} -**Note:** Crawlers such as those from search engines will not crawl the contents of wikis as they are excluded by `robots.txt` for anti-abuse reasons. While editing is not as accessible as a wiki, consider using [{% data variables.product.prodname_pages %}](https://pages.github.com/) backed by a public repository for content that can be crawled and accepting of public contributions. +**Note:** Search engines will not index the contents of wikis. To have your content indexed by search engines, you can use [{% data variables.product.prodname_pages %}](/pages) in a public repository. {% endnote %} From 76a04a68712d3a07c1651f49a7bd362c15e6082a Mon Sep 17 00:00:00 2001 From: Lee Dohm <1038121+lee-dohm@users.noreply.github.com> Date: Thu, 22 Apr 2021 07:55:13 -0700 Subject: [PATCH 09/12] Update content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md Simplifying language and bringing into line with our standards --- ...on-for-issues-and-pull-requests-with-query-parameters.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md index 4761c3b2875d..df1c25784117 100644 --- a/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md +++ b/content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md @@ -19,11 +19,7 @@ Query parameters are optional parts of a URL you can customize to share a specif You must have the proper permissions for any action to use the equivalent query parameter. For example, you must have permission to add a label to an issue to use the `labels` query parameter. -### Errors - -If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a `404 Not Found` error page. - -If you create an URL longer than 8191 bytes, the URL will return a `414 URI Too Long` error page. +If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a `404 Not Found` error page. If you create a URL that exceeds the server limit, the URL will return a `414 URI Too Long` error page. ### Supported query parameters From d629ca00d031df50c9bfa06b13987510267a96de Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Thu, 22 Apr 2021 08:04:33 -0700 Subject: [PATCH 10/12] Remove unused custom styling (#18912) --- includes/header.html | 4 +-- stylesheets/article.scss | 24 +++++++------- stylesheets/dev-toc.scss | 2 +- stylesheets/directory.scss | 50 ----------------------------- stylesheets/gradient.scss | 38 ++++++++++++++++++---- stylesheets/index.scss | 1 - stylesheets/nav.scss | 6 ++-- stylesheets/new-mktg.scss | 34 +++++++++----------- stylesheets/opacity.scss | 17 ++++------ stylesheets/overrides.scss | 38 +++------------------- stylesheets/product-landing.scss | 6 +++- stylesheets/product-sublanding.scss | 23 ++++--------- stylesheets/release-notes.scss | 15 +++++---- stylesheets/scroll-button.scss | 31 +++++++++--------- stylesheets/search.scss | 30 ++--------------- stylesheets/shadows.scss | 8 ++--- stylesheets/sidebar.scss | 4 +-- stylesheets/type.scss | 5 +-- 18 files changed, 120 insertions(+), 216 deletions(-) delete mode 100644 stylesheets/directory.scss diff --git a/includes/header.html b/includes/header.html index 56f3709c5cca..d27e2802dccb 100644 --- a/includes/header.html +++ b/includes/header.html @@ -22,7 +22,7 @@

{% data ui.homepage.explore_by_product %}