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)
Sun, Nov 17, 2:34 AM
Unknown Object (File)
Sun, Nov 17, 2:09 AM
Unknown Object (File)
Tue, Nov 12, 11:29 AM
Unknown Object (File)
Sun, Nov 10, 8:15 AM
Unknown Object (File)
Mon, Oct 28, 3:27 PM
Unknown Object (File)
Sat, Oct 26, 8:11 AM
Unknown Object (File)
Oct 21 2024, 10:15 PM
Unknown Object (File)
Oct 13 2024, 5:36 PM
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