-
-
Notifications
You must be signed in to change notification settings - Fork 373
How to write the license
Vicky Vergara edited this page Oct 7, 2022
·
1 revision
The structure of a license in .c
, .cpp
, .h
, .hpp
, .sql
/*PGR-GNU*****************************************************************
<developer data>
------
<license body>
*******************************************************************PGR-GNU*/
- For logical changes on the file please add the appropriate additional
developer data
lines - For formatting changes do not add
developer data
lines - For file renaming
- do not add
developer data
lines - adjust the file name line
- do not add
- When Joining files into one
- keep all the
developer data
lines of all the joined files - adjust the file name line
- If one file has a copy right for
pgRouting developers
adjust to the lowest year from all copyrights
- keep all the
- When not phisically joining but logically joining files to be removed later
- keep all the
developer data
lines of all the logically joined files
- keep all the
- with the year,
- developer name
- when not wanted to publish personal name
- Use github nick
- OR use "pgRouting developers"
- when not wanted to publish personal name
- developer mail
- Use "at" instead of "@"
- use project@pgrouting.org when not wanted to publish personal e-mail
Currently the license body is
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Complete license example
/*PGR-GNU*****************************************************************
File: _pgr_foo.sql
Copyright (c) <year> pgRouting developers
Mail: project@pgrouting.org
Function's developer:
Copyright (c) <year> <developer name>
Mail: <developer mail>
------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
********************************************************************PGR-GNU*/
More file types licenses rules