News for hackers. Stuff that matters.
Re:Code search on GitHub now requires login by dingosity on Wednesday June 07, 2023 @02:18PM (#36231007)
And soon it will require an Outlook or Live account, no doubt.
Re:Code search on GitHub now requires login by badrabbit on Wednesday June 07, 2023 @03:18PM (#36232048)
It always has for me. I was forced to use my gh logged in browser when I wanted that feature.
Re:Code search on GitHub now requires login by follower on Thursday June 15, 2023 @04:59AM (#36337966)
AIUI previously it required people to be logged in when doing global- or (multi-repo) organisation-scoped searches but would also sometimes show "0" or "?" in results for single repo-scoped searches via "/"--until the "Code" section was clicked.

But with all the A/B testing on sites these days it's entirely possible for two people to have very different site interactions, so... shrug

Re:Code search on GitHub now requires login by theolivenbaum on Wednesday June 07, 2023 @03:43PM (#36232414)
Or just use grep.app
Re:Code search on GitHub now requires login by skilled on Wednesday June 07, 2023 @03:51PM (#36232542)
One month later and GitHub still hasn’t addressed the issue of inability to sort searches by new. This is despite their announcement having hundreds of downvotes and equally as many comments saying the new search is terrible.

Pathetic.

Re:Code search on GitHub now requires login by mdaniel on Wednesday June 07, 2023 @05:30PM (#36233819)
Depending on ones needs for search, a shout-out to Sourcegraph (https://sourcegraph.com/search) which in addition to offering anonymous search also supports regex searches and -- perhaps most relevant -- "go to symbol" for a huge number of cases. That alone can often save a "search" because it understands the relationships in the text

It's painless to use them because they have mapped the routes on sourcegraph.com to the github repo, so things like https://sourcegraph.com/github.com/kubernetes/kubernetes just magically work

I love them so much

Re:Code search on GitHub now requires login by jdorfman on Wednesday June 07, 2023 @06:24PM (#36234478)
We love you too
Re:Code search on GitHub now requires login by Fuugithub on Wednesday June 07, 2023 @06:20PM (#36234446)
Hit this today weeding out npm dependency search results for a particular module.

Made yet another throwaway account to do the searches.

I can't see how making my research harder helped anyone.

Re:Code search on GitHub now requires login by stevefan1999 on Wednesday June 07, 2023 @08:48PM (#36235706)
no worries. check out https://github1s.com, just s/github/github1s/ on any URL and you will get a read-only VSCode viewer of the repo source code. It also comes with partial support to jump between symbols.
Re:Code search on GitHub now requires login by follower on Thursday June 15, 2023 @04:51AM (#36337918)
As no justification was given for the change, I'm led to assume that it's because telemetry data gathered via logged in people is more valuable...

(...and that there is insufficient competition in the market to prevent the change.)

Guess it's time to learn how to use git's local search tools properly...

(Or, more realistically, use a site- & url-scoped search on DuckDuckGo...)