Set PUB_ENVIRONMENT during pub upgrade in flutter_tools#9670
Set PUB_ENVIRONMENT during pub upgrade in flutter_tools#9670kevmoo wants to merge 3 commits intoflutter:masterfrom
pub upgrade in flutter_tools#9670Conversation
|
This is going to add 200ms (the cost of running a Dart program) to initial Flutter run. Probably not noticeable in the grand scheme of things since we're struggling with other issues involving downloading gigabytes of cocoapods, of course... |
|
IMHO, we should just write this code in shell. |
Sure. I'm worried about getting the logic correct in bash (and terrified of breaking something in the batch file). If someone wants to run with the "spirit" of this PR – using pure shell, I won't argue. 🤷♂️ |
|
I'd LOVE to get this in. At the moment, I'm doing some crazy dependency parsing to try to detect this install path. This is the "spirit" of what I want. Even making sure there is a 'flutter_install' item in |
|
@abarth indicated he was interested in helping last week. @abarth, the keys Kevin is seeking is "flutter_bot" and "flutter_install" being added to the PUB_ENVIRONMENT environment variable: |
|
Pri 0: concat w/ existing environment (if any)
Pri 0: flutter_install
Pri 1: flutter_bot
…On Tue, May 2, 2017 at 9:55 AM, Eric Seidel ***@***.***> wrote:
@abarth <https://github.com/abarth> indicated he was interested in
helping last week. @abarth <https://github.com/abarth>, the keys Kevin is
seeking is "flutter_bot" and "flutter_install" being added to the
PUB_ENVIRONMENT environment variable:
https://github.com/flutter/flutter/pull/9670/files#diff-
a9281319daef652a1fe92d41ef515098R30
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9670 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABCirtCFyzBZlD7fznElZXa4QCe95Unks5r12AKgaJpZM4NLvB5>
.
|
|
@kevmoo Do you only want these values in the env for this one specific call to pub at the very beginning? Or all calls to pub that flutter issues (e.g. |
|
@goderbauer already handle those – 358e1cd |
|
I see. I can work on a PR to add those env vars from the shell scripts for that specific command. |
Awesome. Thanks! |
|
See #9725. |
|
Going with #9725 |
flutter/engine@7d3e722...3c51a7b git log 7d3e722..3c51a7b --no-merges --oneline 3c51a7b Roll src/third_party/skia 11eb847a2080..857c9f955edb (2 commits) (flutter/engine#9676) 7f828dd Raster now returns an enum rather than boolean (flutter/engine#9661) 11b6afe Roll src/third_party/dart 67ab3be10d...b5aeaa6796 (flutter/engine#9675) 3c4dbe2 Revert " Roll src/third_party/dart 67ab3be10d...43891316ca (#9670)" (flutter/engine#9673) 5e596f2 Roll src/third_party/dart 67ab3be10d...43891316ca (flutter/engine#9670) 46a2239 Roll src/third_party/skia 5b52c52141ac..11eb847a2080 (6 commits) (flutter/engine#9671) b84f89b Allow embedders to add callbacks for responses to platform messages from the framework. (flutter/engine#9655) 8dac2e9 Begin separating macOS engine from view controller (flutter/engine#9654) d3616c7 Roll src/third_party/skia 0e0113dcbd9a..5b52c52141ac (8 commits) (flutter/engine#9665) cea2c36 Mutators Stack refactoring (flutter/engine#9663) 6a8782f Roll src/third_party/skia 93eeff578b08..0e0113dcbd9a (9 commits) (flutter/engine#9662) 791143f ExternalViewEmbedder can CancelFrame after pre-roll (flutter/engine#9660) d637f29 External view embedder can tell if embedded views have mutated (flutter/engine#9653) ceee3d7 Roll src/third_party/skia 38ae3f42fec1..93eeff578b08 (1 commits) (flutter/engine#9659) d757290 Roll src/third_party/skia febc162c7898..38ae3f42fec1 (3 commits) (flutter/engine#9658) 58133ab Roll src/third_party/skia 3de5c6388142..febc162c7898 (2 commits) (flutter/engine#9657) 29342dd Roll src/third_party/skia 1e2cb444e0c1..3de5c6388142 (8 commits) (flutter/engine#9656) b547356 Pipeline allows continuations that can produce to front (flutter/engine#9652) 8306ee6 Move the mutators stack handling to preroll (flutter/engine#9651) 511b9f2 Roll src/third_party/skia 215ff3325230..1e2cb444e0c1 (12 commits) (flutter/engine#9650) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff ([email protected]), and stop the roller if necessary.
flutter/engine@7d3e722...3c51a7b git log 7d3e722..3c51a7b --no-merges --oneline 3c51a7b Roll src/third_party/skia 11eb847a2080..857c9f955edb (2 commits) (flutter/engine#9676) 7f828dd Raster now returns an enum rather than boolean (flutter/engine#9661) 11b6afe Roll src/third_party/dart 67ab3be10d...b5aeaa6796 (flutter/engine#9675) 3c4dbe2 Revert &flutter#34; Roll src/third_party/dart 67ab3be10d...43891316ca (flutter#9670)&flutter#34; (flutter/engine#9673) 5e596f2 Roll src/third_party/dart 67ab3be10d...43891316ca (flutter/engine#9670) 46a2239 Roll src/third_party/skia 5b52c52141ac..11eb847a2080 (6 commits) (flutter/engine#9671) b84f89b Allow embedders to add callbacks for responses to platform messages from the framework. (flutter/engine#9655) 8dac2e9 Begin separating macOS engine from view controller (flutter/engine#9654) d3616c7 Roll src/third_party/skia 0e0113dcbd9a..5b52c52141ac (8 commits) (flutter/engine#9665) cea2c36 Mutators Stack refactoring (flutter/engine#9663) 6a8782f Roll src/third_party/skia 93eeff578b08..0e0113dcbd9a (9 commits) (flutter/engine#9662) 791143f ExternalViewEmbedder can CancelFrame after pre-roll (flutter/engine#9660) d637f29 External view embedder can tell if embedded views have mutated (flutter/engine#9653) ceee3d7 Roll src/third_party/skia 38ae3f42fec1..93eeff578b08 (1 commits) (flutter/engine#9659) d757290 Roll src/third_party/skia febc162c7898..38ae3f42fec1 (3 commits) (flutter/engine#9658) 58133ab Roll src/third_party/skia 3de5c6388142..febc162c7898 (2 commits) (flutter/engine#9657) 29342dd Roll src/third_party/skia 1e2cb444e0c1..3de5c6388142 (8 commits) (flutter/engine#9656) b547356 Pipeline allows continuations that can produce to front (flutter/engine#9652) 8306ee6 Move the mutators stack handling to preroll (flutter/engine#9651) 511b9f2 Roll src/third_party/skia 215ff3325230..1e2cb444e0c1 (12 commits) (flutter/engine#9650) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff ([email protected]), and stop the roller if necessary.
No description provided.