2.0.1

Ryan Schmidt ryandesign at macports.org
Sun Jul 31 01:21:25 PDT 2011


On Jul 30, 2011, at 00:01, Joshua Root wrote:

> I think we'll want to release 2.0.1 pretty soon with the subport index
> fix. We should also revise the uid selection for added users (ticket
> #30464).
> 
> Anything else?


I'd like to get the ball rolling on this ticket, the goal of which is to print a warning if a reinplace call doesn't end up changing anything in the file.

https://trac.macports.org/ticket/15514

I wrote the patch three years ago and have been running it on my MacPorts installs since then, and it does help locate reinplaces that should be fixed or removed.

I'd like to commit just the first half of the patch, which introduces the -q flag to reinplace, and release that with 2.0.1 (without the flag (or absence of it) actually doing anything). Then in a later release, we'll add the actual warning message when the flag is not used. The reason is that in some cases the author of a reinplace expects it to not do anything, and this would cause superfluous warnings -- most annoyingly right now, thousands of them (one per file in the distfile) for each kde4 portgroup port, and similarly for documentation files in the mysql5 port. If we commit the flag now without it doing anything, then later when we make the flag do something, we can simultaneously update those few designed-to-not-do-anything reinplaces to use the flag so they don't spew warnings.




More information about the macports-dev mailing list