Skip to content

Create a manifest for template (.tmpl) files and use it as the source of truth #59602

Closed

Description

@jonahwilliams

Currently the flutter tool uses whatever is on disk to re-create templates. Unfortunately, this can cause issues if the tool logic gets out of sync with the tmp files.

Namely, this has happened because a tmpl file was removed which matched a gitignore filter, thus causing it to be persisted in the git repo.

This should also be usable by IDEs to figure out what templates and files are supported, but the initial version might not have everything.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jun 16, 2020
  2. jonahwilliams commented on Jun 16, 2020

    @jonahwilliams
    ContributorAuthor

    This would fix #57985 and prevent it from happening in the future

  3. added this to the 1.20 - June 2020 milestone on Jun 16, 2020
  4. jonahwilliams commented on Jun 24, 2020

    @jonahwilliams
    ContributorAuthor

    Fixed via #59706 , there is a more specific issue for IDE wizard use case

  5. github-actions commented on Aug 19, 2021

    @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 Aug 19, 2021
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 listtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions