Copyright and licenses » History » Version 3
Tom Clegg, 06/30/2017 05:44 PM
1 | 1 | Tom Clegg | h1. Copyright and licenses |
---|---|---|---|
2 | |||
3 | Every commit (even merge commits) must have a DCO sign-off. See [[Developer Certificate Of Origin]]. |
||
4 | |||
5 | Most source files must have a copyright notice and license statement. |
||
6 | * Example: source:services/api/Gemfile |
||
7 | * Run @build/check-copyright-notices@ to check |
||
8 | * Run @build/check-copyright-notices --fix@ to add the appropriate statement to files where it's missing (please preview result before committing!) |
||
9 | 3 | Tom Clegg | * Run @build/check-copyright-notices --fix -- path/to/file1 path/to/file2 ...@ to check only specified file(s) (much faster!) |
10 | 1 | Tom Clegg | |
11 | h2. Third-party code in tree |
||
12 | |||
13 | It is acceptable to copy third-party code into the source tree, although there's usually a better way (e.g., use a Ruby gem and let bundler pull the code from an external repository at package-building time). |
||
14 | |||
15 | Third-party code that has been copied into the source tree: |
||
16 | 2 | Tom Clegg | * list.js, MIT (source:apps/workbench/app/assets/javascripts/list.js) |
17 | * sb-admin, Apache2 (source:apps/workbench/app/assets/stylesheets/sb-admin.css.scss) |
||
18 | * shell_in_a_box, GPLv2 (source:apps/workbench/public/webshell/) |
||
19 | * jquery.number.js, MIT (source:apps/workbench/vendor/assets/javascripts/jquery.number.min.js) |
||
20 | * bootstrap+fontawesome+glyphicons, MIT (source:doc/css/bootstrap.css, source:doc/fonts/, etc) |
||
21 | * runit-docker, BSD 3-clause (source:tools/arvbox/lib/arvbox/docker/runit-docker/) |