I was just thinking, it might be cool to have an abstracted service for file (like sites/default/files) handling. One use case that would be great is symlinking files on import instead of copying them, which would save a lot of disk space. Another may be to do nothing so that you could use something like S3.

Assigning to me since this is fairly complex.

Comments

samuel.mortenson created an issue. See original summary.

samuel.mortenson’s picture

Assigned: samuel.mortenson » Unassigned

Un-assigning. This is still complex but I feel like someone else could give this a shot and I could pick it up from there.

samuel.mortenson’s picture

Title: [Performance] Symlink files instead of copying them » Add an abstract service for handling file exports
Assigned: Unassigned » samuel.mortenson

I'm handling this now - not doing symlinks by default for complexity reasons but we'll ship with an optional no-op service.

samuel.mortenson’s picture

Status: Active » Needs review
StatusFileSize
new18.42 KB

Not sure what tests look like for this yet since it's a refactor.

Status: Needs review » Needs work

The last submitted patch, 4: 3049979-4.patch, failed testing. View results

samuel.mortenson’s picture

Status: Needs work » Needs review
StatusFileSize
new763 bytes
new19.28 KB
samuel.mortenson’s picture

StatusFileSize
new23.28 KB
new4.5 KB

Added tests.

samuel.mortenson’s picture

Status: Needs review » Fixed

  • samuel.mortenson authored b43f4f9 on 8.x-1.x
    Issue #3049979 by samuel.mortenson: Add an abstract service for handling...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.