[Checkins] SVN: zope.sendmail/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Sun Feb 24 17:05:16 UTC 2013


Log message for revision 129747:
  Moved to GitHub.

Changed:
  D   zope.sendmail/trunk/CHANGES.txt
  D   zope.sendmail/trunk/COPYRIGHT.txt
  D   zope.sendmail/trunk/LICENSE.txt
  A   zope.sendmail/trunk/MOVED_TO_GITHUB
  D   zope.sendmail/trunk/README.txt
  D   zope.sendmail/trunk/bootstrap.py
  D   zope.sendmail/trunk/buildout.cfg
  D   zope.sendmail/trunk/setup.py
  D   zope.sendmail/trunk/src/

-=-
Deleted: zope.sendmail/trunk/CHANGES.txt
===================================================================
--- zope.sendmail/trunk/CHANGES.txt	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/CHANGES.txt	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1,178 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.0 (unreleased)
-------------------
-
-- Deleted event fossils (interfaces ``zope.sendmail.interfaces.IMailSent`` and
-  ``zope.sendmail.interfaces.IMailError``. plus the ``zope.sendmail.events``
-  module and associated tests).  These events were never emitted, and couldn't
-  have been used safely even if they had been, due to two-phase commit.
-  https://bugs.launchpad.net/zope3/+bug/177739 
-
-- Replaced deprecated ``zope.interface.classProvides`` usage with equivalent
-  ``zope.interface.provider`` decorator.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
-  ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4 and 2.5.
-
-- Added a vote method to Mailer implementations to allow them to abort a
-  transaction if it is known to be unsafe.
-
-- Prevented fatal errors in mail delivery causing potential database corruption.
-
-- Added not declared, but needed test dependency on `zope.component [test]`.
-
-- Added handling for unicode usernames and passwords, encoding them to UTF-8.
-  Fix for https://bugs.launchpad.net/zope.sendmail/+bug/597143
-
-- Gave the background queue processor thread a name.
-
-- Documented the ini file keys for ``zope-sendmail --config`` in the help
-  message printed by ``zope-sendmail --help``.  Also rewrote the command-line
-  parsing to use optparse (not argparse, since Python 2.6 is still supported).
-
-3.7.5 (2012-05-23)
-------------------
-
-- Ensured that the 'queuedDelivery' directive has the same discriminator
-  as the 'directDelivery' directive (they are mutually incompatible).
-  https://bugs.launchpad.net/zope.sendmail/+bug/191143
-
-- Avoid requeuing messages after an SMTP "recipients refused" error.
-  https://bugs.launchpad.net/zope.sendmail/+bug/1003288
-
-3.7.4 (2010-10-01)
-------------------
-
-- Handle unicode usernames and passwords, encoding them to UTF-8. Fix for
-  https://bugs.launchpad.net/zope.sendmail/+bug/597143
-
-3.7.3 (2010-09-25)
-------------------
-
-- Added not declared, but needed test dependency on `zope.component [test]`.
-
-3.7.2 (2010-04-30)
-------------------
-
-- Removed no longer required testing dependency on zope.testing.
-
-- Maildir storage for queue can now handle unicode passed in for message or
-  to/from addresses (change backported from repoze.sendmail).
-
-- Tests use stdlib doctest instead of zope.testing.doctest.
-
-3.7.1 (2010-01-13)
-------------------
-
-- Backward compatibility import of zope.sendmail.queue.QueueProcessorThread in
-  zope.sendmail.delivery.
-
-3.7.0 (2010-01-12)
-------------------
-
-- Removed dependency on ``zope.security``: the security support is optional,
-  and only available if the ``zope.security`` package is available. This change
-  is similar to the optional security support introduced in ``zope.component``
-  3.8.0, and in fact it uses the same helpers.
-
-- Sort by modification time the messages in zope.sendmail.maildir so earlier
-  messages are sent before later messages during queue processing.
-
-- Added the new parameter ``processorThread`` to the queuedDelivery ZCML
-  directive: if False, the QueueProcessorThread is not started and thus an
-  independent process must process the queue; it defaults to True for b/c.
-
-- Provide a console script ``zope-sendmail`` which can be used to process the
-  delivery queue in case processorThread is False. The console script can
-  either process the messages in the queue once, or run in "daemon" mode.
-
-3.6.1 (2009-11-16)
-------------------
-
-- Depend on ``zope.component`` >= 3.8.0, which supports the new semantic of
-  zope.component.zcml.proxify needed by zope.sendmail.zcml.
-
-3.6.0 (2009-09-14)
-------------------
-
-- Use simple vocabulary factory function instead of custom `UtilityTerm`
-  and `UtilityVocabulary` classes, copied from ``zope.app.component`` in
-  the previous release.
-
-- Depend on the ``transaction`` package instead of ``ZODB3``.
-
-- Remove zcml slugs and zpkg-related files.
-
-- Work around problem when used with Python >=2.5.1.  See
-  https://bugs.edge.launchpad.net/zope.sendmail/+bug/413335 .
-
-3.5.1 (2009-01-26)
-------------------
-
-- Copied over the UtilityTerm and UtilityVocabulary implementation from
-  zope.app.component to avoid a dependency.
-
-- Work around a problem when smtp quit fails, the mail was considered not
-  delivered where just the quit failed.
-
-3.5.0 (2008-07-05)
-------------------
-
-- final release (identical with 3.5.0b2)
-
-3.5.0b2 (2007-12-19)
---------------------
-
-- If the SMTP server rejects a message (for example, when the sender or
-  recipient address is malformed), that email stays in the queue forever
-  (https://bugs.launchpad.net/zope3/+bug/157104).
-
-3.5.0b1 (2007-11-08)
---------------------
-
-- Added README.txt
-- Can now talk to servers that don't implement EHLO
-- Fix bug that caused files with very long names to be created
-- Fix for https://bugs.launchpad.net/zope3/+bug/157104: move aside mail that's
-  causing 5xx server responses.
-
-
-3.5.0a2 (2007-10-23)
---------------------
-
-- Cleaned up ``does_esmtp`` in faux SMTP connection classes provided by the
-  tests.
-- If the ``QueueProcessorThread`` is asked to stop while sending messages, do
-  so after sending the current message; previously if there were many, many
-  messages to send, the thread could stick around for quite a while.
-
-
-3.5.0a1 (2007-10-23)
---------------------
-
-- ``QueueProcessorThread`` now accepts an optional parameter *interval* for
-  defining how often to process the mail queue (default is 3 seconds)
-
-- Several ``QueueProcessorThreads`` (either in the same process, or multiple
-  processes) can now deliver messages from a single maildir without duplicates
-  being sent.
-
-
-3.4.0 (2007-08-20)
---------------------
-
-- Bugfix: Don't keep open files around for every email message
-  to be sent on transaction commit.  People who try to send many emails
-  in a single transaction now will not run out of file descriptors.
-
-
-3.4.0a1 (2007-04-22)
---------------------
-
-Initial release as a separate project, corresponds to ``zope.sendmail``
-from Zope 3.4.0a1.

Deleted: zope.sendmail/trunk/COPYRIGHT.txt
===================================================================
--- zope.sendmail/trunk/COPYRIGHT.txt	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/COPYRIGHT.txt	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: zope.sendmail/trunk/LICENSE.txt
===================================================================
--- zope.sendmail/trunk/LICENSE.txt	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/LICENSE.txt	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: zope.sendmail/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.sendmail/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ zope.sendmail/trunk/MOVED_TO_GITHUB	2013-02-24 17:05:16 UTC (rev 129747)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.sendmail
\ No newline at end of file

Deleted: zope.sendmail/trunk/README.txt
===================================================================
--- zope.sendmail/trunk/README.txt	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/README.txt	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1,42 +0,0 @@
-=============
-zope.sendmail
-=============
-
-zope.sendmail is a package for email sending from Zope 3 applications.
-Email sending from Zope 3 applications works as follows:
-
-A Zope 3 application locates a mail delivery utility
-(``IMailDelivery``) and feeds a message to it. It gets back a unique
-message ID so it can keep track of the message by subscribing to
-``IMailEvent`` events.
-
-The utility registers with the transaction system to make sure the
-message is only sent when the transaction commits successfully.
-(Among other things this avoids duplicate messages on
-``ConflictErrors``.)
-
-If the delivery utility is a ``IQueuedMailDelivery``, it puts the
-message into a queue (a Maildir mailbox in the file system). A
-separate process or thread (``IMailQueueProcessor``) watches the queue
-and delivers messages asynchronously. Since the queue is located in
-the file system, it survives Zope restarts or crashes and the mail is
-not lost.  The queue processor can implement batching to keep the
-server load low.
-
-If the delivery utility is a ``IDirectMailDelivery``, it delivers
-messages synchronously during the transaction commit.  This is not a
-very good idea, as it makes the user wait.  Note that transaction
-commits must not fail, but that is not a problem, because mail
-delivery problems dispatch an event instead of raising an exception.
-
-However, there is a problem -- sending events causes unknown code to
-be executed during the transaction commit phase.  There should be a
-way to start a new transaction for event processing after this one is
-commited.
-
-An ``IMailQueueProcessor`` or ``IDirectMailDelivery`` actually
-delivers the messages by using a mailer (``IMailer``) component that
-encapsulates the delivery process.  There currently is only one
-mailer:
-
-``ISMTPMailer`` sends all messages to a relay host using SMTP.

Deleted: zope.sendmail/trunk/bootstrap.py
===================================================================
--- zope.sendmail/trunk/bootstrap.py	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/bootstrap.py	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1,119 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-"""
-
-import os, shutil, sys, tempfile, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
-                          help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
-                   action="store_true", dest="distribute", default=False,
-                   help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
-                   help=("Specify the path to the buildout configuration "
-                         "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
-    args += ['-c', options.config_file]
-
-if options.version is not None:
-    VERSION = '==%s' % options.version
-else:
-    VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-to_reload = False
-try:
-    import pkg_resources
-    if not hasattr(pkg_resources, '_distribute'):
-        to_reload = True
-        raise ImportError
-except ImportError:
-    ez = {}
-    if USE_DISTRIBUTE:
-        exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
-                         ).read() in ez
-        ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
-    else:
-        exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
-                             ).read() in ez
-        ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-    if to_reload:
-        reload(pkg_resources)
-    else:
-        import pkg_resources
-
-if sys.platform == 'win32':
-    def quote(c):
-        if ' ' in c:
-            return '"%s"' % c # work around spawn lamosity on windows
-        else:
-            return c
-else:
-    def quote (c):
-        return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws  = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
-    requirement = 'distribute'
-else:
-    requirement = 'setuptools'
-
-if is_jython:
-    import subprocess
-
-    assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
-           quote(tmpeggs), 'zc.buildout' + VERSION],
-           env=dict(os.environ,
-               PYTHONPATH=
-               ws.find(pkg_resources.Requirement.parse(requirement)).location
-               ),
-           ).wait() == 0
-
-else:
-    assert os.spawnle(
-        os.P_WAIT, sys.executable, quote (sys.executable),
-        '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
-        dict(os.environ,
-            PYTHONPATH=
-            ws.find(pkg_resources.Requirement.parse(requirement)).location
-            ),
-        ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)

Deleted: zope.sendmail/trunk/buildout.cfg
===================================================================
--- zope.sendmail/trunk/buildout.cfg	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/buildout.cfg	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1,23 +0,0 @@
-[buildout]
-develop = .
-parts = scripts test coverage-test coverage-report
-
-[scripts]
-recipe = z3c.recipe.scripts
-eggs = zope.sendmail
-interpreter = python
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.sendmail [test]
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = zope.sendmail
-defaults = ['--coverage', '../../coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')

Deleted: zope.sendmail/trunk/setup.py
===================================================================
--- zope.sendmail/trunk/setup.py	2013-02-24 16:52:00 UTC (rev 129746)
+++ zope.sendmail/trunk/setup.py	2013-02-24 17:05:16 UTC (rev 129747)
@@ -1,76 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-# This package is developed by the Zope Toolkit project, documented here:
-# http://docs.zope.org/zopetoolkit
-# When developing and releasing this package, please follow the documented
-# Zope Toolkit policies as described by this documentation.
-##############################################################################
-"""Setup for zope.sendmail package"""
-
-from setuptools import setup, find_packages
-
-
-tests_require=[
-    'zope.security',
-    'zope.component [test]',
-    ]
-
-
-setup(name='zope.sendmail',
-      version = '4.0.0dev',
-      url='http://pypi.python.org/pypi/zope.sendmail',
-      license='ZPL 2.1',
-      description='Zope sendmail',
-      author='Zope Foundation and Contributors',
-      author_email='zope-dev at zope.org',
-      long_description='\n\n'.join([
-          open('README.txt').read(),
-          open('CHANGES.txt').read(),
-          ]),
-      classifiers=[
-          'Development Status :: 5 - Production/Stable',
-          'Environment :: Web Environment',
-          'Intended Audience :: Developers',
-          'License :: OSI Approved :: Zope Public Licence',
-          'Programming Language :: Python',
-          'Programming Language :: Python :: 2',
-          'Programming Language :: Python :: 2.6',
-          'Programming Language :: Python :: 2.7',
-          'Operating System :: OS Independent',
-          'Topic :: Internet :: WWW/HTTP',
-          'Topic :: Communications :: Email',
-          'Framework :: Zope3',
-      ],
-      packages=find_packages('src'),
-      package_dir={'': 'src'},
-      namespace_packages=['zope',],
-      tests_require=tests_require,
-      extras_require=dict(test=tests_require),
-      install_requires=['setuptools',
-                        'transaction',
-                        'zope.i18nmessageid',
-                        'zope.interface',
-                        'zope.schema',
-                        # it's only needed for vocabulary, zcml and tests
-                        'zope.component>=3.8.0',
-                        # these are only needed for zcml
-                        'zope.configuration',
-                       ],
-      include_package_data = True,
-      zip_safe = False,
-      entry_points="""
-      [console_scripts]
-      zope-sendmail = zope.sendmail.queue:run
-      """
-      )



More information about the checkins mailing list