Are there particular products you suggest that would be useful to accomplish this. For instance is there a particular product that you use for getting objects down to the file system (ExtFile, LocalFS, Files System Directory View). Would the files then be editable from both the ZMI and the FS or just one. Could we also use one of the ZOPE CVS products or are you strictly using the FS, an external editor, and CVS from the FS. I've used zsyncer in the past and it's worked fairly well and I'm comfortable using it again if necessary. Is there a method for triggering it from the command line. My main concern is that another team will be supporting migration efforts and if they can do it with a script from the command line all the better. Any products to help keep the site content seperate from the code. I've looked into using DBTab to mount an external db but I've seen a few posts with problems using it in plone.
From: Dieter Maurer <dieter@handshake.de> To: "Michael Havard" <nhavar@hotmail.com> CC: zope@zope.org Subject: Re: [Zope] CMFStaging, ZEO Date: Wed, 14 Jan 2004 22:37:35 +0100 MIME-Version: 1.0 Received: from mc12-f21.hotmail.com ([65.54.167.157]) by mc12-s17.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 14 Jan 2004 14:25:02 -0800 Received: from mail.python.org ([12.155.117.29]) by mc12-f21.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 14 Jan 2004 14:25:02 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=mail.python.org)by mail.python.org with esmtp (Exim 4.22)id 1AgtQL-0000hk-9F; Wed, 14 Jan 2004 17:23:41 -0500 Received: from srv3.handshake.de ([193.141.176.9])by mail.python.org with esmtp (Exim 4.22) id 1AgtPh-0000Zt-Uhfor zope@zope.org; Wed, 14 Jan 2004 17:23:02 -0500 Received: from linux.local (hs3-249.handshake.de [193.141.176.249])by srv3.handshake.de (Postfix) with ESMTPid 1160231FC0; Wed, 14 Jan 2004 22:18:33 +0100 (CET) Received: (from dieter@localhost)by linux.local (8.11.6/8.11.6/SuSE Linux 0.5) id i0ELbat04744;Wed, 14 Jan 2004 22:37:36 +0100 X-Message-Info: LGjzam7y+LvLeoPIrRzW1hQW8AA7qBC4WWXJbMt+7sA= Message-ID: <16389.46751.931916.319759@gargle.gargle.HOWL> In-Reply-To: <Law9-F1227R3eX1MNNH00023ce7@hotmail.com> References: <Law9-F1227R3eX1MNNH00023ce7@hotmail.com> X-Mailer: VM 7.04 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam-Status: OK (zopelist 0.000) X-BeenThere: zope@zope.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users of the Z Object Publishing Environment <zope.zope.org> List-Unsubscribe: <http://mail.zope.org/mailman/listinfo/zope>,<mailto:zope-request@zope.org?subject=unsubscribe> List-Archive: <http://mail.zope.org/pipermail/zope> List-Post: <mailto:zope@zope.org> List-Help: <mailto:zope-request@zope.org?subject=help> List-Subscribe: <http://mail.zope.org/mailman/listinfo/zope>,<mailto:zope-request@zope.org?subject=subscribe> Errors-To: zope-bounces@zope.org Return-Path: zope-bounces@zope.org X-OriginalArrivalTime: 14 Jan 2004 22:25:02.0576 (UTC) FILETIME=[40CC9700:01C3DAED]
Michael Havard wrote at 2004-1-13 20:05 +0000:
Does anyone have any tips for setting up CMFStaging. I'm just starting to fumble my way through it and I've only found two posts with any real information about setting it up.
Essentially my architecture is this: Three separate machines: DEV QA PROD
"CMFStaging" is not for this use case. Instead, it support DEV, QA and PROD stages for *content* (only) inside a single CMF instance.
We approach your problem like this:
* put everything possible (templates, scripts, products) into file system.
Use CVS to manage these resources. "QA" and "PROD" use CVS to fetch "released" revisions from the CVS repository
* use ZSyncer to sync configuration data in the ZODB from DEV to QA and from QA to PROD.
* ensure a proper separation of content between DEV, QA, and PROD. All have their own content (which must never get mixed). QA occationally gets a fresh copy of PROD's content.
-- Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_________________________________________________________________ Get a FREE online virus check for your PC here, from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
On Thu, Jan 15, 2004 at 05:04:00PM +0000, Michael Havard wrote:
Are there particular products you suggest that would be useful to accomplish this.
For instance is there a particular product that you use for getting objects down to the file system (ExtFile, LocalFS, Files System Directory View).
depends what you need ... ExtFile only does a single file, the others do a whole folder (and subfolders).
Would the files then be editable from both the ZMI and the FS or just one.
LocalFS: ZMI & filesystem editable. FSDirectoryView: filesystem editable only, not ZMI. ExtFile: don't remember, i think it's filesystem only.
Could we also use one of the ZOPE CVS products or are you strictly using the FS, an external editor, and CVS from the FS.
I've used zsyncer in the past and it's worked fairly well and I'm comfortable using it again if necessary. Is there a method for triggering it from the command line.
As with anything in zope, you could write a script that constructs and visits a URL. Could be written with sh / wget, python, perl, whatever. This is discussed in teh online Zope Book, "Advanced Scripting", near the end of chapter. Look at the HTML of the zsyncer forms and you'll be able to figure out the variables to pass.
Any products to help keep the site content seperate from the code. I've looked into using DBTab to mount an external db but I've seen a few posts with problems using it in plone.
if you're using plone, your content should already be well separated from your software. All TTW software (scripts & templates) for CMF / Plone should be in the skins. Therefore you can either put it in standard Zope folders and sync using zsyncer, or put them on the filesystem, point a FSDirectoryView at the directory, and sync the filesystem stuff via your favorite file transfer mechanism (i like rsync). -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PROFOUNDLY HUNGRY LAWNMOWER MONOTREME! (random hero from isometric.spaceninja.com)
Michael Havard wrote at 2004-1-15 17:04 +0000:
... For instance is there a particular product that you use for getting objects down to the file system (ExtFile, LocalFS, Files System Directory View).
We use CMF (sometimes together with Plone).
Would the files then be editable from both the ZMI and the FS or just one.
The "FSObject"s of "CMFCore" are only editable from the FS and not via ZMI.
Could we also use one of the ZOPE CVS products
They have difficulties to cope with all facets of Zope's rich (and extendible) object system.
or are you strictly using the FS, an external editor, and CVS from the FS.
We go this way.
I've used zsyncer in the past and it's worked fairly well and I'm comfortable using it again if necessary. Is there a method for triggering it from the command line.
All Zope actions can be called for via HTTP. There are many tools that allow you to issue HTTP requests from the command line: e.g. "wget", "curl", Python's "urllib", Zope's "ZPublisher.Client". -- Dieter
participants (3)
-
Dieter Maurer -
Michael Havard -
Paul Winkler