1# Contributing Guidelines
3Contributions are very welcome! To hack on the github version, clone the
4repository. You can use `cabal`:
7./scripts/start-sandbox.sh # Initialize the sandbox and add-source the packages
8./scripts/test-all.sh # Run all the tests
14stack setup # Downloads and installs a proper GHC version if necessary
15stack build # Install and build packages
16stack test # Run all the tests
21./scripts/generate-nix-files.sh # Get up-to-date shell.nix files
30- Upper and lower bounds for packages
32- -Werror-compatible (for both 7.8 and 7.10)
34Though we aren't sticklers for style, the `.stylish-haskell.yaml` and `HLint.hs`
35files in the repository provide a good baseline for consistency.
37Please include a description of the changes in your PR in the `CHANGELOG.md` of
38the packages you've changed. And of course, write tests!
42We try to give timely reviews to PRs that pass CI. If CI for your PR fails, we
43may close the PR if it has been open for too long (though you should feel free
44to reopen when the issues have been fixed).
46We require two +1 from the maintainers of the repo. If you feel like there has
47not been a timely response to a PR, you can ping the Maintainers group (with
48`@haskell-servant/maintainers`).
52We encourage people to experiment with new combinators and instances - it is
53one of the most powerful ways of using `servant`, and a wonderful way of
54getting to know it better. If you do write a new combinator, we would love to
55know about it! Either hop on #servant on freenode and let us know, or open an
56issue with the `news` tag (which we will close when we read it).
58As for adding them to the main repo: maintaining combinators can be expensive,
59since official combinators must have instances for all classes (and new classes
60come along fairly frequently). We therefore have to be quite selective about
61those that we accept. If you're considering writing a new combinator, open an
62issue to discuss it first! (You could release your combinator as a separate
68The main benefit of having a new class and package in the main servant repo is
69that we get to see via CI whether changes to other packages break the build.
70Open an issue to discuss whether a package should be added to the main repo. If
71we decide that it can, you can still keep maintainership over it.
73Whether or not you want your package to be in the repo, create an issue with
74the `news` label if you make a new package so we can know about it!
78We are currently moving to a more aggresive release policy, so that you can get
79what you contribute from Hackage fairly soon. However, note that prior to major
80releases it may take some time in between releases.
82## Reporting security issues
84Please email haskell-servant-maintainers AT googlegroups DOT com. This group is
85private, and accessible only to known maintainers. We will then discuss how to
86proceed. Please do not make the issue public before we inform you that we have
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list