Re:GitHub experiencing issues with actions, pull requests, p...
by j1elo on Monday February 08, 2021 @11:46AM
(#26066891)
As others have noted, GitHub Search is not particularly reliable. It might make you think you're finding all uses of some token, but that can be misleading as not all instances are necessarily shown:
https://stackoverflow.com/questions/43891605/search-partial-...
Re:GitHub experiencing issues with actions, pull requests, p...
by kawsper on Monday February 08, 2021 @11:43AM
(#26066845)
Code search have been broken for us for a couple of months, it's no longer reliable, I suspect something is wrong with their indexer.
Re:GitHub experiencing issues with actions, pull requests, p...
by neovintage on Monday February 08, 2021 @12:49PM
(#26067720)
I'm sorry code search isn't working. I'm more than happy to help. If you reach out to me via my email I can see whats up. neovintage [at] github [dot] com.
Re:GitHub experiencing issues with actions, pull requests, p...
by kawsper on Monday February 08, 2021 @01:08PM
(#26067945)
I will reach out to my team and send you an e-mail.
Re:GitHub experiencing issues with actions, pull requests, p...
by inetknght on Monday February 08, 2021 @11:25AM
(#26066552)
Github's code search has never been useful though
Re:GitHub experiencing issues with actions, pull requests, p...
by mistersys on Monday February 08, 2021 @11:29AM
(#26066609)
GitHub search is not very smart, but I prefer that when searching code. When searching code, I'm usually trying to find exact tokens i.e. a variable name or an error message string vs. searching documents.
I find it useful all the time.
Re:GitHub experiencing issues with actions, pull requests, p...
by inetknght on Monday February 08, 2021 @11:31AM
(#26066658)
I've found that `grep` with PCRE enabled is far more useful to find exact tokens like variable names or error message strings.
I've never had Github's search find what I'm looking for.
Re:GitHub experiencing issues with actions, pull requests, p...
by remram on Monday February 08, 2021 @11:39AM
(#26066778)
That requires you to clone. It's a minor hassle if you search over a single repo, but when searching across an organization or the whole site, using grep is not an option.
Re:GitHub experiencing issues with actions, pull requests, p...
by inetknght on Monday February 08, 2021 @12:24PM
(#26067415)
> That requires you to clone. It's a minor hassle if you search over a single repo, but when searching across an organization or the whole site, using grep is not an option.
Are you kidding? The finer granularity that searching over an organization or whole site makes grep the far better choice especially since its output can be fed as input to more filtering steps.
Re:GitHub experiencing issues with actions, pull requests, p...
by remram on Monday February 08, 2021 @01:14PM
(#26068012)
I can't understand your point. GitHub can search over finer granularities e.g. single repo. And did you understand my use case at all, about grep not being an option when searching at wider scales?
No, I am not "kidding"... are you?
Re:GitHub experiencing issues with actions, pull requests, p...
by inetknght on Monday February 08, 2021 @03:37PM
(#26069769)
I don't understand grep not being an option when searching at wider scales. I have yet to find a wide-enough scale that grep can't handle.
And GitHub's search results are _literally_ useless.
> No, I am not "kidding"... are you?
Nope
Re:GitHub experiencing issues with actions, pull requests, p...
by devlopr on Monday February 08, 2021 @06:29PM
(#26071812)
grep or git-grep? (https://git-scm.com/docs/git-grep)
Re:GitHub experiencing issues with actions, pull requests, p...
by inetknght on Tuesday February 09, 2021 @04:42AM
(#26075572)
I use pure `grep`, not `git-grep`.
Re:GitHub experiencing issues with actions, pull requests, p...
by upbeat_general on Monday February 08, 2021 @12:15PM
(#26067301)
I also find it useful yet it still often misses exact matches.
If I search for “int x = 5” and it doesn’t return “int x = 5;”, there’s an issue here.
Re:GitHub experiencing issues with actions, pull requests, p...
by zoomablemind on Monday February 08, 2021 @11:55AM
(#26067015)
'git grep' allows the search within the repo, assuming that you have it cloned locally.
Search still works for issues, repos etc, but not code.