mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
No description
16caf63d98
Summary: just a little try / catch action in ArcanistDiffWorkflow. "Ideally, it would be good to flag these changes somehow so that "arc patch" can issue the inverse warning (e.g., "This patch could not be completely applied because some binary data was not uploaded.") but that hasn't come up in a real use case yet." I think a change w/ filetype of FILE_IMAGE || FILE_BINARY *and* no phid means that the upload failed so there's no additional flag needed. (True?) however, it would be easy enough to store metadata that explicilty stated whether or not the file upload succeeded. (also / related - i looked through the arc patch workflow a bit and i don't understand how the svn codepath loads up the actual binary files... for git, toGitPatch => buildBinaryChange => getBlob is the right path ) Test Plan: - set 'storage.mysql-engine.max-size' to 0 in my conf, uploaded diffs with files - noted in differential that it correctly detected images versus binary despite file upload failing - noted in differential that images had some empty UI - reverted conf change, uploaded diffs with files - noted in differential file showed up - ran arc patch with DX, where DX had broken files - noted "Downloading binary data... Exception: ERR-BAD-PHID: No such file exists." Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1100 |
||
---|---|---|
bin | ||
externals | ||
resources | ||
scripts | ||
src | ||
.arcconfig | ||
.divinerconfig | ||
.gitignore | ||
LICENSE | ||
README |
WHAT IS ARCANIST? Arcanist is the command-line tool for Phabricator. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things. You can find a complete user guide here: http://www.phabricator.com/docs/phabricator/article/Arcanist_User_Guide.html For more information about Phabricator, see: http://phabricator.org/