Differences between revisions 81 and 82
Revision 81 as of 2015-03-03 17:38:39
Size: 10998
Editor: msapiro
Comment: unwikify 'SourceForge'
Revision 82 as of 2015-05-05 00:29:20
Size: 10234
Editor: barry
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Thank you for contributing to Mailman! Thank you for contributing to Mailman!  Please also see the [[../../Mailman3|Mailman 3]] release notes.
Line 8: Line 8:
== Contributing to Mailman, step 1: Bazaar and Launchpad == == Contributing to Mailman, step 1: Git and Gitlab ==
Line 10: Line 10:
Mailman's source code is published in a publicly available revision control system called [[http://www.bazaar-vcs.org|Bazaar]] available through the code hosting and open source development service called [[http://launchpad.net|Launchpad]]. On June 22, 2007, we switched from using Subversion on !SourceForge to the new repository, and while the old Subversion repository will still be available read-only, no new updates will be committed to it. Hosting the source code on Bazaar provides both the core developers and unofficial third party extensions much more freedom to hack on Mailman. Mailman 3's source code is published in [[http://git-scm.com/|git]]. Project management is available on [[https://gitlab.com/mailman/mailman|Gitlab]]. We switched from Bazaar on Launchpad on May 4th, 2015. Previous to that, we switched from Subversion on !SourceForge on June 22, 2007.
Line 12: Line 12:
Here is more detail on how to [[../MailmanOnLaunchpad|develop Mailman code using Bazaar and Launchpad]]. '''Please note:''' Mailman 2.1 development continues to be hosted in Bazaar on [[../MailmanOnLaunchpad|Launchpad]].
Line 14: Line 14:
Here are a list of [[../MailmanBranches|important official and unofficial branches]]. For now, the Mailman 3 branch on Launchpad will continue to be available in read-only mode.
Line 18: Line 18:
 1. A developer has an idea for an enhancement.  They describe it here and we can discuss general design issues, coding suggestions, decomposition of work into branches, etc. For higher bandwidth discussions we can use irc (#mailman channel on [[irc://irc.freenode.net|irc://irc.freenode.net]]).
 1. The Mailman community may be able to indicate in a non-binding way whether an idea is likely to be accepted, which can help the potential contributor decide to keep working with that in mind, or continue on however they like. (This being open source and bzr being a DVCS, everyone is free to do whatever they want.)
 1. If the idea is appropriate for Mailman, FSF must get copyright assignments from the developer. See below. Do this early, since it can take some time to get all the paperwork to the FSF.
 1. A developer has an idea for an enhancement.  They discuss it on the [[http://mail.python.org/mailman/listinfo/mailman-developers|mailman-developers]] mailing list. For higher bandwidth discussions we can use irc (#mailman channel on [[irc://irc.freenode.net|irc://irc.freenode.net]]).
 1. Developers can clone our git repository, push their own branches, and submit [[https://gitlab.com/mailman/mailman/merge_requests|a merge request]] against the official branches.
 1. If the idea is appropriate for GNU Mailman and we decide to include it, FSF must get copyright assignments from the developer. See below. Do this early, since it can take some time to get all the paperwork to the FSF.
Line 22: Line 22:
==== Branch development guidelines ==== == Branch development guidelines ==
Line 24: Line 24:
 * Branches should be self-contained:  Include documentation, a NEWS entry, and for Mailman 3, include tests.  Ideally, there would be one bug for every branch.
 * Branches should be as small as possible. The smaller the branch the easier it is to review.  For Launchpad, we have a strict 800 line diff limit on branches, since anything beyond that gets very difficult and time consuming to review.

==== Branch review and merge ====

 * When a branch is ready for review, create a merge proposal for it and email the Mailman devel list.
 * A Core Mailman developer will review the code.  (For Mailman 2.x, it will most likely be Mark.  For Mailman 3 it will be Barry.)
 * Once we've approved the branch, either Mark or Barry will merge it into the official trunks.  Currently only a few of us have write permission to the official branches.
 * Branches should be self-contained:  Include documentation, a NEWS entry, and tests.  Ideally, there would be one bug for every branch.
 * Be sure your branch does not provoke any regressions. Run {{{tox}}} on your branch and be sure everything passes. Eventually, we'll enable CI on Gitlab so you'll know immediately whether your branch is ready for merging.
 * Branches should be as small as possible. The smaller the branch the easier it is to review.
Line 36: Line 31:
Line 43: Line 37:
 * [[../Mailman 2.2|Mailman 2.2]] -- 2.x is the stable branch, now in maintenance mode
 * [[../Mailman 3.0|Mailman 3.0]] -- currently [[https://mail.python.org/pipermail/mailman-announce/2014-December/000197.html|in beta]]
 * [[../Mailman 2.2|Mailman 2.2]] -- 2.1 is the stable branch, now in maintenance mode
 * [[../Mailman 3.0|Mailman 3.0]] -- 3.0 is the stable Mailman 3 release
 * [[../Mailm
an 3.1|Mailman 3.1]]

Mailman Developer Resources

Thank you for contributing to Mailman! Please also see the Mailman 3 release notes.

See the quick start.

Contributing to Mailman, step 1: Git and Gitlab

Mailman 3's source code is published in git. Project management is available on Gitlab. We switched from Bazaar on Launchpad on May 4th, 2015. Previous to that, we switched from Subversion on SourceForge on June 22, 2007.

Please note: Mailman 2.1 development continues to be hosted in Bazaar on Launchpad.

For now, the Mailman 3 branch on Launchpad will continue to be available in read-only mode.

Contributing to Mailman, step 2: Contribution workflow process

  1. A developer has an idea for an enhancement.  They discuss it on the mailman-developers mailing list. For higher bandwidth discussions we can use irc (#mailman channel on irc://irc.freenode.net).

  2. Developers can clone our git repository, push their own branches, and submit a merge request against the official branches.

  3. If the idea is appropriate for GNU Mailman and we decide to include it, FSF must get copyright assignments from the developer. See below. Do this early, since it can take some time to get all the paperwork to the FSF.

Branch development guidelines

  • Branches should be self-contained:  Include documentation, a NEWS entry, and tests.  Ideally, there would be one bug for every branch.
  • Be sure your branch does not provoke any regressions. Run tox on your branch and be sure everything passes. Eventually, we'll enable CI on Gitlab so you'll know immediately whether your branch is ready for merging.

  • Branches should be as small as possible. The smaller the branch the easier it is to review.

Mailman is a GNU project with the majority of the copyrights being held by the Free Software Foundation. We therefore request that developers who contribute code, assign their copyrights in their Mailman contribution to the FSF. To do this, you first need to submit a GNU copyright assignment request form containing some basic information, and then fill out the form that the FSF sends you. Please let us know after you've sent the second form so that we can track your contribution. The FSF often doesn't tell us in a timely manner when such forms have been received.

Version-specific resources

Mailman's developers are currently focused mostly on working towards the release of Mailman 3.0.

Sprints

Initiatives and proposals

Suggestions

People seem to have trouble figuring out where to make suggestions or feature requests. There is a suggestions page here, or you may wish to start a discussion on the mailman-developers list

Relevant RFCs, references, and standards

Here are some useful RFCs, references and drafts:

Best practices:


MailmanWiki: DEV/Home (last edited 2023-02-25 16:13:48 by stephen@xemacs.org)