Page MenuHomePhabricator

Don't let `bin/drydock lease --attributes` overwrite blueprints
ClosedPublic

Authored by epriestley on Feb 13 2018, 5:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 28, 3:22 AM
Unknown Object (File)
Tue, Jan 28, 3:22 AM
Unknown Object (File)
Tue, Jan 28, 3:22 AM
Unknown Object (File)
Sat, Jan 25, 3:20 PM
Unknown Object (File)
Sat, Jan 25, 12:03 AM
Unknown Object (File)
Sat, Jan 25, 12:03 AM
Unknown Object (File)
Sat, Jan 25, 12:03 AM
Unknown Object (File)
Fri, Jan 17, 6:59 PM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D19076. Ref T13073. Blueprints are stored as an attribute and setAttributes() overwrites all attributes.

This is sorta junk but make it less obviously broken, at least.

Test Plan

Ran bin/drydock lease --type working-copy --attributes x=y without instantly getting a fatal about "no blueprint PHIDs".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Feb 13 2018, 5:35 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 13 2018, 9:20 PM
This revision was automatically updated to reflect the committed changes.