You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,6 @@ If vulnerabilities have been detected in the repository, these are shown at the
38
38
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_gt "enterprise-server@2.21" %}
39
39
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 %}.
40
40
41
-
{% note %}
42
-
43
-
**Note:** {% data variables.product.prodname_ghe_server %} does not populate the **Dependents** view.
@@ -57,12 +51,6 @@ Any direct and indirect dependencies that are specified in the repository's mani
57
51
{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.22" %}
58
52
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.
59
53
60
-
{% note %}
61
-
62
-
**Note:** {% data variables.product.prodname_ghe_server %} does not populate the **Dependents** view.
@@ -93,6 +81,25 @@ You can also enable or disable the dependency graph for all repositories owned b
93
81

94
82
95
83
You can disable the dependency graph at any time by clicking **Disable** next to "Dependency Graph" on the Security & analysis tab.
84
+
85
+
### Changing the "Used by" package
86
+
87
+
If the dependency graph is enabled, and your repository contains a package that's published on a supported package ecosystem, {% data variables.product.prodname_dotcom %} displays a "Used by" section in the sidebar of the **Code** tab of your repository. For more information about the supported package ecosystems, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems)."
88
+
89
+
The "Used by" section shows the number of public references to the package that were found, and displays the avatars of some of the owners of the dependent projects.
Clicking any item in this section takes you to the **Dependents** tab of the dependency graph.
94
+
95
+
The "Used by" section represents a single package from the repository. If you have admin permissions to a repository that contains multiple packages, you can choose which package the "Used by" section represents.
96
+
97
+
{% data reusables.repositories.navigate-to-repo %}
98
+
{% data reusables.repositories.sidebar-settings %}
99
+
{% data reusables.repositories.navigate-to-security-and-analysis %}
100
+
4. Under "Configure security and analysis features", click the drop-down menu in the "Used by counter" section and choose a package.
101
+

0 commit comments