Skip to content

Update all tool string containing 'pub get' to 'flutter packages get' #6417

Closed

Description

@mit-mit

We recently changed flutter so that you need to run flutter packages get, not pub get.

However, some (many?) status messages still say that we are running pub get thus potentially causing confusion. For example, when running flutter for the first time:

$ flutter doctor
Downloading Material fonts...                        2.2s
Downloading package sky_engine...                    1.4s
Running 'pub get' in sky_engine...                   0.4s
Downloading package sky_services...                  0.4s
Running 'pub get' in sky_services...                 3.1s
Downloading package flutter_services...              0.3s
Running 'pub get' in flutter_services...             1.7s

Activity

  1. sethladd commented on Oct 20, 2016

    @sethladd
    Contributor

    Good catch!
    On Thu, Oct 20, 2016 at 05:38 Michael Thomsen [email protected]
    wrote:

    We recently changed flutter so that you need to run flutter packages get,
    not pub get.

    However, some (many?) status messages still say that we are running pub
    get thus potentially causing confusion. For example, when running flutter
    for the first time:

    $ flutter doctor
    Downloading Material fonts... 2.2s
    Downloading package sky_engine... 1.4s
    Running 'pub get' in sky_engine... 0.4s
    Downloading package sky_services... 0.4s
    Running 'pub get' in sky_services... 3.1s
    Downloading package flutter_services... 0.3s
    Running 'pub get' in flutter_services... 1.7s

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #6417, or mute the thread
    https://github.com/notifications/unsubscribe-auth/AAAVZ4NEKdLaG-Yx1jpGNjB8klWMysMFks5q12DNgaJpZM4KcE31
    .

  2. warent commented on Oct 23, 2016

    @warent

    Turns out there's an option for flutter create which is --[no-]pub
    If we're going to be replacing references from pub get to flutter packages get, maybe that option should be renamed as well... any suggestions?

  3. abarth commented on Oct 23, 2016

    @abarth
    Contributor

    Yeah. Probably should be --[no]-get-packages. (We should probably keep the --[no]-pub as a hidden alias during a transition period.

  4. added a commit that references this issue on Oct 23, 2016
    2638bd0
  5. self-assigned this
    on Nov 1, 2016
  6. added a commit that references this issue on Nov 1, 2016
    3430689
  7. added a commit that references this issue on Nov 1, 2016
    67f5910
  8. added a commit that references this issue on Oct 4, 2018
  9. github-actions commented on Sep 5, 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.

  10. locked as resolved and limited conversation to collaborators on Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions