Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 89
    • Merge requests 89
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !304

Flexible Storage Backends

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged thurloat requested to merge thurloat/pleroma:backendhack into develop Aug 28, 2018
  • Overview 11
  • Commits 10
  • Pipelines 10
  • Changes 10

literally hacked this together in 5 minutes (not working just for showing potential architecture), just want to start a discussion on how yall like to have this best implemented so there's not if s3, if swift, if b2 strewn around once multiple backends are done.

building on the work of !303 (merged) and works to put in a framework for finishing issue #65 (closed). Also includes a basic swift backend.

so, sup?

I've implemented the pluggable uploader backend model that I initially proposed.

  • test S3 support still works
  • write some more documentation / samples
  • add a generic backend failure handler put_file/5 should have a {:ok | :error, path :: String.t()} return
Edited Aug 30, 2018 by thurloat
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: backendhack