|
1 | 1 | You have received all necessary endorsements, and have been added the the 'uploaders' group. |
2 | | -Note that packages cannot be deleted, so be careful. |
3 | 2 |
|
| 3 | +Packages that are uploaded to Hackage are generally expected to follow |
| 4 | +the Package Versioning Policy and have version bounds on all |
| 5 | +dependencies indicating which versions they are known to build with. |
| 6 | +Here are some links that have more information: |
| 7 | + |
| 8 | +https://hackage.haskell.org/upload#versioning_and_curation |
| 9 | +https://pvp.haskell.org/ |
| 10 | + |
| 11 | +Also, here are a few things to keep in mind when uploading to Hackage |
| 12 | +that help keep the ecosystem working reliably for everyone: |
| 13 | + |
| 14 | +1. Hackage is intended to be a permanent record. Therefore uploads |
| 15 | +cannot be changed or removed. |
| 16 | +2. Only upload things that work, are useful to other people, and that |
| 17 | +you intend to maintain. |
| 18 | +3. Use `cabal gen-bounds` to put PVP-compliant version bounds (lower |
| 19 | +AND upper) on ALL your unique dependencies so your package will still |
| 20 | +be buildable years down the road. One important thing to note is that |
| 21 | +you only need to include version bounds once. For example, if you |
| 22 | +depend on the same package in your library and your test suite, you |
| 23 | +only need to put the version bounds for that dependency in one place. |
| 24 | +This keeps the dependency bounds information DRY. |
| 25 | +4. Package candidates CAN be changed, so use them to test things out |
| 26 | +and get everything right before you publish permanently to the main |
| 27 | +index. |
| 28 | + |
| 29 | +Here are a few important resources where you can learn more: |
| 30 | + |
| 31 | +The hackage home page that contains some of the main guidelines for |
| 32 | +Hackage packages: |
| 33 | +https://hackage.haskell.org/ |
| 34 | + |
| 35 | +Information about package candidates can be found here: |
| 36 | +https://hackage.haskell.org/packages/candidates/ |
| 37 | + |
| 38 | +If you have any questions, just let us know at hackage -[email protected] |
| 39 | +and we'll be glad to help. |
| 40 | +
|
| 41 | +Happy coding! |
0 commit comments