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

Generate the CHANGELOG based on the PR's target branch [skip ci] #11867

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

NvTimLiu
Copy link
Collaborator

To fix: #11866

Generate the CHANGELOG based on the PR's target branch if the PR's project roadmap is empty.

To fix: NVIDIA#11866

Generate the CHANGELOG based on the PR's target branch if the PR's project roadmap is empty.

Signed-off-by: Tim Liu <[email protected]>
@NvTimLiu NvTimLiu added the bug Something isn't working label Dec 12, 2024
@NvTimLiu NvTimLiu self-assigned this Dec 12, 2024
Copy link
Collaborator

@YanxuanLiu YanxuanLiu left a comment

Choose a reason for hiding this comment

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

Do we still need no_project_prs after your changes? Seems it can be removed.

@NvTimLiu NvTimLiu requested a review from pxLi December 13, 2024 01:46
We won't need the 'no_project_prs' variable because PRs will be added to the CHANGELOG.

Signed-off-by: Tim Liu <[email protected]>
@NvTimLiu
Copy link
Collaborator Author

NvTimLiu commented Dec 13, 2024

no_project_prs

updated, remove the unused varaible

YanxuanLiu
YanxuanLiu previously approved these changes Dec 13, 2024
Copy link
Collaborator

@YanxuanLiu YanxuanLiu left a comment

Choose a reason for hiding this comment

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

LGTM

pxLi
pxLi previously approved these changes Dec 13, 2024
Copy link
Collaborator

@pxLi pxLi left a comment

Choose a reason for hiding this comment

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

LGTM. assume this has been verified with different cases thanks

project = f"{RELEASE} {ver}"
else:
continue
else:
Copy link
Collaborator

@pxLi pxLi Dec 13, 2024

Choose a reason for hiding this comment

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

nit: this should be safe to be removed, as it was trying make the script compatible for classic projects which had been gone for a long time. its also fine we could still leave it here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agree; removing compatibility with project cards simplifies the logic."

@NvTimLiu
Copy link
Collaborator Author

LGTM. assume this has been verified with different cases thanks

Yes verified PRs/Issues both with and without project[roadmap], works well

it is no longer necessary to maintain compatibility with the old version of GitHub Projects

Signed-off-by: Tim Liu <[email protected]>
@NvTimLiu NvTimLiu dismissed stale reviews from pxLi and YanxuanLiu via 7cbc886 December 13, 2024 05:05
@NvTimLiu
Copy link
Collaborator Author

Build PASS:

$ scripts/generate-changelog  --releases=24.10,24.12
  Generating changelog ...
  Processing pull requests ...
  Processing issues ...
  Done.

@NvTimLiu
Copy link
Collaborator Author

build

@NvTimLiu NvTimLiu merged commit edb7a67 into NVIDIA:branch-25.02 Dec 13, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]The CHANGELOG is generated based on the project's roadmap rather than the target branch.
3 participants