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

Modify Ruby yaml files to follow the rules to copy comments to Go yam… #19494

Conversation

modular-magician
Copy link
Collaborator

In GoogleCloudPlatform/magic-modules#11715, I store the comments to a map. Each comment has a key. The key is the previous name line + the name line + the line which has the comment.

To make the keys work, the following rules should be followed:

  • name should be the next line of type
  • field and type should be in the same line

This PR is to make sure the key for the comments is correct.

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#11713

hashicorp#11713)

[upstream:c90e258f1025a0200f381afc4e9740823807aa97]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 18d0a7a into hashicorp:main Sep 16, 2024
2 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant