Should I increase revision?
Blair Zajac
blair at orcaware.com
Tue Oct 8 13:52:27 PDT 2013
On 10/08/2013 01:46 PM, Davide Liessi wrote:
> Dear MacPorts developers,
>
> from http://guide.macports.org/#reference.keywords :
>> revision
>>
>> Optional keyword (default is 0) that is used to track port revisions. It should not be incremented for port revisions unless it would benefit users to upgrade an installed port, and cleared when the port is updated to a newer version.
>>
>> It should be used if a bug in the Portfile was found and all installations of this port have to be updated. If the change only affects new installations, there is no need to increase it.
>
> I changed a Portfile to copy some documentation files in the
> directories requested by porthier(7).
>
> Is this considered a bug correction in the Portfile (and so should I
> increase the revision number), or is it a change that would benefit
> only new installations (and so should I leave the revision number
> untouched)?
If there's a change in the number or content of files, it should be a
new revision.
The time to not bump a revision is say if the port didn't build on 10.9
and you change the port to fix it, but the build wouldn't change any
files on other versions of the OS.
Blair
More information about the macports-dev
mailing list