forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated GHES versions from content and data (github#15830)
* ran script/remove-unused-assets.js (manually removed unused variables printed by the script) * package-lock * turn elsif into two ifs to prepare for running Liquid deprecation script * ran script/remove-deprecated-enterprise-version-markup.js --release 2.14 (ONLY UPDATES LINE BREAKS ETC.) * ran script/remove-deprecated-enterprise-version-markup.js --release 2.15 * ran script/remove-deprecated-enterprise-version-markup.js --release 2.17 * ran script/remove-deprecated-enterprise-version-markup.js --release 2.18 * update hardcoded test * Update content/github/collaborating-with-issues-and-pull-requests/filtering-files-in-a-pull-request.md Co-authored-by: Matt Pollard <[email protected]> * add currentVersion is NOT free-pro-team to conditional, to make sure the deprecation script does the right thing when it is time to deprecate 2.21 Co-authored-by: Matt Pollard <[email protected]>
- Loading branch information
1 parent
dc5b6f2
commit f272eec
Showing
355 changed files
with
346 additions
and
566 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -602,7 +602,7 @@ Runs your workflow anytime the `release` event occurs. {% data reusables.develop | |
|
||
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | | ||
| --------------------- | -------------- | ------------ | -------------| | ||
| [`release`](/webhooks/event-payloads/#release) | - `published`{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %} <br/>- `unpublished` <br/>- `created` <br/>- `edited` <br/>- `deleted` <br/>- `prereleased`<br/> - `released`{% endif %} | Last commit in the tagged release | Tag of release | | ||
| [`release`](/webhooks/event-payloads/#release) | - `published` <br/>- `unpublished` <br/>- `created` <br/>- `edited` <br/>- `deleted` <br/>- `prereleased`<br/> - `released` | Last commit in the tagged release | Tag of release | | ||
|
||
{% data reusables.developer-site.limit_workflow_to_activity_types %} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,7 +274,6 @@ steps: | |
echo 'EOF' >> $GITHUB_ENV | ||
``` | ||
|
||
|
||
### Adding a system path | ||
|
||
`echo "{path}" >> $GITHUB_PATH` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,15 +180,13 @@ This utility allows you to control the state of the installation's maintenance m | |
ghe-maintenance -h | ||
``` | ||
|
||
{% if currentVersion ver_gt "[email protected]" %} | ||
#### ghe-motd | ||
|
||
This utility re-displays the message of the day (MOTD) that administrators see when accessing the instance via the administrative shell. The output contains an overview of the instance's state. | ||
|
||
```shell | ||
ghe-motd | ||
``` | ||
{% endif %} | ||
|
||
#### ghe-nwo | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,9 +37,7 @@ Enabling {% data variables.product.prodname_github_connect %} also creates a {% | |
|
||
Enabling {% data variables.product.prodname_github_connect %} will not allow {% data variables.product.prodname_dotcom_the_website %} users to make changes to {% data variables.product.prodname_ghe_server %}. | ||
|
||
{% if currentVersion ver_gt "[email protected]" %} | ||
For more information about managing enterprise accounts using the GraphQL API, see "[Enterprise accounts](/v4/guides/managing-enterprise-accounts)." | ||
{% endif %} | ||
### Enabling {% data variables.product.prodname_github_connect %} | ||
|
||
1. Sign in to {% data variables.product.product_location_enterprise %} and {% data variables.product.prodname_dotcom_the_website %}. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Geo DNS, such as [Amazon's Route 53 service](http://docs.aws.amazon.com/Route53/ | |
|
||
### Limitations | ||
|
||
Writing requests to the replica requires sending the data to the primary and all replicas. This means that the performance of all writes are limited by the slowest replica{% if currentVersion ver_gt "[email protected]" %}, although new geo-replicas can seed the majority of their data from existing co-located geo-replicas, rather than from the primary{% endif %}. Geo-replication will not add capacity to a {% data variables.product.prodname_ghe_server %} instance or solve performance issues related to insufficient CPU or memory resources. If the primary appliance is offline, active replicas will be unable to serve any read or write requests. | ||
Writing requests to the replica requires sending the data to the primary and all replicas. This means that the performance of all writes are limited by the slowest replica, although new geo-replicas can seed the majority of their data from existing co-located geo-replicas, rather than from the primary. Geo-replication will not add capacity to a {% data variables.product.prodname_ghe_server %} instance or solve performance issues related to insufficient CPU or memory resources. If the primary appliance is offline, active replicas will be unable to serve any read or write requests. | ||
|
||
### Monitoring a geo-replication configuration | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ To manage replication on {% data variables.product.prodname_ghe_server %}, use t | |
|
||
The `ghe-repl-setup` command puts a {% data variables.product.prodname_ghe_server %} appliance in replica standby mode. | ||
|
||
- An encrypted {% if currentVersion ver_gt "[email protected]" %}WireGuard VPN{% else %}OpenVPN{% endif %} tunnel is configured for communication between the two appliances. | ||
- An encrypted WireGuard VPN tunnel is configured for communication between the two appliances. | ||
- Database services are configured for replication and started. | ||
- Application services are disabled. Attempts to access the replica appliance over HTTP, Git, or other supported protocols will result in an "appliance in replica mode" maintenance page or error message. | ||
|
||
|
@@ -71,8 +71,7 @@ Run `ghe-repl-start' to start replicating against the newly configured primary. | |
The `ghe-repl-start` command turns on active replication of all datastores. | ||
|
||
```shell | ||
admin@169-254-1-2:~$ ghe-repl-start{% if currentVersion ver_lt "[email protected]" %} | ||
Starting OpenVPN tunnel ... {% endif %} | ||
admin@169-254-1-2:~$ ghe-repl-start | ||
Starting MySQL replication ... | ||
Starting Redis replication ... | ||
Starting Elasticsearch replication ... | ||
|
@@ -144,8 +143,7 @@ Stopping Pages replication ... | |
Stopping Git replication ... | ||
Stopping MySQL replication ... | ||
Stopping Redis replication ... | ||
Stopping Elasticsearch replication ...{% if currentVersion ver_lt "[email protected]" %} | ||
Stopping OpenVPN tunnel ...{% endif %} | ||
Stopping Elasticsearch replication ... | ||
Success: replication was stopped for all services. | ||
``` | ||
|
@@ -163,8 +161,7 @@ Stopping replication ... | |
| Stopping Git replication ... | ||
| Stopping MySQL replication ... | ||
| Stopping Redis replication ... | ||
| Stopping Elasticsearch replication ...{% if currentVersion ver_lt "[email protected]" %} | ||
| Stopping OpenVPN tunnel ...{% endif %} | ||
| Stopping Elasticsearch replication ... | ||
| Success: replication was stopped for all services. | ||
Switching out of replica mode ... | ||
| Success: Replication configuration has been removed. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ This example configuration uses a primary and two replicas, which are located in | |
(replica2)$ ghe-repl-setup --add <em>PRIMARY IP</em> | ||
(replica2)$ ghe-repl-start | ||
``` | ||
3. By default, replicas are configured to the same datacenter{% if currentVersion ver_gt "[email protected]" %}, and will now attempt to seed from an existing node in the same datacenter{% endif %}. Configure the replicas for different datacenters by setting a different value for the datacenter option. The specific values can be anything you would like as long as they are different from each other. Run the `ghe-repl-node` command on each node and specify the datacenter. | ||
3. By default, replicas are configured to the same datacenter, and will now attempt to seed from an existing node in the same datacenter. Configure the replicas for different datacenters by setting a different value for the datacenter option. The specific values can be anything you would like as long as they are different from each other. Run the `ghe-repl-node` command on each node and specify the datacenter. | ||
|
||
On the primary: | ||
```shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ For the complete documentation for {% data variables.product.prodname_enterprise | |
|
||
- Perform changes to the {% data variables.enterprise.management_console %}. For more information, see "[{% data variables.enterprise.management_console %}](/enterprise/{{ currentVersion }}/user/rest/reference/enterprise-admin#management-console)." | ||
- Collect statistics about your instance. For more information, see "[Admin stats](/enterprise/{{ currentVersion }}/user/rest/reference/enterprise-admin#admin-stats)." | ||
- Configure LDAP sync. For more information, see "[LDAP](/enterprise/{{ currentVersion }}/user/rest/reference/enterprise-admin#ldap)."{% if currentVersion ver_gt "[email protected]" %} | ||
- Manage your enterprise account. For more information, see "[Enterprise accounts](/v4/guides/managing-enterprise-accounts)."{% endif %} | ||
- Configure LDAP sync. For more information, see "[LDAP](/enterprise/{{ currentVersion }}/user/rest/reference/enterprise-admin#ldap)." | ||
- Manage your enterprise account. For more information, see "[Enterprise accounts](/v4/guides/managing-enterprise-accounts)." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,11 +273,8 @@ While most of your API interaction should occur using your server-to-server inst | |
|
||
##### Git Refs | ||
|
||
* [Create a reference](/v3/git/refs/#create-a-reference){% if currentVersion != "free-pro-team@latest" and currentVersion ver_lt "[email protected]" %} | ||
* [List references](/v3/git/refs/#list-references) | ||
* [Get a reference](/v3/git/refs/#get-a-reference){% else %} | ||
* [Get a reference](/v3/git/refs/#get-a-reference) | ||
* [List matching references](/v3/git/refs/#list-matching-references){% endif %} | ||
* [Create a reference](/v3/git/refs/#create-a-reference)* [Get a reference](/v3/git/refs/#get-a-reference) | ||
* [List matching references](/v3/git/refs/#list-matching-references) | ||
* [Update a reference](/v3/git/refs/#update-a-reference) | ||
* [Delete a reference](/v3/git/refs/#delete-a-reference) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,15 @@ versions: | |
enterprise-server: '*' | ||
--- | ||
|
||
When you enable branch restrictions, only users{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %},{% else %} or{% endif %} teams{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}, or apps{% endif %} that have been given permission can push to the protected branch. For more information, see "[Enabling branch restrictions](/articles/enabling-branch-restrictions)" and "[About protected branches](/articles/about-protected-branches)." You can view and edit the users{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %},{% else %} or{% endif %} teams{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}, or apps{% endif %} with push access to a protected branch in the protected branch's settings. | ||
When you enable branch restrictions, only users, teams, or apps that have been given permission can push to the protected branch. For more information, see "[Enabling branch restrictions](/articles/enabling-branch-restrictions)" and "[About protected branches](/articles/about-protected-branches)." You can view and edit the users, teams, or apps with push access to a protected branch in the protected branch's settings. | ||
|
||
You can only give push access to a protected branch to users{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %},{% else %} or{% endif %} teams{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}, or installed {% data variables.product.prodname_github_apps %}{% endif %} with `write` access to a repository. | ||
You can only give push access to a protected branch to users, teams, or installed {% data variables.product.prodname_github_apps %} with `write` access to a repository. | ||
|
||
People{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %} and apps{% endif %} with admin permissions to a repository are always able to push to a protected branch. | ||
People and apps with admin permissions to a repository are always able to push to a protected branch. | ||
|
||
{% tip %} | ||
|
||
**Note:** If "Include administrators" is selected, you've enabled required status checks on the branch, and if any status checks fail, any attempt to push changes to the protected branch will also fail, even for people{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %} and apps{% endif %} with admin permissions. For more information, see "[Enabling required status checks](/articles/enabling-required-status-checks)." | ||
**Note:** If "Include administrators" is selected, you've enabled required status checks on the branch, and if any status checks fail, any attempt to push changes to the protected branch will also fail, even for people and apps with admin permissions. For more information, see "[Enabling required status checks](/articles/enabling-required-status-checks)." | ||
|
||
{% endtip %} | ||
|
||
|
Oops, something went wrong.