Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
Copyright contributors to Hyperledger <project>.

<project> should should be replaced with the appropriate Hyperledger project – Burrow, Caliper, Cello, Composer, Explorer, Indy, Iroha, Fabric, Quilt, Sawtooth or SawtoothUrsa.

Note

IMPORTANT: Do not remove copyright notices that already exist within a file unless the copyright owner removes them.

Copyright on Third Party Publishing Platform

The above copyright policy above also carries forward to third party publishing platforms such as crates.io, pypi.org, and npmjs.org. Due to the limited amount of meta data associated with the published code available on these platforms, the copyright statement should state: "Copyright contributors to Hyperledger <project>". The existing copyright notices will remain in the source files. Some platforms instead have an "Authors" meta data field instead of copyright. In that case the authors should be listed as "Hyperledger <project> Contributors".

License

For new files added to Hyperledger repositories, SPDX short identifiers are the recommended way of representing the license via comments within the header of the file. For Hyperledger, if using SPDX short identifiers, the following must be used to meet the requirements of the Hyperledger Charter (see below for details). 

...

If you are seeking to add a file that already has a license notice which is different from Apache-2.0 or CC-BY-4.0, please raise this for discussion with legal@hyperledger.org to obtain exception approval.

Examples of License Lines

Source Code

Code Block
languagetextcpp
// SPDX-License-Identifier: Apache-2.0

Documentation

Code Block
languagetext
SPDX-License-Identifier: CC-BY-4.0

Documentation (Markdown)

Code Block
languagetext

<//> # (SPDX-License-Identifier: CC-BY-4.0)

Note: this is a hack of the link definition feature in Markdown. Make sure that there is a blank line above and below the comments because some Markdown parsers have bugs.

.gitignore

Code Block
languagetext
# SPDX-License-Identifier: Apache-2.0