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

Feed code search results into variant analysis repo lists #2439

Merged
merged 13 commits into from
May 31, 2023

Conversation

norascheuch
Copy link
Contributor

@norascheuch norascheuch commented May 22, 2023

This PR adds the option to feed code search results directly to an existing variant analysis repositories list. By entering a code language and a search query that can be developed and refined using the GitHub Code Search UI the user can now feed results directly into a MRVA list.

Additionally this PR introduces a restriction on list size. When using the new code search or adding a repo using the UI actions only up to 1000 items will be stored on a list. This restriction can be circumvented by adding repos to the config json directly and is not enforced with validation.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@norascheuch norascheuch marked this pull request as ready for review May 24, 2023 11:34
@norascheuch norascheuch requested review from a team as code owners May 24, 2023 11:34
Copy link
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking really good! I've also tried it locally and it worked 🎉 I have some comments/questions but they're all pretty small.

What is the plan in terms of releasing? Are we planning to release as is? If so, then we'll need to update the CHANGELOG. If we want to keep it unveiled until we implement progress notifications etc. then it might be worth feature flagging it (or just setting the command visibility to false for now)

Copy link
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@norascheuch norascheuch merged commit 157210f into main May 31, 2023
@norascheuch norascheuch deleted the nora/search-prompt branch May 31, 2023 15:08
@charisk
Copy link
Contributor

charisk commented May 31, 2023

Sorry I only just thought about it :( we should add an entry in the CHANGELOG, for this awesome feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants