[Checkins] SVN: zc.recipe.filestorage/trunk/ Note move to github.
Tres Seaver
cvs-admin at zope.org
Wed Nov 6 17:30:58 CET 2013
Log message for revision 130351:
Note move to github.
Changed:
D zc.recipe.filestorage/trunk/CHANGES.txt
D zc.recipe.filestorage/trunk/COPYRIGHT.txt
D zc.recipe.filestorage/trunk/LICENSE.txt
A zc.recipe.filestorage/trunk/MOVED_TO_GITHUB
D zc.recipe.filestorage/trunk/README.txt
D zc.recipe.filestorage/trunk/buildout.cfg
D zc.recipe.filestorage/trunk/setup.py
D zc.recipe.filestorage/trunk/zc/
-=-
Deleted: zc.recipe.filestorage/trunk/CHANGES.txt
===================================================================
--- zc.recipe.filestorage/trunk/CHANGES.txt 2013-11-04 15:41:18 UTC (rev 130350)
+++ zc.recipe.filestorage/trunk/CHANGES.txt 2013-11-06 16:30:57 UTC (rev 130351)
@@ -1,21 +0,0 @@
-=======
-CHANGES
-=======
-
-1.1.1 (unreleased)
-------------------
-
-- Using Python's ``doctest`` module instead of deprecated
- ``zope.testing.doctest``.
-
-
-1.1.0 (2008-??-??)
-------------------
-
-- Removed 'shared-blob-dir' from blobstorage section.
-
-
-1.0.0 (2007-11-03)
-------------------
-
-- Initial release.
Deleted: zc.recipe.filestorage/trunk/COPYRIGHT.txt
===================================================================
--- zc.recipe.filestorage/trunk/COPYRIGHT.txt 2013-11-04 15:41:18 UTC (rev 130350)
+++ zc.recipe.filestorage/trunk/COPYRIGHT.txt 2013-11-06 16:30:57 UTC (rev 130351)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zc.recipe.filestorage/trunk/LICENSE.txt
===================================================================
--- zc.recipe.filestorage/trunk/LICENSE.txt 2013-11-04 15:41:18 UTC (rev 130350)
+++ zc.recipe.filestorage/trunk/LICENSE.txt 2013-11-06 16:30:57 UTC (rev 130351)
@@ -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: zc.recipe.filestorage/trunk/MOVED_TO_GITHUB
===================================================================
--- zc.recipe.filestorage/trunk/MOVED_TO_GITHUB (rev 0)
+++ zc.recipe.filestorage/trunk/MOVED_TO_GITHUB 2013-11-06 16:30:57 UTC (rev 130351)
@@ -0,0 +1 @@
+https://github.com/zopefoundation/zc.recipe.filestorage
Deleted: zc.recipe.filestorage/trunk/README.txt
===================================================================
--- zc.recipe.filestorage/trunk/README.txt 2013-11-04 15:41:18 UTC (rev 130350)
+++ zc.recipe.filestorage/trunk/README.txt 2013-11-06 16:30:57 UTC (rev 130351)
@@ -1,97 +0,0 @@
-===================================
-Recipe for setting up a filestorage
-===================================
-
-This recipe can be used to define a file-storage. It creates a ZConfig
-file-storage database specification that can be used by other recipes to
-generate ZConfig configuration files.
-
-This recipe takes an optional path option. If none is given, it creates and
-uses a subdirectory of the buildout parts directory with the same name as the
-part.
-
-The recipe records a zconfig option for use by other recipes.
-
-We'll show a couple of examples, using a dictionary as a simulated buildout
-object:
-
- >>> import zc.recipe.filestorage
- >>> buildout = dict(
- ... buildout = {
- ... 'directory': '/buildout',
- ... },
- ... db = {
- ... 'path': 'foo/Main.fs',
- ... },
- ... )
- >>> recipe = zc.recipe.filestorage.Recipe(
- ... buildout, 'db', buildout['db'])
-
- >>> print buildout['db']['path']
- /buildout/foo/Main.fs
-
- >>> print buildout['db']['zconfig'],
- <zodb>
- <filestorage>
- path /buildout/foo/Main.fs
- </filestorage>
- </zodb>
-
- >>> recipe.install()
- ()
-
- >>> import tempfile
- >>> d = tempfile.mkdtemp()
- >>> buildout = dict(
- ... buildout = {
- ... 'parts-directory': d,
- ... },
- ... db = {},
- ... )
-
- >>> recipe = zc.recipe.filestorage.Recipe(
- ... buildout, 'db', buildout['db'])
-
- >>> print buildout['db']['path']
- /tmp/tmpQo0DTB/db/Data.fs
-
- >>> print buildout['db']['zconfig'],
- <zodb>
- <filestorage>
- path /tmp/tmpQo0DTB/db/Data.fs
- </filestorage>
- </zodb>
-
- >>> recipe.install()
- ()
-
- >>> import os
- >>> os.listdir(d)
- ['db']
-
-The update method doesn't do much, as the database part's directory
-already exists, but it is present, so buildout doesn't complain and doesn't
-accidentally run install() again:
-
- >>> recipe.update()
-
-If the storage's directory is removed, is it re-added by the update method:
-
- >>> os.rmdir(os.path.join(d, 'db'))
- >>> os.listdir(d)
- []
- >>> recipe.update()
- >>> os.listdir(d)
- ['db']
-
-This is useful in development when the directory containing the database is
-removed in order to start the database from scratch.
-
-
-To do
------
-
-- Add support for various file-storage options
-
-- Create a ZODB-configuration recipe that is meant to be a base class for
- storage recipes and provides database-configuration options.
Deleted: zc.recipe.filestorage/trunk/buildout.cfg
===================================================================
--- zc.recipe.filestorage/trunk/buildout.cfg 2013-11-04 15:41:18 UTC (rev 130350)
+++ zc.recipe.filestorage/trunk/buildout.cfg 2013-11-06 16:30:57 UTC (rev 130351)
@@ -1,8 +0,0 @@
-[buildout]
-parts = test
-develop = .
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zc.recipe.filestorage
-
Deleted: zc.recipe.filestorage/trunk/setup.py
===================================================================
--- zc.recipe.filestorage/trunk/setup.py 2013-11-04 15:41:18 UTC (rev 130350)
+++ zc.recipe.filestorage/trunk/setup.py 2013-11-06 16:30:57 UTC (rev 130351)
@@ -1,33 +0,0 @@
-from setuptools import setup, find_packages
-
-name = "zc.recipe.filestorage"
-setup(
- name=name,
- version="1.1.0dev",
- author="Jim Fulton",
- author_email="jim at zope.com",
- description="ZC Buildout recipe for defining a file-storage",
- long_description=(
- open("README.txt").read()
- + '\n\n' +
- open("CHANGES.txt").read()),
- license="ZPL 2.1",
- keywords=["zodb", "zc.buildout"],
- url="http://pypi.python.org/pypi/%s/" % name,
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Framework :: ZODB",
- "Framework :: Buildout",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Zope Public License",
- "Topic :: Software Development :: Build Tools",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
- packages=find_packages(),
- data_files=[(".", ["README.txt"])],
- namespace_packages=["zc", "zc.recipe"],
- install_requires=["zc.buildout", "zope.testing", "setuptools"],
- entry_points={"zc.buildout": ["default=%s:Recipe" % name]},
- include_package_data=True,
- zip_safe=True,
- )
More information about the checkins
mailing list