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

Easier way to search recipe? #33

Open
nannanav opened this issue Feb 1, 2018 · 2 comments
Open

Easier way to search recipe? #33

nannanav opened this issue Feb 1, 2018 · 2 comments

Comments

@nannanav
Copy link

nannanav commented Feb 1, 2018

Say I want to have enums in my (Python) project and I am searching through the recipes hoping to find something that fits my description. It would be easier for me to search if there was a file depicting what each recipe does (<100 words for each recipe) with 'tags'. Since there are over 4k recipes in Python and many recipes do not have good (easy to understand) names and I have to go through their readme to find what they do. Of course, I can search for recipes with name containing Enum in the Python folder but that may not give the best possible results at all times.

@thomasrussellmurphy
Copy link

This is also a problem even when you have the recipe ID, particularly with the Python directory being truncated at 1k entries. In particular, the Python 3 docs on random still references the legacy 576707 recipe page. It appears that GitHub doesn't index directory or file names since a repository search for 575707 returns no results. However, searching for the magic number 43487 or the full title manages to find the desired code.

The end target: https://github.com/ActiveState/code/tree/master/recipes/Python/576707_Long_period_random_number

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

No branches or pull requests

3 participants