Differences between revisions 19 and 76 (spanning 57 versions)
Revision 19 as of 2007-07-04 17:09:58
Size: 5232
Editor: keturn
Comment: OpenID specs live at .net, not .org
Revision 76 as of 2014-04-14 11:16:41
Size: 11134
Editor: barry
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DEV/versions/786596 #pragma page-filename DEV/versions/9
Line 3: Line 3:
== Source code revision control ==
Mailman's source code is published in publically available revision control systems. You can use this to gain access to the very latest development trees. We are currently in the process of moving from [[http://subversion.tigris.org/|Subversion]] on [[http://sf.net|SourceForge]] to the [[http://www.bazaar-vcs.org|Bazaar]] distributed revision control system, with branches hosted on [[http://launchpad.net|Launchpad]]. Flag day is June 22, 2007, after which the Subversion repository will be made read-only (we'll keep it for posterity). Hosting the source code on Bazaar will provide both the core developers and unofficial third party extensions much more freedom to hack on Mailman.

See the [[../MailmanOnLaunchpad|quick start]].

== Contributing to Mailman, step 1: Bazaar and Launchpad ==

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.
Line 10: Line 14:
== Versions specific resources == == Contributing to Mailman, step 2: Contribution workflow process ==

 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.

==== Branch development guidelines ====

 * 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.

== Contributing to Mailman, step 3: Copyright assignment ==

Mailman is a [[http://www.gnu.org|GNU]] project with the majority of the copyrights being held by the [[http://www.fsf.org|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|GNU copyright assignment request form]] containing some basic information, and then fill out the form that the FSF sends you. Please [[mailto:mailman-cabal@python.org|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 ==
Line 16: Line 42:

== Sprints ==

 * [[../Google Summer of Code 2014|Google Summer of Code 2014]]
 * [[../PyCon 2014 Sprint|PyCon Sprint 2014]]
 * [[../Google Summer of Code 2013|Google Summer of Code 2013]]
 * [[../PyCon Sprint 2013|PyCon Sprint 2013]]
 * [[../Google Summer of Code 2012|Google Summer of Code 2012]]
 * [[../Google Summer of Code 2011|../Google Summer of Code 2011]][[http://wiki.list.org/display/DEV/GHC12+Open+Source+Day+Hackathon|GHC12 Open Source Day Hackathon]]
 * [[../Google Summer of Code 2011|Google Summer of Code 2011]]
 * [[../PyCon Sprint 2010|PyCon Sprint 2010]]
 * [[../PyCon Sprint 2009|PyCon Sprint 2009]]
 * [[../Google Summer of Code 2008|Google Summer of Code 2008]]
 * [[../Summer of Code|Google Summer of Code 2006]]
Line 17: Line 58:

 * [[../New Logos|New Logos]]
 * [[../Web Interface|Web Interface]]
 * [[../GPLv3|GPLv3]]
Line 18: Line 63:
 * [[../DKIM|DKIM]]  * [[../DKIM|DKIM]] and [[../DMARC|DMARC]]
Line 22: Line 67:
 * Web U/I: [[../StyledPages|Using CSS]], [[../TemplatingNotes|Adding templating]]  * [[../ModernArchiving|Modern Archiving]]
 * [[../Stable URLs|Stable URLs]]
 * [[../REST Interface|REST Interface]]
 * [[../Patches|Patches]]
 * [[../ReplyTo|ReplyTo]]
 * [[../Usability|Usability]]

== Suggestions ==

People seem to have trouble figuring out where to make suggestions or feature requests. There is a [[../suggestions|suggestions]] page here, or you may wish to start a discussion on the [[http://mail.python.org/mailman/listinfo/mailman-developers|mailman-developers list]]
Line 24: Line 79:
Google did a [[http://code.google.com/soc/|2006 Summer of Code]]program in 2006, and Mailman was a sponsor. See the [[../Summer of Code|Summer of Code]] page and [[../Mailman 2.2|Mailman 2.2]] page for more information.
Line 26: Line 80:
Mailman is a [[http://www.gnu.org|GNU]] project with the majority of the copyrights being held by the [[http://www.fsf.org|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|GNU copyright assignment request form]] containing some basic information, and then fill out the form that the FSF sends you.  Please [[mailto:mailman-cabal@python.org|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. Mailman is a [[http://www.gnu.org|GNU]] project with the majority of the copyrights being held by the [[http://www.fsf.org|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|GNU copyright assignment request form]] containing some basic information, and then fill out the form that the FSF sends you. Please [[mailto:mailman-cabal@python.org|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.
Line 29: Line 83:
Here are some useful references:
Here are some useful RFCs, references and drafts:
Line 34: Line 89:
RFCs and drafts:  * [[http://www.faqs.org/rfcs/rfc3834.html|RFC 3834 - Recommendations for Automatic Responses to Electronic Mail]]
 * [[http://tools.ietf.org/html/rfc5064|RFC 5064 - The Archived-At Message Header Field]] '''draft'''
 * [[http://www.faqs.org/rfcs/rfc2033.html|RFC 2033 - Local Mail Transfer Protocol]]
 * [[http://www.ietf.org/rfc/rfc4871.txt?number=4871|RFC 4871]][[http://www.dkim.org|DomainKey Identified Mail (DKIM)]]
 * [[http://www.openid.net|OpenID]]
 * [[http://www.faqs.org/rfcs/rfc1893.html|RFC 1893 - Enhanced Mail System Status Codes]]
 * [[http://www.faqs.org/rfcs/rfc2034.html|RFC 2034 - SMTP Service Extension for Returning Enhanced Error Codes]]
 * [[http://en.wikipedia.org/wiki/Bounce_Address_Tag_Validation|Bounce Address Tag Validation (BATV)]]
 * [[http://www.ietf.org/id/draft-shafranovich-feedback-report-07.txt|Extensible Format for Email Feedback Reports]]
 * [[https://www.owasp.org/index.php/Forgot_Password_Cheat_Sheet|Forgotten Password recommendations from OWASP]]
 * [[http://www.faqs.org/rfcs/rfc6530.html|RFC 6530 - Overview and Framework for Internationalized Email]]
 * [[http://www.faqs.org/rfcs/rfc6531.html|RFC 6531 - SMTP Extension for Internationalized Email]]
 * [[http://www.faqs.org/rfcs/rfc6532.html|RFC 6532 - Internationalized Email Headers]]
Line 36: Line 103:
 * [[http://www.faqs.org/rfcs/rfc2033.html|RFC 2033 - Local Mail Transfer Protocol]]
 * [[http://www.dkim.org|DomainKey Identified Mail (DKIM) draft specs]]
 * [[http://www.openid.net|OpenID]]
Best practices:

 * OWASP's [[https://www.owasp.org/index.php/Forgot_Password_Cheat_Sheet|password reset]] recommendations
 * Anti-spam and anti-backscatter<<BR>>
  * [[http://wiki.exim.org/EximAutoReply|How To Do Autoreplies Without The World Hating You]].
  * [A talk given at a UK Unix User Group meeting. Look for the 5th abstract on [[http://www.ukuug.org/events/winter2005/programme.shtml|this page]].
  * [[http://www.dontbouncespam.org/|http://www.dontbouncespam.org/]]
  * [[http://spamlinks.net/prevent-secure-backscatter.htm|http://spamlinks.net/prevent-secure-backscatter.htm]]
  * The inevitable [[http://mayfirst.org/?q=node/180|"...considered harmful" article]].
  * UK Joint Academic Network (JANet) provides network connectivity and services for UK
  * HE institutions has [[http://www.ja.net/services/csirt/advice/policies/collateral-spam.html|guidance to victims of backscatter]].
  * ...and to system adminstrators [[http://www.ja.net/services/csirt/threats/bounce.html|Spam Bounces Considered Harmful]].
  * [[http://mipassoc.org/batv/|Bounce Address Tag Validation (BATV)]]
  * Mailman's own recommendations for [[../../SEC/Controlling spam|controlling spam]]

Mailman Developer Resources

See the quick start.

Contributing to Mailman, step 1: Bazaar and Launchpad

Mailman's source code is published in a publicly available revision control system called Bazaar available through the code hosting and open source development service called 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.

Here is more detail on how to develop Mailman code using Bazaar and Launchpad.

Here are a list of important official and unofficial branches.

Contributing to Mailman, step 2: Contribution workflow process

  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).

  2. 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.)
  3. 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.

Branch development guidelines

  • 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.

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

Here are the collection of resources for people interested in the development of Mailman.

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

Other developer information

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.

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)