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

Bringing conformance to the Disk version used in root tags. #3939

Merged
merged 1 commit into from
Sep 21, 2018

Conversation

marstr
Copy link
Member

@marstr marstr commented Sep 18, 2018

@dashult discovered the discrepancy between the tags package-2018-06 and package-2018-06-exclude-gallery. The difference is causing the modeler to choke on duplicate type definitions for the TypeScript and Node.js generators.

This is related to #3854


This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.

PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes.
  • Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

@dashult discovered the discrepancy between the tags `package-2018-06`
and `package-2018-06-exclude-gallery`. The difference is causing the
modeler to choke on duplicate type definitions for the TypeScript and
Node.js generators.
@AutorestCI
Copy link

AutorestCI commented Sep 18, 2018

Automation for azure-sdk-for-python

Nothing to generate for azure-sdk-for-python

@AutorestCI
Copy link

AutorestCI commented Sep 18, 2018

Automation for azure-sdk-for-ruby

Nothing to generate for azure-sdk-for-ruby

@AutorestCI
Copy link

AutorestCI commented Sep 18, 2018

Automation for azure-sdk-for-node

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-node#3669

@AutorestCI
Copy link

AutorestCI commented Sep 18, 2018

Automation for azure-sdk-for-java

Nothing to generate for azure-sdk-for-java

@AutorestCI
Copy link

AutorestCI commented Sep 18, 2018

Automation for azure-sdk-for-go

Nothing to generate for azure-sdk-for-go

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@marstr
Copy link
Member Author

marstr commented Sep 18, 2018

The missing examples causing the linter step of CI to fail should have been introduced by @carissasun in PR #3854.

@carissasun, would you like to add those examples and push them to my branch, or shall I open an issue to track getting them added?

@lmazuel
Copy link
Member

lmazuel commented Sep 18, 2018

@marstr That's funny, because if you look at the linter of #3854, it's clean:
https://github.com/Azure/azure-rest-api-specs/runs/17100940

@marstr
Copy link
Member Author

marstr commented Sep 18, 2018

That's funny, because if you look at the linter of #3854, it's clean

@lmazuel, it's because the default tag (package-2018-06-exclude-gallery) didn't include any references to disk at the updated API Version. :) The linter didn't run over any tag that included that file, so it didn't notice the missing examples.

@carissasun
Copy link
Contributor

What's the problem here? I built the project on my local branch and the build didn't complain

@marstr
Copy link
Member Author

marstr commented Sep 20, 2018

@carissasun says:
What's the problem here? I built the project on my local branch and the build didn't complain

The build wouldn't be a problem, but the linter will complain that we lose test coverage of this API. The linter was only executing over the default tag, package-2018-06-exclude-gallery; therefore before this PR it was using the old API Version of disk for testing. When I upgraded the version of disk, the linter discovered that the examples for disk 2018-06-01 are missing and should have been included in #3854.

@hyonholee
Copy link
Contributor

@marstr Could you also update the default tag from package-2018-06-exclude-gallery to package-2018-06
? Now gallery is public preview, and we want to add gallery to official client library.

@marstr
Copy link
Member Author

marstr commented Sep 21, 2018

@hyonholee, want me to just remove package-2018-06-exclude-gallery all together? We believe that the C# library is the only one using it, so if we move the default tag, exclude-gallery will become unused and just another thing to maintain.

@hyonholee
Copy link
Contributor

@marstr Actually, the default tag is just updated by another PR. You can ignore my previous comment. Thanks.

@marstr
Copy link
Member Author

marstr commented Sep 21, 2018

I'm going to go ahead and merge this PR. However, the examples should be added at some point.

@marstr marstr merged commit 27a5ce0 into Azure:master Sep 21, 2018
@AutorestCI
Copy link

AutorestCI commented Sep 21, 2018

Automation for azure-sdk-for-js

Nothing to generate for azure-sdk-for-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants