From amk at amk.ca Fri Mar 9 20:49:58 2007 From: amk at amk.ca (A.M. Kuchling) Date: Fri, 9 Mar 2007 14:49:58 -0500 Subject: [Pydotorg-www] New build script ready for a look Message-ID: <20070309194958.GA16232@localhost.localdomain> At this point I tentatively think that the new build tool is getting the navigation links mostly correct -- this is based on spot-checking a few pages. We're still far from being able to switch, but interested people can at least try it and look at the output. How to try it out: 1) Update your beta.python.org tree to pick up the new-build directory. 2) Install Mako, PyYAML, and Docutils, as described in new-build/README. 3) Build an output tree: in beta.python.org/build/, run "make new". 4) The script will crank away for a while (90sec on my machine). 5) Run "make serve" to start a little Python webserver on port 8000, running in the background. 6) View http://localhost:8000/. 7) Browse the site and report any problems. Know problems: * The home page isn't generated yet -- it's quite different from most pages on the site. * pyramid generates sidebar links beginning at the top of the site (about, news, documentation, ...) but new-build implements them up from the page being viewed. This needs to be fixed to match pyramid. Doubtless there are more I haven't noticed yet. Question: what are the rules for when files are copied as-is from the data/ directory into the output directory? (e.g. the *.asc files in the release directories) --amk From amk at amk.ca Tue Mar 13 00:06:59 2007 From: amk at amk.ca (A.M. Kuchling) Date: Mon, 12 Mar 2007 19:06:59 -0400 Subject: [Pydotorg-www] Disabling file attachments in the wiki? Message-ID: <20070312230659.GB2512@andrew-kuchlings-computer.local> There's a persistent spammer who's been attaching lots of HTML pages to a page in the Python wiki. (There seems to be a MoinMoin bug that lets you attach files to a deleted page.) Paul Boddie suggested disabling the AttachPages feature. We don't use included images very much in the Python wiki; some people attach code snippets and there are a few PDFs. Some examples: AshishShrestha/attachments/cubictemp.py CorbaPython/attachments/01-02-66.pdf EuroPy2006LightningTalks/attachments/_FasterThenAssemblerLightning.odp EuroPy2006LightningTalks/attachments/bad-presentation.pdf EuroPy2006LightningTalks/attachments/componentizing-to-heaven.html EuroPython2004Slides/attachments/union.cms_europython2004.pdf EuroPython2006/attachments/componentizing-to-heaven.html ExtremeProgramming/attachments/dilbert-xp-team.gif ExtremeProgramming/attachments/dilbert-xp.gif FrontPage/attachments/wiki-logo.gif Intro_to_programming_with_Python_and_Tkinter/attachments/Lecture3_example1.py Intro_to_programming_with_Python_and_Tkinter/attachments/Lecture3_example2.py Intro_to_programming_with_Python_and_Tkinter/attachments/lecture10_pictures.py Intro_to_programming_with_Python_and_Tkinter/attachments/lecture4_but.py JAM(2f)Code(2f)PlatformFinder/attachments/nino JAM(2f)Code(2f)PlatformFinder/attachments/py Karrigell/attachments/SimpleHTMLParser.py MelbournePUG/attachments/Unit-testing.ppt MelbournePUG/attachments/autocode.sxi MelbournePUG/attachments/nim.py PythonAudioMaterial/attachments/Advanced_Python_programming.pdf PythonDecoratorLibrary/attachments/memoize.py PythonEditors/attachments/hhgg PythonGames/attachments/PyGameLogoTiny.gif RegularExpression/attachments/regex_characters.png TextProcessingInPython/attachments/mertz_chof.png TextProcessingInPython/attachments/mertz_chof.svg Some of these seem to not be referenced, and some seem useful. Should we disable file attachments, and later rescue the existing attachments to put them in some different location? --amk