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

Stephen Richter cvs-admin at zope.org
Fri Feb 22 04:27:28 UTC 2013


Log message for revision 129614:
  Moved to GitHub.

Changed:
  D   zope.session/trunk/CHANGES.txt
  D   zope.session/trunk/COPYRIGHT.txt
  D   zope.session/trunk/LICENSE.txt
  D   zope.session/trunk/MANIFEST.in
  A   zope.session/trunk/MOVED_TO_GITHUB
  D   zope.session/trunk/README.txt
  D   zope.session/trunk/ZODB-4.0.0dev.tar.gz
  D   zope.session/trunk/bootstrap.py
  D   zope.session/trunk/buildout.cfg
  D   zope.session/trunk/setup.py
  D   zope.session/trunk/src/
  D   zope.session/trunk/tox.ini

-=-
Deleted: zope.session/trunk/CHANGES.txt
===================================================================
--- zope.session/trunk/CHANGES.txt	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/CHANGES.txt	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,190 +0,0 @@
-CHANGES
-=======
-
-4.0.0a2 (unreleased)
---------------------
-
-- Nothing changed yet.
-
-
-4.0.0a1 (2013-02-21)
---------------------
-
-- Added support for Python 3.3
-
-- Replaced deprecated ``zope.component.adapts`` usage with equivalent
-  ``zope.component.adapter`` decorator.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
-  ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4 and 2.5.
-
-
-3.9.5 (2011-08-11)
-------------------
-
-- LP #824355:  enable support for HttpOnly cookies.
-
-- Fix a bug in ``zope.session.session.Session`` that would trigger an
-  infinite loop if either iteration or a containment test were
-  attempted on an instance.
-
-
-3.9.4 (2011-03-07)
-------------------
-
-- Added an explicit `provides` to the IClientId adapter declaration in
-  adapter.zcml.
-
-- Added option to disable implicit sweeps in
-  PersistentSessionDataContainer.
-
-
-3.9.3 (2010-09-25)
-------------------
-
-- Added test extra to declare test dependency on ``zope.testing``.
-
-- Using Python's ``doctest`` module instead of depreacted
-  ``zope.testing.doctest``.
-
-
-3.9.2 (2009-11-23)
-------------------
-
-- Fix Python 2.4 hmac compatibility issue by only using hashlib in
-  Python versions 2.5 and above.
-
-- Use the CookieClientIdManager's secret as the hmac key instead of the
-  message when constructing and verifying client ids.
-
-- Make it possible to construct CookieClientIdManager passing cookie namespace
-  and/or secret as constructor's arguments.
-
-- Use zope.schema.fieldproperty.FieldProperty for "namespace" attribute of
-  CookieClientIdManager, just like for other attributes in its interface.
-  Also, make ICookieClientIdManager's "namespace" field an ASCIILine, so
-  it accepts only non-unicode strings for cookie names.
-
-
-3.9.1 (2009-04-20)
-------------------
-
-- Restore compatibility with Python 2.4.
-
-
-3.9.0 (2009-03-19)
-------------------
-
-- Don't raise deprecation warnings on Python 2.6.
-
-- Drop dependency on ``zope.annotation``. Instead, we make classes implement
-  `IAttributeAnnotatable` in ZCML configuration, only if ``zope.annotation``
-  is available. If your code relies on annotatable `CookieClientIdManager`
-  and `PersistentSessionDataContainer` and you don't include the zcml classes
-  configuration of this package, you'll need to use `classImplements` function
-  from ``zope.interface`` to make those classes implement `IAttributeAnnotatable`
-  again.
-
-- Drop dependency on zope.app.http, use standard date formatting function
-  from the ``email.utils`` module.
-
-- Zope 3 application bootstrapping code for session utilities was moved into
-  zope.app.appsetup package, thus drop dependency on zope.app.appsetup in this
-  package.
-
-- Drop testing dependencies, as we don't need anything behind zope.testing and
-  previous dependencies was simply migrated from zope.app.session before.
-
-- Remove zpkg files and zcml slugs.
-
-- Update package's description a bit.
-
-
-3.8.1 (2009-02-23)
-------------------
-
-- Add an ability to set cookie effective domain for CookieClientIdManager.
-  This is useful for simple cases when you have your application set up on
-  one domain and you want your identification cookie be active for subdomains.
-
-- Python 2.6 compatibility change. Encode strings before calling hmac.new()
-  as the function no longer accepts the unicode() type.
-
-
-3.8.0 (2008-12-31)
-------------------
-
-- Add missing test dependency on ``zope.site`` and
-  ``zope.app.publication``.
-
-
-3.7.1 (2008-12-30)
-------------------
-
-- Specify i18n_domain for titles in apidoc.zcml
-
-- ZODB 3.9 no longer contains
-  ZODB.utils.ConflictResolvingMappingStorage, fixed tests, so they
-  work both with ZODB 3.8 and 3.9.
-
-
-3.7.0 (2008-10-03)
-------------------
-
-New features:
-
-- Added a 'postOnly' option on CookieClientIdManagers to only allow setting
-  the client id cookie on POST requests.  This is to further reduce risk from
-  broken caches handing the same client id out to multiple users. (Of
-  course, it doesn't help if caches are broken enough to cache POSTs.)
-
-
-3.6.0 (2008-08-12)
-------------------
-
-New features:
-
-- Added a 'secure' option on CookieClientIdManagers to cause the secure
-  set-cookie option to be used, which tells the browser not to send the
-  cookie over http.
-
-  This provides enhanced security for ssl-only applications.
-
-- Only set the client-id cookie if it isn't already set and try to
-  prevent the header from being cached.  This is to minimize risk from
-  broken caches handing the same client id out to multiple users.
-
-
-3.5.2 (2008-06-12)
-------------------
-
-- Remove ConflictErrors caused on SessionData caused by setting
-  ``lastAccessTime``.
-
-
-3.5.1 (2008-04-30)
-------------------
-
-- Split up the ZCML to make it possible to re-use more reasonably.
-
-
-3.5.0 (2008-03-11)
-------------------
-
-- Change the default session "resolution" to a sane value and document/test it.
-
-
-3.4.1 (2007-09-25)
-------------------
-
-- Fixed some meta data and switch to tgz release.
-
-
-3.4.0 (2007-09-25)
-------------------
-
-- Initial release
-
-- Moved parts from ``zope.app.session`` to this packages

Deleted: zope.session/trunk/COPYRIGHT.txt
===================================================================
--- zope.session/trunk/COPYRIGHT.txt	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/COPYRIGHT.txt	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: zope.session/trunk/LICENSE.txt
===================================================================
--- zope.session/trunk/LICENSE.txt	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/LICENSE.txt	2013-02-22 04:27:28 UTC (rev 129614)
@@ -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.

Deleted: zope.session/trunk/MANIFEST.in
===================================================================
--- zope.session/trunk/MANIFEST.in	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/MANIFEST.in	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,9 +0,0 @@
-include *.rst
-include *.txt
-include *.py
-include buildout.cfg
-include tox.ini
-
-recursive-include src *
-
-global-exclude *.pyc

Added: zope.session/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.session/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ zope.session/trunk/MOVED_TO_GITHUB	2013-02-22 04:27:28 UTC (rev 129614)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.session
\ No newline at end of file

Deleted: zope.session/trunk/README.txt
===================================================================
--- zope.session/trunk/README.txt	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/README.txt	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,2 +0,0 @@
-This package provides interfaces for client identification and session
-support and their implementations for zope.publisher's request objects.

Deleted: zope.session/trunk/ZODB-4.0.0dev.tar.gz
===================================================================
(Binary files differ)

Deleted: zope.session/trunk/bootstrap.py
===================================================================
--- zope.session/trunk/bootstrap.py	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/bootstrap.py	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,165 +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
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-usage = '''\
-[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
-
-Bootstraps a buildout-based project.
-
-Simply run this script in a directory containing a buildout.cfg, using the
-Python that you want bin/buildout to use.
-
-Note that by using --setup-source and --download-base to point to
-local resources, you can keep this script from going over the network.
-'''
-
-parser = OptionParser(usage=usage)
-parser.add_option("-v", "--version", help="use a specific zc.buildout version")
-
-parser.add_option("-t", "--accept-buildout-test-releases",
-                  dest='accept_buildout_test_releases',
-                  action="store_true", default=False,
-                  help=("Normally, if you do not specify a --version, the "
-                        "bootstrap script and buildout gets the newest "
-                        "*final* versions of zc.buildout and its recipes and "
-                        "extensions for you.  If you use this flag, "
-                        "bootstrap and buildout will get the newest releases "
-                        "even if they are alphas or betas."))
-parser.add_option("-c", "--config-file",
-                   help=("Specify the path to the buildout configuration "
-                         "file to be used."))
-parser.add_option("-f", "--find-links",
-                   help=("Specify a URL to search for buildout releases"))
-
-
-options, args = parser.parse_args()
-
-######################################################################
-# load/install distribute
-
-to_reload = False
-try:
-    import pkg_resources, setuptools
-    if not hasattr(pkg_resources, '_distribute'):
-        to_reload = True
-        raise ImportError
-except ImportError:
-    ez = {}
-
-    try:
-        from urllib.request import urlopen
-    except ImportError:
-        from urllib2 import urlopen
-
-    exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
-    setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
-    ez['use_setuptools'](**setup_args)
-
-    if to_reload:
-        reload(pkg_resources)
-    import pkg_resources
-    # This does not (always?) update the default working set.  We will
-    # do it.
-    for path in sys.path:
-        if path not in pkg_resources.working_set.entries:
-            pkg_resources.working_set.add_entry(path)
-
-######################################################################
-# Install buildout
-
-ws  = pkg_resources.working_set
-
-cmd = [sys.executable, '-c',
-       'from setuptools.command.easy_install import main; main()',
-       '-mZqNxd', tmpeggs]
-
-find_links = os.environ.get(
-    'bootstrap-testing-find-links',
-    options.find_links or
-    ('http://downloads.buildout.org/'
-     if options.accept_buildout_test_releases else None)
-    )
-if find_links:
-    cmd.extend(['-f', find_links])
-
-distribute_path = ws.find(
-    pkg_resources.Requirement.parse('distribute')).location
-
-requirement = 'zc.buildout'
-version = options.version
-if version is None and not options.accept_buildout_test_releases:
-    # Figure out the most recent final version of zc.buildout.
-    import setuptools.package_index
-    _final_parts = '*final-', '*final'
-    def _final_version(parsed_version):
-        for part in parsed_version:
-            if (part[:1] == '*') and (part not in _final_parts):
-                return False
-        return True
-    index = setuptools.package_index.PackageIndex(
-        search_path=[distribute_path])
-    if find_links:
-        index.add_find_links((find_links,))
-    req = pkg_resources.Requirement.parse(requirement)
-    if index.obtain(req) is not None:
-        best = []
-        bestv = None
-        for dist in index[req.project_name]:
-            distv = dist.parsed_version
-            if _final_version(distv):
-                if bestv is None or distv > bestv:
-                    best = [dist]
-                    bestv = distv
-                elif distv == bestv:
-                    best.append(dist)
-        if best:
-            best.sort()
-            version = best[-1].version
-if version:
-    requirement = '=='.join((requirement, version))
-cmd.append(requirement)
-
-import subprocess
-if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
-    raise Exception(
-        "Failed to execute command:\n%s",
-        repr(cmd)[1:-1])
-
-######################################################################
-# Import and run buildout
-
-ws.add_entry(tmpeggs)
-ws.require(requirement)
-import zc.buildout.buildout
-
-if not [a for a in args if '=' not in a]:
-    args.append('bootstrap')
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
-    args[0:0] = ['-c', options.config_file]
-
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)

Deleted: zope.session/trunk/buildout.cfg
===================================================================
--- zope.session/trunk/buildout.cfg	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/buildout.cfg	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,18 +0,0 @@
-[buildout]
-develop = .
-find-links =
-    ${buildout:directory}/ZODB-4.0.0dev.tar.gz
-parts = test py
-versions = versions
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.session [test]
-
-[py]
-recipe = zc.recipe.egg
-eggs = zope.session
-interpreter = py
-
-[versions]
-ZODB = 4.0.0dev

Deleted: zope.session/trunk/setup.py
===================================================================
--- zope.session/trunk/setup.py	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/setup.py	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,80 +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.session package
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup(name='zope.session',
-    version='4.0.0a2.dev0',
-    author='Zope Foundation and Contributors',
-    author_email='zope-dev at zope.org',
-    description='Client identification and sessions for Zope',
-    long_description=(
-        read('README.txt')
-        + '\n\n.. contents::\n\n' +
-        read('src', 'zope', 'session', 'design.txt')
-        + '\n\n' +
-        read('src', 'zope', 'session', 'api.txt')
-        + '\n\n' +
-        read('CHANGES.txt')
-        ),
-    license='ZPL 2.1',
-    keywords = "zope3 session",
-    classifiers = [
-        'Development Status :: 5 - Production/Stable',
-        'Environment :: Web Environment',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: Zope Public License',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.3',
-        'Programming Language :: Python :: Implementation :: CPython',
-        'Natural Language :: English',
-        'Operating System :: OS Independent',
-        'Topic :: Internet :: WWW/HTTP',
-        'Framework :: Zope3'],
-    url='http://pypi.python.org/pypi/zope.session',
-    packages=find_packages('src'),
-    package_dir = {'': 'src'},
-    namespace_packages=['zope',],
-    install_requires=[
-        'setuptools',
-        'ZODB',
-        'zope.component',
-        'zope.i18nmessageid >= 3.4.2',
-        'zope.interface',
-        'zope.location',
-        'zope.publisher >= 4.0.0a1',
-        'zope.minmax',
-        ],
-    extras_require=dict(
-          test=['zope.testing',],
-          ),
-    tests_require = ['zope.testing',],
-    test_suite = 'zope.session.tests.test_suite',
-    include_package_data = True,
-    zip_safe = False,
-    )

Deleted: zope.session/trunk/tox.ini
===================================================================
--- zope.session/trunk/tox.ini	2013-02-22 04:18:23 UTC (rev 129613)
+++ zope.session/trunk/tox.ini	2013-02-22 04:27:28 UTC (rev 129614)
@@ -1,20 +0,0 @@
-[tox]
-envlist =
-    py26,py27,py33
-
-[testenv]
-commands =
-    python setup.py test -q
-# without explicit deps, setup.py test will download a bunch of eggs into $PWD
-# (and it seems I can't use zope.dottedname[testing] here, so forget DRY)
-deps =
-    {toxinidir}/ZODB-4.0.0dev.tar.gz
-    zope.component
-    zope.i18nmessageid
-    zope.interface
-    zope.location
-    zope.minmax
-    zope.publisher
-    zope.testing
-
-



More information about the checkins mailing list