flora-pm / flora-server

A package index for the Haskell ecosystem
https://flora.pm/about
Other
125 stars 38 forks source link

Original tarball storage #471

Open tchoutri opened 11 months ago

tchoutri commented 11 months ago

In #452, Raoul wrote:

Just a follow-up thought, but I realised this is storing the tarballs uncompressed, thinking that we'll leave that to whatever storage is being used. All the content is recoverable, so I don't think it's an issue, but if different compression options are used then the hash of the compressed tarball might be different.

Right now I feel like this is yet another moving part. Storing an exact copy of the tarball ought to be the simplest solution.