[Zope-dev] zope.publisher release?

2010-04-16 Thread Kevin Teague
Would someone please add me (kteague) to the zope.publisher maintainers list
on PyPI, or do a new zope.publisher release?

I want to get the fix for the xml-rpc hang in Grok out there:
https://bugs.launchpad.net/grok/+bug/332063
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Sphinx extension for zope.interface?

2008-10-05 Thread Kevin Teague

On Oct 3, 2008, at 12:06 PM, Tres Seaver wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Tres Seaver wrote:
 Has anybody packaged up an extension to allow extracting APIs /
 docstrings cleanly from Zope interfaces in Sphinx?  I found Chris
 McDonough's patch from back in April, but it no longer applies  
 cleanly,
 and besides, as he notes, it should really be done as a standalone
 extension.

 Scratching my own itch:

  http://pypi.python.org/pypi/repoze.sphinx.autointerface/



Nice!

I've been playing with this since I wanted to start using the  
sphinx.ext.autoclass (and now repoze.sphinx.autointerface) to generate  
the Grok docs.

However, the HTML differs between autoclass and autointerface - it'd  
be nice it they were more similar. In particular:

  *  dl class=interface is needed to style the block.
  * The word Interface: should have a span class=interfacelabel  
or something around it so that it can be hidden using CSS if desired.
  * tt class=descinterfacename and tt class=descname
  * Permalinks (those wierd-o backwards P characters ¶) are missing

And looking at the source it looks like it the package mostly just  
slots in the docutils-generated HTML - so I guess it could take some  
wrangling to make changes to the generated HTML ...

One other small thing, the install_requires for the package doesn't  
declare that it requires docutils = 0.5.


autoclass html
---

dl class=class
dt id=grok.Application
!--[grok.Application]--class tt class=descclassnamegrok./  
class=descnameApplication/tta class=headerlink  
href=#grok.Application title=Permalink to this definition¶/a/dt
ddA top-level application object./dd/dl


autointerface html


dl class=docutils
dtInterface: tt class=docutils literalspan  
class=pregrok.interfaces.IApplication/span/tt/dt
ddp class=firstMarker-interface for grok application factories./ 
p
p class=lastUsed to register applications as utilities to look  
them up and provide a
list of grokked applications./p
/dd
/dl

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] pinning, nailing and kgs'ing

2008-02-04 Thread Kevin Teague


On Feb 3, 2008, at 10:50 AM, Tim Terlegård wrote:


On Feb 3, 2008, at 3:35 AM, Kevin Teague wrote:

I wanted to try using the snowsprint-viewlets2 branch of grok in my  
project the other day. It took me a little time to figure out how  
to do this, so I thought it'd be nice if there was a bit of  
documentation on how-to pull in a development version of Grok into  
a grok project, so I wrote this:


http://grok.zope.org/documentation/how-to/trail-blazing


I couldn't access this page.


You should be able to see the page if you log-in? It's not published  
because I wanted to get the terminology straight first.


I may also re-work the text a bit. At first I was just going to do a  
very short How-to develop from a trunk/branch thing and I marked the  
Audience field as Advanced Developer but then I ended up writting a  
bit more about eggs and buildout in general, since I think we could  
use a better explanation of *why* eggs and buildout were developed  
(and why they are so cool). Otherwise when comparing Zope 3/Grok with  
other frameworks at first glance it seems like there is just a whole  
bunch of extra complexity and you don't really understand the benefits  
until you've spend a fair bit of time learning and working with the  
tool.


I did get Viewlets working in my Grok project, good stuff :)

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] pinning, nailing and kgs'ing

2008-02-02 Thread Kevin Teague
I wanted to try using the snowsprint-viewlets2 branch of grok in my  
project the other day. It took me a little time to figure out how to  
do this, so I thought it'd be nice if there was a bit of documentation  
on how-to pull in a development version of Grok into a grok project,  
so I wrote this:


http://grok.zope.org/documentation/how-to/trail-blazing

(I've configured the Grok site to allow OpenId for authentication, and  
granted the View and Reply to Item permissions to documentation that  
is in the Waiting for Review state, which means you need to log-in  
to see the document, but that anyone can log-in, which seems like a  
decent compromise for unreviewed documentation on the Grok site which  
is potentially incorrect.)


The part where I was fuzzy in the documentation process was the  
terminology for Known Good Sets. There are Grok releases such as Grok  
0.11 which has been called pinned versions (or nailed versions)  
and when writting my help doc I've been calling this a Known Good  
Set. I would propose this definition for Known Good Set:


  Known Good Set : A frozen set of Python egg names and version  
numbers that have been tested to work together. This set of eggs is  
also available from an archive maintained by the publisher of the  
known good set.


For Grok this would be:

http://grok.zope.org/releaseinfo/grok-0.11.cfg

and the eggs are archived at:

http://download.zope.org/distribution/

(at least that's my understanding of the Grok releases, maybe I don't  
have that quite right ... )


However, the Zope 3.4 release announcement varies a bit from my  
understanding of Grok-centric understanding of Known Good Set:


The known good set -- or in short KGS -- is a package index that  
derives from the official Python Package Index (PyPI) and thus  
contains all available packages in the Python world. But for a  
controlled set of packages, only certain versions that are known to  
work together are available. 


This is the part that seems a bit confusing to me, since it's not  
clear if the set also includes the super-set of packages from PyPI.  
It's also not clear if the super-set of all PyPI packages is also a  
continually updated mirror, or a frozen index. Or is the known good  
set just the controlled set of packages? It's also not entirely clear  
on how maintenance releases happen with Zope 3.4 from this, e.g. one  
could interpret the contents of the versions.cfg URL as either  
frozen (Zope 3.4.0-final) or latest. For maintenance releases  
would there be:


http://download.zope.org/zope3.4/versions.cfg
http://download.zope.org/zope3.4.1/versions.cfg
http://download.zope.org/zope3.4.2/versions.cfg

Or if this URL will always contain the latest stable packages in the  
3.4 series then perhaps this should be more explicit with an URL such  
as:


http://download.zope.org/zope3.4/current-versions.cfg

Shouldn't there also be URLs such as these?

http://download.zope.org/zope3.4/3.4.0c1-versions.cfg
http://download.zope.org/zope3.4/3.4.0-versions.cfg
http://download.zope.org/zope3.4/3.4.1-versions.cfg

It should also be more explicit what controlled means. It seems like  
this is the same set of packages and versions and versions.cfg except  
that it also contains versions of previous packages? Is this a  
continually updated set of the most current versions of all packages  
that make up the Zope 3.4 series after all test suites pass?


http://download.zope.org/zope3.4/controlled-packages.cfg

Too me it seems easier to understand if there are two URLs in  
buildout's find-links setting. e.g. for Plone there is a link to a  
controlled archive of Plone produced packages, then there is a link to  
PyPI (well the PPIX mirror actually), which makes it more obvious that  
there is a Zope managed archive of packages, and then there is the  
wide, wooly world of all Python packages:


find-links =
http://dist.plone.org
http://download.zope.org/ppix/

Anyways, I hope I don't sound too complain-y, but it would be much  
appreciated if the terminology and plan for maintaining the Zope 3.4  
release series was made a bit clearer. And it would also be really  
nice if the Grok terminology and release methods lined up with the  
Zope 3 terminology and release methods :)



___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )