Reinplace warnings

Ryan Schmidt ryandesign at macports.org
Tue Mar 21 13:05:12 UTC 2017


On Mar 21, 2017, at 07:07, Craig Treleaven wrote:
> 
> 1) What happens if my port uses ‘reinplace -q …’ but the user hasn’t updated to MacPorts 2.4.1?  Does the port fail or is the -q flag ignored?

With 2.4.0 it will be ignored. With earlier, an error will occur, so users should upgrade. 

> 2) My MythTV ports have scores of Perl and Python scripts where I need to reinplace the shebang lines.  That works but the user now gets over 100 reinplace warnings.  As the port maintainer, I may sometimes want to see those warnings to assure myself that they remain harmless.  Would it be possible to have the ‘port -d ‘ flag override the ‘-q’ flag so that I can see the warnings when needed?

Of course it would be possible to do that, but I think that will lead to some ports getting thousands of lines of reinplace warnings in their logs which I'd like to avoid. 


More information about the macports-dev mailing list