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

updating releasemd #8135

Merged
merged 1 commit into from
Jan 13, 2022
Merged

updating releasemd #8135

merged 1 commit into from
Jan 13, 2022

Conversation

longwuyuan
Copy link
Contributor

Minor changes to RELEASE.md that were missed during the release v1.1.1 PR

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 12, 2022
@longwuyuan
Copy link
Contributor Author

@longwuyuan
Copy link
Contributor Author

@cpanato @strongjz seeking LGTM & Approve for easy small change to RELEASE.md

RELEASE.md Outdated
@@ -167,7 +167,11 @@ Promoting the images basically means that images, that were pushed to staging co
- annotations
- artifacthub.io/prerelease: "true"
- artifacthub.io/changes: |
- Add the titles of the PRs merged after previous release here. I used the github-cli to get that list like so `gh pr list -s merged -L 38 -B main | cut -f1,2`
- Add the titles of the PRs merged after previous release here. github-cli was used to get a list of PRs like so
Copy link
Member

@cpanato cpanato Jan 13, 2022

Choose a reason for hiding this comment

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

when you say here what that means? where we should add this?
the second part can be something like

The tool `github-cli` cab be used to get a list of PRs

Copy link
Member

Choose a reason for hiding this comment

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

I wanted to ask because I just had to rebase it - why is this better than

git log <prev-tag>..main --pretty=%s

??

The list generates like

fix custom-error-pages file not exist (#7728)
Bump google.golang.org/grpc from 1.41.0 to 1.43.0 (#8054)
Remove force sync / 30s for non-external backends (#7958)
Report expired certificates (#8045) (#8046)
docs: fix typo'd executible name (#8041)
Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#8058)
Add stream-snippet as a ConfigMap and Annotation option (#8029)
align bug report with feature request regarding kind documentation (#8051)
Disable default modsecurity_rules_file if modsecurity-snippet is specified (#8021)

and the #nnnn is automatically expanded to a link when viewing on github

Copy link
Contributor Author

@longwuyuan longwuyuan Jan 13, 2022

Choose a reason for hiding this comment

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

when you say here what that means? where we should add this? the second part can be something like
The tool github-cli cab be used to get a list of PRs

@cpanato Apologies, I missed editing this part. I am making the changes now. Need to get elaborate on generating the Changelog type PRs list here as well.

@afirth, thanks for your comment. I need to do a lot of explaining here.

  • One reason was I was/am favoring gh-cli. I will change to your suggestion of using the git executable, after I have done some background work and find it better suited. The factors influencing the decisions are ;
    • There are 2 places we need to present the Changelog. So, at the back of my mind, I wanted to have one method to generate the Changelog, for both destinations. One place is the Changelog in github, where I realize only now, that the #nnnn will expand to a link. Thanks for helping me realize that. But there is another Changelog that is included with the helm-chart, that goes on artifacthub.io. The #nnnn almost certainly would not expand to a link outside of github, or so I think(not tested so don't know).
    • Another reason is that the git command output has the PR number at the end of each line after the PR-Title. But all past versions of our Changelog have the PR number, at the beginning of the line. It seems some trivial automation or output format flags to the git log command can produce desired output format. Just that I don't know how to make that git log command output, to produce the PR number before the PR title. I will need to read and learn how to do that.
    • Eventually I am hoping github cli can produce the Changelog format we need, both for github and artifacthub.io.
    • Please correct me and advise if I have things wrong or if I am complicating this more than it is

All, please advise/suggest if there are other thoughts/changes.
We have a history of new contributors also participating in the release process so hoping to simplify as much as possible.

Copy link
Contributor

@iamNoah1 iamNoah1 Jan 13, 2022

Choose a reason for hiding this comment

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

agreed with @longwuyuan. To be honest here, this question or change request is out of scope for this PR. At least IMHO. We could consider it but I would prefer to do so in a separate issue, so that we can finish up this PR.

Copy link
Contributor

@iamNoah1 iamNoah1 left a comment

Choose a reason for hiding this comment

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

/triage accepted
/kind documentation
/priority important-longterm

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. kind/documentation Categorizes issue or PR as related to documentation. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority labels Jan 13, 2022
RELEASE.md Outdated Show resolved Hide resolved
RELEASE.md Outdated Show resolved Hide resolved
@longwuyuan
Copy link
Contributor Author

longwuyuan commented Jan 13, 2022 via email

@iamNoah1
Copy link
Contributor

Fair enough Long :) a Note would be good I guess
Cheers

@longwuyuan
Copy link
Contributor Author

@iamNoah1 you can see here for what it will look like https://github.com/longwuyuan/ingress-nginx/blob/releasemd/RELEASE.md

@iamNoah1
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 13, 2022
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

i think i don't have permission to approve here so
/assign @rikatz

@strongjz
Copy link
Member

/lgtm

Thanks @longwuyuan

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cpanato, iamNoah1, longwuyuan, strongjz

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2022
@k8s-ci-robot k8s-ci-robot merged commit 5f7656f into kubernetes:main Jan 13, 2022
@longwuyuan longwuyuan deleted the releasemd branch January 14, 2022 02:41
@tao12345666333 tao12345666333 mentioned this pull request Feb 27, 2022
rchshld pushed a commit to joomcode/ingress-nginx that referenced this pull request May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants