r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

Topgrade skips NPM #831

Closed ghost closed 2 years ago

ghost commented 2 years ago

What did you expect to happen? I expected node package manager (npm) to update

What actually happened? it was skipped, it said node package manager while upgrading but it just instantly skipped to the next thing to update

Additional details: openSUSE Tumbleweed x86 I installed topgrade through cargo

 2022-01-12T18:24:08.519Z DEBUG topgrade::config > Configuration at /home/BIMM/.config/topgrade.toml
 2022-01-12T18:24:08.519Z DEBUG topgrade::config > Loaded configuration: ConfigFile { pre_commands: Some({}), post_commands: None, commands: Some({}), git_repos: None, predefined_git_repos: None, disable: Some([GitRepos]), 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, arch_package_manager: None, show_arch_news: None, trizen_arguments: None, dnf_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, rpm_ostree: 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 }), npm: Some(NPM { use_sudo: None }), vim: None, firmware: Some(Firmware { upgrade: None }), vagrant: None, flatpak: Some(Flatpak { use_sudo: None }) }
 2022-01-12T18:24:08.519Z DEBUG topgrade::utils  > Detected "/usr/bin/notify-send" as "notify-send"
 2022-01-12T18:24:08.519Z DEBUG topgrade         > Version: 8.1.2
 2022-01-12T18:24:08.519Z DEBUG topgrade         > OS: x86_64-unknown-linux-gnu
 2022-01-12T18:24:08.519Z DEBUG topgrade         > Args { inner: ["topgrade", "-v"] }
 2022-01-12T18:24:08.519Z DEBUG topgrade         > Binary path: Ok("/home/BIMM/.cargo/bin/topgrade")
 2022-01-12T18:24:08.519Z DEBUG topgrade         > Self Update: false
 2022-01-12T18:24:08.519Z DEBUG topgrade::utils  > Detected "/usr/bin/git" as "git"
 2022-01-12T18:24:08.519Z DEBUG topgrade::utils  > Cannot find "doas"
 2022-01-12T18:24:08.520Z DEBUG topgrade::utils  > Detected "/usr/bin/sudo" as "sudo"
 2022-01-12T18:24:08.520Z DEBUG topgrade::utils  > Cannot find "pwsh"
 2022-01-12T18:24:08.520Z DEBUG topgrade::utils  > Cannot find "powershell"
 2022-01-12T18:24:08.520Z DEBUG topgrade::runner > Step "System update"

image

MCOfficer commented 2 years ago

Seems like you cut off part of the --dry-run output, can you post the full log?

ghost commented 2 years ago

sure!

―― 19:20:24 - System update ――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /usr/bin/sudo zypper refresh
Dry running: /usr/bin/sudo zypper dist-upgrade

―― 19:20:24 - oh-my-zsh ――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Pulling custom plugins and themes
Would pull /home/BIMM/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
Would pull /home/BIMM/.oh-my-zsh/custom/plugins/zsh-autosuggestions
Would pull /home/BIMM/.oh-my-zsh/custom/themes/powerlevel10k
Dry running: zsh /home/BIMM/.oh-my-zsh/tools/upgrade.sh

―― 19:20:24 - rustup ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /home/BIMM/.cargo/bin/rustup self update
Dry running: /home/BIMM/.cargo/bin/rustup update

―― 19:20:24 - Cargo ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /home/BIMM/.cargo/bin/cargo-install-update install-update --git --all

―― 19:20:24 - pip3 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /home/BIMM/.local/bin/pip3 install --upgrade --user pip

―― 19:20:24 - Node Package Manager ―――――――――――――――――――――――――――――――――――――――――――――

―― 19:20:24 - Firmware upgrades ――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /usr/bin/fwupdmgr refresh
Dry running: /usr/bin/fwupdmgr get-updates

―― 19:20:24 - Summary ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
System update: OK
oh-my-zsh: OK
rustup: OK
cargo: OK
pip3: OK
Firmware upgrades: OK
MCOfficer commented 2 years ago

Thank you, but... can you post the same with --verbose? That's on me because i forgot to ask, sorry.

ghost commented 2 years ago
2022-01-12T19:25:12.119Z DEBUG topgrade::config > Configuration at /home/BIMM/.config/topgrade.toml
 2022-01-12T19:25:12.119Z DEBUG topgrade::config > Loaded configuration: ConfigFile { pre_commands: Some({}), post_commands: None, commands: Some({}), git_repos: None, predefined_git_repos: None, disable: Some([GitRepos]), 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, arch_package_manager: None, show_arch_news: None, trizen_arguments: None, dnf_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, rpm_ostree: 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 }), npm: Some(NPM { use_sudo: None }), vim: None, firmware: Some(Firmware { upgrade: None }), vagrant: None, flatpak: Some(Flatpak { use_sudo: None }) }
 2022-01-12T19:25:12.119Z DEBUG topgrade::utils  > Detected "/usr/bin/notify-send" as "notify-send"
 2022-01-12T19:25:12.119Z DEBUG topgrade         > Version: 8.1.2
 2022-01-12T19:25:12.119Z DEBUG topgrade         > OS: x86_64-unknown-linux-gnu
 2022-01-12T19:25:12.119Z DEBUG topgrade         > Args { inner: ["topgrade", "--dry-run", "--verbose"] }
 2022-01-12T19:25:12.119Z DEBUG topgrade         > Binary path: Ok("/home/BIMM/.cargo/bin/topgrade")
 2022-01-12T19:25:12.120Z DEBUG topgrade         > Self Update: false
 2022-01-12T19:25:12.120Z DEBUG topgrade::utils  > Detected "/usr/bin/git" as "git"
 2022-01-12T19:25:12.120Z DEBUG topgrade::utils  > Cannot find "doas"
 2022-01-12T19:25:12.120Z DEBUG topgrade::utils  > Detected "/usr/bin/sudo" as "sudo"
 2022-01-12T19:25:12.120Z DEBUG topgrade::utils  > Cannot find "pwsh"
 2022-01-12T19:25:12.120Z DEBUG topgrade::utils  > Cannot find "powershell"
 2022-01-12T19:25:12.120Z DEBUG topgrade::runner > Step "System update"

―― 19:25:12 - System update ――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /usr/bin/sudo zypper refresh
Dry running: /usr/bin/sudo zypper dist-upgrade
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "etc-update"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "pacdiff"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "Brew"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "yadm"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "nix"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "home-manager"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "asdf"
 2022-01-12T19:25:12.121Z DEBUG topgrade::runner > Step "pkgin"
 2022-01-12T19:25:12.121Z DEBUG topgrade::utils  > Path "/home/BIMM/.config/emacs" doesn't exist
 2022-01-12T19:25:12.121Z DEBUG topgrade::utils  > Path "/home/BIMM/.emacs.d" doesn't exist
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > /home/BIMM/.doom.d does not exists
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > /home/BIMM/.vim does not exists
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > /home/BIMM/.config/nvim does not exists
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > /home/BIMM/.ideavimrc does not exists
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > /home/BIMM/.intellimacs does not exists
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > /home/BIMM/.zshrc is a file. Checking /home/BIMM
 2022-01-12T19:25:12.121Z DEBUG topgrade::steps::git > Checking if /home/BIMM is a git repository
 2022-01-12T19:25:12.126Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(32768)), stdout: "", stderr: "fatal: not a git repository (or any parent up to mount point /)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n" }
 2022-01-12T19:25:12.127Z DEBUG topgrade::steps::git > /home/BIMM/.tmux does not exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::steps::git > /home/BIMM/.config/fish does not exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::steps::git > /home/BIMM/.config/openbox does not exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::steps::git > /home/BIMM/.config/bspwm does not exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::steps::git > /home/BIMM/.config/i3 does not exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::steps::git > /home/BIMM/.config/sway does not exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::runner     > Step "zr"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.127Z DEBUG topgrade::runner     > Step "antibody"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.127Z DEBUG topgrade::runner     > Step "antigen"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Path "/home/BIMM/.zshrc" exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::runner     > Step "zplug"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Path "/home/BIMM/.zshrc" exists
 2022-01-12T19:25:12.127Z DEBUG topgrade::runner     > Step "zinit"
 2022-01-12T19:25:12.127Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.128Z DEBUG topgrade::utils      > Path "/home/BIMM/.zshrc" exists
 2022-01-12T19:25:12.128Z DEBUG topgrade::runner     > Step "zim"
 2022-01-12T19:25:12.128Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.135Z TRACE topgrade::executor   > Output of "zsh" "-c" "[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}": Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }
 2022-01-12T19:25:12.135Z DEBUG topgrade::runner     > Step "oh-my-zsh"
 2022-01-12T19:25:12.135Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-12T19:25:12.135Z DEBUG topgrade::utils      > Path "/home/BIMM/.oh-my-zsh" exists

―― 19:25:12 - oh-my-zsh ――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2022-01-12T19:25:12.144Z TRACE topgrade::executor   > Output of "zsh" "-c" "test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM": Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }
 2022-01-12T19:25:12.144Z DEBUG topgrade::steps::zsh > Running zsh returned exit status: 1: . Using default path: /home/BIMM/.oh-my-zsh/custom
 2022-01-12T19:25:12.144Z DEBUG topgrade::steps::zsh > oh-my-zsh custom dir: /home/BIMM/.oh-my-zsh/custom
 2022-01-12T19:25:12.144Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom is a git repository
 2022-01-12T19:25:12.149Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh\n", stderr: "" }
 2022-01-12T19:25:12.150Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/plugins is a git repository
 2022-01-12T19:25:12.155Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh\n", stderr: "" }
 2022-01-12T19:25:12.155Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/plugins/example is a git repository
 2022-01-12T19:25:12.161Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh\n", stderr: "" }
 2022-01-12T19:25:12.161Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting is a git repository
 2022-01-12T19:25:12.165Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting\n", stderr: "" }
 2022-01-12T19:25:12.166Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/plugins/zsh-autosuggestions is a git repository
 2022-01-12T19:25:12.171Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh/custom/plugins/zsh-autosuggestions\n", stderr: "" }
 2022-01-12T19:25:12.171Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/themes is a git repository
 2022-01-12T19:25:12.177Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh\n", stderr: "" }
 2022-01-12T19:25:12.177Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/themes/powerlevel10k is a git repository
 2022-01-12T19:25:12.183Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh/custom/themes/powerlevel10k\n", stderr: "" }
 2022-01-12T19:25:12.183Z DEBUG topgrade::steps::git > /home/BIMM/.oh-my-zsh/custom/themes/example.zsh-theme is a file. Checking /home/BIMM/.oh-my-zsh/custom/themes
 2022-01-12T19:25:12.183Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom/themes is a git repository
 2022-01-12T19:25:12.191Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh\n", stderr: "" }
 2022-01-12T19:25:12.191Z DEBUG topgrade::steps::git > /home/BIMM/.oh-my-zsh/custom/example.zsh is a file. Checking /home/BIMM/.oh-my-zsh/custom
 2022-01-12T19:25:12.191Z DEBUG topgrade::steps::git > Checking if /home/BIMM/.oh-my-zsh/custom is a git repository
 2022-01-12T19:25:12.194Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/BIMM/.oh-my-zsh\n", stderr: "" }
Pulling custom plugins and themes
Would pull /home/BIMM/.oh-my-zsh/custom/themes/powerlevel10k
Would pull /home/BIMM/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
Would pull /home/BIMM/.oh-my-zsh/custom/plugins/zsh-autosuggestions
Dry running: zsh /home/BIMM/.oh-my-zsh/tools/upgrade.sh
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "fisher"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "bash-it"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "oh-my-fish"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "fish-plug"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "tmux"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "TLDR"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "pearl"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "Gnome Shell Extensions"
 2022-01-12T19:25:12.194Z DEBUG topgrade::utils      > Detected "/usr/bin/gdbus" as "gdbus"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "SDKMAN!"
 2022-01-12T19:25:12.194Z DEBUG topgrade::utils      > Detected "/usr/bin/bash" as "bash"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "apm"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "fossil"
 2022-01-12T19:25:12.194Z DEBUG topgrade::runner     > Step "rustup"
 2022-01-12T19:25:12.194Z DEBUG topgrade::utils      > Detected "/home/BIMM/.cargo/bin/rustup" as "rustup"

―― 19:25:12 - rustup ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /home/BIMM/.cargo/bin/rustup self update
Dry running: /home/BIMM/.cargo/bin/rustup update
 2022-01-12T19:25:12.195Z DEBUG topgrade::runner     > Step ".NET"
 2022-01-12T19:25:12.195Z DEBUG topgrade::runner     > Step "choosenim"
 2022-01-12T19:25:12.195Z DEBUG topgrade::runner     > Step "cargo"
 2022-01-12T19:25:12.195Z DEBUG topgrade::utils      > Path "/home/BIMM/.cargo" exists
 2022-01-12T19:25:12.195Z DEBUG topgrade::utils      > Detected "/home/BIMM/.cargo/bin/cargo" as "cargo"
 2022-01-12T19:25:12.195Z DEBUG topgrade::utils      > Path "/home/BIMM/.cargo/.crates.toml" exists

―― 19:25:12 - Cargo ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2022-01-12T19:25:12.195Z DEBUG topgrade::utils      > Detected "/home/BIMM/.cargo/bin/cargo-install-update" as "cargo-install-update"
Dry running: /home/BIMM/.cargo/bin/cargo-install-update install-update --git --all
 2022-01-12T19:25:12.195Z DEBUG topgrade::runner     > Step "Flutter"
 2022-01-12T19:25:12.195Z DEBUG topgrade::runner     > Step "Emacs"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "opam"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "vcpkg"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "pipx"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "pip3"
 2022-01-12T19:25:12.196Z DEBUG topgrade::utils      > Detected "/home/BIMM/.local/bin/pip3" as "pip3"

―― 19:25:12 - pip3 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /home/BIMM/.local/bin/pip3 install --upgrade --user pip
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "stack"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "tlmgr"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "myrepos"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "chezmoi"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "jetpack"
 2022-01-12T19:25:12.196Z DEBUG topgrade::runner     > Step "vim"
 2022-01-12T19:25:12.196Z DEBUG topgrade::utils      > Detected "/usr/bin/vim" as "vim"
 2022-01-12T19:25:12.203Z TRACE topgrade::executor   > Output of "/usr/bin/vim" "--version": Output { status: ExitStatus(unix_wait_status(0)), stdout: "VIM - Vi IMproved 8.2 (2019 Dec 12)\nIncluded patches: 1-3995\nCompiled by 'http://www.opensuse.org/'\nHuge version without GUI.  Features included (+) or not (-):\n+acl               +file_in_path      +mouse_urxvt       -tag_any_white\n+arabic            +find_in_path      +mouse_xterm       -tcl\n+autocmd           +float             +multi_byte        +termguicolors\n+autochdir         +folding           +multi_lang        +terminal\n-autoservername    -footer            -mzscheme          +terminfo\n-balloon_eval      +fork()            +netbeans_intg     +termresponse\n+balloon_eval_term +gettext           +num64             +textobjects\n-browse            -hangul_input      +packages          +textprop\n++builtin_terms    +iconv             +path_extra        +timers\n+byte_offset       +insert_expand     +perl              +title\n+channel           +ipv6              +persistent_undo   -toolbar\n+cindent           +job               +popupwin          +user_commands\n-clientserver      +jumplist          +postscript        +vartabs\n-clipboard         +keymap            +printer           +vertsplit\n+cmdline_compl     +lambda            +profile           +vim9script\n+cmdline_hist      +langmap           -python            +viminfo\n+cmdline_info      +libcall           +python3/dyn       +virtualedit\n+comments          +linebreak         +quickfix          +visual\n+conceal           +lispindent        +reltime           +visualextra\n+cryptv            +listcmds          +rightleft         +vreplace\n+cscope            +localmap          +ruby/dyn          +wildignore\n+cursorbind        +lua/dyn           +scrollbind        +wildmenu\n+cursorshape       +menu              +signs             +windows\n+dialog_con        +mksession         +smartindent       +writebackup\n+diff              +modify_fname      -sodium            -X11\n+digraphs          +mouse             -sound             -xfontset\n-dnd               -mouseshape        +spell             -xim\n-ebcdic            +mouse_dec         +startuptime       -xpm\n+emacs_tags        -mouse_gpm         +statusline        -xsmp\n+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard\n+ex_extra          +mouse_netterm     +syntax            -xterm_save\n+extra_search      +mouse_sgr         +tag_binary        \n-farsi             -mouse_sysmouse    -tag_old_static    \n   system vimrc file: \"/etc/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 -O2 -Wall -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -Wall -pipe -fno-strict-aliasing -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 \nLinking: gcc -L. -flto=auto -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.34.0/x86_64-linux-thread-multi/CORE -flto=auto -L/usr/local/lib -Wl,--as-needed -o vim -lm -lselinux -ltinfo -lacl -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.34.0/x86_64-linux-thread-multi/CORE -L/usr/local/lib64 -fstack-protector-strong -L/usr/lib/perl5/5.34.0/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt -lpthread \n", stderr: "" }
 2022-01-12T19:25:12.203Z DEBUG topgrade::runner     > Step "Neovim"
 2022-01-12T19:25:12.203Z DEBUG topgrade::utils      > Detected "/usr/bin/nvim" as "nvim"
 2022-01-12T19:25:12.203Z DEBUG topgrade::runner     > Step "voom"
 2022-01-12T19:25:12.203Z DEBUG topgrade::runner     > Step "npm"
 2022-01-12T19:25:12.203Z DEBUG topgrade::utils      > Detected "/usr/bin/npm" as "npm"

―― 19:25:12 - Node Package Manager ―――――――――――――――――――――――――――――――――――――――――――――
 2022-01-12T19:25:12.525Z TRACE topgrade::executor   > Output of "/usr/bin/npm" "root" "-g": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/usr/local/lib/node_modules\n", stderr: "" }
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "pnpm"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "deno"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "composer"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "krew"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "gem"
 2022-01-12T19:25:12.525Z DEBUG topgrade::utils      > Detected "/usr/bin/gem" as "gem"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "haxelib"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "sheldon"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "rtcl"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "bin"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "gcloud"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "micro"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "raco"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "spicetify"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "Flatpak"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "snap"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "pacstall"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "pihole"
 2022-01-12T19:25:12.525Z DEBUG topgrade::runner     > Step "Firmware upgrades"
 2022-01-12T19:25:12.525Z DEBUG topgrade::utils      > Detected "/usr/bin/fwupdmgr" as "fwupdmgr"
 2022-01-12T19:25:12.527Z TRACE topgrade::executor   > Output of "uname" "-r": Output { status: ExitStatus(unix_wait_status(0)), stdout: "5.15.12-1-default\n", stderr: "" }
 2022-01-12T19:25:12.527Z DEBUG topgrade::steps::os::linux > Uname output: 5.15.12-1-default

―― 19:25:12 - Firmware upgrades ――――――――――――――――――――――――――――――――――――――――――――――――
Dry running: /usr/bin/fwupdmgr refresh
Dry running: /usr/bin/fwupdmgr get-updates
 2022-01-12T19:25:12.527Z DEBUG topgrade::runner           > Step "Restarts"

―― 19:25:12 - Summary ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
System update: OK
etc-update: SKIPPED: Cannot find "etc-update" in PATH
pacdiff: SKIPPED: Cannot find "pacdiff" in PATH
Brew: SKIPPED: Cannot find "brew" 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
pkgin: SKIPPED: Cannot find "pkgin" in PATH
zr: SKIPPED: Cannot find "zr" in PATH
antibody: SKIPPED: Cannot find "antibody" in PATH
antigen: SKIPPED: Path "/home/BIMM/antigen.zsh" doesn't exist
zplug: SKIPPED: Path "/home/BIMM/.zplug" doesn't exist
zinit: SKIPPED: Path "/home/BIMM/.zinit" doesn't exist
zim: SKIPPED: Path "/home/BIMM/.zim" doesn't exist
oh-my-zsh: OK
fisher: SKIPPED: Cannot find "fish" in PATH
bash-it: SKIPPED: Path "/home/BIMM/.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 "/home/BIMM/.tmux/plugins/tpm/bin/update_plugins" doesn't exist
TLDR: SKIPPED: Cannot find "tldr" in PATH
pearl: SKIPPED: Cannot find "pearl" in PATH
Gnome Shell Extensions: SKIPPED: Desktop doest not appear to be gnome
SDKMAN!: SKIPPED: Path "/home/BIMM/.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: SKIPPED: Cannot find "pipx" in PATH
pip3: OK
stack: SKIPPED: Cannot find "stack" in PATH
tlmgr: SKIPPED: tlmgr must be explicity enabled in the configuration to run in Linux
myrepos: SKIPPED: Cannot find "mr" in PATH
chezmoi: SKIPPED: Cannot find "chezmoi" in PATH
jetpack: SKIPPED: Cannot find "jetpack" in PATH
vim: SKIPPED: Path "/home/BIMM/.vim/vimrc" doesn't exist
Neovim: SKIPPED: Path "/home/BIMM/.config/nvim/init.lua" doesn't exist
voom: SKIPPED: Cannot find "voom" in PATH
npm: SKIPPED: NPM root is owned by another user which is not the current user. Set use_sudo = true under the NPM section in your configuration to run NPM as sudo
pnpm: SKIPPED: Cannot find "pnpm" 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 "/home/BIMM/.gem" doesn't exist
haxelib: SKIPPED: Cannot find "haxelib" in PATH
sheldon: SKIPPED: Cannot find "sheldon" in PATH
rtcl: SKIPPED: Cannot find "rupdate" in PATH
bin: SKIPPED: Cannot find "bin" in PATH
gcloud: SKIPPED: Cannot find "gcloud" in PATH
micro: SKIPPED: Cannot find "micro" in PATH
raco: SKIPPED: Cannot find "raco" in PATH
spicetify: SKIPPED: Cannot find "spicetify" in PATH
Flatpak: SKIPPED: Cannot find "flatpak" in PATH
snap: SKIPPED: Cannot find "snap" in PATH
pacstall: SKIPPED: Cannot find "pacstall" in PATH
pihole: SKIPPED: Cannot find "pihole" in PATH
Firmware upgrades: OK
Restarts: SKIPPED: Cannot find "needrestart" in PATH
 2022-01-12T19:25:12.527Z DEBUG topgrade::terminal         > Desktop notification: Topgrade finished successfully
r-darwish commented 2 years ago

It's definitely unwanted to show the separator and not do anything, so the solution would be either not to show it at all, or display the skip reason that appear in the verbose log because it's very hard to guess it:

npm: SKIPPED: NPM root is owned by another user which is not the current user. Set use_sudo = true under the NPM section in your configuration to run NPM as sudo

Not sure what's the right solution here.