ran script/content-migrations/use-short-versions.js
This commit is contained in:
@@ -6,15 +6,15 @@ redirect_from:
|
||||
- /articles/about-repository-graphs
|
||||
- /github/visualizing-repository-data-with-graphs/about-repository-graphs
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
A repository's graphs give you information on {% if currentVersion == "free-pro-team@latest" %} traffic, projects that depend on the repository,{% endif %} contributors and commits to the repository, and a repository's forks and network. If you maintain a repository, you can use this data to get a better understanding of who's using your repository and why they're using it.
|
||||
A repository's graphs give you information on {% ifversion fpt %} traffic, projects that depend on the repository,{% endif %} contributors and commits to the repository, and a repository's forks and network. If you maintain a repository, you can use this data to get a better understanding of who's using your repository and why they're using it.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
|
||||
Some repository graphs are available only in public repositories with {% data variables.product.prodname_free_user %}:
|
||||
- Pulse
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
title: Accessing basic repository data
|
||||
intro: 'You can view basic information about a repository, such as the repository''s activity{% if currentVersion == "free-pro-team@latest" %}, traffic,{% endif %} and contribution activity.'
|
||||
intro: 'You can view basic information about a repository, such as the repository''s activity{% ifversion fpt %}, traffic,{% endif %} and contribution activity.'
|
||||
redirect_from:
|
||||
- /articles/accessing-basic-repository-data
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
children:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Viewing a project's contributors
|
||||
intro: 'You can see who contributed commits to a repository{% if currentVersion == "free-pro-team@latest" %} and its dependencies{% endif %}.'
|
||||
intro: 'You can see who contributed commits to a repository{% ifversion fpt %} and its dependencies{% endif %}.'
|
||||
redirect_from:
|
||||
- /articles/i-don-t-see-myself-in-the-contributions-graph/
|
||||
- /articles/viewing-contribution-activity-in-a-repository/
|
||||
@@ -8,17 +8,17 @@ redirect_from:
|
||||
- /github/visualizing-repository-data-with-graphs/viewing-a-projects-contributors
|
||||
product: '{% data reusables.gated-features.repository-insights %}'
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
## About contributors
|
||||
|
||||
You can view the top 100 contributors to a repository{% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}, including commit co-authors,{% endif %} in the contributors graph. Merge commits and empty commits aren't counted as contributions for this graph.
|
||||
You can view the top 100 contributors to a repository{% ifversion ghes or ghae %}, including commit co-authors,{% endif %} in the contributors graph. Merge commits and empty commits aren't counted as contributions for this graph.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
You can also see a list of people who have contributed to the project's Python dependencies. To access this list of community contributors, visit `https://github.com/REPO-OWNER/REPO-NAME/community_contributors`.
|
||||
{% endif %}
|
||||
|
||||
@@ -46,4 +46,4 @@ If you don't appear in a repository's contributors graph, it may be because:
|
||||
|
||||
If all your commits in the repository are on non-default branches, you won't be in the contributors graph. For example, commits on the `gh-pages` branch aren't included in the graph unless `gh-pages` is the repository's default branch. To have your commits merged into the default branch, you can create a pull request. For more information, see "[About pull requests](/articles/about-pull-requests)."
|
||||
|
||||
If the email address you used to author the commits is not connected to your account on {% data variables.product.product_name %}, your commits won't be linked to your account, and you won't appear in the contributors graph. For more information, see "[Setting your commit email address](/articles/setting-your-commit-email-address){% if currentVersion != "github-ae@latest" %}" and "[Adding an email address to your {% data variables.product.product_name %} account](/articles/adding-an-email-address-to-your-github-account){% endif %}."
|
||||
If the email address you used to author the commits is not connected to your account on {% data variables.product.product_name %}, your commits won't be linked to your account, and you won't appear in the contributors graph. For more information, see "[Setting your commit email address](/articles/setting-your-commit-email-address){% ifversion not ghae %}" and "[Adding an email address to your {% data variables.product.product_name %} account](/articles/adding-an-email-address-to-your-github-account){% endif %}."
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/viewing-a-summary-of-repository-activity
|
||||
- /github/visualizing-repository-data-with-graphs/viewing-a-summary-of-repository-activity
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
title: Viewing traffic to a repository
|
||||
intro: 'Anyone with push access to a repository can view its traffic, including full clones (not fetches), visitors from the past 14 days, referring sites, and popular content in the traffic graph.'
|
||||
product: 'This repository insights graph is available 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 %}, and {% data variables.product.prodname_ghe_cloud %}.{% if currentVersion == "free-pro-team@latest" %} For more information, see "[About repository graphs](/articles/about-repository-graphs)" and "[{% data variables.product.prodname_dotcom %}''s products](/articles/github-s-products)."{% endif %}'
|
||||
product: 'This repository insights graph is available 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 %}, and {% data variables.product.prodname_ghe_cloud %}.{% ifversion fpt %} For more information, see "[About repository graphs](/articles/about-repository-graphs)" and "[{% data variables.product.prodname_dotcom %}''s products](/articles/github-s-products)."{% endif %}'
|
||||
redirect_from:
|
||||
- /articles/viewing-traffic-to-a-repository
|
||||
- /github/visualizing-repository-data-with-graphs/viewing-traffic-to-a-repository
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
fpt: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/analyzing-changes-to-a-repository-s-content
|
||||
- /articles/analyzing-changes-to-a-repositorys-content
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
children:
|
||||
|
||||
@@ -6,13 +6,13 @@ redirect_from:
|
||||
- /articles/visualizing-additions-and-deletions-to-content-in-a-repository
|
||||
- /github/visualizing-repository-data-with-graphs/visualizing-additions-and-deletions-to-content-in-a-repository
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@ redirect_from:
|
||||
- /articles/visualizing-commits-in-a-repository
|
||||
- /github/visualizing-repository-data-with-graphs/visualizing-commits-in-a-repository
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
|
||||
@@ -7,9 +7,9 @@ redirect_from:
|
||||
- /categories/graphs/
|
||||
- /categories/visualizing-repository-data-with-graphs
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
children:
|
||||
@@ -17,3 +17,4 @@ children:
|
||||
- /analyzing-changes-to-a-repositorys-content
|
||||
- /understanding-connections-between-repositories
|
||||
---
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: About the dependency graph
|
||||
intro: 'Detailed information about the dependency graph, the ecosystems it supports, and how it determines which packages a repository depends on.'
|
||||
versions:
|
||||
enterprise-server: <=2.22
|
||||
ghes: <=2.22
|
||||
topics:
|
||||
- Repositories
|
||||
redirect_from:
|
||||
@@ -40,9 +40,9 @@ You can use the dependency graph to:
|
||||
|
||||
## Enabling the dependency graph
|
||||
|
||||
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.21" %}If the dependency graph is not available in your system, your site administrator can enable the dependency graph and {% data variables.product.prodname_dependabot_alerts %}. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."{% endif %}
|
||||
{% ifversion ghes > 2.21 %}If the dependency graph is not available in your system, your site administrator can enable the dependency graph and {% data variables.product.prodname_dependabot_alerts %}. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."{% endif %}
|
||||
|
||||
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %} If the dependency graph is not available in your system, your site administrator can enable the dependency graph and security alerts. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."
|
||||
{% ifversion ghes < 2.22 %} If the dependency graph is not available in your system, your site administrator can enable the dependency graph and security alerts. For more information, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/enterprise/{{ currentVersion }}/admin/configuration/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -53,7 +53,7 @@ When the dependency graph is first enabled, any manifest and lock files for supp
|
||||
|
||||
The recommended formats explicitly define which versions are used for all direct and all indirect dependencies. If you use these formats, your dependency graph is more accurate. It also reflects the current build set up and enables the dependency graph to report vulnerabilities in both direct and indirect dependencies.
|
||||
|
||||
The ecosystems listed below are supported for the dependency graph and {% if currentVersion == "enterprise-server@2.22" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %}.
|
||||
The ecosystems listed below are supported for the dependency graph and {% ifversion ghes = 2.22 %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %}.
|
||||
|
||||
| Package manager | Languages | Recommended formats | All supported formats |
|
||||
| --- | --- | --- | ---|
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
title: Exploring the dependencies of a repository
|
||||
intro: 'Using the dependency graph, you can see the packages your project depends on{% if currentVersion == "free-pro-team@latest" %} and the repositories that depend on it{% endif %}. In addition, you can see any vulnerabilities detected in its dependencies.'
|
||||
intro: 'Using the dependency graph, you can see the packages your project depends on{% ifversion fpt %} and the repositories that depend on it{% endif %}. In addition, you can see any vulnerabilities detected in its dependencies.'
|
||||
versions:
|
||||
enterprise-server: <=2.22
|
||||
ghes: <=2.22
|
||||
topics:
|
||||
- Repositories
|
||||
redirect_from:
|
||||
@@ -22,7 +22,7 @@ The dependency graph shows the dependencies of your repository. For information
|
||||
|
||||
### Dependencies view
|
||||
|
||||
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.21" %}
|
||||
{% ifversion ghes > 2.21 %}
|
||||
Any direct and indirect dependencies that are specified in the repository's manifest or lock files are listed, grouped by ecosystem. If vulnerabilities have been detected in the repository, these are shown at the top of the view for users with access to {% data variables.product.prodname_dependabot_alerts %}.
|
||||
|
||||

|
||||
@@ -35,7 +35,7 @@ Any direct and indirect dependencies that are specified in the repository's mani
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %}
|
||||
{% ifversion ghes < 2.22 %}
|
||||
Any direct and indirect dependencies that are specified in the repository's manifest or lock files are listed, grouped by ecosystem. If vulnerabilities have been detected in the repository, these are shown at the top of the view for users with access to security alerts.
|
||||
|
||||

|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
title: Understanding connections between repositories
|
||||
intro: 'You can better understand the connections that exist between repositories by viewing a repository''s network{% if currentVersion == "free-pro-team@latest" %}, projects that depend on the repository,{% endif %} and its forks.'
|
||||
intro: 'You can better understand the connections that exist between repositories by viewing a repository''s network{% ifversion fpt %}, projects that depend on the repository,{% endif %} and its forks.'
|
||||
redirect_from:
|
||||
- /articles/understanding-connections-between-repositories
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
children:
|
||||
|
||||
@@ -5,15 +5,15 @@ redirect_from:
|
||||
- /articles/listing-the-forks-of-a-repository
|
||||
- /github/visualizing-repository-data-with-graphs/listing-the-forks-of-a-repository
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
Forks are listed alphabetically by the username of the person who forked the repository. You can click on the username to be redirected to the user's {% data variables.product.product_name %} profile page or click on the fork name to be redirected to the specific fork of the repository.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
{% ifversion fpt %}
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ redirect_from:
|
||||
- /articles/viewing-a-repositorys-network
|
||||
- /github/visualizing-repository-data-with-graphs/viewing-a-repositorys-network
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
topics:
|
||||
- Repositories
|
||||
---
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
title: Viewing the dependencies of a repository
|
||||
intro: You can use the dependency graph to explore the code your repository depends on.
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '>=3.0'
|
||||
fpt: '*'
|
||||
ghes: '>=3.0'
|
||||
redirect_from:
|
||||
- /github/visualizing-repository-data-with-graphs/viewing-the-dependencies-of-a-repository
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user