github-datasource
github-datasource copied to clipboard
Add Topics to Repository Fields
We'd like to be able to pull the topics for a given Repo. Would be nice to either have this as a field on projects or a separate source (or both).
This seems relatively easy to implement, so if there's a 👍🏻 or 👎🏻 on implementation I could contribute this.
As far as I can tell in their GraphQL API (GitHub's v4 API), there is no "Topic" resource under the "Repository" resource.
I'm not familiar with topics but I can't seem to find any information about it in their API aside from listing the number of stargazers or repositories that are in a topic, which is helpful but does not match what you want in this issue.
There's def a topics resource, it's just specifically named
query {
repository(owner: "github", name: "gitignore") {
name,
repositoryTopics(first: 100) {
nodes {
topic {
name
}
}
}
}
}
Anyone update on this feature. is there any way to pull out topics from repository. ?