Skip to content

[CP-Stable] Unset GIT_DIR and other variables before updating - #166772

Merged
auto-submit[bot] merged 3 commits into
flutter:flutter-3.29-candidate.0from
jtmcdole:gitDirReset
Apr 10, 2025
Merged

auto-submit[bot] merged 3 commits into
flutter:flutter-3.29-candidate.0from
jtmcdole:gitDirReset

Conversation

@jtmcdole

@jtmcdole jtmcdole commented Apr 8, 2025

Copy link
Copy Markdown
Member

Cherry picks #165818

update_engine_version.{ps1|sh} needs to operate on a foreign repository.
When flutter is run in a git-hook, these environment variables will override our git calls location and corrupt the install.

Cherry pick notes: The files are diverging a bit; but the guts of the change were clean (ps1|sh) and the tests just needed some care.

@jtmcdole
jtmcdole requested a review from reidbaker April 8, 2025 18:11
Cherry picks flutter#165818

`update_engine_version.{ps1|sh}` needs to operate on a foreign
repository.
When flutter is run in a git-hook, these environment variables will
override our git calls location and corrupt the install.
@jtmcdole

jtmcdole commented Apr 8, 2025

Copy link
Copy Markdown
Member Author

force-push: pick up broken presubmit changes.

@reidbaker

Copy link
Copy Markdown
Contributor

Approved % changelog entry.

@jtmcdole

jtmcdole commented Apr 9, 2025

Copy link
Copy Markdown
Member Author

Change log updated.

@jtmcdole jtmcdole added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 9, 2025
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Apr 9, 2025
@auto-submit

auto-submit Bot commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/166772, because - The status or check suite Linux module_host_with_custom_build_test has failed. Please fix the issues identified (or deflake) before re-applying this label.

@reidbaker

Copy link
Copy Markdown
Contributor

Resolved the changelog merge conflicts.

@reidbaker reidbaker added autosubmit Merge PR when tree becomes green via auto submit App cp: review Cherry-picks in the review queue labels Apr 10, 2025
@auto-submit
auto-submit Bot merged commit dd7ad71 into flutter:flutter-3.29-candidate.0 Apr 10, 2025
Fintasys pushed a commit to Fintasys/flutter that referenced this pull request May 14, 2025
…r#166772)

Cherry picks flutter#165818

`update_engine_version.{ps1|sh}` needs to operate on a foreign repository.
When flutter is run in a git-hook, these environment variables will override our git calls location and corrupt the install.

Cherry pick notes: The files are diverging a bit; but the guts of the change were clean (ps1|sh) and the tests just needed some care.
ahmedalaayq added a commit to ahmedalaayq/flutter that referenced this pull request Oct 3, 2025
…r#166772)

Cherry picks flutter#165818

`update_engine_version.{ps1|sh}` needs to operate on a foreign repository.
When flutter is run in a git-hook, these environment variables will override our git calls location and corrupt the install.

Cherry pick notes: The files are diverging a bit; but the guts of the change were clean (ps1|sh) and the tests just needed some care.
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 cp: review Cherry-picks in the review queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants