Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 5.1 KB

Licensing_guidance.md

File metadata and controls

66 lines (45 loc) · 5.1 KB
layout title
withtoc
Licensing Guidance

This site does not provide legal guidance. The information below is provided for discussion and as a suggestion only. Authors should consult with a qualified party, such as a university counsel or a lawyer, as appropriate.

Default

When depositing in a Code and Data Repository, a license needs to be chosen. If not chosen through the menu, a license file (typically named LICENSE.txt or LICENSE.md) needs to be provided.

Some guidance on licensing of databases and software:

For the purpose of replicability, journals will usually insist on an open license that allows for replication by researchers unconnected to the original parties, to the extent allowed by other agreements and the law.

Dual-License Setup

Many repositories contain both code and databases. In that case, the repository might contain files under different licenses. For instance, some components may come with more restrictive licenses (MIT License for software from third parties) or more lenient licenses (CC0 license for own code), with a third license for databases.

Dual-license Example

The AEA provides an example of a dual-license setup, suitable for use by depositors to various journals' data and code repositories (see the LICENSE-template). It combines

Multi-license Example

In the example below, drawn from Greenelab, the specific types of files are identified by "glob patterns" or regular expressions, but explicit naming of files or directories could also be applied.

License: CC BY 4.0 License: CC0 1.0

Except when noted otherwise, the entirety of this repository is licensed under a CC BY 4.0 License (LICENSE.md), which allows reuse with attribution.

Since CC BY is not ideal for code and data, certain repository components are also released under the CC0 1.0 public domain dedication (LICENSE-CC0.md). All files matched by the following glob patterns are dual licensed under CC BY 4.0 and CC0 1.0:

  • *.sh
  • *.py
  • *.yml / *.yaml
  • ....
  • .gitignore

All other files are only available under CC BY 4.0, including:

  • *.md
  • *.html
  • *.pdf
  • *.docx

Except for the following files with different licenses: