Project

General

Profile

Copyright and licenses » History » Revision 2

Revision 1 (Tom Clegg, 06/29/2017 06:04 PM) → Revision 2/3 (Tom Clegg, 06/29/2017 06:18 PM)

h1. Copyright and licenses 

 Every commit (even merge commits) must have a DCO sign-off. See [[Developer Certificate Of Origin]]. 

 Most source files must have a copyright notice and license statement. 
 * Example: source:services/api/Gemfile 
 * Run @build/check-copyright-notices@ to check 
 * Run @build/check-copyright-notices --fix@ to add the appropriate statement to files where it's missing (please preview result before committing!) 

 h2. Third-party code in tree 

 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). 

 Third-party code that has been copied into the source tree: 
 * list.js, MIT list.js (source:apps/workbench/app/assets/javascripts/list.js) 
 * sb-admin, Apache2 sb-admin (source:apps/workbench/app/assets/stylesheets/sb-admin.css.scss) 
 * shell_in_a_box, GPLv2 shell_in_a_box (source:apps/workbench/public/webshell/) 
 * jquery.number.js, MIT jquery.number.js (source:apps/workbench/vendor/assets/javascripts/jquery.number.min.js) 
 * bootstrap+fontawesome+glyphicons, MIT (source:doc/css/bootstrap.css, source:doc/fonts/, bootstrap (source:doc/css/bootstrap.css etc) 
 * runit-docker, BSD 3-clause fontawesome, glyphicons (source:doc/fonts/) 
 * runit-docker (source:tools/arvbox/lib/arvbox/docker/runit-docker/)