Conversation
|
cc @devoncarew, I'm missing tests, I think. How do those usually work the |
|
Sample output:
|
|
@mit-mit, since we're adding so many new Also adding @jonahwilliams as a reviewer. |
|
re: testing, the existing |
cc @devoncarew, we already have an alias in place, so you can already run either |
|
cc @kevmoo, I don't fully understand the voodoo magic for analytics over in |
| static final PubContext interactive = PubContext._(<String>['interactive']); | ||
| static final PubContext pubGet = PubContext._(<String>['get']); | ||
| static final PubContext pubUpgrade = PubContext._(<String>['upgrade']); | ||
| static final PubContext pubForward = PubContext._(<String>['forward']); |
There was a problem hiding this comment.
should be fine. This is how we track what a user ran if the command ends up hitting the server.
|
I've added tests. They are passing locally, but fail on CI. Any tips? |
|
cc @jonahwilliams any tips on the test question above? |
|
Are you running the test with pub or build_runner? CI uses pub run build_runner test |
|
I think so: |
|
Restarted tool_tests-macos, they timed out |
Description
Currently
fluttersupports just two pub subcommands:flutter packages get->pub getflutter packages upgrade->pub upgradeThis adds forwards for the following missing pub commands:
flutter packages downgrade->pub downgrade, the opposite of upgradeflutter packages publish->pub publishto support publishing a pluginflutter packages deps->pub depsto show package dependenciesflutter packages run->pub runto support running executables, e.g. for package:intlflutter packages cache->pub cacheto manage the pub cache contentsflutter packages version->pub versionto see the pub versionflutter packages uploader->pub uploaderto manage package uploadersflutter packages global->pub global: pub global commandsRelated Issues
Fixes #27911
Fixes #9301
Fixes #13360
Fixes #21898
Fixes #28292