Page MenuHomePhabricator

Allow "bin/bulk export" to merge multiple queries and accept more flexible flags
ClosedPublic

Authored by epriestley on Oct 8 2018, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 12:58 PM
Unknown Object (File)
Thu, Jan 16, 5:09 PM
Unknown Object (File)
Sun, Jan 12, 9:50 AM
Unknown Object (File)
Mon, Dec 30, 3:42 PM
Unknown Object (File)
Fri, Dec 27, 4:54 PM
Unknown Object (File)
Dec 4 2024, 4:49 AM
Unknown Object (File)
Nov 27 2024, 2:16 PM
Unknown Object (File)
Nov 26 2024, 7:14 AM
Subscribers
None

Details

Summary

Ref T13210. Minor usability improvements to "bin/bulk export":

  • Allow --class task to work (previously, only --class ManiphestTaskSearchEngine worked).
  • If you run --query jXIlzQyOYHPU, don't require --class, since the query identifies the class on its own.
  • Allow users to call --query A --query B --query C and get a union of all results.
Test Plan
  • Ran --class task, --query A --query B, --query X (with no --class), got good results.
  • Ran various flavors of bad combinations (queries from different engines, invalid engines, query and class differing, ambiguous/invalid --class name) and got sensible errors.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable