On Thursday, August 17, 2006 7:34 AM Ralf Hemmecke wrote: > > I've found the Sync Tab in the Zope management interface > http://axiom.risc.uni-linz.ac.at/mathaction/manage > and pressed GET for the not up-to-date files. It did do > something, but I don't know why the Frontpage is still > the old one although it is shown with a green tick mark. >
I am not sure what went wrong. Did you select those pages and folders that you intented to update? But take care when you do this because ZSyncer is not very bright about what it transfers and you can easily end up transferring everything when you did not mean to and possibily overwriting something that you did not intend. Unfortunately ZSyncer also has some bugs which we sometimes have to work around. Usually I work by running ZSyncer on axiom-developer instead of the other way around. Because of the timezone bug this can be significant. We are still using a slightly modified version of ZSyncer (0.7.0). See explanation of problem here: http://zwiki.org/1252ZWikiPageModifiedTimeWrongInDifferentTimeZones The version in cvs at http://sourceforge.net/projects/zsyncer is 0.7.2 (UNRELEASED) Maybe we want to upgrade it but we still need the patch time zones on Zwiki pages. ZSyncer works out-of-the-box with all other Zope objects but for some reason ZWiki pages do not seem to conform to the current standard where times and timezones are concerned. My current hack works but not very well. There are still bugs in the way that it adjusts the time and I am not (yet) skilled enough in Zope internals to solve this problem. We really need a more general solution to get the properly timezone adjusted date and time for ZWiki pages. And I am still hopeful that someone will come along and fix these problems for me. :) > Hmm, I think, I have to learn a bit... Please help. I think your understanding is good. It is just the tool that is a bit faulty. I have just completed updating axiom.risc with the new and modified pages from axiom-developer so from the point of view of ZSyncer on axiom-developer axiom.risc is now showing as (almost) all up to date. It might be easier to understand what is going on with fewer changes pending. Although the page content has been transferred, I have not yet updated the MathAction software itself, so some of the pages, e.g. Maxima and Sage pages, will not work the same as on axiom-developer. I plan to complete the software part of the upgrade to axiom.risc some time this weekend. ----------- Here is an annotated partial transcript of my session with ZSyncer this morning. Maybe it will help to show you how this works. If you have any questions, just let me know. 1 At http://page.axiom-developer.org/zope/manage Although you can work from either location, I prefer to use axiom-developer as the host. The reason this works out better this way has to do with the bugs in the timezone-based time comparisons. Since the axiom.risc computer is +7 hours from axiom-developer few pages get incorrectly flagged as updated. :( 2 Click 'ZSyncer (ZSyncer)' I have changed a few options this morning since you looked at it. Using the 'Filter out types' options under 'Properties' allows us to look at only those things that need syncing, ignoring the other stuff. Maybe this is make it a little less confusing. 3 Click ' Sync' tab 4 First sync the Axiom Portal. This is less confusing because the times work out properly for most Plone objects (except ZWiki pages in Plone :( 5 Click the 'Plone' link 6 You should also remove the checkbox next to green checkmark to avoid having to look at things that are already up-to-date. Then click 'Reload'. 7 Finally some real work to do! The blue checkboxes mean that something has been added to axiom.risc or deleted from axiom-developer - you wont know which or why until you check the content. If you decide it is a valid new page or if for some reason you need to recover this page from the axiom.risc backup, click the checkboxe beside the blue + (extra) for those items. 8 Click 'Get' to update axiom-developer from these files at axiom.risc or click 'Delete' to remove the file. 9 We will see messages like: Getting objects from server http://page.axiom-developer.org:8080/ZSyncer Getting "Plone/refs/articles/aldordoc.pdf"... OK: Plone/refs/articles/aldordoc.pdf downloaded Getting "Plone/refs/articles/define.pdf"... OK: Plone/refs/articles/define.pdf downloaded ... Click 'Ok' to continue. 10 Rather than the blue + marks you are more likely to see the orange crosses and red question marks? That orange means that the page has been modified (one either axiom-developer or axiom.risc (time zone bugs notwithstanding). Red means that it is a new page on axiom-developer. Now you have to decide to use Put to transfer/update the page to axiom.risc or (maybe) to click Delete. 10 Now check the Axiom Wiki. Click on 'ZSyner', then the 'Sync' tab and the 'mathaction' link. Click the checkbox beside the green checkmark and click 'Reload' You should see at least the following: + 2000NewBaseIssueForRisc + 2001TestIssue These are dummy entries on axiom.risc to make sure that if someone creates an issue report on axiom.risc, then it will not have the same number as one on axiom-developer. If there is a real issue report that must be move to axiom-developer, my plan is to renumber it at that time. They should not be moved without first renumbering. Regards, Bill Page. _______________________________________________ Axiom-developer mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/axiom-developer
