Skip to content

Update engine_hash.{dart|sh} #160527

Closed

Activity

  1. added
    team-infraOwned by Infrastructure team
    P1High-priority issues at the top of the work list
    on Dec 18, 2024
  2. self-assigned this
    on Dec 18, 2024
  3. matanlurey commented on Dec 18, 2024

    @matanlurey
    ContributorAuthor

    I'm confused on what exactly needs to change (and why) - the Dart script in particular seems unused (outside of its own test), and the Shell script, used in google3, I'm not sure why that needs realm logic or what exactly should be done here :)

    Asked @jtmcdole for clarification.

  4. matanlurey commented on Dec 18, 2024

    @matanlurey
    ContributorAuthor

    @jtmcdole it should return:

    if [ -f "$FLUTTER_ROOT/DEPS" ] && [ -f "$FLUTTER_ROOT/engine/src/.gn" ]; then
      BRANCH=$(git -C "$FLUTTER_ROOT" rev-parse --abbrev-ref HEAD)
      # In a fusion repository; the engine.version comes from the git hashes.
      if [ -z "${LUCI_CONTEXT}" ]; then
        ENGINE_VERSION=$(git -C "$FLUTTER_ROOT" merge-base HEAD upstream/master)
      else
        ENGINE_VERSION=$(git -C "$FLUTTER_ROOT" rev-parse HEAD)
      fi

    I think they'll just need rev-pasrse HEAD
    because they are taking it from master already

  5. github-actions commented on Jan 6, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions