devel:source_file_headers
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devel:source_file_headers [2008/10/16 12:57] – syntax jodal | devel:source_file_headers [2009/09/24 11:55] (current) – deprecate this page morten | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | :!: Python boilerplates have been implemented as described in the [[hacking# | ||
| + | |||
| + | :!: This page is now only here for historic purposes. | ||
| + | |||
| ====== Source file headers ====== | ====== Source file headers ====== | ||
| Line 115: | Line 119: | ||
| * **Variables: | * **Variables: | ||
| - | ===== Proposed | + | ===== Proposed |
| + | |||
| + | ==== Python | ||
| <code python> | <code python> | ||
| Line 130: | Line 136: | ||
| The first line may be dropped in non-executables. The second line is in conformance with [[http:// | The first line may be dropped in non-executables. The second line is in conformance with [[http:// | ||
| - | ===== Proposed | + | ==== Cheetah ==== |
| <code cheetah> | <code cheetah> | ||
| Line 142: | Line 148: | ||
| </ | </ | ||
| - | ===== Proposed | + | ==== Django |
| - | No header. | + | We do not currently have any headers in the Django templates. |
| - | ===== Proposed | + | <code html> |
| + | {% comment %} | ||
| + | A line describing this template. | ||
| + | |||
| + | Copyright (C) 2002-2004 Norwegian University of Science and Technology | ||
| + | Copyright (C) 2007-2008 UNINETT AS | ||
| + | Released under the terms of the GNU General Public License version 2. | ||
| + | {% endcomment %} | ||
| + | </ | ||
| + | |||
| + | ==== Java ==== | ||
| <code java> | <code java> | ||
| Line 157: | Line 173: | ||
| */ | */ | ||
| </ | </ | ||
| + | |||
| + | ===== Migration plan ===== | ||
| + | |||
| + | How do we get rid of this mess? | ||
| + | |||
| + | - Cleanup the header of all files you edit. Remember the Boy Scout Rule: Leave the camp ground cleaner than you found it. | ||
| + | - If you have nothing else to do: Cleanup larger groups of files, i.e. entire subsystems. | ||
| + | |||
devel/source_file_headers.1224161848.txt.gz · Last modified: by jodal
