Skip to content

remove en-us from links#12697

Closed
KarishmaGhiya wants to merge 12 commits intoAzure:masterfrom
KarishmaGhiya:remove-locale
Closed

remove en-us from links#12697
KarishmaGhiya wants to merge 12 commits intoAzure:masterfrom
KarishmaGhiya:remove-locale

Conversation

@KarishmaGhiya
Copy link
Member

  • update swagger that generates the links
  • do not update yaml files

@KarishmaGhiya
Copy link
Member Author

Moving comments from a different PR -
sdk/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/_models.py - L542
Changing generated code has no value, since the next generation will put it back again.
I would suggest to make a list of mgmt packages that have those kind of issues, and open Swagger bugs instead.

For instance, the root cause of this one is here:
https://github.com/Azure/azure-rest-api-specs/blob/900ef530bda427a6ba9f61ac6f64952ea7650a37/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2020-02-14/imagebuilder.json#L579

@KarishmaGhiya KarishmaGhiya self-assigned this Jul 23, 2020
@KarishmaGhiya KarishmaGhiya added the EngSys This issue is impacting the engineering system. label Jul 23, 2020
:param filter: An OData $filter clause. For more information on
constructing this filter, see
https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
Copy link
Contributor

Choose a reason for hiding this comment

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

sorry, just confused why you're adding back 'en-us' in this commit, lmk if I'm missing ontext

Copy link
Member Author

Choose a reason for hiding this comment

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

#12697 (comment) This code is autogenerated so it won't make a difference if i change here, it will be overridden

Copy link
Member

@lmazuel lmazuel left a comment

Choose a reason for hiding this comment

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

You are removing 189.842 lines! :o
Looking closely, in some cases you actually remove recordings in this PR. There should be no YAML files touched at all in this PR. There is way in git to play with sub-folder checkout to make sure of that.


For more information on the relationship between AAD Applications and Service
Principals see: https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals
Principals see: https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals
Copy link
Member

Choose a reason for hiding this comment

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

This is going to need to be changed in the azure-sdk-tools repo.

@weshaggard
Copy link
Member

@KarishmaGhiya lets limit the changes here to rst and md files. The yaml files are test recordings and we cannot change them without breaking the tests. The py files are mostly generated so changing them will do no good without updating the source where they come from. After chatting with @lmazuel he suggested we instead try to update these links in the azure-rest-api-specs repo which contains the swagger files which is where these come from.

As part of doing that lets please reset the branch to one commit to avoid a build storm, ping me if you need help doing that.

@KarishmaGhiya
Copy link
Member Author

Closed this in favour of PR #13102

@KarishmaGhiya KarishmaGhiya deleted the remove-locale branch August 13, 2020 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants