sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
564 stars 74 forks source link

Optional "install" of updated version #209

Open bhamail opened 3 years ago

bhamail commented 3 years ago

Issue #208 Update Check implements checking for new updates and notifying the user when they are detected. In some environments, we may be able to install the update if desired via the selfupdater.

cc @bhamail / @DarthHater

bhamail commented 3 years ago

Would likely complicate the brew formula, as I think it would need to rebuild the binary. e.g. passing in compiler flags to rebuild the binary with compiler args to set the packageManager field.

see: https://github.com/Homebrew/homebrew-core/blob/master/Formula/circleci.rb