Simple Github Error Helper Feature Idea

It would be really cool if you could define as part of your application.cfc
a github repo & branch or commit so that when errors are output they
actually map to the code on github.

The idea would be that an additional line would be added to the “Tag
Context” in the stack trace for each line to say “View on github” and then
just link to a URL like this:

I’m constantly looking at a stack trace that someone emails me and then
trying to figure out what the actual code looks like and usually because I
don’t have that particular code on my machine… I then just hunt down that
line on github.

Just a crazy idea but I figured I would see if anyone else would find it as
helpful as I would.

Hi Greg,

This sounds like a great idea for an extension and it would be even better
if you could define the source, e.g. Github, Bitbucket, self hosted
solution, etc…

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 7 January 2016 at 18:33, Greg Moser <@Greg_Moser> wrote:

It would be really cool if you could define as part of your
application.cfc a github repo & branch or commit so that when errors are
output they actually map to the code on github.

The idea would be that an additional line would be added to the “Tag
Context” in the stack trace for each line to say “View on github” and then
just link to a URL like this:

https://github.com/ten24/slatwall/blob/master/model/service/OrderService.cfc#L1895

I’m constantly looking at a stack trace that someone emails me and then
trying to figure out what the actual code looks like and usually because I
don’t have that particular code on my machine… I then just hunt down that
line on github.

Just a crazy idea but I figured I would see if anyone else would find it
as helpful as I would.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a26ab087-4fd7-4e57-8308-c95b03fa0492%40googlegroups.com
https://groups.google.com/d/msgid/lucee/a26ab087-4fd7-4e57-8308-c95b03fa0492%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

That would be really useful. Great idea.On Thursday, January 7, 2016 at 11:33:18 AM UTC-7, Greg Moser wrote:

It would be really cool if you could define as part of your
application.cfc a github repo & branch or commit so that when errors are
output they actually map to the code on github.

The idea would be that an additional line would be added to the “Tag
Context” in the stack trace for each line to say “View on github” and then
just link to a URL like this:

https://github.com/ten24/slatwall/blob/master/model/service/OrderService.cfc#L1895

I’m constantly looking at a stack trace that someone emails me and then
trying to figure out what the actual code looks like and usually because I
don’t have that particular code on my machine… I then just hunt down that
line on github.

Just a crazy idea but I figured I would see if anyone else would find it
as helpful as I would.