Skip to content

[tool] Remove --against-pub flag#11550

Open
stuartmorgan-g wants to merge 1 commit intoflutter:mainfrom
stuartmorgan-g:tool-remove-unused-against-pub-flag
Open

[tool] Remove --against-pub flag#11550
stuartmorgan-g wants to merge 1 commit intoflutter:mainfrom
stuartmorgan-g:tool-remove-unused-against-pub-flag

Conversation

@stuartmorgan-g
Copy link
Copy Markdown
Collaborator

We haven't used --against-pub in CI in a very long time, and we don't expect to need it locally. We report pub versions as part of the publish step, but the source of truth for validation is the repo, not pub. This removes the flag to simplify the tool.

We haven't used `--against-pub` in CI in a very long time, and we don't
expect to need it locally. We report pub versions as part of the publish
step, but the source of truth for validation is the repo, not pub.
This removes the flag to simplify the tool.
@stuartmorgan-g stuartmorgan-g added the CICD Run CI/CD label Apr 21, 2026
@stuartmorgan-g
Copy link
Copy Markdown
Collaborator Author

I didn't realize this code was still here until I went to refactor this command into a separate validator class!

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the functionality to check package versions against the pub server from the version-check command. The --against-pub flag, the PubVersionFinder class, and all associated HTTP logic and tests have been deleted, simplifying the command to only perform checks against the git base version. I have no feedback to provide.

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

Labels

CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant