Roundup Tracker - Issues

Message4637

Author ezio.melotti
Recipients ezio.melotti, jerrykan
Date 2012-09-04.09:10:31
Message-id <1346749832.93.0.301710950393.issue2550773@psf.upfronthosting.co.za>
In-reply-to
> Do you check that the 'path/to/file' starts with a certain directory 
> (ie. 'path/') or do you just match string of text that has '/'s in it? 

The former, see:
http://hg.python.org/tracker/python-dev/file/1aa80c5bbd48/extensions/local_replace.py#l86
We also highlight paths in tracebacks (using a different mechanism, see
line 92).

> Links that don't include a revision id (ie. link to tip) may become
> less relevant over time though as code changes.

This is true, but usually
1) once the issue is closed the link will be rarely used;
2) even if the code changes it's usually trivial to find the change;

This is especially true if the issue includes the changeset of the fix
that links to the diff of what got changed.  In addition, if people
mention a specific file they might include the full path, but it's
unlikely that they will add other markers unless they are aware they
exist and they remember/know how to use them.

I designed the replacements in that file based on real-world examples I
saw on the tracker, and improved them whenever I found something that
wasn't converted in a link (or wasn't converted correctly).
History
Date User Action Args
2012-09-04 09:10:32ezio.melottisetmessageid: <1346749832.93.0.301710950393.issue2550773@psf.upfronthosting.co.za>
2012-09-04 09:10:32ezio.melottisetrecipients: + ezio.melotti, jerrykan
2012-09-04 09:10:32ezio.melottilinkissue2550773 messages
2012-09-04 09:10:31ezio.melotticreate