Skip to content

Conversation

@guidezpl
Copy link
Member

@guidezpl guidezpl commented Aug 28, 2025

Apply feedback from #9895

Note: the families_diff file created by the generator should suffice in writing CHANGELOG updates

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

Copy link

@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 consolidates and improves the documentation for the google_fonts package generator. It achieves this by removing the package-level CONTRIBUTING.md and moving its contents into an expanded generator/README.md. The changes make the instructions for running the generator clearer and more discoverable. I've provided a couple of suggestions to further improve the wording and fix a broken link in the new README file.

guidezpl and others added 2 commits August 28, 2025 09:42
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@guidezpl
Copy link
Member Author

exempted from CHANGELOG update and version change: local development

@guidezpl guidezpl added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Aug 28, 2025
@guidezpl guidezpl changed the title [google_fonts] Consolidate and improve generator README [google_fonts] Improve CONTRIBUTING and generator README Aug 28, 2025
regenerate most Dart code (e.g. `GoogleFonts` class), and [families_supported](./families_supported).

1. Navigate to the root directory of this project.
Note: Googlers only, pending b/280786655, there is an additional prerequisite step required of the Google Fonts team
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this additional step documented?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it is, just something I know. In the status update, there's a link to a manual version of the process, the long term idea being to remove the need for this. The bug assignee has all the info

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure I follow. So when we go to run the generator script, we contact the assigned person on that bug to complete another step first?

Copy link
Member Author

@guidezpl guidezpl Sep 1, 2025

Choose a reason for hiding this comment

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

Right. So, the generator looks for the latest directory of fonts. New versions of that directory are created (currently, with a manual step) by that Googler.

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM with one nit.

Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

LGTM

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 4, 2025
@auto-submit auto-submit bot merged commit 91bc1c4 into main Sep 4, 2025
80 checks passed
@auto-submit auto-submit bot deleted the google-fonts-improvements branch September 4, 2025 19:40
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 5, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Sep 5, 2025
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
Jaineel-Mamtora pushed a commit to Jaineel-Mamtora/flutter_forked that referenced this pull request Sep 24, 2025
danferreira pushed a commit to danferreira/packages that referenced this pull request Oct 22, 2025
Apply feedback from flutter#9895

Note: the `families_diff` file created by the generator should suffice in writing CHANGELOG updates

## Pre-Review Checklist

**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: google_fonts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants