-
Notifications
You must be signed in to change notification settings - Fork 41
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
Backport: Create a script that updates proto links in the spec docs and apply it for v1.19.0: #2068. #2074
Conversation
…t for v1.19.0 (#2068) * Fix one of the marker tx proto links that had a double slash. * Create the beginnings of a script that will update links. It currently just has argument parsing and file identification. * Add stuff that identifies all the needed proto files and copies/downloads them into a temp dir. * Identify the messages and their line numbers from the protos, the endpoints and their messages also from the protos, and identify all the links and their messages from the markdown files. * Output a message at each step of the way. * Fix bug in the identify-links awk script that always caused link messages to generate an error. * Fix all the problematic entries in the spec docs. * Finish the script. * Fix some entries that were looking for the wrong message name. * Final script fixes. * Update some documentation in the new script stuff. Add better control over output. Make it possible to have the script only do cleanup on success. * Run the script to update all the links to v1.19.0-rc2. That's already been published, so I was able to click on all the links to verify that they are correct. * Run the script again to change them all to v1.19.0 (which doesn't exist yet). I verified that the only diffs were the removal of the '-rc2' from all of the links. I.e. file and line numbers stayed the same. * Tweak the comments in the awk scripts after some proofreading. * Actually do the defined cleanup action (always) when no option is provided. Tweak some of the comments from proofreading. * Add changelog entry.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Description
This PR backports the following PR to
release/v1.19.x
:Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes