Default revision of 1
Kevin Van Vechten
kvv at apple.com
Tue Oct 10 11:14:04 PDT 2006
Revisions should be a monotonically increasing serial number (think
SVN revisions) indicating the revision of the Portfile.
The purpose of the revision is to provide a unique primary key for
every portfile: {name, version, revision}.
- Kevin
On Oct 10, 2006, at 11:12 AM, James Berry wrote:
>
> On Oct 10, 2006, at 10:46 AM, Blair Zajac wrote:
>
>> Good idea. No, I haven't tried. Does it work?
>
> I'm skeptical of negative revision numbers, due in part to parsing
> of the version string... I think negative numbers might confuse us,
> due to similarity with options and variant names.
>
> James
>
>>
>> Regards,
>> Blair
>>
>> Randall Wood wrote:
>>> Have you tried using revision -1 (negative 1) for your private
>>> ports?
>>> On 9 Oct 2006, at 23:23, Blair Zajac wrote:
>>>> When I'm developing a new port or want to override the default
>>>> port in MacPort's
>>>> svn with a local port of a newer upstream release, it would be
>>>> nice to have a
>>>> range of revision numbers that is smaller than any revision
>>>> number from
>>>> MacPort's svn repository.
>>>>
>>>> This would enable me to have a local port, say subversion
>>>> 1.4.1-0, and then when the real subversion 1.4.1-1 comes out,
>>>> I'll get an out of date warning.
>>>>
>>>> Also, is the revision an integer, a floating point value, or
>>>> does it compare values like the version number, it 0.10 is
>>>> greater than 0.9?
>>>>
>>>> Would people mind defaulting the revision to 1?
>>>>
>>>> I don't know how this would be rolled out. It would cause a
>>>> massive upgrade.
>>>>
>>>> Regards,
>>>> Blair
>>>>
>>>> --Blair Zajac, Ph.D.
>>>> CTO, OrcaWare Technologies
>>>> <blair at orcaware.com>
>>>> Subversion training, consulting and support
>>>> http://www.orcaware.com/svn/
>>>>
>>>> _______________________________________________
>>>> macports-dev mailing list
>>>> macports-dev at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo/macports-dev
>>> Randall Wood
>>> rhwood at mac.com
>>> "The rules are simple: The ball is round. The game lasts 90
>>> minutes. All the
>>> rest is just philosophy."
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-dev
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev
More information about the macports-dev
mailing list