Skip to content

Commit 7d6fcd7

Browse files
authored
Merge pull request #39594 from github/repo-sync
Repo sync
2 parents c9b88b9 + afb3f36 commit 7d6fcd7

File tree

11 files changed

+37
-33
lines changed

11 files changed

+37
-33
lines changed
22.3 KB
Loading

content/admin/managing-code-security/managing-github-advanced-security-for-your-enterprise/enabling-github-advanced-security-for-your-enterprise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For guidance on a phased deployment of {% data variables.product.prodname_GHAS %
3232

3333
{% data reusables.enterprise-accounts.access-enterprise %}
3434
{% data reusables.enterprise-accounts.settings-tab %}
35-
{% data reusables.enterprise-accounts.license-tab %}
35+
{% data reusables.enterprise-accounts.license-tab-ghes %}
3636
1. If your license includes {% data variables.product.prodname_GHAS_cs_or_sp %}, the license page includes a section showing details of current usage.
3737

3838
## Prerequisites for enabling {% data variables.product.prodname_cs_and_sp %}

content/billing/how-tos/manage-server-licenses/download-your-license.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ There are two possible ways to download a license file for {% data variables.pro
4747
If you have any questions about downloading your license, contact {% data variables.contact.contact_enterprise_sales %}. For more information about enterprise accounts, see [AUTOTITLE](/enterprise-cloud@latest/admin/overview/about-enterprise-accounts){% ifversion ghes %} in the {% data variables.product.prodname_ghe_cloud %} documentation.{% elsif ghec %}.{% endif %}
4848

4949
{% data reusables.enterprise-accounts.access-enterprise-on-dotcom %}
50-
{% data reusables.enterprise-accounts.settings-tab %}
51-
{% data reusables.enterprise-accounts.license-tab %}
52-
1. Under "Enterprise Server licenses", next to the license you want to download, click **{% octicon "download" aria-hidden="true" aria-label="download" %} Download**.
50+
{% data reusables.enterprise-accounts.licensing-tab-both-platforms %}
51+
1. Optionally, if a yellow banner reports "Your license usage for Enterprise Cloud has changed. Generate a new license key to update server seats.", click **Generate new license** to generate a new license key.
52+
1. Scroll down to "Enterprise Server licenses". Next to the license you want to download, click **{% octicon "download" aria-hidden="true" aria-label="download" %} Download**.
5353

54-
After you download your license file, you can upload the file to {% data variables.location.product_location_enterprise %} to validate your application. For more information, see {% ifversion ghec %}[AUTOTITLE](/enterprise-server@latest/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server) in the {% data variables.product.prodname_ghe_server %} documentation.{% elsif ghes %}[AUTOTITLE](/enterprise-server@latest/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server).{% endif %}
54+
After you download your license file, you can upload the file to {% data variables.product.prodname_ghe_server %} to validate your application. For more information, see {% ifversion ghec %}[AUTOTITLE](/enterprise-server@latest/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server) in the {% data variables.product.prodname_ghe_server %} documentation.{% elsif ghes %}[AUTOTITLE](/enterprise-server@latest/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server).{% endif %}

content/billing/how-tos/manage-server-licenses/sync-license-usage.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ When you synchronize license usage, only the user ID and email addresses for eac
3333

3434
## Automatically syncing license usage
3535

36-
You can use {% data variables.product.prodname_github_connect %} to automatically synchronize user license count and usage between {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %} weekly. For more information, see [Enabling automatic user license sync for your enterprise]({% ifversion ghec %}/enterprise-server@latest{% endif %}/admin/configuration/configuring-github-connect/enabling-automatic-user-license-sync-for-your-enterprise){% ifversion ghec %} in the {% data variables.product.prodname_ghe_server %} documentation.{% elsif ghes %}.{% endif %}
36+
You can use {% data variables.product.prodname_github_connect %} to automatically synchronize user license count and usage between {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %} weekly.
3737

3838
After you enable {% data variables.product.prodname_github_connect %}, license data will be automatically synchronized weekly. You can also manually synchronize your license data at any time, by triggering a license sync job.
3939

@@ -42,22 +42,23 @@ After you enable {% data variables.product.prodname_github_connect %}, license d
4242
1. Sign in to your {% data variables.product.prodname_ghe_server %} instance.
4343
{% data reusables.enterprise-accounts.access-enterprise-ghes %}
4444
{% data reusables.enterprise-accounts.settings-tab %}
45-
{% data reusables.enterprise-accounts.license-tab %}
45+
{% data reusables.enterprise-accounts.license-tab-ghes %}
4646
1. Under "License sync", click **{% octicon "sync" aria-hidden="true" aria-label="sync" %} Sync now**.
4747

48+
If there is no **{% octicon "sync" aria-hidden="true" aria-label="sync" %} Sync now** button, you need to enable license synchronization. An information message, "License sync is disabled. You can enable it in the GitHub Connect settings" is shown. Click the "GitHub Connect settings" link. For more information, see [Enabling automatic user license sync for your enterprise]({% ifversion ghec %}/enterprise-server@latest{% endif %}/admin/configuration/configuring-github-connect/enabling-automatic-user-license-sync-for-your-enterprise){% ifversion ghec %} in the {% data variables.product.prodname_ghe_server %} documentation.{% elsif ghes %}.{% endif %}
49+
4850
## Manually uploading GitHub Enterprise Server license usage
4951

5052
You can download a JSON file from {% data variables.product.prodname_ghe_server %} and upload the file to {% data variables.product.prodname_ghe_cloud %} to manually sync user license usage between the two deployments.
5153

5254
1. Sign in to your {% data variables.product.prodname_ghe_server %} instance.
5355
{% data reusables.enterprise-accounts.access-enterprise-ghes %}
5456
{% data reusables.enterprise-accounts.settings-tab %}
55-
{% data reusables.enterprise-accounts.license-tab %}
57+
{% data reusables.enterprise-accounts.license-tab-ghes %}
5658
1. In the "User licenses" section, under "Quick links", to download a file containing your current license usage on {% data variables.product.prodname_ghe_server %}, click **Export license usage**.
5759

5860
![Screenshot of the "User licenses" section of the "License" page. A link, labeled "Export license usage", is outlined in dark orange.](/assets/images/enterprise/management-console/export-license-usage-link.png)
5961
{% data reusables.enterprise-accounts.access-enterprise-on-dotcom %}
60-
{% data reusables.enterprise-accounts.settings-tab %}
61-
{% data reusables.enterprise-accounts.license-tab %}
62+
{% data reusables.enterprise-accounts.licensing-tab-both-platforms %}
6263
1. Next to "Enterprise Server instances", click **Add server usage**.
6364
1. Upload the JSON file you downloaded from {% data variables.product.prodname_ghe_server %}.

content/billing/how-tos/manage-server-licenses/upload-new-license.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Uploading a new license to GitHub Enterprise Server
33
intro: 'You can upload your license file for {% data variables.product.prodname_enterprise %} to {% data variables.location.product_location_enterprise %} to validate your application.'
44
versions:
5+
ghec: '*'
56
ghes: '*'
67
topics:
78
- Billing
@@ -13,36 +14,40 @@ redirect_from:
1314
contentType: how-tos
1415
---
1516

16-
## About license files for {% data variables.product.prodname_enterprise %}
17+
## About license files for {% data variables.product.prodname_ghe_server %}
1718

18-
After you purchase or upgrade a license for {% data variables.product.prodname_enterprise %} from {% data variables.contact.contact_enterprise_sales %}, you must upload the new license file to {% data variables.location.product_location_enterprise %} to unlock your new user licenses. For more information, see [AUTOTITLE](/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise) and [AUTOTITLE](/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise).
19+
When you purchase or download a new license for {% data variables.product.prodname_ghe_server %} you must upload the new license file to {% data variables.product.prodname_ghe_server %} to unlock your new user licenses.
20+
21+
If you use {% data variables.product.prodname_ghe_cloud %}, you can download a license from your enterprise. For more information, see [AUTOTITLE](/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise) and [AUTOTITLE](/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise).
1922

2023
{% data reusables.enterprise-licensing.contact-sales-for-renewals-or-seats %}
2124

2225
## Uploading your license from the {% data variables.enterprise.management_console %}
2326

24-
1. Sign into {% data variables.location.product_location_enterprise %} as a site administrator.
27+
1. Sign into {% data variables.product.prodname_ghe_server %} as a site administrator.
2528
{% data reusables.enterprise-accounts.access-enterprise %}
2629
{% data reusables.enterprise-accounts.settings-tab %}
27-
{% data reusables.enterprise-accounts.license-tab %}
28-
1. In the "User licenses" section, under "Quick links", click **Update license**.
30+
{% data reusables.enterprise-accounts.license-tab-ghes %}
31+
1. In the "User licenses" section, under "Quick links", click **Update license**. If prompted, enter the root password for your instance.
2932

3033
![Screenshot of the "User licenses" section of the "License" page. A link, labeled "Update license", is outlined in dark orange.](/assets/images/enterprise/management-console/update-license-link.png)
31-
1. To upload your license, click **License file**, or drag your license file onto **License file**.
34+
1. To upload your license, click **License file** and select your license file. Alternatively, drag your license file onto the **License file** upload area.
3235

33-
![Screenshot of the "License" page of the Management Console. A link, labeled "License file", is highlighted with an orange outline.](/assets/images/enterprise/management-console/upload-license.png)
36+
![Screenshot of the "License" page of the Management Console. The "License file" upload area is highlighted with an orange outline.](/assets/images/enterprise/management-console/upload-license.png)
3437
1. Click **Upload**. Your license will be updated in the background. The change may take a few minutes before it is visible on your instance.
3538

3639
## Uploading your license with the REST API
3740

38-
You can use the REST API to upload a license to {% data variables.location.product_location %}. See [AUTOTITLE](/rest/enterprise-admin/manage-ghes#upload-an-enterprise-license).
41+
You can use the REST API to upload a license to {% data variables.location.product_location %}. {% ifversion ghec %}See [AUTOTITLE](/enterprise-server@latest/rest/enterprise-admin/manage-ghes#upload-an-enterprise-license) in the documentation for {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}See [AUTOTITLE](/rest/enterprise-admin/manage-ghes#upload-an-enterprise-license).{% endif %}
3942

4043
## Uploading a license with the {% data variables.product.prodname_cli %}
4144

4245
You can import a license to {% data variables.location.product_location %} using the `gh es` extension of the {% data variables.product.prodname_cli %}. See the [usage instructions](https://github.com/github/gh-es/blob/main/USAGE.md#gh-es-config-import-license) in the `github/gh-es` repository on {% data variables.product.prodname_dotcom_the_website %}.
4346

44-
For more information about accessing your instance via the extension, see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/administering-your-instance-using-the-github-cli).
47+
For more information about accessing your instance via the extension, {% ifversion ghec %}see [AUTOTITLE](/enterprise-server@latest/admin/administering-your-instance/administering-your-instance-from-the-command-line/administering-your-instance-using-the-github-cli) in the documentation for {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/administering-your-instance-using-the-github-cli).{% endif %}
4548

4649
## Uploading a license via SSH
4750

48-
You can upload and interact with your license from the command line via SSH. See the documentation for the `ghe-license` command in [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-license). For more information about accessing your instance via SSH, see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/accessing-the-administrative-shell-ssh).
51+
You can upload and interact with your license from the command line via SSH. See the documentation for the `ghe-license` command in {% ifversion ghec %}[AUTOTITLE](/enterprise-server@latest/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-license) in the documentation for {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}[AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-license).{% endif %}
52+
53+
For more information about accessing your instance via SSH, see {% ifversion ghec %}[AUTOTITLE](/enterprise-server@latest/admin/administering-your-instance/administering-your-instance-from-the-command-line/accessing-the-administrative-shell-ssh) in the documentation for {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}[AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/accessing-the-administrative-shell-ssh).{% endif %}

content/billing/how-tos/products/download-ghas-license-use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ You can download a CSV report for a repository, an organization, or an enterpris
7777
{% elsif ghes %}
7878

7979
{% data reusables.enterprise-accounts.access-enterprise %}
80-
{% data reusables.enterprise-accounts.license-tab %}
80+
{% data reusables.enterprise-accounts.license-tab-ghes %}
8181
1. Under "{% data variables.product.prodname_GHAS %}," click **{% octicon "download" aria-hidden="true" aria-label="download" %} CSV report**.
8282

8383
![Screenshot of the licensing screen. The "CSV Report" button is highlighted with an orange outline.](/assets/images/enterprise/ghas/download-csv-report-ghes-3.9.png)

content/billing/how-tos/products/view-ghas-committers.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ For more information about billing for {% data variables.product.prodname_AS %},
2828

2929
## Viewing committer information
3030

31-
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="Site admin" %}.
32-
1. In the left sidebar, click **Advanced Security Committers**.
33-
1. To the right of "Current active committer count", view the number of active committers for repositories with {% data variables.product.prodname_cs_or_sp %} enabled. This is the number of licenses that are currently being used.
34-
1. To the right of "Total billable committers if GHAS is enabled for all repositories", you can see the number of active committers across all the repositories in your enterprise. This is the number of licenses that would be used if you enabled {% data variables.product.prodname_cs_or_sp %} for every repository in your enterprise.
31+
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="Site admin" %} to display the "Site admin" pages.
32+
1. In the left sidebar, click **Advanced Security Committers**. If this option is not displayed, at the top of the page, click {% octicon "rocket" aria-hidden="true" aria-label="Site admin" %} **Site admin** to show the top-level "Site admin" page.
33+
34+
The page shows the number of licenses currently being used and the number of licenses you would use if you enabled {% data variables.product.prodname_AS %} for all repositories.
3535

3636
## Calculating the cost to add committers
3737

38-
Under "Calculate Additional Advanced Committers", you can calculate how many more new or additional licenses will be used if you enable {% data variables.product.prodname_cs_or_sp %} for specific organizations and repositories.
38+
Under "Calculate Additional Advanced Licenses", you can calculate how many more new or additional licenses will be used if you enable {% data variables.product.prodname_cs_or_sp %} for specific organizations and repositories.
3939

40-
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="Site admin" %}.
41-
1. In the left sidebar, click **Advanced Security Committers**.
40+
1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="Site admin" %} to display the "Site admin" pages.
41+
1. In the left sidebar, click **Advanced Security Committers**. If this option is not displayed, at the top of the page, click {% octicon "rocket" aria-hidden="true" aria-label="Site admin" %} **Site admin** to show the top-level "Site admin" page.
4242
1. Under "Organizations and Repositories", enter or paste a list of organizations and repositories, with one organization or repository per line. For example:
4343

4444
```text

content/billing/how-tos/troubleshooting/enterprise-license-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ contentType: how-tos
1818

1919
## About unexpected license usage
2020

21-
If the number of consumed licenses for your enterprise is unexpected, you can review your consumed license report to audit your license usage across all your enterprise deployments and subscriptions. For more information, see [AUTOTITLE](/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise) and [AUTOTITLE](/billing/managing-the-plan-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account).
21+
If the number of consumed licenses for your enterprise is unexpected, you can review your consumed license report to audit your license usage across all your enterprise deployments and subscriptions. For more information, see [AUTOTITLE](/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise).
2222

2323
If you find errors, you can try troubleshooting steps.
2424

content/support/contacting-github-support/providing-data-to-github-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ You can use these steps to create and share a support bundle if you have SSH acc
134134

135135
{% data reusables.enterprise-accounts.access-enterprise-on-dotcom %}
136136
{% data reusables.enterprise-accounts.settings-tab %}
137-
{% data reusables.enterprise-accounts.license-tab %}
137+
{% data reusables.enterprise-accounts.license-tab-ghes %}
138138
1. Under "{% data variables.product.prodname_enterprise %} Help", click **Upload a support bundle**.
139139

140140
![Screenshot of the "GitHub Enterprise help" section of the enterprise settings page. The "Upload a support bundle link" is outlined in orange.](/assets/images/enterprise/support/upload-support-bundle.png)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. Under **{% octicon "gear" aria-hidden="true" aria-label="gear" %} Settings**, click **{% ifversion ghec %}Licensing{% elsif ghes %}License{% endif %}**.

0 commit comments

Comments
 (0)