1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/infrastructure/export/engine
epriestley 4928c34d00 Allow "bin/bulk export" to merge multiple queries and accept more flexible flags
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.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13210

Differential Revision: https://secure.phabricator.com/D19738
2018-10-10 09:14:14 -07:00
..
PhabricatorCustomFieldExportEngineExtension.php Organize the export code into subdirectories 2018-01-29 16:01:02 -08:00
PhabricatorExportEngine.php Allow "bin/bulk export" to merge multiple queries and accept more flexible flags 2018-10-10 09:14:14 -07:00
PhabricatorExportEngineBulkJobType.php Never generate file download forms which point to the CDN domain, tighten "form-action" CSP 2018-02-28 17:20:12 -08:00
PhabricatorExportEngineExtension.php Organize the export code into subdirectories 2018-01-29 16:01:02 -08:00
PhabricatorExportFormatSetting.php Make the data export format selector remember your last setting 2018-01-29 16:01:54 -08:00
PhabricatorLiskExportEngineExtension.php Implement common infrastructure fields as export extensions 2018-01-29 16:05:32 -08:00
PhabricatorProjectsExportEngineExtension.php Implement common infrastructure fields as export extensions 2018-01-29 16:05:32 -08:00
PhabricatorSpacesExportEngineExtension.php Implement common infrastructure fields as export extensions 2018-01-29 16:05:32 -08:00
PhabricatorSubscriptionsExportEngineExtension.php Implement common infrastructure fields as export extensions 2018-01-29 16:05:32 -08:00