Skip to content

Commit 62f7d98

Browse files
authored
Merge pull request #35056 from github/repo-sync
Repo sync
2 parents ce11601 + bd6cb73 commit 62f7d98

File tree

5 files changed

+66
-29
lines changed

5 files changed

+66
-29
lines changed

content/copilot/managing-copilot/managing-github-copilot-in-your-organization/customizing-copilot-for-your-organization/indexing-repositories-for-copilot-chat.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ redirect_from:
1616

1717
{% data variables.product.prodname_copilot %}'s ability to answer natural language questions, in the context of a {% data variables.product.prodname_dotcom %} repository, is improved when the repository has been indexed for semantic code search.
1818

19-
Indexing repositories is not a requirement and will not affect responses to questions about information in pull requests, issues, discussions, or commits. However, indexing can help {% data variables.product.prodname_copilot_chat_short %} answer questions that relate directly to the code within a repository.
19+
Indexing repositories for {% data variables.product.prodname_copilot_chat_short %} is not a requirement and will not affect responses to questions about information in knowledge bases, pull requests, issues, discussions, or commits. However, indexing is for search purposes and can help {% data variables.product.prodname_copilot_chat_short %} answer questions that relate directly to the code within a repository. **{% data variables.product.prodname_copilot_chat_short %} will not use your indexed repository for model training.**
2020

2121
The indexing status of a repository is displayed on {% data variables.product.github %} when you start a conversation that has a repository context. You can index the repository if it has not been indexed yet.
2222

2323
After you index a repository it is automatically re-indexed every time a change is pushed to the repository.
2424

2525
## Indexing limits
2626

27+
Your {% data variables.product.prodname_copilot %} subscription plan determines your indexing limits.
28+
2729
{% rowheaders %}
2830

2931
| | {% data variables.product.prodname_copilot_individuals_short %} | {% data variables.product.prodname_copilot_business_short %} | {% data variables.product.prodname_copilot_enterprise_short %} |
@@ -32,6 +34,22 @@ After you index a repository it is automatically re-indexed every time a change
3234

3335
{% endrowheaders %}
3436

37+
{% ifversion ghec %}
38+
If you have a seat on the {% data variables.product.prodname_copilot_enterprise_short %} (CE) plan, you do not have a limit on the number of repositories you can index. You can index repositories from any organization you have access to, regardless of whether the organization is subject to an indexing limit.
39+
{% endif %}
40+
41+
{% ifversion ghec or fpt %}
42+
If you have a seat on the {% data variables.product.prodname_copilot_business_short %} (CB) plan, you are subject to the indexing limit for your organization. You cannot index additional repositories once your organization reaches the repository limit, but you can still benefit from the indexes created by other users.
43+
{% endif %}
44+
45+
{% ifversion fpt %}
46+
If you have a {% data variables.product.prodname_copilot_individuals_short %} (CI) plan, you are subject to an indexing limit and can index any repository that you belong to. However, you can still benefit from the indexes created by other users without affecting your limit.
47+
{% endif %}
48+
49+
Both CE and CB plans can apply content exclusions to control the behavior of {% data variables.product.prodname_copilot %} for the {% data variables.product.prodname_copilot_short %} seats they manage. For more information, see "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot)." However, CI users can still index any repository they have access to, regardless of the content exclusion policies set by the organization.
50+
51+
> [!WARNING] Indexing is permanent for each repository unless the repository itself is deleted. Use caution when selecting a repository to index. Repository indexing cannot be canceled once it starts.
52+
3553
## Indexing a repository
3654

3755
1. On {% data variables.product.github %}, browse to the repository you want to index.

content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ Repository administrators{% ifversion ghec%}, organization owners, and enterpris
3939

4040
### Availability of content exclusions
4141

42-
| Tool | Code completion support | {% data variables.product.prodname_copilot_chat_short %} support |
43-
|--------|:--------:|:--------:|
44-
| {% data variables.product.prodname_vs %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
45-
| {% data variables.product.prodname_vscode %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
46-
| JetBrains IDEs | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
47-
| Vim/Neovim | {% octicon "check" aria-label="Supported" %} | Not applicable |
48-
| Azure Data Studio | {% octicon "x" aria-label="Not supported" %} | Not applicable |
49-
| The {% data variables.product.github %} website | Not applicable | {% octicon "x" aria-label="Not supported" %} |
42+
| Tool | Code completion support | {% data variables.product.prodname_copilot_chat_short %} support |
43+
|-------------------------------------------------|:---------------------------------------------:|:----------------------------------------------------------------:|
44+
| {% data variables.product.prodname_vs %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
45+
| {% data variables.product.prodname_vscode %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
46+
| JetBrains IDEs | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
47+
| Vim/Neovim | {% octicon "check" aria-label="Supported" %} | Not applicable |
48+
| Azure Data Studio | {% octicon "x" aria-label="Not supported" %} | Not applicable |
49+
| The {% data variables.product.github %} website | Not applicable | {% octicon "x" aria-label="Not supported" %} |
5050

5151
### Limitations of content exclusions
5252

package-lock.json

Lines changed: 37 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"highlightjs-curl": "^1.3.0",
271271
"hot-shots": "^10.0.0",
272272
"html-entities": "^2.5.2",
273-
"http-proxy-middleware": "3.0.0",
273+
"http-proxy-middleware": "3.0.3",
274274
"imurmurhash": "^0.1.4",
275275
"is-svg": "5.0.0",
276276
"javascript-stringify": "^2.1.0",

src/search/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can also query our search endpoint directly at:
2222

2323
## Production deploys
2424

25-
A [GitHub Actions workflow](/.github/workflows/sync-search-elasticsearch.yml) that runs every four hours syncs the search data. This process generates structured data for all pages on the site, compares that data to what's currently on search, then adds, updates, or removes indices based on the diff of the local and remote data, being careful not to create duplicate records and avoiding any unnecessary (and costly) indexing operations.
25+
A [GitHub Actions workflow](/.github/workflows/sync-search-elasticsearch.yml) that runs every twenty four hours syncs the search data. This process generates structured data for all pages on the site, compares that data to what's currently on search, then adds, updates, or removes indices based on the diff of the local and remote data, being careful not to create duplicate records and avoiding any unnecessary (and costly) indexing operations.
2626

2727
The workflow runs are only accessible to GitHub employees using internal resources.
2828

0 commit comments

Comments
 (0)