Warning: Line X seems to hardcode the version number, consider using ${version} instead

nox nox at macports.org
Wed Jan 6 16:01:54 PST 2010


Another one false positive is caused by the checksums from the verbose output of portchecksum when there is multiple distfiles (e.g. in zsh-devel).

Le 6 janv. 2010 à 22:39, nox a écrit :

> Oh, I didn't know about that. Thanks for telling me.
> 
> Back on the topic, I just got a fugly idea, we could create a special command, which would just executes its arguments, and uses its name an unconditional exception for whatever warning triggered on the same line.
> 
> Something like:
> 
> stop_with_that_crap_lint name docbook-xml-5.0
> 
> Le 6 janv. 2010 à 21:14, Ryan Schmidt a écrit :
> 
>> 
>> On Jan 6, 2010, at 14:01, nox wrote:
>> 
>>> On a side note, we should really have a procedure which escapes characters bearing special meaning in regard to regular expressions.
>> 
>> http://trac.macports.org/changeset/34667/trunk/base/src/port1.0/portutil.tcl
>> 
> 



More information about the macports-dev mailing list