MimeTypes icon indicating copy to clipboard operation
MimeTypes copied to clipboard

Consolidating Efforts

Open TonyValenti opened this issue 3 years ago • 3 comments

Hi @khellang - I am the new maintainer of: https://www.nuget.org/packages/Mime-Detective/ https://github.com/MediatedCommunications/Mime-Detective

and have recently published an update expanding to over 14,000 mime signatures. Are you open to combining/joining efforts? If so, can you add TonyValenti as a admin on the MimeTypes nuget package?

TonyValenti avatar Jul 21 '21 10:07 TonyValenti

Hi @TonyValenti! 👋

Are you open to combining/joining efforts?

What would that mean, exactly? 🤔

khellang avatar Jul 21 '21 10:07 khellang

What I would like to do is build an update to MimeTypes that leverages the data and definitions used by Mime-Detective. There is a lot that could be shared between the two libraries.

TonyValenti avatar Jul 21 '21 11:07 TonyValenti

I'd like to see more details, or possibly a PR outlining the changes you're suggesting.

This package is deliberately simple and ships a single .cs file as source. At runtime it's more or less a dictionary lookup. Generating the dictionary at build-time uses mime-db as source, which in turn aggregates IANA, apache and nginx.

Based on the above, I'm not sure what this package would gain by leveraging another package 🤔

khellang avatar Jul 21 '21 20:07 khellang