Skip to content

Commit dc7c84a

Browse files
committed
Update CONTRIBUTING and MAINTAINER_GUIDE
1 parent 74199d3 commit dc7c84a

File tree

2 files changed

+39
-31
lines changed

2 files changed

+39
-31
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@ label. Issues that are suitable for newcomers to the codebase have the
6767
[newcomer](https://github.com/commercialhaskell/stack/issues?q=is%3Aopen+is%3Aissue+label%3A%22awaiting+pr%22+label%3Anewcomer)
6868
label. Best to post a comment to the issue before you start work, in case anyone
6969
has already started.
70+
71+
Please include a
72+
[ChangeLog](https://github.com/commercialhaskell/stack/blob/master/ChangeLog.md)
73+
entry and
74+
[documentation](https://github.com/commercialhaskell/stack/tree/master/doc/)
75+
updates with your pull request.

doc/MAINTAINER_GUIDE.md

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,47 @@
55
The following should be tested minimally before a release is considered good
66
to go:
77

8-
* After GHC 8.0: switch to Debian 8 and CentOS 6.7 Vagrant boxes for building Stack
9-
binaries (to match GHC bindists) and drop support for Debian 7.
8+
* After GHC 8.0: maybe switch to Debian 8 and CentOS 6.7 Vagrant boxes for
9+
building Stack binaries (to match GHC bindists) and drop support for Debian 7.
1010
* Ensure `release` and `stable` branches merged to `master`
11-
* Integration tests pass on a representative sample of platforms: `stack install
12-
--pedantic && stack test --pedantic --flag stack:integration-tests` . The actual
13-
release script will perform a more thorough test for every platform/variant
14-
prior to uploading, so this is just a pre-check
15-
* Ensure `stack haddock` works
11+
* Integration tests pass on a representative Windows, Mac OS X, and Linux (Linux
12+
is handled by Jenkins automatically): `stack install --pedantic && stack test
13+
--pedantic --flag stack:integration-tests` . The actual release script will
14+
perform a more thorough test for every platform/variant prior to uploading, so
15+
this is just a pre-check
16+
* Ensure `stack haddock` works (Travis CI now does this)
1617
* Stack builds with `stack-7.8.yaml` (Travis CI now does this)
1718
* stack can build the wai repo
1819
* Running `stack build` a second time on either stack or wai is a no-op
1920
* Build something that depends on `happy` (suggestion: `hlint`), since `happy`
2021
has special logic for moving around the `dist` directory
21-
* Check for any important changes that missed getting an entry in Changelog
22-
* In release candidate branch:
23-
* Bump the version number (to even second-to-last component) in the .cabal
24-
file
22+
* In master branch:
23+
* stack.cabal: bump the version number (to next even third component)
24+
* ChangeLog: rename the "unreleased changes" section to the new version
25+
* Cut a release candidate branch from master
26+
* In master branch:
27+
* stack.cabal: bump version to next odd third component
28+
* Changelog: add new "unreleased changes" section
29+
* stack.yaml: bump to use latest LTS version
30+
* In RC branch:
2531
* Update the ChangeLog:
26-
* Rename the "unreleased changes" section to the new version
32+
* Check for any important changes that missed getting an entry in Changelog
2733
* Check for any entries that snuck into the previous version's changes
2834
due to merges
29-
* In master branch:
30-
* Bump version to next odd second-to-last component
31-
* Add new "unreleased changes" section in changelog
32-
* Bump to use latest LTS version
33-
* Review documentation for any changes that need to be made
34-
* Search for old Stack version, unstable stack version, and the next
35-
"obvious" version in sequence (if doing a non-obvious jump) and replace
36-
with new version
37-
* Look for any links to "latest" documentation, replace with version tag
38-
* Ensure all inter-doc links use `.html` extension (not `.md`)
39-
* Ensure all documentation pages listed in `doc/index.rst`
40-
* Check that any new Linux distribution versions added to
41-
`etc/scripts/release.hs` and `etc/scripts/vagrant-releases.sh`
42-
* Check that no new entries need to be added to
43-
[releases.yaml](https://github.com/fpco/stackage-content/blob/master/stack/releases.yaml),
44-
[install_and_upgrade.md](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md),
45-
and
46-
[README.md](https://github.com/commercialhaskell/stack/blob/master/README.md)
35+
* Review documentation for any changes that need to be made
36+
* Search for old Stack version, unstable stack version, and the next
37+
"obvious" version in sequence (if doing a non-obvious jump) and replace
38+
with new version
39+
* Look for any links to "latest" documentation, replace with version tag
40+
* Ensure all inter-doc links use `.html` extension (not `.md`)
41+
* Ensure all documentation pages listed in `doc/index.rst`
42+
* Check that any new Linux distribution versions added to
43+
`etc/scripts/release.hs` and `etc/scripts/vagrant-releases.sh`
44+
* Check that no new entries need to be added to
45+
[releases.yaml](https://github.com/fpco/stackage-content/blob/master/stack/releases.yaml),
46+
[install_and_upgrade.md](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md),
47+
and
48+
[README.md](https://github.com/commercialhaskell/stack/blob/master/README.md)
4749

4850
## Release process
4951

@@ -81,7 +83,7 @@ for requirements to perform the release, and more details about the tool.
8183

8284
* Publish Github release
8385

84-
* Upload package to Hackage: `stack upload . --pvp-bounds=both`
86+
* Upload package to Hackage: `stack upload .`
8587

8688
* Upload haddocks to Hackage: `etc/scripts/upload-haddocks.sh`
8789

0 commit comments

Comments
 (0)