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

Use cached index instead of GitHub API for recipe search #862

Closed
wants to merge 11 commits into from

Conversation

homebysix
Copy link
Member

@homebysix homebysix commented Jun 20, 2023

Summary

This PR adjusts the behavior of autopkg search to leverage a locally cached index file instead of directly using GitHub's API to search for recipes. The index file is regenerated by GitHub Actions every 4 hours in this repo.

Details and test output coming soon.

Things to consider

  • Merge new-search verb back into search if it performs well enough
  • Add flag for accessing old search functionality (for troubleshooting or if index becomes unavailable)
  • Build test cases
  • Write feature announcement
  • Update index repo to reflect production use

@homebysix homebysix marked this pull request as draft June 27, 2023 00:10
@homebysix homebysix changed the title [WIP] Use cached index instead of GitHub API for recipe search Use cached index instead of GitHub API for recipe search Jun 27, 2023
@homebysix
Copy link
Member Author

Superseded by #910.

@homebysix homebysix closed this Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant