Commit 41af39e
committed
fix: match directory/tutorial keywords against the bare repo name too
full_name is "owner/repo", and "/" isn't a [-_\s] word boundary, so
DIRECTORY_WORDS and LEARNING_WORDS could never match a trigger word
sitting at the start of the repo name itself (e.g. "awesome-dsh-plugins"
never matched "awesome" via full_name). This was previously masked
because "directory"/"curated" in the description usually covered for
it; removing those words in the prior commit exposed real awesome-list
repos slipping through. Search the bare repo name in addition to
full_name and description.1 parent f51dc8e commit 41af39e
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
608 | 612 | | |
609 | | - | |
| 613 | + | |
610 | 614 | | |
611 | 615 | | |
612 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
65 | 79 | | |
66 | 80 | | |
67 | 81 | | |
| |||
0 commit comments