Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70460D443 for ; Thu, 15 Nov 2012 02:42:46 +0000 (UTC) Received: (qmail 35910 invoked by uid 500); 15 Nov 2012 02:42:46 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 35874 invoked by uid 500); 15 Nov 2012 02:42:46 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 35859 invoked by uid 99); 15 Nov 2012 02:42:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 02:42:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.d.dick@gmail.com designates 209.85.212.46 as permitted sender) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 02:42:41 +0000 Received: by mail-vb0-f46.google.com with SMTP id ff1so1430094vbb.33 for ; Wed, 14 Nov 2012 18:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=yFzbPcyaM49ckJO+8vWcWAEGdKGpvhgzxce9VaXR5BU=; b=QwzbxUsbos6ZzwF5vm+XM3CM7/fWVy+7GT06RRV43xXEnkZ2+pfmM8/KjCFvUrXiPi zz4yBxVze0Q7KhM4xtDSfUoR8IVC2Tc2vgVbPfN80ujtkqHAurM6+xCDklHVT3AdXhF7 JJFVm+OXM9sJCBwPfHf1cXhOuy+WT7qfvaHAom+DhE7Z+usENAtdZy32z9UlAhy/9eXl IOCtGof4e0t7RAgIE0IpZaSKGsORT8kAm1WwjX6Y9QvxjGlC0rGkXZzCYuHLYpY2nuX+ 4iOhxePuSFiaMkfHOpF7zwxwEOv8Unsj3ycPo/TZhGgTsk45qCqMOj2rgyfR9JKyfHGQ 7pNw== Received: by 10.52.67.44 with SMTP id k12mr4471637vdt.15.1352947340909; Wed, 14 Nov 2012 18:42:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.172.9 with HTTP; Wed, 14 Nov 2012 18:41:59 -0800 (PST) In-Reply-To: References: From: Michael Dick Date: Wed, 14 Nov 2012 20:41:59 -0600 Message-ID: Subject: Re: Exporting website from CWIKI To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=20cf307abeb5a79d3004ce7f99cf X-Virus-Checked: Checked by ClamAV on apache.org --20cf307abeb5a79d3004ce7f99cf Content-Type: text/plain; charset=ISO-8859-1 Sorry I can't reply much during the work day I'll try answer everything. On Wed, Nov 14, 2012 at 4:45 PM, Kevin Sutter wrote: > Okay, I think I'm giving up on the Windows approach... The build scripts > all seem to require .sh scripts and other linux-specific items. I might > follow Rick's lead and try a VMWare linux image... > Believe it or don't, I tried Windows first too. And gave up. > Maybe Mike is the only one that can get this build running and we just need > to pitch to in $20 per to buy him a nice dinner... :-) > Preferred payment plan is 25 year old Highland Park (will also accept Old Pulteney) > > cpan SVN::Client > > > > These all seemed to work except for the SVN::Client module. This one > > seemed to require a different build process and it eventually blew > chunks. > > I don't know if this module is really needed or not. I'll try a couple > of > > other things, but otherwise, I'll move on and see if I really need it. > I think I had a similar problem, but it just worked for me. The build scripts don't commit anything so I think it's not needed. > >> setuptools, pygments and ElementTree installed with no problem. However > >> when tried to install Markdown, I got: > >> > >> [root@atlanta ~]# sudo easy_install Markdown > >> Searching for Markdown > >> Reading http://pypi.python.org/simple/Markdown/ > >> Reading http://www.freewisdom.org/projects/python-markdown > >> Reading https://sourceforge.net/project/showfiles.php?group_id=153041 > >> Reading http://packages.python.org/Markdown/ > >> Reading http://www.freewisdom.org/projects/python-markdown/ > >> Best match: Markdown 2.2.1 > >> Downloading > You might have better luck if you use apt (debian based distros) or yum (RedHat based) to directly install the python module for markdown. I'm guessing you're on RHEL, so I can't help much, other than I think it's sudo yum --search markdown (then install the one with python) That said: >> > >> > "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/sandbox.py", > >> line 64, in > >> {'__file__':setup_script, '__name__':'__main__'} > >> File "setup.py", line 130 > >> with codecs.open('docs/_template.html', encoding='utf-8') as f: > >> ^ > >> SyntaxError: invalid syntax > >> [root@atlanta ~]# > >> > >> > >> Any idea why it has SyntaxErro on the codecs token in setup.py? > You need to update python. The 'with' syntax was introduced in python 2.6 or 2.7 I think. Yum / apt should help here. Regarding the files to edit : look for the mdtext ones, those are markdown format. More advanced web developers than me may build templates and other cool things! But I just wanted to get the site to look more or less correct. The cwiki extension should be the original confluence wiki text, and I'm not sure what the files without extensions are. Regarding locking the files, well, we've never had to lock files before, and I don't know a good way to do so right now. If folks want to sign up for a page we could add a table to the wiki (no irony there), resurrect the irc room, or just email when we're starting to work on a page. Perhaps my brute force approach really isn't the best way to go about this. I suspect that there are lot of pages which aren't needed or aren't reachable anymore. Status pages, placeholders (tables of contents, etc.), and legacy pages could be saved off and coverted later. I didn't go through an identify those pages before I committed them - partly because I ran out of time, and partly because I didn't want to be the only one to make the call. -mike --20cf307abeb5a79d3004ce7f99cf--