Page MenuHomePhabricator

Continue construction of `bin/celerity map`
ClosedPublic

Authored by epriestley on Dec 31 2013, 9:53 PM.

Details

Summary

Ref T4222. Continues porting scripts/celerity_mapper.php functionality into bin/celerity map. This is pretty much a 1:1 port with no functional changes, but hopefully the code is a little better factored. Particularly, more responsibilities are pluggalbe through CelerityResources now.

Test Plan

Ran bin/celerity map and inexpected the var_dump() output, which appeared to make sense.

Diff Detail

Branch
celerity3
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/infrastructure/celerity/management/CelerityManagementMapWorkflow.php:61XHP16TODO Comment
Unit
Tests Passed

Event Timeline

src/infrastructure/celerity/CelerityResourceTransformer.php
121–125

This is temporary -- I'll throw away rawResourceMap eventually, but we need it for the old script to continue working for now.