Skip to content

Fix usage of "clean up" as verb - #507

Merged
jglogan merged 2 commits into
apple:mainfrom
DePasqualeOrg:fix-cleanup-usage
Feb 4, 2026
Merged

jglogan merged 2 commits into
apple:mainfrom
DePasqualeOrg:fix-cleanup-usage

Conversation

@DePasqualeOrg

Copy link
Copy Markdown
Contributor

"clean up" is a verb, and "cleanup" is a noun. There are several examples of the incorrect usage of "cleanup" as a verb in this repository, including one in the public API (cleanupOrphanedBlobs). For this public method, I've added a deprecation notice to the name with the incorrect usage.

}
}

@available(*, deprecated, renamed: "cleanUpOrphanedBlobs")

@jglogan jglogan Feb 2, 2026 •

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.

Could you remove the old function entirely, and update any call sites in containerization with the renamed function name? We're not at the point in this project where we're concerned about breaking the API (we will be getting there soon).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay, I've done that.

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.

Thanks! Building now.

@jglogan

jglogan commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

@DePasqualeOrg could you rebase your change onto current main and push again? That way you'll have #511 which will help ensure tests pass (not the fault of your changes).

@DePasqualeOrg

Copy link
Copy Markdown
Contributor Author

I've rebased on main.

@jglogan

jglogan commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

@DePasqualeOrg Thanks for the contribution, I'd like to get the registry API changes from @saehejkang in and then we'll bump the tag and then you can update your container PR to pick up the updated API.

@jglogan
jglogan merged commit df5f0f3 into apple:main Feb 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants