![](https://secure.gravatar.com/avatar/01aa7d6d4db83982a2f6dd363d0ee0f3.jpg?s=120&d=mm&r=g)
I'm still a little confused about keyword expansion for PEPs. Georg says here:
http://mail.python.org/pipermail/python-committers/2011-March/001572.html
that he's enabled the extension "locally", but I don't quite understand if that means he did it only in his copy of the repo, or on python.org. Clearly, keywords are not getting expanded in the online version of the PEP:
http://www.python.org/dev/peps/pep-0396/
and while I'm not sure if .hg/hgrc is version controlled in ssh://hg@hg.python.org/peps, the file there definitely does not have the keyword extension enabled. This pages recommends it be enabled only per-repo, not globally:
http://mercurial.selenic.com/wiki/KeywordExtension
I think we want keywords to be expanded in the online version of the PEPs. How can we make that happen and what do PEP authors need to do?
-Barry
![](https://secure.gravatar.com/avatar/0a2191a85455df6d2efdb22c7463c304.jpg?s=120&d=mm&r=g)
Barry Warsaw wrote:
I'm still a little confused about keyword expansion for PEPs. Georg says here:
http://mail.python.org/pipermail/python-committers/2011-March/001572.html
that he's enabled the extension "locally", but I don't quite understand if that means he did it only in his copy of the repo, or on python.org. Clearly, keywords are not getting expanded in the online version of the PEP:
http://www.python.org/dev/peps/pep-0396/
and while I'm not sure if .hg/hgrc is version controlled in ssh://hg@hg.python.org/peps, the file there definitely does not have the keyword extension enabled. This pages recommends it be enabled only per-repo, not globally:
http://mercurial.selenic.com/wiki/KeywordExtension
I think we want keywords to be expanded in the online version of the PEPs. How can we make that happen and what do PEP authors need to do?
Related to this, I think that the website cronjob updating the PEP is no longer running, or at least it appears so...
Several PEPs still have links to the SVN repo and some of them give a 404 when trying to fetch the .txt file:
http://www.python.org/dev/peps/pep-0001/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0385/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0396/ (SVN, 404)
Others point to the HG repo, like probably all PEPs pages should:
http://www.python.org/dev/peps/pep-0100/ (HG) http://www.python.org/dev/peps/ (HG, but gives an error)
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Apr 05 2011)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/
![](https://secure.gravatar.com/avatar/2fc5b058e338d06a8d8f8cd0cfe48376.jpg?s=120&d=mm&r=g)
Am 05.04.2011 21:28, schrieb M.-A. Lemburg:
Barry Warsaw wrote:
I'm still a little confused about keyword expansion for PEPs. Georg says here:
http://mail.python.org/pipermail/python-committers/2011-March/001572.html
that he's enabled the extension "locally", but I don't quite understand if that means he did it only in his copy of the repo, or on python.org.
The latter.
Clearly, keywords are not getting expanded in the online version of the PEP:
They seem to be now (but I don't know who or what changed).
and while I'm not sure if .hg/hgrc is version controlled in ssh://hg@hg.python.org/peps, the file there definitely does not have the keyword extension enabled.
Yes, because that's not the clone where the PEPs are built; that one is in /data/website-build/build/peps, and it has the keyword ext enabled.
This pages recommends it be enabled only per-repo, not globally:
http://mercurial.selenic.com/wiki/KeywordExtension
I think we want keywords to be expanded in the online version of the PEPs. How can we make that happen and what do PEP authors need to do?
There shouldn't be anything necessary for PEP authors.
Related to this, I think that the website cronjob updating the PEP is no longer running, or at least it appears so...
Several PEPs still have links to the SVN repo and some of them give a 404 when trying to fetch the .txt file:
http://www.python.org/dev/peps/pep-0001/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0385/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0396/ (SVN, 404)
Others point to the HG repo, like probably all PEPs pages should:
http://www.python.org/dev/peps/pep-0100/ (HG) http://www.python.org/dev/peps/ (HG, but gives an error)
Not sure why, especially not why it's like that for PEP 396, which only was added after the switch and therefore the SVN link is broken.
The website build is such a horrid twisty maze of hooks, suid binaries, scripts, cronjobs and scripts again that I gave up trying to force a full rebuild of all PEPs, which I thought would have replaced all At one point I assu
![](https://secure.gravatar.com/avatar/2fc5b058e338d06a8d8f8cd0cfe48376.jpg?s=120&d=mm&r=g)
Am 05.04.2011 22:37, schrieb Georg Brandl:
Am 05.04.2011 21:28, schrieb M.-A. Lemburg:
Barry Warsaw wrote:
I'm still a little confused about keyword expansion for PEPs. Georg says here:
http://mail.python.org/pipermail/python-committers/2011-March/001572.html
that he's enabled the extension "locally", but I don't quite understand if that means he did it only in his copy of the repo, or on python.org.
The latter.
Clearly, keywords are not getting expanded in the online version of the PEP:
They seem to be now (but I don't know who or what changed).
and while I'm not sure if .hg/hgrc is version controlled in ssh://hg@hg.python.org/peps, the file there definitely does not have the keyword extension enabled.
Yes, because that's not the clone where the PEPs are built; that one is in /data/website-build/build/peps, and it has the keyword ext enabled.
This pages recommends it be enabled only per-repo, not globally:
http://mercurial.selenic.com/wiki/KeywordExtension
I think we want keywords to be expanded in the online version of the PEPs. How can we make that happen and what do PEP authors need to do?
There shouldn't be anything necessary for PEP authors.
Related to this, I think that the website cronjob updating the PEP is no longer running, or at least it appears so...
Several PEPs still have links to the SVN repo and some of them give a 404 when trying to fetch the .txt file:
http://www.python.org/dev/peps/pep-0001/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0385/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0396/ (SVN, 404)
Others point to the HG repo, like probably all PEPs pages should:
http://www.python.org/dev/peps/pep-0100/ (HG) http://www.python.org/dev/peps/ (HG, but gives an error)
Not sure why, especially not why it's like that for PEP 396, which only was added after the switch and therefore the SVN link is broken.
The website build is such a horrid twisty maze of hooks, suid binaries, scripts, cronjobs and scripts again that I gave up trying to force a full rebuild of all PEPs, which I thought would have replaced all
Sorry, sent too soon. Here's the full sentence:
The website build is such a horrid twisty maze of hooks, suid binaries, scripts, cronjobs and scripts again that I gave up trying to force a full rebuild of all PEPs, which I thought would have replaced all the SVN links. Since they were still working (and as long as the PEPs didn't change, at which point they would be rebuilt, point to the correct source), I just let it be.
But clearly, there's something more amiss here -- I'd appreciate if someone else could have a look and fix it. (I doubt it: my last request to pydotorg about my half-assed fixing of the website build in the aftermath of the server OS upgrade wasn't answered at all.)
Georg
![](https://secure.gravatar.com/avatar/01aa7d6d4db83982a2f6dd363d0ee0f3.jpg?s=120&d=mm&r=g)
On Apr 05, 2011, at 10:37 PM, Georg Brandl wrote:
Clearly, keywords are not getting expanded in the online version of the PEP:
They seem to be now (but I don't know who or what changed).
But not correctly.
PEP: 396 Title: Module Version Numbers Version: 65628 Last-Modified: 2008-08-10 09:59:20 -0400 (Sun, 10 Aug 2008)
and while I'm not sure if .hg/hgrc is version controlled in ssh://hg@hg.python.org/peps, the file there definitely does not have the keyword extension enabled.
Yes, because that's not the clone where the PEPs are built; that one is in /data/website-build/build/peps, and it has the keyword ext enabled.
I see, cool.
This pages recommends it be enabled only per-repo, not globally:
http://mercurial.selenic.com/wiki/KeywordExtension
I think we want keywords to be expanded in the online version of the PEPs. How can we make that happen and what do PEP authors need to do?
There shouldn't be anything necessary for PEP authors.
Sounds good.
Related to this, I think that the website cronjob updating the PEP is no longer running, or at least it appears so...
Several PEPs still have links to the SVN repo and some of them give a 404 when trying to fetch the .txt file:
http://www.python.org/dev/peps/pep-0001/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0385/ (SVN, Last-modified link works) http://www.python.org/dev/peps/pep-0396/ (SVN, 404)
Others point to the HG repo, like probably all PEPs pages should:
http://www.python.org/dev/peps/pep-0100/ (HG) http://www.python.org/dev/peps/ (HG, but gives an error)
Not sure why, especially not why it's like that for PEP 396, which only was added after the switch and therefore the SVN link is broken.
The website build is such a horrid twisty maze of hooks, suid binaries, scripts, cronjobs and scripts again that I gave up trying to force a full rebuild of all PEPs, which I thought would have replaced all At one point I assu
The PSU does *not* exist.
-Barry
![](https://secure.gravatar.com/avatar/db5f70d2f2520ef725839f046bdc32fb.jpg?s=120&d=mm&r=g)
Not sure why, especially not why it's like that for PEP 396, which only was added after the switch and therefore the SVN link is broken.
The website build is such a horrid twisty maze of hooks, suid binaries, scripts, cronjobs and scripts again that I gave up trying to force a full rebuild of all PEPs, which I thought would have replaced all At one point I assu
The PSU does *not* exist.
You mean those /usr/lib/psu-x86_64/ directories don't exist in Ubuntu Neurasthenic Negligent Neutral Northern Nailed Nagging Naked Nosy Newt?
Regards
Antoine.
participants (4)
-
Antoine Pitrou
-
Barry Warsaw
-
Georg Brandl
-
M.-A. Lemburg