Le 25/11/2021 à 20:19, Thaddeus H. Black a écrit : >> * Package name : ocaml-magic-mime >> Version : 1.2.0 >> Upstream Author : Anil Madhavapeddy >> * URL : https://github.com/mirage/ocaml-magic-mime >> * License : ISC >> Programming Lang: OCaml >> Description : OCaml library to map filenames to common MIME types >> >> This library contains a database of MIME types that maps filename >> extensions into MIME types suitable for use in many Internet >> protocols such as HTTP or e-mail. It is generated from the mime.types >> file found in Unix systems, but has no dependency on a filesystem >> since it includes the contents of the database as an ML >> datastructure. >> >> This is a new transitive dependency of ocsigenserver. > > A typical Debian system already has two such > databases: /etc/mime.types /usr/share/mime/globs > > I do not mean to challenge you, nor to discourage you, > but am merely curious: why a third database?
As said in the description: "It is generated from the mime.types file found in Unix systems, but has no dependency on a filesystem since it includes the contents of the database as an ML datastructure.". Whether you consider this worthwhile or not is a personal opinion, I guess. Cheers, -- Stéphane