Changes between Version 22 and Version 23 of DevGuide


Ignore:
Timestamp:
Oct 17, 2016, 10:42:29 PM (7 years ago)
Author:
Ryan J Ollos
Comment:

Fix inconsistencies.

Legend:

Unmodified
Added
Removed
Modified
  • DevGuide

    v22 v23  
    4646
    4747{{{#!python
    48 revision = "$Rev$"
     48version = "$Rev$"
    4949home_page = "https://trac-hacks.org/wiki/MyAmazingPlugin"
    5050license = "3-Clause BSD"
     
    5555The attributes should be self-explanatory with the possible exception of the `trac` attribute. The `trac` attribute is used to direct bug reports to an issue tracker that differs from `home_page`. If the plugin is hosted on trac-hacks.org and the `home_page` attribute is set to point to the project wiki page, the `trac` attribute will not need to be set.
    5656
    57 For files stored in Subversion, [http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html Keyword Substitution] is supported for the `home_page` (`url`) and `version` (`revision`) attributes.
     57For files stored in Subversion, [http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.keywords.html Keyword Substitution] is supported for the `version` (`revision`) attribute.
    5858
    5959{{{#!python
    60 home_page = '$URL$'
    6160version = '$Rev$'
    6261}}}
    6362
    64 {{{#!python
    65 url = '$URL$'
    66 revision = '$Rev$'
    67 }}}
    68 
    69 The file's `svn:keywords` property must be edited to append `Rev` and/or `URL`. Note that the aliases `Revision`, `LastChangedRevision` and `HeadURL` are not supported.
     63The file's `svn:keywords` property must be edited to append `Rev`. Note that the aliases `Revision`, `LastChangedRevision` and `HeadURL` are not supported by Trac.
    7064{{{#!sh
    7165svn propedit svn:keywords MyAmazingMacro.py
    7266}}}
    73 
    74 Keywords are only expanded when the files are checked out of version control. If the files are downloaded directly from a Trac repository or the repository is cloned using Git-SVN, then the keywords will not be expanded in the source.
    7567
    7668== Coding Style