Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64016

Add repo filtering by graphql query using GitHub search

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Add support for providing a search query using the graph ql search endpoint

       

      example query:

      query findByGitHubSearch($queryString: String!) {
        search(query: $queryString, type: REPOSITORY, first: 100) {
          repositoryCount
          edges {
            node {
              ... on Repository {
                name
              }
            }
          }
        }
      }
      
      

      where query has:

      {"queryString": "user:my-user keyword" } 

      the user part of the query should be automatically added by the plugin

       

      This PR is related: https://github.com/jenkinsci/github-branch-source-plugin/pull/344

      but it would be good to have general purpose search as well not just topics

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            timja Tim Jacomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: