Page MenuHomePhabricator

Create file controller in Phragment
AbandonedPublic

Authored by hach-que on Apr 2 2014, 8:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 4:42 PM
Unknown Object (File)
Sun, Apr 28, 12:04 PM
Unknown Object (File)
Sun, Apr 28, 12:04 PM
Unknown Object (File)
Wed, Apr 24, 10:58 PM
Unknown Object (File)
Sat, Apr 20, 6:42 PM
Unknown Object (File)
Wed, Apr 17, 3:09 PM
Unknown Object (File)
Mar 28 2024, 2:01 PM
Unknown Object (File)
Mar 20 2024, 7:07 AM

Details

Summary

This provides a controller similar to the ZIP controller, except that it's meant for us on fragments that you want to download as a file. This controller provides a consistent URL (that can optionally contain a snapshot) which will be correct when and if a fragment gets updated, unlike the raw file link.

It also adds "Download Snapshot" on the snapshot controller, which links to the file controller with the snapshot name included.

Test Plan

Downloaded file-based fragments from the new controller.

Diff Detail

Repository
rP Phabricator
Branch
arcpatch-D8672
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2129
Build 2133: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Create file controller in Phragment.
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

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