Bug#1000372: ITP: ocaml-magic-mime -- OCaml library to map filenames to common MIME types

2021-11-22 Thread Stéphane Glondu
Package: wnpp
Severity: wishlist
Owner: Stéphane Glondu 
X-Debbugs-Cc: debian-de...@lists.debian.org, debian-ocaml-ma...@lists.debian.org

* 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.


Bug#1000372: ITP: ocaml-magic-mime -- OCaml library to map filenames to common MIME types

2021-11-25 Thread Thaddeus H. Black
On Mon, Nov 22, 2021 at 09:55:52AM +0100, Stéphane Glondu wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Stéphane Glondu 
> X-Debbugs-Cc: debian-de...@lists.debian.org, 
> debian-ocaml-ma...@lists.debian.org
> 
> * 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?


signature.asc
Description: PGP signature


Bug#1000372: ITP: ocaml-magic-mime -- OCaml library to map filenames to common MIME types

2021-11-25 Thread Stéphane Glondu
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