r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.35k stars 160 forks source link

topgrade not upgrading homebrew casks on MacOS #728

Closed BLucky-gh closed 3 years ago

BLucky-gh commented 3 years ago

What did you expect to happen? ... On the Brew - Cask step it should update the casks by running brew cu -ay

What actually happened? ... No casks get updated and only the list is shown as if it only ran brew cu without any flags, even though the function definition in the corresponding source file for topgrade does have the arguments.

Here's the output of topgrade

―― 22:50:23 - Brew - Cask ――――――――――――――――――――――――――――――――――――――――――――――――――――――
==> Options
Include auto-update (-a): false
Include latest (-f): false
==> Updating Homebrew
Already up-to-date.
==> Finding outdated apps
       Cask           Current               Latest                A/U    Result    
 1/27  discord        0.0.260               0.0.263                Y   [  PASS  ] 

...etc

Additional details:

Run topgrade --dry-run to see which commands Topgrade is running. If the command seems wrong and you know why pleaes tell us so.

―― 23:10:23 - Brew - Cask ――――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /usr/local/bin/brew cu -y

it should be running with -ya, not just -y

If the command seems fine try to run it yourself and tell us if you got a different result from Topgrade.

Paste the output of `topgrade -v`

```
❯ topgrade -v
 2021-06-04T20:11:13.435Z DEBUG topgrade::config > Configuration at /Users/blucky/.config/topgrade.toml
 2021-06-04T20:11:13.436Z DEBUG topgrade::config > Loaded configuration: ConfigFile { pre_commands: Some({}), post_commands: None, commands: Some({}), git_repos: None, predefined_git_repos: None, disable: None, ignore_failures: None, remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, git_arguments: None, tmux_arguments: None, set_title: None, assume_yes: None, yay_arguments: None, no_retry: None, run_in_tmux: None, cleanup: None, notify_each_step: None, accept_all_windows_updates: None, bashit_branch: None, only: None, composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None }), linux: Some(Linux { yay_arguments: None, trizen_arguments: None, dnf_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, emerge_sync_flags: None, emerge_update_flags: None }), git: Some(Git { max_concurrency: None, arguments: None, repos: None, pull_predefined: None }), windows: Some(Windows { accept_all_updates: None, self_rename: None, open_remotes_in_new_terminal: None }), vagrant: None }
 2021-06-04T20:11:13.436Z DEBUG topgrade         > Version: 6.9.1
 2021-06-04T20:11:13.436Z DEBUG topgrade         > OS: x86_64-apple-darwin
 2021-06-04T20:11:13.436Z DEBUG topgrade         > Args { inner: ["topgrade", "-v"] }
 2021-06-04T20:11:13.436Z DEBUG topgrade         > Binary path: Ok("/usr/local/bin/topgrade")
 2021-06-04T20:11:13.436Z DEBUG topgrade         > Self Update: false
 2021-06-04T20:11:13.437Z DEBUG topgrade::utils  > Detected "/usr/bin/git" as "git"
 2021-06-04T20:11:13.437Z DEBUG topgrade::utils  > Cannot find "doas"
 2021-06-04T20:11:13.437Z DEBUG topgrade::utils  > Detected "/usr/bin/sudo" as "sudo"
 2021-06-04T20:11:13.437Z DEBUG topgrade::utils  > Cannot find "pwsh"
 2021-06-04T20:11:13.437Z DEBUG topgrade::utils  > Cannot find "powershell"
 2021-06-04T20:11:13.437Z DEBUG topgrade::runner > Step "Brew (ARM)"
 2021-06-04T20:11:13.437Z DEBUG topgrade::runner > Step "Brew (Intel)"
 2021-06-04T20:11:13.437Z DEBUG topgrade::utils  > Detected "/usr/local/bin/brew" as "/usr/local/bin/brew"

―― 23:11:13 - Brew ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:13.438Z DEBUG topgrade::executor > Running "/usr/local/bin/brew" "update"
Already up-to-date.
 2021-06-04T20:11:15.401Z DEBUG topgrade::executor > Running "/usr/local/bin/brew" "upgrade" "--ignore-pinned" "--formula"
 2021-06-04T20:11:17.192Z DEBUG topgrade::runner   > Step "Brew Cask (ARM)"
 2021-06-04T20:11:17.192Z DEBUG topgrade::runner   > Step "Brew Cask (Intel)"
 2021-06-04T20:11:17.192Z DEBUG topgrade::utils    > Detected "/usr/local/bin/brew" as "/usr/local/bin/brew"

―― 23:11:17 - Brew - Cask ――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:18.442Z DEBUG topgrade::executor > Running "/usr/local/bin/brew" "cu" "-y"
==> Options
Include auto-update (-a): false
Include latest (-f): false
==> Updating Homebrew
Already up-to-date.
==> Finding outdated apps
       Cask           Current               Latest                A/U    Result    
 1/26  adoptopenjdk8  8                     8                          [   OK   ]  
 2/26  alacritty      0.8.0                 0.8.0                      [   OK   ]  
 3/26  balenaetcher   1.5.120               1.5.120                    [   OK   ]  
 4/26  barrier        2.3.3                 2.3.3                      [   OK   ]  
 5/26  blender        2.93.0                2.93.0                     [   OK   ]  
 6/26  discord        0.0.263               0.0.263                Y   [  PASS  ]  
 7/26  discord-ptb    0.0.56                0.0.56                 Y   [  PASS  ]  
 8/26  epic-games     10.19.2               12.1.7                 Y   [  PASS  ]  
 9/26  gdlauncher     1.1.7                 1.1.7                      [   OK   ]  
10/26  gimp           2.10.22               2.10.22                Y   [  PASS  ]  
11/26  handbrake      1.3.3                 1.3.3                  Y   [  PASS  ]  
12/26  jdownloader    latest                latest                     [   OK   ]  
13/26  keka           1.2.6                 1.2.14                 Y   [  PASS  ]  
14/26  kitty          0.20.3                0.20.3                     [   OK   ]  
15/26  lastpass       4.60.0                4.73.0                 Y   [  PASS  ]  
16/26  multimc        0.6.11                0.6.12                 Y   [  PASS  ]  
17/26  opera-gx       72.0.3815.450         75.0.3969.279          Y   [  PASS  ]  
18/26  paragon-ntfs   15                    15                     Y   [  PASS  ]  
19/26  parsec         2.0.0                 2.0.0                      [   OK   ]  
20/26  slowquitapps   0.8.1                 0.8.1                      [   OK   ]  
21/26  spotify        1.1.48.625.g1c87c7f7  1.1.60.672.g6ad9c215   Y   [  PASS  ]  
22/26  steam          2.0                   2021                   Y   [  PASS  ]  
23/26  transmission   3.00                  3.00                   Y   [  PASS  ]  
24/26  vlc            3.0.11.1              3.0.14                 Y   [  PASS  ]  
25/26  vnc-viewer     6.21.118              6.21.118                   [   OK   ]  
26/26  xquartz        2.7.11                2.8.1                  Y   [  PASS  ]  
 2021-06-04T20:11:21.719Z DEBUG topgrade::runner   > Step "MacPorts"
 2021-06-04T20:11:21.719Z DEBUG topgrade::runner   > Step "yadm"
 2021-06-04T20:11:21.719Z DEBUG topgrade::runner   > Step "nix"
 2021-06-04T20:11:21.719Z DEBUG topgrade::runner   > Step "home-manager"
 2021-06-04T20:11:21.719Z DEBUG topgrade::runner   > Step "asdf"
 2021-06-04T20:11:21.719Z DEBUG topgrade::utils    > Path "/Users/blucky/.config/emacs" doesn't exist
 2021-06-04T20:11:21.719Z DEBUG topgrade::utils    > Path "/Users/blucky/.emacs.d" doesn't exist
 2021-06-04T20:11:21.719Z DEBUG topgrade::steps::git > /Users/blucky/.doom.d does not exists
 2021-06-04T20:11:21.719Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.vim is a git repository
 2021-06-04T20:11:21.734Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(32768)), stdout: "", stderr: "fatal: not a git repository (or any of the parent directories): .git\n" }
 2021-06-04T20:11:21.734Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.config/nvim is a git repository
 2021-06-04T20:11:21.751Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(32768)), stdout: "", stderr: "fatal: not a git repository (or any of the parent directories): .git\n" }
 2021-06-04T20:11:21.751Z DEBUG topgrade::steps::git > /Users/blucky/git/dotfiles/zsh/.zshrc is a file. Checking /Users/blucky/git/dotfiles/zsh
 2021-06-04T20:11:21.751Z DEBUG topgrade::steps::git > Checking if /Users/blucky/git/dotfiles/zsh is a git repository
 2021-06-04T20:11:21.766Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/git/dotfiles\n", stderr: "" }
 2021-06-04T20:11:21.766Z DEBUG topgrade::steps::git > /Users/blucky/.tmux does not exists
 2021-06-04T20:11:21.766Z DEBUG topgrade::steps::git > /Users/blucky/.config/fish does not exists
 2021-06-04T20:11:21.766Z DEBUG topgrade::steps::git > /Users/blucky/Library/Application Support/openbox does not exists
 2021-06-04T20:11:21.766Z DEBUG topgrade::steps::git > /Users/blucky/Library/Application Support/bspwm does not exists
 2021-06-04T20:11:21.766Z DEBUG topgrade::steps::git > /Users/blucky/Library/Application Support/i3 does not exists
 2021-06-04T20:11:21.766Z DEBUG topgrade::steps::git > /Users/blucky/Library/Application Support/sway does not exists
 2021-06-04T20:11:21.766Z DEBUG topgrade::runner     > Step "Git repositories"

―― 23:11:21 - Git repositories ―――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:21.781Z TRACE topgrade::executor   > Output of "/usr/bin/git" "remote" "show": Output { status: ExitStatus(ExitStatus(0)), stdout: "origin\n", stderr: "" }
 2021-06-04T20:11:21.796Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "HEAD": Output { status: ExitStatus(ExitStatus(0)), stdout: "ba67bbd45c2eff76938f445f8e2d4d35acb33869\n", stderr: "" }
Pulling /Users/blucky/git/dotfiles
 2021-06-04T20:11:23.490Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "HEAD": Output { status: ExitStatus(ExitStatus(0)), stdout: "ba67bbd45c2eff76938f445f8e2d4d35acb33869\n", stderr: "" }
Up-to-date /Users/blucky/git/dotfiles
 2021-06-04T20:11:23.491Z DEBUG topgrade::runner     > Step "zr"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:23.491Z DEBUG topgrade::runner     > Step "antibody"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:23.491Z DEBUG topgrade::runner     > Step "antigen"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Path "/Users/blucky/.zshrc" exists
 2021-06-04T20:11:23.491Z DEBUG topgrade::runner     > Step "zplug"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Path "/Users/blucky/.zshrc" exists
 2021-06-04T20:11:23.491Z DEBUG topgrade::runner     > Step "zinit"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Path "/Users/blucky/.zshrc" exists
 2021-06-04T20:11:23.491Z DEBUG topgrade::utils      > Path "/Users/blucky/.zinit/polaris" exists

―― 23:11:23 - zinit ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:23.491Z DEBUG topgrade::executor   > Running "/usr/local/bin/zsh" "-i" "-c" "source /Users/blucky/.zshrc && zinit self-update && zinit update --all"
From https://github.com/zdharma/zinit
 * branch              master     -> FETCH_HEAD
Already up to date.
Compiling Zinit (zcompile)…
Reloading Zinit for the current session…
Updating Zinit…
Note: updating also unloaded plugins
Updating Aloxaf/fzf-tab
Updating changyuheng/zsh-interactive-cd
Updating romkatv/powerlevel10k
Updating zdharma/fast-syntax-highlighting
Updating zinit-zsh/z-a-as-monitor
Updating zinit-zsh/z-a-bin-gem-node
Updating zinit-zsh/z-a-patch-dl
Updating zinit-zsh/z-a-rust
Updating zsh-users/zsh-autosuggestions
Updating zsh-users/zsh-syntax-highlighting
The update took 13.75 seconds
 2021-06-04T20:11:39.792Z DEBUG topgrade::runner     > Step "zim"
 2021-06-04T20:11:39.792Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:39.799Z TRACE topgrade::executor   > Output of "zsh" "-c" "[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}": Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "" }
 2021-06-04T20:11:39.799Z DEBUG topgrade::runner     > Step "oh-my-zsh"
 2021-06-04T20:11:39.799Z DEBUG topgrade::utils      > Detected "/usr/local/bin/zsh" as "zsh"
 2021-06-04T20:11:39.799Z DEBUG topgrade::utils      > Path "/Users/blucky/.oh-my-zsh" exists

―― 23:11:39 - oh-my-zsh ――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:39.806Z TRACE topgrade::executor   > Output of "zsh" "-c" "test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM": Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "" }
 2021-06-04T20:11:39.806Z DEBUG topgrade::steps::zsh > Running zsh returned exit code: 1: . Using default path: /Users/blucky/.oh-my-zsh/custom
 2021-06-04T20:11:39.806Z DEBUG topgrade::steps::zsh > oh-my-zsh custom dir: /Users/blucky/.oh-my-zsh/custom
 2021-06-04T20:11:39.806Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.oh-my-zsh/custom is a git repository
 2021-06-04T20:11:39.829Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/.oh-my-zsh\n", stderr: "" }
 2021-06-04T20:11:39.830Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.oh-my-zsh/custom/plugins is a git repository
 2021-06-04T20:11:39.849Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/.oh-my-zsh\n", stderr: "" }
 2021-06-04T20:11:39.849Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.oh-my-zsh/custom/plugins/example is a git repository
 2021-06-04T20:11:39.864Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/.oh-my-zsh\n", stderr: "" }
 2021-06-04T20:11:39.864Z DEBUG topgrade::steps::git > /Users/blucky/.oh-my-zsh/custom/example.zsh is a file. Checking /Users/blucky/.oh-my-zsh/custom
 2021-06-04T20:11:39.864Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.oh-my-zsh/custom is a git repository
 2021-06-04T20:11:39.881Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/.oh-my-zsh\n", stderr: "" }
 2021-06-04T20:11:39.881Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.oh-my-zsh/custom/themes is a git repository
 2021-06-04T20:11:39.899Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/.oh-my-zsh\n", stderr: "" }
 2021-06-04T20:11:39.900Z DEBUG topgrade::steps::git > /Users/blucky/.oh-my-zsh/custom/themes/example.zsh-theme is a file. Checking /Users/blucky/.oh-my-zsh/custom/themes
 2021-06-04T20:11:39.900Z DEBUG topgrade::steps::git > Checking if /Users/blucky/.oh-my-zsh/custom/themes is a git repository
 2021-06-04T20:11:39.920Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(ExitStatus(0)), stdout: "/Users/blucky/.oh-my-zsh\n", stderr: "" }
 2021-06-04T20:11:39.920Z DEBUG topgrade::executor   > Running "zsh" "/Users/blucky/.oh-my-zsh/tools/upgrade.sh"
Updating Oh My Zsh
From https://github.com/ohmyzsh/ohmyzsh
 * branch            master     -> FETCH_HEAD
Current branch master is up to date.
         __                                     __   
  ____  / /_     ____ ___  __  __   ____  _____/ /_  
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                        /____/                       

Oh My Zsh is already at the latest version.
To keep up with the latest news and updates, follow us on Twitter: https://twitter.com/ohmyzsh
Want to get involved in the community? Join our Discord: https://discord.gg/ohmyzsh
Get your Oh My Zsh swag at: https://shop.planetargon.com/collections/oh-my-zsh
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "fisher"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "bash-it"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "oh-my-fish"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "fish-plug"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "tmux"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "TLDR"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "pearl"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "SDKMAN!"
 2021-06-04T20:11:40.736Z DEBUG topgrade::utils      > Detected "/bin/bash" as "bash"
 2021-06-04T20:11:40.736Z DEBUG topgrade::runner     > Step "apm"
 2021-06-04T20:11:40.737Z DEBUG topgrade::runner     > Step "fossil"
 2021-06-04T20:11:40.737Z DEBUG topgrade::runner     > Step "rustup"
 2021-06-04T20:11:40.737Z DEBUG topgrade::utils      > Detected "/Users/blucky/.cargo/bin/rustup" as "rustup"

―― 23:11:40 - rustup ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:40.737Z DEBUG topgrade::executor   > Running "/Users/blucky/.cargo/bin/rustup" "self" "update"
info: checking for self-updates
  rustup unchanged - 1.24.2

 2021-06-04T20:11:41.029Z DEBUG topgrade::executor   > Running "/Users/blucky/.cargo/bin/rustup" "update"
warning: downloading with complete profile isn't recommended unless you are a developer of the rust language
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: checking for self-updates

  stable-x86_64-apple-darwin unchanged - rustc 1.52.1 (9bc8c42bb 2021-05-09)

info: cleaning up downloads & tmp directories
 2021-06-04T20:11:41.484Z DEBUG topgrade::runner     > Step ".NET"
 2021-06-04T20:11:41.485Z DEBUG topgrade::runner     > Step "choosenim"
 2021-06-04T20:11:41.485Z DEBUG topgrade::runner     > Step "cargo"
 2021-06-04T20:11:41.485Z DEBUG topgrade::utils      > Detected "/Users/blucky/.cargo/bin/cargo" as "cargo"
 2021-06-04T20:11:41.485Z DEBUG topgrade::utils      > Path "/Users/blucky/.cargo" exists
 2021-06-04T20:11:41.485Z DEBUG topgrade::utils      > Path "/Users/blucky/.cargo/.crates.toml" exists

―― 23:11:41 - Cargo ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:41.486Z DEBUG topgrade::utils      > Detected "/Users/blucky/.cargo/bin/cargo-install-update" as "cargo-install-update"
 2021-06-04T20:11:41.486Z DEBUG topgrade::executor   > Running "/Users/blucky/.cargo/bin/cargo-install-update" "install-update" "--git" "--all"
    Updating registry 'https://github.com/rust-lang/crates.io-index'

Package        Installed  Latest                             Needs update
cargo-screeps  v0.3.3     v0.3.3                             No
cargo-update   v7.0.1     v7.0.1                             No
rojo           v6.1.0     v6.1.0 (v7.0.0-alpha.4 available)  No

No packages need updating.
Package  Installed  Latest  Needs update

No git packages need updating.
Overall updated 0 packages.
 2021-06-04T20:11:42.784Z DEBUG topgrade::runner     > Step "Flutter"
 2021-06-04T20:11:42.784Z DEBUG topgrade::runner     > Step "Emacs"
 2021-06-04T20:11:42.784Z DEBUG topgrade::runner     > Step "opam"
 2021-06-04T20:11:42.784Z DEBUG topgrade::runner     > Step "vcpkg"
 2021-06-04T20:11:42.784Z DEBUG topgrade::runner     > Step "pipx"
 2021-06-04T20:11:42.784Z DEBUG topgrade::utils      > Detected "/usr/local/bin/pipx" as "pipx"

―― 23:11:42 - pipx ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:42.784Z DEBUG topgrade::executor   > Running "/usr/local/bin/pipx" "upgrade-all"
Versions did not change after running 'pip upgrade' for each package 😴
 2021-06-04T20:11:43.070Z DEBUG topgrade::runner     > Step "pip3"
 2021-06-04T20:11:43.070Z DEBUG topgrade::utils      > Detected "/Users/blucky/.pyenv/shims/pip3" as "pip3"

―― 23:11:43 - pip3 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:43.071Z DEBUG topgrade::executor   > Running "/Users/blucky/.pyenv/shims/pip3" "install" "--upgrade" "--user" "pip"
Requirement already satisfied: pip in /Users/blucky/.local/lib/python3.9/site-packages (21.1.2)
 2021-06-04T20:11:44.415Z DEBUG topgrade::runner     > Step "stack"
 2021-06-04T20:11:44.415Z DEBUG topgrade::runner     > Step "tlmgr"
 2021-06-04T20:11:44.415Z DEBUG topgrade::runner     > Step "myrepos"
 2021-06-04T20:11:44.415Z DEBUG topgrade::runner     > Step "jetpack"
 2021-06-04T20:11:44.415Z DEBUG topgrade::runner     > Step "vim"
 2021-06-04T20:11:44.415Z DEBUG topgrade::utils      > Detected "/usr/bin/vim" as "vim"
 2021-06-04T20:11:44.423Z TRACE topgrade::executor   > Output of "/usr/bin/vim" "--version": Output { status: ExitStatus(ExitStatus(0)), stdout: "VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May  8 2021 05:44:12)\nmacOS version\nIncluded patches: 1-2029\nCompiled by root@apple.com\nNormal version without GUI.  Features included (+) or not (-):\n+acl               -farsi             +mouse_sgr         +tag_binary\n-arabic            +file_in_path      -mouse_sysmouse    -tag_old_static\n+autocmd           +find_in_path      -mouse_urxvt       -tag_any_white\n+autochdir         +float             +mouse_xterm       -tcl\n-autoservername    +folding           +multi_byte        -termguicolors\n-balloon_eval      -footer            +multi_lang        +terminal\n-balloon_eval_term +fork()            -mzscheme          +terminfo\n-browse            -gettext           +netbeans_intg     +termresponse\n+builtin_terms     -hangul_input      +num64             +textobjects\n+byte_offset       +iconv             +packages          +textprop\n+channel           +insert_expand     +path_extra        +timers\n+cindent           -ipv6              -perl              +title\n-clientserver      +job               +persistent_undo   -toolbar\n+clipboard         +jumplist          +popupwin          +user_commands\n+cmdline_compl     -keymap            +postscript        -vartabs\n+cmdline_hist      +lambda            +printer           +vertsplit\n+cmdline_info      -langmap           -profile           +virtualedit\n+comments          +libcall           +python/dyn        +visual\n-conceal           +linebreak         -python3           +visualextra\n+cryptv            +lispindent        +quickfix          +viminfo\n+cscope            +listcmds          +reltime           +vreplace\n+cursorbind        +localmap          -rightleft         +wildignore\n+cursorshape       -lua               +ruby/dyn          +wildmenu\n+dialog_con        +menu              +scrollbind        +windows\n+diff              +mksession         +signs             +writebackup\n+digraphs          +modify_fname      +smartindent       -X11\n-dnd               +mouse             -sound             -xfontset\n-ebcdic            -mouseshape        +spell             -xim\n-emacs_tags        -mouse_dec         +startuptime       -xpm\n+eval              -mouse_gpm         +statusline        -xsmp\n+ex_extra          -mouse_jsbterm     -sun_workshop      -xterm_clipboard\n+extra_search      -mouse_netterm     +syntax            -xterm_save\n   system vimrc file: \"$VIM/vimrc\"\n     user vimrc file: \"$HOME/.vimrc\"\n 2nd user vimrc file: \"~/.vim/vimrc\"\n      user exrc file: \"$HOME/.exrc\"\n       defaults file: \"$VIMRUNTIME/defaults.vim\"\n  fall-back for $VIM: \"/usr/share/vim\"\nCompilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      \nLinking: gcc   -L/usr/local/lib -o vim        -lm -lncurses  -liconv -framework Cocoa           \n", stderr: "" }
 2021-06-04T20:11:44.423Z DEBUG topgrade::runner     > Step "Neovim"
 2021-06-04T20:11:44.424Z DEBUG topgrade::utils      > Detected "/usr/local/bin/nvim" as "nvim"
 2021-06-04T20:11:44.424Z DEBUG topgrade::utils      > Path "/Users/blucky/.config/nvim/init.vim" exists

―― 23:11:44 - Neovim ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:44.424Z DEBUG topgrade::steps::vim > Wrote vim script to "/var/folders/y0/zhrmxnd97bv65xr7q2l_lggh0000gn/T/.tmppvv8L1"
not found in 'runtimepath': "ftdetect/*.vim"
not found in 'packpath': "pack/*/start/matchit"
not found in 'runtimepath': "plugin/**/*.vim"
Reading ShaDa file "/Users/blucky/.local/share/nvim/shada/main.shada" info marks oldfiles
Writing ShaDa file "/Users/blucky/.local/share/nvim/shada/main.shada"Plugins upgraded
 2021-06-04T20:11:44.494Z DEBUG topgrade::runner     > Step "voom"
 2021-06-04T20:11:44.494Z DEBUG topgrade::runner     > Step "npm"
 2021-06-04T20:11:44.494Z DEBUG topgrade::utils      > Detected "/usr/local/bin/npm" as "npm"

―― 23:11:44 - Node Package Manager ―――――――――――――――――――――――――――――――――――――――――――――
 2021-06-04T20:11:44.494Z DEBUG topgrade::executor   > Running "/usr/local/bin/npm" "update" "-g"
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

changed 1174 packages, and audited 1416 packages in 30s

60 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
 2021-06-04T20:12:14.512Z DEBUG topgrade::runner     > Step "yarn"
 2021-06-04T20:12:14.513Z DEBUG topgrade::runner     > Step "deno"
 2021-06-04T20:12:14.513Z DEBUG topgrade::runner     > Step "composer"
 2021-06-04T20:12:14.513Z DEBUG topgrade::runner     > Step "krew"
 2021-06-04T20:12:14.513Z DEBUG topgrade::runner     > Step "gem"
 2021-06-04T20:12:14.514Z DEBUG topgrade::utils      > Detected "/usr/bin/gem" as "gem"
 2021-06-04T20:12:14.514Z DEBUG topgrade::runner     > Step "sheldon"
 2021-06-04T20:12:14.514Z DEBUG topgrade::runner     > Step "rtcl"
 2021-06-04T20:12:14.514Z DEBUG topgrade::runner     > Step "gcloud"
 2021-06-04T20:12:14.514Z DEBUG topgrade::runner     > Step "micro"
 2021-06-04T20:12:14.515Z DEBUG topgrade::runner     > Step "raco"
 2021-06-04T20:12:14.515Z DEBUG topgrade::runner     > Step "App Store"
 2021-06-04T20:12:14.515Z DEBUG topgrade::runner     > Step "System upgrade"

―― 23:12:14 - macOS system update ――――――――――――――――――――――――――――――――――――――――――――――
Finding available software
 2021-06-04T20:12:24.126Z DEBUG topgrade::steps::os::macos > Output { status: ExitStatus(ExitStatus(0)), stdout: "Software Update Tool\n\nFinding available software\n", stderr: "No new software available.\n" }
 2021-06-04T20:12:24.126Z DEBUG topgrade::steps::os::macos > "No new software available.\n"
No new software available.

―― 23:12:24 - Summary ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Brew (ARM): SKIPPED: Cannot find "/opt/homebrew/bin/brew" in PATH
Brew (Intel): OK
Brew Cask (ARM): SKIPPED: Cannot find "/opt/homebrew/bin/brew" in PATH
Brew Cask (Intel): OK
MacPorts: SKIPPED: Cannot find "port" in PATH
yadm: SKIPPED: Cannot find "yadm" in PATH
nix: SKIPPED: Cannot find "nix" in PATH
home-manager: SKIPPED: Cannot find "home-manager" in PATH
asdf: SKIPPED: Cannot find "asdf" in PATH
Git repositories: OK
zr: SKIPPED: Cannot find "zr" in PATH
antibody: SKIPPED: Cannot find "antibody" in PATH
antigen: SKIPPED: Path "/Users/blucky/antigen.zsh" doesn't exist
zplug: SKIPPED: Path "/Users/blucky/.zplug" doesn't exist
zinit: OK
zim: SKIPPED: Path "/Users/blucky/.zim" doesn't exist
oh-my-zsh: OK
fisher: SKIPPED: Cannot find "fish" in PATH
bash-it: SKIPPED: Path "/Users/blucky/.bash_it" doesn't exist
oh-my-fish: SKIPPED: Cannot find "fish" in PATH
fish-plug: SKIPPED: Cannot find "fish" in PATH
tmux: SKIPPED: Path "/Users/blucky/.tmux/plugins/tpm/bin/update_plugins" doesn't exist
TLDR: SKIPPED: Cannot find "tldr" in PATH
pearl: SKIPPED: Cannot find "pearl" in PATH
SDKMAN!: SKIPPED: Path "/Users/blucky/.sdkman/bin/sdkman-init.sh" doesn't exist
apm: SKIPPED: Cannot find "apm" in PATH
fossil: SKIPPED: Cannot find "fossil" in PATH
rustup: OK
.NET: SKIPPED: Cannot find "dotnet" in PATH
choosenim: SKIPPED: Cannot find "choosenim" in PATH
cargo: OK
Flutter: SKIPPED: Cannot find "flutter" in PATH
Emacs: SKIPPED: Cannot find "emacs" in PATH
opam: SKIPPED: Cannot find "opam" in PATH
vcpkg: SKIPPED: Cannot find "vcpkg" in PATH
pipx: OK
pip3: OK
stack: SKIPPED: Cannot find "stack" in PATH
tlmgr: SKIPPED: Cannot find "tlmgr" in PATH
myrepos: SKIPPED: Cannot find "mr" in PATH
jetpack: SKIPPED: Cannot find "jetpack" in PATH
vim: SKIPPED: Path "/Users/blucky/.vim/vimrc" doesn't exist
Neovim: OK
voom: SKIPPED: Cannot find "voom" in PATH
npm: OK
yarn: SKIPPED: Cannot find "yarn" in PATH
deno: SKIPPED: Cannot find "deno" in PATH
composer: SKIPPED: Cannot find "composer" in PATH
krew: SKIPPED: Cannot find "kubectl-krew" in PATH
gem: SKIPPED: Path "/Users/blucky/.gem" doesn't exist
sheldon: SKIPPED: Cannot find "sheldon" in PATH
rtcl: SKIPPED: Cannot find "rupdate" in PATH
gcloud: SKIPPED: Cannot find "gcloud" in PATH
micro: SKIPPED: Cannot find "micro" in PATH
raco: SKIPPED: Cannot find "raco" in PATH
App Store: SKIPPED: Cannot find "mas" in PATH
System upgrade: OK
 2021-06-04T20:12:24.126Z DEBUG topgrade::terminal         > Desktop notification: Topgrade finished sucessfully
```

BLucky-gh commented 3 years ago

Turns out the issue is that it either is an issue with brew cu or it just so happens that all of my casks happen to have a reason not to be updated by brew cu without greedy

slippycheeze commented 3 years ago

side note: I'd personally prefer that topgrade didn't use -a / greedy cask update support. for self-updating casks I'm happy to use the in-app mechanisms. (added for the next person here looking for the feature. :)