github-plugin-search
github-plugin-search copied to clipboard
Hide page count when not appicable
It appears that the Github search API only allows search within a path, but always includes all subdirectories. To find installable WordPress plugins, we need to restrict search to only repos that have plugins in the repository's root directory.
Right now, this is done by removing bad repos returned by Github. This is less than ideal, because it can cause any number of plugins (or no plugins) to display on a page that WordPress and Github both think has many results.
This issue is made worse when combined with #1.