Skip to content

Conversation

gspencergoog
Copy link
Contributor

@gspencergoog gspencergoog commented Sep 3, 2025

Description

This adds some short descriptions to the pub tools on how to add packages with other kinds of references, and in other sections. Gemini doesn't seem to know how to do this otherwise.

Also, converted the pub tool's argument to be an enum of the available tools, and added support for deps and outdated.

It's not an issue here because we're passing arguments directly, but I wish that pub add would parse "foo:{path:../foo}" (without the space after the colon, instead of "foo:{path: ../foo}" ), because it's a pain to have to escape the space or quote the arg.

Copy link

github-actions bot commented Sep 3, 2025

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

@gspencergoog gspencergoog merged commit bc90433 into dart-lang:main Sep 4, 2025
18 of 19 checks passed
@gspencergoog gspencergoog deleted the pub_guidance branch September 4, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants