Library submissions/NewDraft

From HaskellWiki
< Library submissions
Revision as of 10:44, 14 January 2011 by Simonmar (talk | contribs) (proposed new policy)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Core Library policies

The following packages form the core libraries. They are a subset of the packages in the Haskell Platform, and define basic APIs that are expected to be available in any Haskell implementation:

Policies for development, and community involvement

Core libraries are particularly important, and as such we apply some (lightweight) policies to their development. In the past we used the Library_submissions process, but that was deemed to hamper productivity too much. The new policy puts more emphasis on leadership and empowers individual maintainers to make changes, while still allowing the community to make feedback, contributions, and proposals.

  • Each core package has a maintainer, or small group of maintainers, who have commit access to the package.
  • Commit logs will be sent to the libraries list, so that the community can keep an eye on changes and comment.
  • Maintainers commit changes to the package. However:
    • Every API change must be described precisely in the commit log
    • Non-trivial API changes should be discussed on the libraries mailing list prior to making the change. The maintiner still has ultimate say in what changes are made, but the community has a change to comment on major and breaking changes.
    • Backwards compatibility is important to many users. API changes are expected to retain backwards compatibility wherever possible. However, from time to time we may decide to have major revisions which are explicitly not backwards compatible; in these cases we may try to make the previous version of the package available concurrently, as in the base-3/base-4 switchover.
  • Third parties can make proposals for API changes by sending them to the libraries mailing list (CC'ing the maintainer). Proposals that are accompanied by patches (preferably with tests and documentation), and have widespread support, should normally be accepted by the maintainer. It is the responsibility of the proposer to prod the maintainer to commit the patch after the discussion.
  • Third parties can submit non-API changes as patches either directly to the maintainer(s), or to the libraries mailing list.

Libraries maintained by the GHC team are subject to the GHC validation policy - patches will be tested for validation before committing. Those packages not maintained by the GHC team will probably have a GHC lagging mirror repository that is subject to validation.

Ex-core libraries

The following packages are also listed as maintained by libraries@haskell.org, but are not in fact maintained by the community as a whole. We plan to clarify the maintainership of these packages shortly.

These packages are not expected to undergo API changes in the future. The code will be maintained by the GHC team.

These packages match the appropriate language standard, and as such cannot change independently. The code is maintained by the GHC team.

These packages in fact have maintainers, in most cases the GHC team:

These packages are orphaned, and are looking for a maintainer: