Re: DP receipts schema
Landon Fuller <landonf <at> apple.com>
2003-09-02 17:51:20 GMT
On Tuesday, Sep 2, 2003, at 08:06 US/Pacific, Felix Kronlage wrote:
> On Mon, Aug 25, 2003 at 09:15:46PM -0700, Kevin Van Vechten wrote:
>
>> Landon and I use the (name, epoch, version, revision) tuple to
>> uniquely
>> identify a port. name and version are the intuitive values. revision
>> is any change to the portfile for the same version of a port (starts
>> at
>> zero for a new version).
>
> We finally need to clarify when to increment revision. eric@ told me
> (back when I started with DP) that revision should only be incremented
> if the resulting install/the binary significantly changes *without* a
> changed
> version. "any change to the portfile" is something completly different,
> and we should try to become consistent with that.
> I'd go with 'any change to the Portfile' since that seems the most
> intuative.
>
> felix,
> (heh, somehow I overlooked what you wrote about revision last time I
> read
> that mail and just stumbled across it, summing up the "big disussion")
Revision exists for the upgrade scenario (which doesn't exist, but was
planned for). If the revision is incremented every time you change the
portfile, every 'client' of that portfile must upgrade their copy of
the port, regardless of the nature of your change. This is not
acceptable for a one-line comment change or similar.
(Continue reading)