5 releases

0.9.3 Jul 7, 2024
0.9.2 Jun 22, 2024
0.9.1 Jun 9, 2024
0.9.0 May 10, 2024
0.8.0 May 5, 2024

#216 in Cargo plugins

BSD-3-Clause

15KB
378 lines

cvefixer

Fix all vulnerabilities that are fixed! This Rust app update your Linux computer's many little applications, including Rust crates, Flatpak packages, Bun, and more.

Requirements

Rust!

Installation

cargo install cvefixer

Usage

Usage: cvefixer [COMMAND]

Commands:
  all      Run all update tasks
  bun      Update Bun
  deno     Update Deno
  flatpak  Update Flatpak packages
  hooks    Run configured hook scripts
  os       Update OS packages (supports RHEL-like, Gentoo, Ubuntu)
  rust     Update Rust and Cargo packages
  ruby     Update Ruby and Gems
  test     Test command for development
  help     Print this message or the help of the given subcommand(s)

Configuration

You can define hook scripts to be run by cvefixer all and cvefixer hooks, specified as follows in a JSON config file:

{
  "hooks": [
    "/home/janie/.local/bin/update_git_repos.sh"
  ]
}

cvefixer looks for the config file in the following locations, in random order:

  • $HOME/.config/cvefixer/cvefixer.json
  • $HOME/.config/cvefixer/config.json
  • $HOME/.config/cvefixer.json
  • $HOME/cvefixer.json
  • $HOME/.cvefixer.json

Dependencies

~7–17MB
~252K SLoC