Page MenuHomePhabricator

Make `bin/search init` messaging a little more consistent
ClosedPublic

Authored by epriestley on Mar 28 2017, 7:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 29 2025, 9:12 AM
Unknown Object (File)
May 10 2025, 6:51 AM
Unknown Object (File)
May 9 2025, 10:21 AM
Unknown Object (File)
May 7 2025, 4:17 AM
Unknown Object (File)
Apr 28 2025, 11:22 PM
Unknown Object (File)
Apr 18 2025, 10:44 PM
Unknown Object (File)
Mar 14 2025, 10:12 AM
Unknown Object (File)
Feb 21 2025, 4:37 PM
Subscribers
None

Details

Summary

Ref T12450. This mostly just smooths out the text a little to improve consistency. Also:

  • Use isWritable().
  • Make the "skipping because not writable" message more clear and tailored.
  • Try not to use the word "index" too much to avoid confusion with bin/search index -- instead, talk about "initialize a service".
Test Plan

Ran bin/search init with a couple of different (writable / not writable) configs, saw slightly clearer messaging.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable