Portfile authors: pay attention to keywords, eol-style, Id
Yves de Champlain
yves at macports.org
Tue Apr 17 04:28:07 PDT 2007
Le 07-04-17 à 06:48, Ryan Schmidt a écrit :
> I have fixed several issues with several portfiles. There was an
> agreement on the list some months ago that things should be this
> way, so these commits simply bring noncompliant portfiles back into
> compliance with the following:
> - svn:keywords should be set to Id (capital I, lowercase d)
> - svn:eol-style should be set to native
> - svn:executable should not be set
> - Portfiles should begin with the line "# $Id$" and then a blank line
> To ensure that the correct properties automatically get set on your
> new Portfiles, you can edit your ~/.subversion/config file, turn
> auto-props on, and add this auto-prop definition:
> Portfile = svn:eol-style=native;svn:keywords=Id
> For consistency and conformance with the Subversion documentation
> let's please use Id, not id, for the keyword name.
> This recommendation should probably be in the documentation
> somewhere but I haven't looked yet where it might best be included.
> If someone else would add this to the wiki, or even just point out
> where in the wiki it should go, that would be appreciated.
More information about the macports-dev