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

Add repo filtering by graphql query using GitHub search

XMLWordPrintable

      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

            Unassigned Unassigned
            timja Tim Jacomb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: