Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Topics to Repository Fields #91

Open
RichiCoder1 opened this issue Oct 29, 2020 · 4 comments
Open

Add Topics to Repository Fields #91

RichiCoder1 opened this issue Oct 29, 2020 · 4 comments
Labels
type/feature-request Requested new feature or enhancement

Comments

@RichiCoder1
Copy link

RichiCoder1 commented Oct 29, 2020

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).

@RichiCoder1 RichiCoder1 changed the title Add Tags to Repositories Add Topics to Repository Fields Oct 29, 2020
@kminehart kminehart added the type/feature-request Requested new feature or enhancement label Oct 29, 2020
@RichiCoder1
Copy link
Author

This seems relatively easy to implement, so if there's a 👍🏻 or 👎🏻 on implementation I could contribute this.

@kminehart
Copy link
Contributor

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.

@RichiCoder1
Copy link
Author

There's def a topics resource, it's just specifically named

query {
  repository(owner: "github", name: "gitignore") {
    name,
    repositoryTopics(first: 100) {
      nodes {
        topic {
          name
        }
      }
    }
  }
}

@githubadmin123456
Copy link

Anyone update on this feature. is there any way to pull out topics from repository. ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Requested new feature or enhancement
Projects
Status: Backlog
Development

No branches or pull requests

3 participants