openwebwork / webwork2

Course management front end for WeBWorK
http://webwork.maa.org/wiki/Main_Page
Other
146 stars 165 forks source link

I-AN-1: Create a perl module for license/copyright info #909

Open aorinevo opened 5 years ago

aorinevo commented 5 years ago

Context

License/copyright info is included in several html templates. Updating the license and/or copyright info requires changes in multiple files. For example,

Proposal

Create a perl module for license and copyright that can be included in templates.

aorinevo commented 5 years ago

@mgage: Do we need license and copyright info in all pm modules? We have a LICENSE file at the root. Is that sufficient?

taniwallach commented 5 years ago

Two references:

My two cents:

  1. I think including some sort of copyright info in generated HTML pages is probably wise, which is something done by including a copyright/license statement in these template files.
  2. I tend to think that it probably makes sense to include a standardized header with copyright/license information in code files, which seems to be more or less what the many of the people in the two discussion wrote. In many places it might suffice to just give an explicit link to the main LICENSE file.
  3. The webwork2 repository includes many files pulled in from other projects, each of which has its own copyright and license text. That probably makes it even more important to make "webwork project" source files as such.

On a different track - maybe the copyright notices should replace http://openwebwork.sf.net/ with a more current web address.

aorinevo commented 5 years ago

@taniwallach: Thank you for sharing those links. With regards to (3), I wasn't aware that webwork2 was pulling in files from other projects. Can you provide examples?

taniwallach commented 5 years ago

Have a look in htdocs/js in particular in htdocs/js/vendor but it looks like there are also external dependencies in other parts of htdocs/.

mgage commented 5 years ago

many of the javaScript files are third party (bootstrap for example). Another example is the framework that supports LiveGraph

In a slightly different way Geogebra is third party and is used in a number of problems -- sometimes using the Geogebra central server and sometimes serving Geogebra support from the WeBWorK site. R and sageMath are also used in problems and Desmos is starting to be used as well. In general WeBWorK has tried to interoperate with as many other open source (and even not so open source) applications as possible.