pyshop icon indicating copy to clipboard operation
pyshop copied to clipboard

Store packages on S3

Open nanorepublica opened this issue 7 years ago • 0 comments

Currently pyshop defaults to storing packages locally on disk. This is not ideal if your server can be killed at random points (eg on any particular cloud service or with a new deployment)

The lines that currently enforce this behaviour are: https://github.com/mardiros/pyshop/blob/b60cb1b1f0ad7d600cf0a26a36ec5a77dc963863/pyshop/views/simple.py#L111-L136

I would be great to have the storage mechanism as a configurable option rather than be forced to use local disk. I would suggest using this package (https://pypi.python.org/pypi/pyramid_storage/0.1.2) to abstract the storage mechanism to be configurable & extensible.

nanorepublica avatar Jan 30 '18 11:01 nanorepublica