Skip to content

v0.10.1

Latest

Choose a tag to compare

@emiliano-go emiliano-go released this 29 Jul 23:25
96e03ba

TL;DR

Fixes four bugs: nested PKGBUILD parameter expansion, __seed__ sentinel leaking into listings, 0/100 Low shown for unanalyzed packages, and empty/unresolved version strings displayed as unresolved.
Adds forget command and reworks the review output with rich Panel/Table rendering and improved progress bars.

Added

  • forget command.
    trustsight forget <package>... removes packages from local database with --prune, --dry-run, --yes.
    Cascading deletes across 7 tables.
  • AUR verification on inspect.
    Verifies package exists in AUR before analysis with graceful RPC fallback.

Fixed

  • Nested parameter expansion in PKGBUILD variables.
    resolve_expansions(), _expand_one(), _glob_to_regex(), _strip_affix().
  • __seed__ sentinel excluded.
    get_all_packages(), get_package_id(), get_package(); upsert_package() raises ValueError for reserved names.
  • Unanalyzed packages show for score/risk instead of 0/100 Low.
  • Empty/unresolved version strings display as unresolved across all 6 display paths.

Changed

  • Review output reworked.
    Results now render as rich Panel components with structured inner Table rows instead of raw indented text.
  • Progress bars improved.
    Metadata download shows DownloadColumn/TransferSpeedColumn; all progress bars use refresh=True for smoother updates.
  • Console(force_terminal=True) for consistent rich output in piped contexts.
  • Test fixture import.
    tests/conftest.py inserts src/ into sys.path.

Stats

755 tests (22 files), 0 failures, 0 skipped.