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)
Tue, Nov 26, 11:30 AM
Unknown Object (File)
Mon, Nov 25, 8:07 PM
Unknown Object (File)
Sun, Nov 17, 7:47 PM
Unknown Object (File)
Wed, Nov 13, 8:37 PM
Unknown Object (File)
Sun, Nov 10, 1:56 PM
Unknown Object (File)
Oct 14 2024, 1:52 PM
Unknown Object (File)
Oct 13 2024, 4:15 PM
Unknown Object (File)
Oct 13 2024, 3:19 PM

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).