Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Shift git version fetching to tools/gn #51175

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

zanderso
Copy link
Member

@zanderso zanderso commented Mar 4, 2024

Avoids GN invoking python scripts that run git commands to determine git hashes.

Part of flutter/flutter#144430

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@zanderso
Copy link
Member Author

zanderso commented Mar 4, 2024

@jason-simmons This seems to get most of the benefit of #51107. I can revisit that change if the git rev-parse calls in this PR become proportionally more expensive after burning down some of the other python calls.

@zanderso zanderso added autosubmit Merge PR when tree becomes green via auto submit App and removed autosubmit Merge PR when tree becomes green via auto submit App labels Mar 4, 2024
@zanderso zanderso force-pushed the git-version-tools-gn branch from ca347e2 to 8519e43 Compare March 4, 2024 22:09
@zanderso zanderso force-pushed the git-version-tools-gn branch from 8519e43 to 688c3d1 Compare March 4, 2024 22:28
@Hixie
Copy link
Contributor

Hixie commented Mar 4, 2024

test-exempt: code refactor with no semantic change

@zanderso zanderso merged commit 7e30318 into flutter:main Mar 5, 2024
@zanderso zanderso deleted the git-version-tools-gn branch March 5, 2024 02:14
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 5, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Mar 5, 2024
…144607)

flutter/engine@d514a30...17a4b66

2024-03-05 [email protected] Roll Skia from a577399ed6fb to 5839a94bf28b (1 revision) (flutter/engine#51194)
2024-03-05 [email protected] [Impeller] Turn off StC. (flutter/engine#51191)
2024-03-05 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Reland: [macOS] Use CVDisplayLink to drive repaint (#51126)" (flutter/engine#51192)
2024-03-05 [email protected] Roll Skia from 9c62e7b382cf to a577399ed6fb (1 revision) (flutter/engine#51190)
2024-03-05 [email protected] Reland "Remove migration flag and unused header files #50216" (flutter/engine#50259)
2024-03-05 [email protected] Shift git version fetching to tools/gn (flutter/engine#51175)
2024-03-05 [email protected] [fuchsia] Remove now unnecessary diagnostics directory (flutter/engine#51180)
2024-03-05 [email protected] [Impeller] Enable depth buffer clipping & Stencil-then-Cover path rendering. (flutter/engine#50856)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants