Skip to content

Enable/Fix Verbose for core options #44

@Azathothas

Description

@Azathothas

Problem

The --verbose flag needs to work for at least the core cmds, currently it is a guessing game when using some of the options as to what exactly is happening

  • For devs/maintainers, --verbose should be a way to diagnose & debug bugs/problems etc or just to get a better insight at lower level
  • For users, --verbose should be a way to provide additional information when reporting a bug/issue
  • Further, --verbose can also entirely replace --debug (--debug could be repurposed to --verbose + rusts trace)

Expected behavior

  • soar add

  • Should show the metadata or sqlite query + returned table

  • Should show either ghcr_blob, or ghcr_pkg or download_url i.e whatever is being used to download the pkg & from where

  • Should show the http requests (see soar dl below) & response (like brew)

  • Should show the filesystem changes (currently it shows the final binaries and symlinks, but adding a few echo statements through the process would be more helpful)

  • soar del

  • Should show pkg_name, pkg_id, description, version & notes for the pkg that needs to be removed (We have multiple versions of same pkg as well as unrelated pkg that have same name, if we show the basic info, it will prevent accidentally deleting/removing unintended pkgs)

  • Should print/show removed binaries (including symlink), similar to when using soar add

  • Should show reclaimed size

  • Unrelated, but soar del by default should prompt as it is destructive action, it shouldn't work non-interactively unless using --yes

  • soar dl

  • Should show redirect location (like wget without -q) for the full chain until download starts

  • Should show both Client's & Server's HTTP Headers (like httpie or curl -I) for the full chain until download starts

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestp3Low Priority (Maybe a while before it gets done/fixed)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions