Alexander Afanasyev | e1e6f2a | 2014-04-25 11:28:12 -0700 | [diff] [blame] | 1 | Notes for repo-ng developers |
| 2 | ============================ |
| 3 | |
| 4 | Code style |
| 5 | ---------- |
| 6 | |
Junxiao Shi | 434fa49 | 2017-06-15 00:37:54 +0000 | [diff] [blame] | 7 | repo-ng code is subject to [ndn-cxx code style](https://named-data.net/doc/ndn-cxx/current/code-style.html). |
Alexander Afanasyev | e1e6f2a | 2014-04-25 11:28:12 -0700 | [diff] [blame] | 8 | |
| 9 | Licensing |
| 10 | --------- |
| 11 | |
| 12 | All contributions to **repo-ng** project must be licensed under GPL 3.0+ or compatible |
| 13 | license. When GPL 3.0 license is used, the following is the recommended license |
| 14 | boilerplate to be put into all `.hpp` and `.cpp` files: |
| 15 | |
| 16 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
Davide Pesavento | 5d66961 | 2017-09-22 23:49:37 -0400 | [diff] [blame] | 17 | /* |
| 18 | * Copyright (c) [Year(s)], [Copyright Holder(s)]. |
Alexander Afanasyev | e1e6f2a | 2014-04-25 11:28:12 -0700 | [diff] [blame] | 19 | * |
| 20 | * This file is part of NDN repo-ng (Next generation of NDN repository). |
| 21 | * See AUTHORS.md for complete list of repo-ng authors and contributors. |
| 22 | * |
| 23 | * repo-ng is free software: you can redistribute it and/or modify it under the terms |
| 24 | * of the GNU General Public License as published by the Free Software Foundation, |
| 25 | * either version 3 of the License, or (at your option) any later version. |
| 26 | * |
| 27 | * repo-ng is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 28 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 29 | * PURPOSE. See the GNU General Public License for more details. |
| 30 | * |
| 31 | * You should have received a copy of the GNU General Public License along with |
| 32 | * repo-ng, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
| 33 | ////// [optional part] ////// |
| 34 | * |
| 35 | * @author Author's Name <email@domain-or-homepage://url> |
| 36 | * @author Other Author's Name <another.email@domain-or-homepage://url> |
| 37 | ////// [end of optional part] ////// |
| 38 | */ |