Page MenuHomePhabricator

Create preceding paths for fragments
AbandonedPublic

Authored by hach-que on Apr 2 2014, 8:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 6:42 PM
Unknown Object (File)
Mon, Apr 15, 2:19 PM
Unknown Object (File)
Fri, Apr 5, 5:22 PM
Unknown Object (File)
Mar 10 2024, 3:53 AM
Unknown Object (File)
Feb 16 2024, 12:33 PM
Unknown Object (File)
Feb 4 2024, 7:10 PM
Unknown Object (File)
Feb 4 2024, 7:10 PM
Unknown Object (File)
Feb 4 2024, 7:09 PM

Details

Summary

This fixes an issue where you are publishing a file in Harbormaster to a path like "path/to/new/fragment.txt", and the preceding directories don't yet exist. This ensures that whenever a fragment is created, the preceding directories are also created.

Test Plan

Tested on my server and it worked.

Diff Detail

Repository
rP Phabricator
Branch
arcpatch-D8671_1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2131
Build 2135: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Create preceding paths for fragments.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
hach-que edited edge metadata.

Rebase on master

  • Merge D9001 into this diff
src/applications/phragment/storage/PhragmentFragment.php
204–235

This is the fix from D9001.

Might as well abandon this as we're no longer using it in production (and is probably still years away on the upstream roadmap).