Homestyx hydra
Diffusion hydra 9e5410e6a213

Rename `bin/files metadata` to `bin/files rebuild` and let it rebuild MIME…

Description

Rename bin/files metadata to bin/files rebuild and let it rebuild MIME information

Summary:
See https://github.com/facebook/phabricator/issues/320. Files can end up with a bad MIME type, and we don't update it when uploading another copy of the file since obviously the new copy has the same data and thus the same MIME type.

  • Rename bin/files metadata to bin/files rebuild to make it a more consistent verb.
  • Let it rebuild MIME types so users who hit issues like this can run bin/files rebuild --all --rebuild-mime to straighten things out.

Test Plan: Ran bin/files in various modes, examined output.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D5951

Details

Provenance
epriestleyAuthored on May 17 2013, 1:00 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:1dd91bde1ff9: Implement option 1 from T3210
Branches
Unknown
Tags
Unknown

Event Timeline