ocaml/dune

Installation of different LICENSE files (per opam package in a multi-opam repository/project)

オープン

#4,842 opened on 2021/08/03

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)OCaml (478 件のフォーク)github user discovery
acknowledgedenhancementhelp wanted

Repository metrics

Stars
 (1,882 個のスター)
PR merge metrics
 (平均マージ 1d 20h) (30d で 345 merged PRs)

説明

Desired Behavior

I have a git repository with multiple opam packages. Dune constructs the .install files for each of them. Now, some opam packages contain code from other parties that has a different copyright statement and LICENSE.

It would be great if it would be possible that dune installs a separate LICENSE file for each different opam package.

Example

As example, take a look at https://github.com/mirage/mirage-crypto. Especially the mirage-crypto-ec opam package contains vendored code from fiat-crypto and from BoringSSL (and is MIT licensed).

It would be great if dune could check for LICENSE.md., and install this for if it exists - otherwise falling back to LICENSE.md.

Thanks a lot for reading.

コントリビューターガイド