Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wishlist: making the search more useful while debugging in anger #547

Closed
ribasushi opened this issue Apr 17, 2012 · 3 comments
Closed

Wishlist: making the search more useful while debugging in anger #547

ribasushi opened this issue Apr 17, 2012 · 3 comments

Comments

@ribasushi
Copy link

Consider you are looking at a problem, say http://www.cpantesters.org/cpan/report/5541ece2-80e5-11e1-a9f1-a8f3163997d5. It would be awesome if searching for the string q|Catalyst.pm line 1686| (which is simply a copy/paste from the error above) would send me directly to: https://metacpan.org/source/BOBTFISH/Catalyst-Runtime-5.90011/lib/Catalyst.pm#L1686

This would imply that the search code will need to fork on detection of qr/^ $module_pathspec line \d+ $/x, cleanup $module_pathspec (possibly trimming off .*/lib/), converting the remainder of the path to a module name, finding the currently indexed distribution/module, and generating a link.

Is this desirable/doable?

@Getty
Copy link

Getty commented Apr 23, 2012

Yeah, i like that :-)

@sailfree
Copy link

sailfree commented Oct 5, 2012

true

@ranguard
Copy link
Member

Moving to wishlist: https://github.com/CPAN-API/cpan-api/wiki/Wishlist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants