Re: ztk checkversions script

Christophe Combelles <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Le 04/05/2010 00:04, Christophe Combelles a écrit :
> Vincent Fretin a écrit :
>> On Sun, May 2, 2010 at 10:52 PM, Martijn Faassen<[email protected]>  wrote:
>>> Hi there,
>>>
>>> Of course what applies to Hanno should apply to others making releases
>>> of packages maintained by the Zope Toolkit project as well. I think the
>>> ZTK leadership should figure out some kind of guidelines for this that
>>> people can follow. Maybe someone can write a tool too to check up how
>>> far a toolkit is out of sync with the latest releases. Just some ideas.
>>
>> For the tool, I think I did it already. I modified one of Hanno's
>> script some times ago:
>> cd zopetoolkit/trunk
>> bin/buildout -c checknew.cfg
>> bin/python checknew.py
>
> I have already started to turn this script into a buildout recipe (probably
> z3c.recipe.checknew).
> I will make sure it can discover either minor bugfix versions or major versions,
> and be able to create a versions.cfg.

It's now released as z3c.checkversions
http://pypi.python.org/pypi/z3c.checkversions

It's not a recipe but a console_script. So that it can be used in a virtualenv 
as well, without buildout.

For a buildout, you just have to add it in the buildout eggs: it creates a 
checkversions script that can detect new versions (minor or major, depending on 
the -l option).

Christophe

>
> Christophe
>
>>
>> Vincent
>> _______________________________________________
>> Zope-Dev maillist  -  [email protected]
>> 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 )
>>
>>
>
> _______________________________________________
> Zope-Dev maillist  -  [email protected]
> 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 )

_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.