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)
Wed, Dec 4, 4:49 AM
Unknown Object (File)
Wed, Nov 27, 2:16 PM
Unknown Object (File)
Tue, Nov 26, 7:14 AM
Unknown Object (File)
Nov 17 2024, 2:34 AM
Unknown Object (File)
Nov 17 2024, 2:09 AM
Unknown Object (File)
Nov 12 2024, 11:29 AM
Unknown Object (File)
Nov 10 2024, 8:15 AM
Unknown Object (File)
Oct 28 2024, 3:27 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
Branch
discover1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21002
Build 28530: Run Core Tests
Build 28529: arc lint + arc unit