Skip to content

Add offline option to flutter/packages tooling #131204

@stuartmorgan-g

Description

@stuartmorgan-g

As we expand use of the new fetch-deps command in CI, we should add a flag called something like --minimize-network that will do steps explicitly offline when possible. Most notably, we should plumb it through to pass --offline any pub get commands that we run, so that we can pub get in online mode only in fetch-deps, and then in offline mode for the rest of the run.

(I suggest minimize-network rather than offline to make it less misleading; we won't actually be able to do everything offline. E.g., I don't see a fully offline mode for the pod commands run by flutter bulids.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.p: toolingAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions