Page MenuHomePhabricator

Create file controller in Phragment
AbandonedPublic

Authored by hach-que on Apr 2 2014, 8:35 AM.
Tags
None
Referenced Files
F19093081: D8672.id24555.diff
Dec 3 2025, 7:32 PM
F19076612: D8672.id24555.diff
Dec 1 2025, 12:32 PM
F19050375: D8672.id20561.diff
Nov 27 2025, 7:57 PM
F18809819: D8672.diff
Oct 19 2025, 5:09 PM
F18791429: D8672.id.diff
Oct 16 2025, 12:52 PM
F18786469: D8672.diff
Oct 14 2025, 7:14 PM
F18765157: D8672.id.diff
Oct 7 2025, 9:56 AM
F18734739: D8672.id.diff
Sep 30 2025, 11:01 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).