git.iko.soy/typeable/servant
on v0.16.2 help sign in
typeable/servant/README.md
61 lines 2.6 kB history raw
1# servant - A Type-Level Web DSL
3![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png)
5## Getting Started
7We have a [tutorial](http://docs.servant.dev/en/stable/tutorial/index.html) that
8introduces the core features of servant. After this article, you should be able
9to write your first servant webservices, learning the rest from the haddocks'
10examples.
12The central documentation can be found [here](http://docs.servant.dev/).
13Other blog posts, videos and slides can be found on the
14[website](http://www.servant.dev/).
16If you need help, drop by the IRC channel (#servant on freenode) or [mailing
17list](https://groups.google.com/forum/#!forum/haskell-servant).
19## Contributing
21See `CONTRIBUTING.md`
23## Release process outline (by phadej)
25- Update changelog and bump versions in `master`
26 - `git log --oneline v0.12.. | grep 'Merge pull request'` is a good starting point (use correct previous release tag)
27- Create a release branch, e.g. `release-0.13`
28 - Release branch is useful for backporting fixes from `master`
29- Smoke test in [`servant-universe`](https://github.com/phadej/servant-universe)
30 - `git submodule foreach git checkout master` and `git submodule foreach git pull` to get newest of everything.
31 - `cabal new-build --enable-tests all` to verify that everything builds, and `cabal new-test all` to run tests
32 - It's a good idea to separate these steps, as tests often pass, if they compile :)
33 - See `cabal.project` to selectively `allow-newer`
34 - If some packages are broken, on your discretisation there are two options:
35 - Fix them and make PRs: it's good idea to test against older `servant` version too.
36 - Temporarily comment out broken package
37 - If you make a commit for `servant-universe`, you can use it as submodule in private projects to test even more
38- When ripples are cleared out:
39 - `git tag -s` the release
40 - `git push --tags`
41 - `cabal sdist` and `cabal upload`
43## travis
45`.travis.yml` is generated using `make-travis-yml` tool, in
46[multi-ghc-travis](https://github.com/haskell-hvr/multi-ghc-travis) repository.
48To regenerate the script use (*note:* atm you need to comment `doc/cookbook/` packages).
50```
51runghc ~/Documents/other-haskell/multi-ghc-travis/make_travis_yml_2.hs regenerate
52```
54In case Travis jobs fail due failing build of dependency, you can temporarily
55add `constraints` to the `cabal.project`, and regenerate the `.travis.yml`.
56For example, the following will disallow single `troublemaker-13.37` package version:
58```
59constraints:
60 troublemaker <13.37 && > 13.37
61```