3 ms·
Shameless plug: there’s also Debian Code Search at https://codesearch.debian.net/ https://codesearch.debian.net/. It’s based on the same idea as Google Code Sea
by secure 10y ago
Shameless plug: there’s also Debian Code Search at https://codesearch.debian.net/ https://codesearch.debian.net/. It’s based on the same idea as Google Code Search (using regular expressions sped up by a trigram index) and indexes everything that is available in Debian sid.
If your search on GitHub isn’t fruitful, consider giving Debian Code Search a spin.
Disclaimer: I built it. Happy to answer questions if you have any.
- giis 10y agothanks for the project :) One query - Is it actively maintained? The reason is I see "2012-2014 Debian Code Search" on the footer. So just wanted to check!
- secure 10y agoIt is! https://github.com/Debian/dcs/commit/e1c04a3c0cfbfc11a0e8eaac505775ed1b612619 https://github.com/Debian/dcs/commit/e1c04a3c0cfbfc11a0e8eaa... Check out https://people.debian.org/~stapelberg//2016/08/08/debian-codesearch-latency.html https://people.debian.org/~stapelberg//2016/08/08/debian-cod... for details on the most recent bigger change.
- giis 10y agothanks for the confirmation & details.
- biokoda 10y agoIt shares the biggest problem of Github code search. Duplicate results.
- secure 10y agoPartly this is because DCS is indexing Debian sid, in which multiple versions of packages can be present (due to transitions): $ curl -s http://ftp.ch.debian.org/debian/dists/sid/main/source/Sources.gz http://ftp.ch.debian.org/debian/dists/sid/main/source/Source... | zgrep '^Package: git$' | wc -l 4 If we didn’t index Debian sid, you’d only get one version per package, but also the results wouldn’t be as fresh. You can follow one of these two issues: https://github.com/Debian/dcs/issues/40 https://github.com/Debian/dcs/issues/40 (at most 1 result per package) https://github.com/Debian/dcs/issues/49 https://github.com/Debian/dcs/issues/49 (limit by suite, where you could search something else than Debian sid) If you have any other ideas about how to address the issue, please let me know.