Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(130)

Issue 186050: Trac r9016 - plugin detection in a traceback (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years ago by techtonik
Modified:
15 years, 10 months ago
Reviewers:
CC:
trac-dev_googlegroups.com
Base URL:
http://svn.edgewall.org/repos/trac/trunk/
Visibility:
Public.

Description

Can somebody answer my comments in rietvled? Thanks. http://trac.edgewall.org/ticket/5516

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -64 lines) Patch
M trac/htdocs/css/trac.css View 1 chunk +2 lines, -1 line 0 comments Download
M trac/loader.py View 3 chunks +33 lines, -3 lines 5 comments Download
M trac/templates/about.html View 1 chunk +3 lines, -1 line 0 comments Download
M trac/templates/error.html View 5 chunks +31 lines, -12 lines 0 comments Download
M trac/util/__init__.py View 3 chunks +33 lines, -13 lines 0 comments Download
M trac/web/main.py View 2 chunks +33 lines, -34 lines 0 comments Download

Messages

Total messages: 2
techtonik
http://codereview.appspot.com/186050/diff/1/3 File trac/loader.py (right): http://codereview.appspot.com/186050/diff/1/3#newcode228 trac/loader.py:228: """ I would rephrase last part: "...the index of ...
16 years ago (2010-01-09 16:10:39 UTC) #1
bumstear2_gmail.com
16 years ago (2010-01-10 14:40:16 UTC) #2
Dear Google Group: How do I unsubscribe from this group?

I, somehow, by accident became a member---and now all I can do is just  
delete these unwanted emails.

Byron Trott


Sent from my iPhone

On Jan 9, 2010, at 10:10 AM, techtonik@gmail.com wrote:

> Reviewers: ,
>
>
> http://codereview.appspot.com/186050/diff/1/3
> File trac/loader.py (right):
>
> http://codereview.appspot.com/186050/diff/1/3#newcode228
> trac/loader.py:228: """
> I would rephrase last part: "...the index of first reference to the
> plugin in traceback frames"
>
> http://codereview.appspot.com/186050/diff/1/3#newcode230
> trac/loader.py:230: if f['filename'].startswith('build/')]
> Is there any example of traceback for reference? Or a unit test? I
> couldn't find any eggs with build/ path inside in my windows
> installation.
>
> http://codereview.appspot.com/186050/diff/1/3#newcode242
> trac/loader.py:242: return
> The traceback sample won't hurt here. Can traceback filename extension
> be .pyc or .pyo? Can plugin filename be __init__.py? This code doesn't
> seem to include these cases.
>
> http://codereview.appspot.com/186050/diff/1/3#newcode245
> trac/loader.py:245: base, ext = os.path.splitext(plugin['path'])
> plugin['path'] is Distribution.location (any other values?) - the path
> from where the plugin can be imported. Why split it into base, ext
> instead of more obvious .endswith('.egg') check below?
>
> http://codereview.appspot.com/186050/diff/1/3#newcode250
> trac/loader.py:250: if f['filename'].startswith(base):
> Is base an absolute path or relative? Is it normalized? This check
> doesn't look reliable.
>
> Description:
> Can somebody answer my comments in rietvled? Thanks.
> http://trac.edgewall.org/ticket/5516
>
> Please review this at http://codereview.appspot.com/186050
>
> Affected files:
>  M    trac/htdocs/css/trac.css
>  M    trac/loader.py
>  M    trac/templates/about.html
>  M    trac/templates/error.html
>  M    trac/util/__init__.py
>  M    trac/web/main.py
>
>
> -- 
> You received this message because you are subscribed to the Google  
> Groups "Trac Development" group.
> To post to this group, send email to trac-dev@googlegroups.com.
> To unsubscribe from this group, send email to
trac-dev+unsubscribe@googlegroups.com 
> .
> For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en 
> .
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b