[Zope3-checkins] CVS: Zope3/bin - zbundle:1.1

Fred L. Drake, Jr. fred at zope.com
Tue Aug 12 19:08:36 EDT 2003


Update of /cvs-repository/Zope3/bin
In directory cvs.zope.org:/tmp/cvs-serv11471/bin

Added Files:
	zbundle 
Log Message:
Initial bundle management tool.  All this can do is create a new bundle in an fssync
checkout with enough information for zsync to handle it (including commit).
But it means we really have bundles.


=== Added File Zope3/bin/zbundle ===
#! /usr/bin/env python2.2
##############################################################################
#
# Copyright (c) 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
#
##############################################################################

"""Command line script to drive the bundle manager.

$Id: zbundle,v 1.1 2003/08/12 22:08:31 fdrake Exp $
"""

import os
import sys

here = os.path.dirname(os.path.realpath(sys.argv[0]))
srcdir = os.path.join(os.path.dirname(here), "src")

if srcdir not in sys.path:
    sys.path.insert(0, srcdir)

from zope.fssync.bundle import main

sys.exit(main())




More information about the Zope3-Checkins mailing list