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

Add some missing migration guides from older PRs #1850

Merged
merged 9 commits into from
Nov 26, 2024

Conversation

alice-i-cecile
Copy link
Member

@alice-i-cecile alice-i-cecile commented Nov 26, 2024

Part of #1831. Fixes #1518. While this didn't hit all of the missed PRs, the remaining PRs seem to be renames, and are few enough that they can be manually handled.

Like before, I'm aiming to merge these so-so migration guides as is, and then fix up their content in other PRs. There are still PRs that were absolutely missed: I don't see a better way than manually adding the remaining breaking changes for this cycle.

if let Some(pr) = prs.last() {
if let Some(datetime_utc) = datetime_utc {
if let Some(closed_at) = pr.closed_at {
if closed_at < datetime_utc {
Copy link
Member Author

Choose a reason for hiding this comment

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

This data seems to be unreliable, and early filtering here doesn't actually do us any good.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree that this filtering seems pointless

Copy link
Contributor

@rparrett rparrett left a comment

Choose a reason for hiding this comment

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

This seems to make sense. Included PRs are already filtered by the list of commits. Filtering PRs is just an optimization and it seems broken.

I guess i the future we would want to eventually collect a list of PR numbers and retrieve those specific PRs via the graphql API if possible.

if let Some(pr) = prs.last() {
if let Some(datetime_utc) = datetime_utc {
if let Some(closed_at) = pr.closed_at {
if closed_at < datetime_utc {
Copy link
Contributor

Choose a reason for hiding this comment

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

I agree that this filtering seems pointless

let prs = client.get_issues_and_prs(
BevyRepo::Bevy,
IssueState::Merged,
Some(base_commit_date),
Copy link
Contributor

Choose a reason for hiding this comment

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

It's not totally clear to me why this helps, based on GH's documentation about the since param in their API, but it does seem to cause more stuff to get generated.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that was my impression too :(

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Nov 26, 2024
Merged via the queue into bevyengine:main with commit e3e3973 Nov 26, 2024
10 checks passed
@alice-i-cecile alice-i-cecile deleted the old-migration-guides branch November 26, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Migration Guides C-Bug A problem with the code that runs the site C-Content S-Needs-Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changelog and contributors tools can fail to find PRs
2 participants