Skip to content

Swift: SingleValueStmtExpr migration scripts - #14525

Merged
AlexDenisov merged 1 commit into
alexdenisov/upgrade-to-swift-5.9from
alexdenisov/swift.5.9-upgrade-script
Oct 18, 2023
Merged

Swift: SingleValueStmtExpr migration scripts#14525
AlexDenisov merged 1 commit into
alexdenisov/upgrade-to-swift-5.9from
alexdenisov/swift.5.9-upgrade-script

Conversation

@AlexDenisov

Copy link
Copy Markdown
Contributor

No description provided.

@AlexDenisov
AlexDenisov requested a review from a team as a code owner October 17, 2023 12:22
@github-actions github-actions Bot added the Swift label Oct 17, 2023
@geoffw0

geoffw0 commented Oct 17, 2023

Copy link
Copy Markdown
Contributor

Would you mind linking to the associated change that defines single_value_stmt_exprs in the .dbscheme and extracts it?

Do you think we need to populate unspecified_element_parents and/or unspecified_element_indices for the new nspecified_elements?

As ever with upgrade / downgrade scripts, this will need some manual testing.

@AlexDenisov

Copy link
Copy Markdown
Contributor Author

Would you mind linking to the associated change that defines single_value_stmt_exprs in the .dbscheme and extracts it?

They are in the target branch/PR, here is the commit.

Do you think we need to populate unspecified_element_parents and/or unspecified_element_indices for the new nspecified_elements?

I don't think so as we are not attaching new unspecified_elements to anything? 🤔

As ever with upgrade / downgrade scripts, this will need some manual testing.

I did manual testing locally, but of course more testing in such cases is always a good idea.

@geoffw0

geoffw0 commented Oct 18, 2023

Copy link
Copy Markdown
Contributor

more testing in such cases is always a good idea.

I doubt I'll get around to this until Friday at best. You can wait and perhaps remind me then. Or someone else can review and merge - I have no concerns apart from wanting to build a bit higher confidence.

@MathiasVP

Copy link
Copy Markdown
Contributor

FWIW, I think this LGTM as well 👍.

@geoffw0 geoffw0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In which case approved. 👍

(though if you'd rather I did some additional testing, we can still wait and do that)

@AlexDenisov

Copy link
Copy Markdown
Contributor Author

In which case approved. 👍

(though if you'd rather I did some additional testing, we can still wait and do that)

It's going to be merged into another WIP branch, in which I want to start a DCA run. I think we can then still do more tests before merging into main.

@AlexDenisov
AlexDenisov merged commit 1ab4a21 into alexdenisov/upgrade-to-swift-5.9 Oct 18, 2023
@AlexDenisov
AlexDenisov deleted the alexdenisov/swift.5.9-upgrade-script branch October 18, 2023 12:27
@geoffw0

geoffw0 commented Oct 18, 2023

Copy link
Copy Markdown
Contributor

Sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants