pvp
pvp copied to clipboard
Haskell Package Version Policy (PVP)
Haskell Package Version Policy (PVP) Specification
This repository is the home of the specification of Haskell's PVP which together with the Common Architecture for Building Applications and Tools (CABAL) specification provides the foundational framework powering Hackage, Haskell's central package repository.
Proposing Changes
The PVP evolves over time to adapt to changing requirements of the community. Everyone is invited to propose and discuss changes to the policy.
Formally, the PVP is maintained by the Core Libraries Committee together with the Hackage Trustees.
Please review the guidelines for contributing.
Building the http://pvp.haskell.org site HTML
The PVP site's static HTML files are generated by Hakyll. In order to build the site locally, you need at least cabal
2.0 or later, as well as GHC 8.0 or GHC 8.2.
You can either use the provided shell script ./pvp-site.sh
or (with cabal
2.1+) invoke cabal new-run pvp-site
directly.
You can either run
./pvp-site.sh rebuild
./pvp-site.sh server
to regenerate the HTML files, and then start a local HTTP server to preview the changes.
Alternatively, you can use Hakyll's preview mode which automatically rebuilds the HTML files when it detects changes with
./pvp-site.sh watch