Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLIv2] Remove backcompat shim in shorthand parser #3589

Merged
merged 2 commits into from
Sep 20, 2018

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Sep 19, 2018

Now foo=bar will parse to {'foo': 'bar'}, which resolves
an inconsistency that you can't tell how a shorthand snippet
is parsed without also knowing the underlying types in the service
model.

There were some changes I had to make in the EMR tests, but that
was primarily related to the expected messages in the error cases.

CLIv2: #3587

@jamesls jamesls added the v2 label Sep 19, 2018
@jamesls jamesls changed the base branch from develop to v2 September 19, 2018 20:54
Copy link
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine assuming the Travis job passes. 🚢

Now foo=bar will parse to {'foo': 'bar'}, which resolves
an inconsistency that you can't tell how a shorthand snippet
is parsed without also knowing the underlying types in the service
model.

There were some changes I had to make in the EMR tests, but that
was primarily related to the expected messages in the error cases.

CLIv2: aws#3587
@codecov-io
Copy link

codecov-io commented Sep 19, 2018

Codecov Report

❗ No coverage uploaded for pull request base (v2@18f24d4). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##             v2    #3589   +/-   ##
=====================================
  Coverage      ?   94.93%           
=====================================
  Files         ?      180           
  Lines         ?    13677           
  Branches      ?        0           
=====================================
  Hits          ?    12984           
  Misses        ?      693           
  Partials      ?        0
Impacted Files Coverage Δ
awscli/shorthand.py 99.55% <ø> (ø)
awscli/argprocess.py 94.21% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18f24d4...2744c79. Read the comment docs.

@jamesls jamesls merged commit 2744c79 into aws:v2 Sep 20, 2018
jamesls added a commit that referenced this pull request Sep 20, 2018
PR #3589

* v2-backcompat-shim:
  Update functional tests for ec2
  Remove backcompat shim in shorthand parser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants