-
Notifications
You must be signed in to change notification settings - Fork 523
Refactor CreateDownloadsTable to use fetchMetadata #1149
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
Conversation
/hold Probably clashes with #1148 |
/test pull-release-test |
1 similar comment
/test pull-release-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saschagrunert -- A few microscopic nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick question. Will we need createDownloadsTable() after #1019 is fixed? I planed to remove the RenderMarkdown() path in flavor of RenderMarkdownTemplate which handled download table already.
By the way @saschagrunert I found some other issues while testing and I'm adding the fixes in #1148 which will cover some refactoring, testing enhancements, and incorporate some of what you have in this PR.
Hm, yeah I'm not sure if the deprecation goes too fast. But let's move forward and hold with this PR for a while :) |
I think we should move forward with this one. We need to be able to create the downloads table for our manually crafted release notes from SIG Release, because we can generate the downloads only during the release build process. Implemented the review notes. |
/hold cancel |
/lgtm |
Re-use the new `fetchMetadata` function on markdown downloads table creation to reduce code duplication. This also makes `CreateDownloadsTable` public, which will be needed for creating the downloads table on remotely fetched release notes (new final minor release). Signed-off-by: Sascha Grunert <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justaugustus, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Re-use the new
fetchMetadata
function on markdown downloads tablecreation to reduce code duplication.
This also makes
CreateDownloadsTable
public, which will be needed forcreating the downloads table on remotely fetched release notes (new
final minor release).
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?: