Hacker News new | ask | show | jobs
by pearjuice 4634 days ago
So how does this work? From the search its cheat sheet:

"@defunkt Get all repositories from the user defunkt."

Seeing as there _is_ a user called "a: (http://github.com/a) but he doesn't have a single line of code, no repositories and no active issues either; the search breaks somehow and returns the repository, issue and code (LOC?) count of ALL people.

For example trying it with "@b" (or any existing user after the at-sign) does yield the correct results (the respective counts for user b: http://github.com/b). Trying it with someone with no repositories, code and issues OR a user which does not exist (@thisuserdoesnotexist) results in the same behavior.

1 comments

@a is probably an alias for @all (https://github.com/search?q=%40all&type=Users&ref=searchresu...).

[edit 1] @everybody seems to return every user

[edit 2] @everything seems to return ... everything.

[edit 3] @qdfhsdfjsdqjrekle seems to return everything. Ok. It's a bug. :>

No, they are specifically searching for content by @{username} - refer to the cheat sheet on the search page. @{non-existent-username-or-user-with-no-activity} triggers this behavior.