Skip to content

Fix usage of "clean up" as verb#507

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

Fix usage of "clean up" as verb#507
jglogan merged 2 commits intoapple:mainfrom
DePasqualeOrg:fix-cleanup-usage

Conversation

@DePasqualeOrg
Copy link
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")
Copy link
Contributor

@jglogan jglogan Feb 2, 2026

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
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
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
Copy link
Contributor

jglogan commented Feb 4, 2026

@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
Contributor Author

I've rebased on main.

@jglogan
Copy link
Contributor

jglogan commented Feb 4, 2026

@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

Comments