Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: allowing FLUTTER_GIT_URL to be the default value of flutterUrl #593

Merged

Conversation

oravecz-jpmc
Copy link
Contributor

The Flutter project reports a warning to users who replace the standard GitHub location of Flutter with their own. They also provide an environment variable (FLUTTER_GIT_URL) which can be set by the user to indicate that this is intentional.

FVM provides a similar feature to override the GIT location from which the Flutter install will be cloned, and it is implemented as the command-line parameter --flutterUrl.

Defaulting to using the environment variable defined by Flutter as the value of flutterUrl, provides most corporations that host their own repository with a seamless use of the fvm tool without requiring all developers to include the --flutterUrl parameter manually.

The Flutter project reports a warning to users who replace the standard GitHub location of Flutter with their own. They also provide an environment variable (`FLUTTER_GIT_URL`) which can be set by the user to indicate that this is intentional.

FVM provides a similar feature to override the GIT location from which the Flutter install will be cloned, and it is implemented as the command-line parameter `--flutterUrl`.

Defaulting to using the environment variable defined by Flutter as the value of `flutterUrl`, provides most corporations that host their own repository with a seamless use of the `fvm` tool without requiring all developers to include the `--flutterUrl` parameter manually.
@leoafarias leoafarias merged commit 0ea77e9 into leoafarias:main Feb 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants