Re: [Zope-dev] Recursive search of dependencies in z3c.autoinclude

2011-04-14 Thread Cykooz
2011/4/13 Ethan Jucovy ethan.juc...@gmail.com:
 Does ignore= work on namespaces, or exact package names?  What would
 happen if you did ignore=zope instead?

Exact package names. But this good idea about namespaces. I release it later.

 TODO:
 * Add ability for create autoconfigure.zcml file for decrease startup
 time.
 You mean, a static ZCML file that contains all the include directives that
 z3c.autoinclude auto-includes, in the right order?  This is very cool --
 I've always wanted to do this but never gotten around to it.

I did this in the latest version. See repository
https://bitbucket.org/cykooz/z3c.autoinclude
Example:
includeDependencies
   package=.
   recursive=True
   ignore=zope.app.zcmlfiles ice.control
   cachefile=auto_configure.zcml
/
includeDependenciesOverrides
   package=.
   recursive=True
   ignore=zope.app.zcmlfiles ice.control
   cachefile=auto_overrides.zcml
/

Later I'll write code to verify the need to update the cache.

 The version number in CHANGES.txt and setup.py should be changed to 0.4.0,
 not 0.3.5 -- these are all new features.

Ok. I do this.

 Do you have commit rights to merge these?

No, I do not have commit rights.
___
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] Recursive search of dependencies in z3c.autoinclude

2011-04-14 Thread Cykooz
In last version of my fork 'z3c.autoinlude' I release some new changes:
* now can ignore packages by namespace (use name of namespace with dot
in the end);
* now the file cache is checked for the need to update;
* change package version to 0.4.0.

PS: Sorry for my English
___
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 )


[Zope-dev] Ensuring at least min_length subwidgets are rendered for the MultiWidget

2011-04-14 Thread Laurence Rowe
The attached patch ensures that when in input mode, the MultiWidget
will render at least field.min_length subwidgets. This streamlines the
add process, currently a user only finds out they need to add to a
form when it is submitted and the error message is rendered. They must
then make another request to actually get the add subform.

I've not contributed much to z3c.form yet, so I wanted to check this
approach looked reasonable before committing the patch.

Laurence


minwidgets.patch
Description: Binary data
___
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] SVN: persistent/trunk/ include all test dependencies

2011-04-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/14/2011 12:29 AM, David Glick wrote:
 Log message for revision 121421:
   include all test dependencies
 
 Changed:
   U   persistent/trunk/buildout.cfg
   U   persistent/trunk/setup.py
 
 -=-
 Modified: persistent/trunk/buildout.cfg
 ===
 --- persistent/trunk/buildout.cfg 2011-04-14 04:20:08 UTC (rev 121420)
 +++ persistent/trunk/buildout.cfg 2011-04-14 04:29:37 UTC (rev 121421)
 @@ -7,7 +7,7 @@
  [test]
  recipe = zc.recipe.testrunner
  eggs =
 -persistent
 +persistent [test]
  
  [scripts]
  recipe = zc.recipe.egg
 
 Modified: persistent/trunk/setup.py
 ===
 --- persistent/trunk/setup.py 2011-04-14 04:20:08 UTC (rev 121420)
 +++ persistent/trunk/setup.py 2011-04-14 04:29:37 UTC (rev 121421)
 @@ -24,9 +24,11 @@
  from setuptools import setup
  
  TESTS_REQUIRE = [
 +'transaction',
  'zope.interface',
  'zope.testing=3.7.0',
  'zope.testrunner',
 +'ZODB3',
  ]

This change serves an anti-goal for the standalone 'persistent' package.
 I want to rip out (and replace, if needed) any tests which use ZODB, so
having them error out because it is missing is a win.  'transaction'
shouldn't be needed, either.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2ntdsACgkQ+gerLs4ltQ6ARgCgnQG7AYdt6bzjAFzh2OaG2C+d
Up8AoNotgiLnZyOVdV67ySgsw7iQWKPV
=87hm
-END PGP SIGNATURE-

___
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 )


[Zope-dev] zope-tests - FAILED: 7, OK: 72

2011-04-14 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2011-04-13 00:00:00 UTC and 2011-04-14 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


   ZTK 1.0 / Python2.4.6 Linux 64bit
   ZTK 1.0 / Python2.5.5 Linux 64bit
   ZTK 1.0 / Python2.6.5 Linux 64bit
   ZTK 1.0dev / Python2.4.6 Linux 64bit
   ZTK 1.0dev / Python2.5.5 Linux 64bit
   ZTK 1.0dev / Python2.6.5 Linux 64bit
   Zope 3.4 KGS / Python2.4.6 64bit linux
   Zope 3.4 KGS / Python2.5.5 64bit linux
   Zope 3.4 Known Good Set / py2.4-32bit-linux
   Zope 3.4 Known Good Set / py2.4-64bit-linux
   Zope 3.4 Known Good Set / py2.5-32bit-linux
   Zope 3.4 Known Good Set / py2.5-64bit-linux
   Zope Buildbot / zope2.12-py2.6 slave-osx
   Zope Buildbot / zope2.12-py2.6 slave-ubuntu32
   Zope Buildbot / zope2.12-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.13-py2.6 slave-osx
   Zope Buildbot / zope2.13-py2.6 slave-ubuntu32
   Zope Buildbot / zope2.13-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.13-py2.7 slave-osx
   Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
   Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
   Zope Buildbot / zope2.14-py2.6 slave-osx
   Zope Buildbot / zope2.14-py2.6 slave-ubuntu32
   Zope Buildbot / zope2.14-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.14-py2.7 slave-osx
   Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
   Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-osx
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-osx
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-osx
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-osx
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-osx
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu32
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu64
   Zope Buildbot / zopetoolkit-py2.5 slave-osx
   Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu32
   Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-py2.6 slave-osx
   Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu32
   Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64
   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.5 : Linux
   Zope-2.12-alltests Python-2.6.5 : Linux
   Zope-2.13 Python-2.6.5 : Linux
   Zope-2.13-alltests Python-2.6.5 : Linux
   Zope-trunk Python-2.6.5 : Linux
   Zope-trunk-alltests Python-2.6.5 : Linux
   winbot / ZODB_dev py_254_win32
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
[1]winbot / z3c.coverage_py_265_32
[2]winbot / z3c.rml_py_265_32
[3]winbot / zc_buildout_dev py_254_win32
[4]winbot / zc_buildout_dev py_265_win32
[5]winbot / zc_buildout_dev py_265_win64
[6]winbot / zc_buildout_dev py_270_win32
[7]winbot / zc_buildout_dev py_270_win64
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_dev py_254_win32
   winbot / ztk_dev py_265_win32
   winbot / ztk_dev py_265_win64
   winbot / ztk_dev py_270_win32
   winbot / ztk_dev py_270_win64

Non-OK results
--

[1]FAILED  winbot / z3c.coverage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2011-April/038095.html


[2]FAILED  winbot / z3c.rml_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2011-April/038093.html


[3]FAILED  winbot / zc_buildout_dev py_254_win32
   https://mail.zope.org/pipermail/zope-tests/2011-April/038129.html


[4]FAILED  winbot / zc_buildout_dev py_265_win32
   https://mail.zope.org/pipermail/zope-tests/2011-April/038130.html


[5]FAILED  winbot / zc_buildout_dev py_265_win64
   https://mail.zope.org/pipermail/zope-tests/2011-April/038131.html


[6]FAILED  winbot / zc_buildout_dev py_270_win32
   https://mail.zope.org/pipermail/zope-tests/2011-April/038132.html


[7]FAILED  winbot / zc_buildout_dev py_270_win64
   

[Zope-dev] fanstatic and preprocessors

2011-04-14 Thread Wolfgang Schnerring
Hi,

is this the right place to ask stuff about fanstatic?

Unfortunately I haven't had the opportunity to have a proper look at
fanstatic (yet!), but I've just been reading about SASS and
CoffeeScript, which are preprocessors/compilers for CSS and
JavaScript. So I wondered whether it is within fanstatic's scope that
one could feasibly write a plugin to support something like this.
Something like, I drop a foo.coffee file somewhere and it would be run
through the CoffeeScript compiler, probably cached, and served to
clients as foo.js.

(This thought has been triggered by what Rails is doing right now[1]
which is powered by their equivalent resource manager[2].)

Wolfgang


[1] 
http://www.rubyinside.com/rails-3-1-adopts-coffeescript-jquery-sass-and-controversy-4669.html
[2] https://github.com/sstephenson/sprockets
___
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 )