From 3f7b8401b816aa9c6ff68e2a4b004867b8d19ae4 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Fri, 30 Jan 2015 03:48:35 +0530 Subject: add more docs for autogenerating migrations using alembic --- src/mailman/docs/DATABASE.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mailman/docs') diff --git a/src/mailman/docs/DATABASE.rst b/src/mailman/docs/DATABASE.rst index a64c371f7..f6ef45f44 100644 --- a/src/mailman/docs/DATABASE.rst +++ b/src/mailman/docs/DATABASE.rst @@ -85,6 +85,14 @@ People upgrading Mailman from previous versions need not do anything manually, as soon as a new migration is added in the sources, it will be automatically reflected in the schema on first-run post-update. +'''Note:''' When autogenerating migrations using alembic, be sure to check the +created migration before adding it to the version control. For some of the +special datatypes defined in ``mailman.database.types``, you will have to +manually change the datatype. For example, ``mailman.database.types.Enum()`` +needs to be changed to ``sa.Integer()`` ,as Enum type stores just the integer in +the database. A more complex migration would be needed for ``UUID`` depending +upon the database layer to be used. + .. _SQLAlchemy: http://www.sqlalchemy.org/ .. _SQLite3: http://docs.python.org/library/sqlite3.html -- cgit v1.2.3-70-g09d2 From f5a4133b693a892826ed4156d52d41270c2fc828 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 16 Apr 2015 08:20:19 -0400 Subject: Update versions for 3.0rc1, but don't tag yet. --- TODO.rst | 1 - src/mailman/docs/NEWS.rst | 4 ++-- src/mailman/version.py | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'src/mailman/docs') diff --git a/TODO.rst b/TODO.rst index 131c52faf..0c1bfa969 100644 --- a/TODO.rst +++ b/TODO.rst @@ -5,7 +5,6 @@ - workflow for unsubscription - make sure registration checks IEmailValidator - Test all the various options in eml_membership's get_subscriber() - - Bump version to 3.0.0 - Admin notification on membership changes? + admin_notify_mchanges + admin_immed_notify diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst index ebe90a6df..6248d0d57 100644 --- a/src/mailman/docs/NEWS.rst +++ b/src/mailman/docs/NEWS.rst @@ -8,8 +8,8 @@ Copyright (C) 1998-2015 by the Free Software Foundation, Inc. Here is a history of user visible changes to Mailman. -3.0 beta 6 -- "Show Don't Tell" -=============================== +3.0 rc 1 -- "Show Don't Tell" +============================= (2015-XX-XX) Architecture diff --git a/src/mailman/version.py b/src/mailman/version.py index 42089aff5..4904454ad 100644 --- a/src/mailman/version.py +++ b/src/mailman/version.py @@ -18,7 +18,7 @@ """Mailman version strings.""" # Mailman version. -VERSION = '3.0.0b6' +VERSION = '3.0.0rc1' CODENAME = "Show Don't Tell" # And as a hex number in the manner of PY_VERSION_HEX. @@ -32,9 +32,9 @@ FINAL = 0xf MAJOR_REV = 3 MINOR_REV = 0 MICRO_REV = 0 -REL_LEVEL = BETA +REL_LEVEL = RC # At most 15 beta releases! -REL_SERIAL = 6 +REL_SERIAL = 1 HEX_VERSION = ((MAJOR_REV << 24) | (MINOR_REV << 16) | (MICRO_REV << 8) | (REL_LEVEL << 4) | (REL_SERIAL << 0)) -- cgit v1.2.3-70-g09d2 From c736cc7db3e60c65e512cb8b69ed8436fa837e64 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 17 Apr 2015 19:24:12 -0400 Subject: maxking's nickname --- src/mailman/docs/ACKNOWLEDGMENTS.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/docs') diff --git a/src/mailman/docs/ACKNOWLEDGMENTS.rst b/src/mailman/docs/ACKNOWLEDGMENTS.rst index 4577a26ab..f1c4ec6a9 100644 --- a/src/mailman/docs/ACKNOWLEDGMENTS.rst +++ b/src/mailman/docs/ACKNOWLEDGMENTS.rst @@ -25,7 +25,7 @@ Core Developers The following folks are or have been core developers of Mailman (in reverse alphabetical order): -* Abhilash Raj +* Abhilash Raj, Mailman's Youngest Core Dev * Aurélien Bompard * Barry Warsaw, Mailman's yappy guard dog * Florian Fuchs -- cgit v1.2.3-70-g09d2 From a285b802ba1bcb49e2cc7ec3e3d0724caf97c434 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 17 Apr 2015 21:35:01 -0400 Subject: Fix spellings. --- src/mailman/docs/ACKNOWLEDGMENTS.rst | 2 +- src/mailman/docs/INTRODUCTION.rst | 2 +- src/mailman/docs/RELEASENOTES.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mailman/docs') diff --git a/src/mailman/docs/ACKNOWLEDGMENTS.rst b/src/mailman/docs/ACKNOWLEDGMENTS.rst index f1c4ec6a9..0a3b0e9c5 100644 --- a/src/mailman/docs/ACKNOWLEDGMENTS.rst +++ b/src/mailman/docs/ACKNOWLEDGMENTS.rst @@ -12,7 +12,7 @@ Governance GNU Mailman was invented by John Viega. Barry Warsaw is the current project leader. Aurélien Bompard leads HyperKitty and bundler development. Florian -Fuchs leads Postorious development. Development of mailman.client is a group +Fuchs leads Postorius development. Development of mailman.client is a group effort. All project decisions are made by consensus via the Mailman Cabal, er, diff --git a/src/mailman/docs/INTRODUCTION.rst b/src/mailman/docs/INTRODUCTION.rst index f6f9f2df2..e529beac7 100644 --- a/src/mailman/docs/INTRODUCTION.rst +++ b/src/mailman/docs/INTRODUCTION.rst @@ -86,7 +86,7 @@ Mailman 3 is really a suite of 5 projects: * Core - the core message processing and delivery system, exposing a REST API for administrative control. Requires `Python 3.4`_ or newer. - * Postorious - the new web user interfaces built on `Django`_. + * Postorius - the new web user interfaces built on `Django`_. * HyperKitty - the new archiver, also built on `Django`_. * mailman.client - a Python binding to the core's REST API. Compatible with both Python 2 and Python 3. diff --git a/src/mailman/docs/RELEASENOTES.rst b/src/mailman/docs/RELEASENOTES.rst index 226b256a2..ca2a34eeb 100644 --- a/src/mailman/docs/RELEASENOTES.rst +++ b/src/mailman/docs/RELEASENOTES.rst @@ -19,5 +19,5 @@ Mailman 3 may have bugs. Mailman 3 is not yet feature complete with Mailman 2.1. The documentation here describes the Mailman Core in great detail. -Postorious, Hyperkitty, mailman.client, and the bundler are described and +Postorius, Hyperkitty, mailman.client, and the bundler are described and developed elsewhere. -- cgit v1.2.3-70-g09d2 From 3f85c6f6fdab9e4a7e660e58b21ee1bc14091f58 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 17 Apr 2015 21:47:27 -0400 Subject: Date in NEWS. --- src/mailman/docs/NEWS.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/docs') diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst index 6248d0d57..35709846e 100644 --- a/src/mailman/docs/NEWS.rst +++ b/src/mailman/docs/NEWS.rst @@ -10,7 +10,7 @@ Here is a history of user visible changes to Mailman. 3.0 rc 1 -- "Show Don't Tell" ============================= -(2015-XX-XX) +(2015-04-17) Architecture ------------ -- cgit v1.2.3-70-g09d2