Copyright and licenses » History » Version 1
Tom Clegg, 06/29/2017 06:04 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 | |||
10 | h2. Third-party code in tree |
||
11 | |||
12 | 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). |
||
13 | |||
14 | Third-party code that has been copied into the source tree: |
||
15 | * list.js (source:apps/workbench/app/assets/javascripts/list.js) |
||
16 | * sb-admin (source:apps/workbench/app/assets/stylesheets/sb-admin.css.scss) |
||
17 | * shell_in_a_box (source:apps/workbench/public/webshell/) |
||
18 | * jquery.number.js (source:apps/workbench/vendor/assets/javascripts/jquery.number.min.js) |
||
19 | * bootstrap (source:doc/css/bootstrap.css etc) |
||
20 | * fontawesome, glyphicons (source:doc/fonts/) |
||
21 | * runit-docker (source:tools/arvbox/lib/arvbox/docker/runit-docker/) |