Where to find the source code of grep::metacpan ?
grep::metacpan is an open source experimental project developped by the Perl Community.
The source code is divided into three git repositories:
- metacpan-grep-front-end, the Front End website which is this website...
- metacpan-grep-builder experiment on building a git grep service of current CPAN.
- metacpan-cpan-extracted extracted CPAN, all latest files extracted in one single *big* repository. Thanks GitHub !
The concept is very basic: extract all CPAN distribution (performed by metacpan-grep-builder) in one single git directory (which lives in metacpan-cpan-extracted).
Then from there, cross fingers and use a pure 'git grep' implementation with a frontend on top of it: metacpan-grep-front-end.
The git grep is divided in two stages: 'git grep -l' to get the list of files matching the pattern (this is cached for future queries), then use the list of files to perform the actual 'git grep'.
You can also browse other metacpan projects by visiting the community github homepage.