Add a new file to the stackage
repo called bugs.yaml
, with a very simple format such as:
- package: foo versions: - 1.0.0 - 1.0.1 - == 0.9.* reason: Remote execution hole urls: - https://github.com/foo/foo/issues/51 date: 2016-06-09 # Maybe other metadata fields, like severity and type (security/runtime/compile time)
Define rules for who is allowed to make such additions and how pull requests are handled. Initially, we should likely be very liberal with accepting additions, and become more strict over time as the list grows.
stack update
(or it is implicitly run when an index needs to be updated) it will download the full list of blocked packages (i.e., both the YAML file and Hackage deprecations)stack build
, it will check if any of the versions used in the project are on the blocked list, and will give the user a large warning