ocaml/dune

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

開放

#4,842 建立於 2021年8月3日

 (11 則留言) (0 個反應) (0 位負責人)OCaml (478 個分叉)github user discovery
acknowledgedenhancementgood first issuehelp wanted

倉庫指標

星標
 (1,882 顆星)
PR 合併指標
 (平均合併 1天 20小時) (30 天內合併 345 個 PR)

描述

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.

貢獻者指南