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

Hide page count when not appicable #2

Open
pdclark opened this issue Jul 23, 2013 · 0 comments
Open

Hide page count when not appicable #2

pdclark opened this issue Jul 23, 2013 · 0 comments
Labels

Comments

@pdclark
Copy link
Owner

pdclark commented Jul 23, 2013

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.

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

No branches or pull requests

1 participant