punchcard-cms / punchcard

The Punchcard CMS
Apache License 2.0
31 stars 19 forks source link

File storage simplification #640

Open scottnath opened 7 years ago

scottnath commented 7 years ago
  1. In practice, using vinyl for file processing, beyond local and s3, is proving problematic as there are not a wide breadth of adapters for commercial asset storage providers. Specifically, openstack, which is used by Bluemix, has no vinyl adapter.
  2. In researching how to create a vinyl adapter for openstack, I've fallen upon pkgcloud, which includes a ton of storage connections
  3. Multer, our current form processor, plays very nice with pkgcloud
  4. I believe using pkgcloud + multer will reduce the code required in put, at the same time we add built in functionality for multiple asset services. Selecting a different service would only require changing the config.
Feature: Asset storage
  As an implementer
  I want to easily switch my storage provider
  So that I can experiment with other storage providers with only configuration changes.

  Scenario: Openstack
    Given that I want to use Bluemix as my asset storage provider
      And that Bluemix the openstack platform for asset storage
     When I upload files as content
     Then I need those files should be uploaded to Bluemix using openstack's protocols.

Asset storage

Snugug commented 7 years ago

I'm OK with this