Project

General

Profile

Copyright and licenses » History » Version 2

Tom Clegg, 06/29/2017 06:18 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 2 Tom Clegg
* list.js, MIT (source:apps/workbench/app/assets/javascripts/list.js)
16
* sb-admin, Apache2 (source:apps/workbench/app/assets/stylesheets/sb-admin.css.scss)
17
* shell_in_a_box, GPLv2 (source:apps/workbench/public/webshell/)
18
* jquery.number.js, MIT (source:apps/workbench/vendor/assets/javascripts/jquery.number.min.js)
19
* bootstrap+fontawesome+glyphicons, MIT (source:doc/css/bootstrap.css, source:doc/fonts/, etc)
20
* runit-docker, BSD 3-clause (source:tools/arvbox/lib/arvbox/docker/runit-docker/)