admin管理员组文章数量:1289910
I'm hoping someone can help me understand something, as I can't seem to find the answer I'm looking for.
I'm querying the Github GraphQL API to get the dependencyGraphManifests
, eg:
query Repository {
repository(name: "repo-name", owner: "my-") {
name
nameWithOwner
dependencyGraphManifests(first: 100) {
totalCount
nodes {
filename
dependencies(first: 100) {
totalCount
nodes {
packageName
requirements
packageManager
repository {
latestRelease {
name
tagName
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
id
}
}
defaultBranchRef {
name
target {
oid
}
}
}
}
For our internal packages, for which the repos are hosted on Github Enterprise, we don't even get a repo object returned, eg:
{
"packageName": "cloud.google/go/pubsub",
"requirements": "= 1.44.0",
"packageManager": "GO",
"repository": {
"latestRelease": {
"name": "spanner: v1.76.0",
"tagName": "spanner/v1.76.0"
}
}
},
{
"packageName": "github/my-/internal-package",
"requirements": "= 1.9.2",
"packageManager": "GO",
"repository": null
},
The actual package artifacts are stored in Google Artifact Register (GAR)
I wondering if anyone could help me figure out how I can make it so that the dependency graph will link to the a repo, so I can get the release versions available?
本文标签: gitGithub Dependency GraphStack Overflow
版权声明:本文标题:git - Github Dependency Graph - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741411550a2377266.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论